Repository navigation
Conversation
…#4944) RED: the timing-lock contract fails because the default-follow registration has no timing resource. Under six parallel lanes on four CPUs plus one CPU stress process, the unchanged default_output_unplugged case fails 6/6 starts at its initial five-second audio deadline; this does not yet reproduce the reported stale sink C after replug. Preserve all C assertions.
Both private-daemon variants take the shared timing resource. Preserve their 300 ms observation windows, five-second follow deadline, 120 s CTest timeout and all C assertions. This is a scheduling mitigation: the initial loaded sample improved from 6/6 failures to 2/11 failures, so the reported stale-sink race is not established as fixed. Full ./lint --fix passed in 84.8 s.
Ci-Attestation: {"at":1794944300,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":108,"stamp":"6bf3096aefacc3c757957d9a95b7dac6","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944300,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":108,"stamp":"5fb91ca7b5984ee6dd557896875a84f9","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944300,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":108,"stamp":"4b531a0b24053890c937a820bba95a10","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944300,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":108,"stamp":"ec66d91723004b356e9e23a78ab37fa7","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944189,"gate":"general/all/client-lint","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"8444adf73865f2bbbcc516bea1386838","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944300,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":108,"stamp":"16a1a25e0e5c70d2c73845dcafd53633","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"f1716735649e9ec17a2f4ab6fe928108","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"1350c5dbb9445022b4c3706c6b62ef08","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"c1a64fbe713632864a4c25b1981e64f1","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"8be8a5047ec35081f7853007943d5c4c","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944189,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"5fd36dbf669d27778d2cc3184bcce4ef","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944189,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"5919c13ac70c6992f9d6ab218c39d4c2","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"a5560e217f6768e0c3f44178c62f99ca","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"4c3e377b26cb39633e13b60573becdd7","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"07efaa0ea0ab41b8420de704ae95cf31","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944190,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"795e7ed90ea4c037d25c3480ba405cdc","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944189,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"5c96f579befd616cf3d74453213a9599","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
Ci-Attestation: {"at":1794944189,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"b4eac7f70bd48bd5ad5121f616997bd134949c800e15b33125121dd30ed3b162","lane":"client-lint","parents":["9291b3a787105a9c1c83ec3f6a5f74dce87df3a8"],"secs":26,"stamp":"65663b50ed3275903469835bd10790ec","tree":"8a1b37692f61c8ccd6498a09ffe5296936729544","v":1,"via":"run"}
zackees
marked this pull request as draft
November 17, 2026 19:56
Member
Author
|
Superseded by #5036, which adds one shared RESOURCE_LOCK across all 21 private PulseAudio/PipeWire daemon registrations and a generated-CTest regression. The replacement remains draft: configuration checks and full lint/client proof passed, but loaded runtime acceptance is still unmet (unlocked 1/24 failures; locked 3/17). Refs #4944. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the shared
timingresource lock to both Pulse default-follow CTest registrations, as required bydocs/knowledge/timing-tests.md. Extend the existing timing inventory check to enforce that registration. The unchanged C test samples live audio for 300 ms, requires at least 100 ms of samples and 90% desktop samples, and gives following the default five seconds. All C assertions, skip handling and timeouts remain unchanged.This is an incomplete investigation and scheduling mitigation for #4944. Keep this PR draft with auto-merge off. Local failures continue with the lock; zero failures in an equal or larger loaded run has not been established.
Observed local evidence (four pinned logical CPUs, real private daemons and unchanged C binary):
9291b3a78:uv run --no-project python -m unittest ci.test_sanitize_harness.TimingLockTestfails the missing-lock contract. With six copies of the PipeWire registration submitted to six CTest workers plus onesha256sum /dev/zerostress process, filtering todefault_output_unpluggedfails 6/6 executions at initial audio startup.ctest --repeat until-failstops a registration after its first failure, hence eleven executions rather than twelve../pushclient checks, so host pressure was not identical; it still provides no zero-failure GREEN. The restore-to-A failure in the baseline has A selected and mixed audio, rather than the reported stale C.SOLDR_PORCELAIN=0 timeout 1800 ./lint --fixpasses (84.8 s); the three focusedTimingLockTestcases pass.The reported runner failure is confirmed in run 44134744877, job 134247840974: capture remains on
obs_test_c.monitorafter A is restored. None of these local failures retained C after restoration. Existing bounded retry logic from #3651 is present, and both daemon fixtures use private runtime/config/state directories, so no shared-daemon collision was established. The timing lock coordinates one CTest invocation and cannot isolate independent runner suites on the same host.Read-only
clud-reviewfound no defect in this two-file scheduling change but reported a HIGH delivery gap: insufficient runtime evidence for #4944. Further work needs the stale-sink failure reproduced and its event/restart sequence traced, plus zero failures in an equal or larger loaded comparison before queueing.Reproduction driver and complete logs are preserved in
/home/niteris/dev/obs-rust/.worker-pool/flake-4944/, includingreproduce.py,baseline.log,green.log,job.logand the original-pair experiment logs. No Rust implementation or protocol behavior changes; no new test executable. This PR does not claim a complete Tier 2 run or hybrid runtime validation.Publication:
./pushpassed six-target client lint/analysis and client self-tests/validators. Its full workspace run passed 8,858 tests (6 skipped, 3 slow, 1 reported leaky); workspace documentation checks reused passing soldr verdicts. I cancelled the subsequent optionalobs-utilfeature-repeat wrapper with SIGINT to bound publication time. Therefore the overallclient-testlane was not attested: the final head has 18Ci-Attestationtrailers providing partial prooft evidence, and ordinary PR CI remains required. Draft status and absent auto-merge were verified on headc0fc38b41ad3f412b831e1a17c30cbed0d17bb09.Refs #4944.