Skip to content

test: serialize the PulseAudio/PipeWire private-daemon tests - #5036

Merged
zackees merged 2 commits into
masterfrom
fix/4944-pulse-serialize
Nov 18, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/4944-pulse-serialize

Conversation

@zackees

@zackees zackees commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Serialize all 21 private PulseAudio/PipeWire daemon CTests with the shared obs_audio_daemon resource lock. Apply the policy after both tests.d and native-graph registration, preserving existing locks, assertions, timeouts, skip codes and unrelated parallel tests. No C test, public header, implementation or workflow changes. No RUN_SERIAL: the reproduced competing CPU load is outside CTest and would not be controlled by that property.

Refs #4944. Supersedes #4984.

Validation:

  • RED 64b0c809c: the generated-registration regression fails 42 missing-lock assertions (21 registrations in each of two probes). GREEN: all five focused and neighboring scheduling tests pass. The final probes cover registration with and without an Xvfb wrapper and preserve an existing lock.
  • Both default-follow registrations retain RESOURCE_LOCK=["obs_audio_daemon"] when CTest lists the runtime fixture under the OFF (libobs-c-reference) and ON (libobs) loader paths. This is configuration evidence, not two full Tier 2 builds. The hosted path transfers the generated CTest tree unchanged and invokes the same validate.sh with eight workers; source inspection confirms the policy is included after both registration sources. A hosted run has not been observed.
  • Runtime acceptance remains unmet; keep draft. Replayed the prior profile: four pinned logical CPUs, six copies of the unchanged PipeWire default-follow registration, six CTest workers, one sha256sum /dev/zero process, CMOCKA_TEST_FILTER=default_output_unplugged, --repeat until-fail:4. Unlocked: 1/24 failures (4.17%). Locked: 3/17 failures (17.65%). Each lane stops at its first failure. These are separate complete runs; the locked run is not a successful GREEN and does not establish a failure-rate improvement. Failures had mixed audio on the expected device, rather than the supplied stale-C-after-restore signature. That signature was not reproduced.
  • Runtime used the current unchanged C test and PulseAudio plugin, rebuilt through their existing C/PCH/link commands against this slot's cached libobs libraries, with C-reference OFF. No fresh full-master libobs build, hybrid runtime pass, full Tier 2 suite, export comparison or protocol coverage is claimed. The lock coordinates one CTest process, not separate runner jobs or external load generators.
  • The single read-only clud-review is clean. Full SOLDR_PORCELAIN=0 ./lint passed (105.2 s; the raw log ends == lane lint: ok). The diagnostics wrapper reports unknown because it does not parse this output format; its command exit code is 0. ./push passed and published signed HEAD 610d857737341a22cda46d9e8fe550318db31731 with complete prooft client evidence: client-lint (all six supported targets), client-checks, client-test-x86_64-unknown-linux-gnu. Optional client-swift was not attested (exit 75; not required for this change). The main workspace run passed 8,911 tests (6 skipped), the additional obs-util run passed 920 tests, and the Windows GNU workspace test binaries compiled. The host client-test lane took 955.9 s. No legacy fallback was needed.

The configuration regression prevents the missing serialization from returning; it does not prove the underlying #4944 flake is resolved.

Refs #4944

Ci-Attestation: {"at":1794972035,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":87,"stamp":"631b3b3260120fe2f5baae0a0735abff","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794972035,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":87,"stamp":"b0a2d733e5f63d1fb06d7e23532f3e29","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794972035,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":87,"stamp":"2439d48bb1e2bb9cef937f76ea31d9e5","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794972035,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":87,"stamp":"4e5a33a394a36235e4947597c4658c42","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971946,"gate":"general/all/client-lint","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"9c3d5dcc7c6f9d127a26a939327653f4","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794972035,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":87,"stamp":"03a7fef934e75a924c6f18cea815a529","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"317ed059165c2baebdbe190034ba86eb","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"239f317a061045bad4c30fb20a879ddf","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"91e4fbd902de6fa40c159c60360d8fa2","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"dbde7e7f4cea227096a34bf54e008882","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"b1f6955ed22d95d2736bd102f9c0fd4e","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"17c8f2794656f9608bb0af66314c2a43","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"4ef62186aa1849c00b4f095414c1cd1f","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"e5c8a0a74f065d759051c3f8c4013aad","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"e88a142dd0ed6e69762c14f1473500fe","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971947,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"aa51d16ac69595db9adbff1683e637bb","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971946,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"cf4102ff4f6d2ebef8ddd91690509cb2","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794971946,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"e434fac52bf54801936147e259065b49f055acb2cde4a1bf7350625fcdc2a9c8","lane":"client-lint","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":17,"stamp":"31dd628342a6552b8a4cd1985fe53d26","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}
Ci-Attestation: {"at":1794972993,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"a14dc2d9b2b449ff8937637a4dde579022824cfcb7f363a99ca30ba4bd458fcc","lane":"client-test-x86_64-unknown-linux-gnu","parents":["64b0c809cfa6a2bde99b349d28b329e971a3d19b"],"secs":956,"stamp":"bdfc5cb4c56cb026176c517899664b9a","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"5b1f687da8a02273e10d12190a2db01eed2a26e0","coverage":"all-tracked-applicable-files","diff":["ci/test_audio_daemon_schedule.py","test/cmocka/parallel-environment.cmake"],"head":"f861a95ac3481cec0c06e19efb130280c90f5784","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"1239517d18b46a7a809370e43b90e4ff4b8c363f804dc9b8638a72f76bd81e4e","tree":"2b5b95f508325609bdcd6bc216f24d8189012b90"}}
@zackees
zackees marked this pull request as draft November 18, 2026 03:37
@zackees

zackees commented Nov 18, 2026

Copy link
Copy Markdown
Member Author

Holding as draft: configuration RED/GREEN passes and ./push produced complete signed client evidence, but the requested zero-failure loaded runtime criterion is unmet (unlocked 1/24 failures; locked 3/17, with until-fail stopping lanes). Backpressure is open; this hold is for runtime validation. No RUN_SERIAL is justified by the external CPU stress experiment. Full details and scope limits are in the PR body.

@zackees
zackees marked this pull request as ready for review November 18, 2026 03:45
@zackees
zackees enabled auto-merge November 18, 2026 03:45
@zackees
zackees added this pull request to the merge queue Nov 18, 2026
Merged via the queue into master with commit a14155e Nov 18, 2026
45 checks passed
@zackees
zackees deleted the fix/4944-pulse-serialize branch November 18, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant