Repository navigation
test: drop test_transition_load_release from the known-flaky list (Fixes #4800) - #5413
Merged
Merged
Conversation
#4800) Its failure (line 360: the old source still referenced after the test released it, then the cascade at line 378) was the video-only obs_wait_for_destroy_queue() race fixed by #5407: the fixture resets video without audio, so the wait skipped the video thread and tick_sources() could still hold its tick reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Ci-Attestation: {"at":1795267090,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":94,"stamp":"6882c56d1c536618a8f52273b7c8251c","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795267090,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":94,"stamp":"9c4001d03ff7fb326d45a0a4c93017c5","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795267090,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":94,"stamp":"a9cda3d8ec5a5400d2c7b1ab1c13ef89","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795267090,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":94,"stamp":"261f31ec219cf87bbcaa7eb0119e2832","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"general/all/client-lint","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"f4450303f13a11bcb8b6d65427003d50","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795267090,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":94,"stamp":"ec954ec998b35d01aca8c1e20ef4241c","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"f1bd2901f6ce7cf7bf3f4e0670fb04e1","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"73eaa3b56de14822a5e5cb3d8640704a","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"8feb7dc9d21ed472e82bf14ddc1b1ff1","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"b7d6396ff0f7ab5db941cf0927c57132","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"f77658c325404c9e36a315140ae46913","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"162beee1be7d659c18e67ce7fdbd5732","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"2f7e6db301c2774522f9e659fe4ebda6","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"809da28f6b4d4c75f69735aa5695feed","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"a52cf0e6ec33421e4d9c6138d78928e8","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"d77a433cd73ad0ab243f4e08c7d4cdfb","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"c2ba24c5d9e68dce1993842cde26ff1c","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795266996,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"62a80741fe3d385360d0cc6fb0e1a85558c840b35762306960818cbec9290545","lane":"client-lint","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":67,"stamp":"977bf69b08e5eb900831112e38b2a54a","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Ci-Attestation: {"at":1795267305,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"4c28bab027efbecd5ff4ca7a50f69be0d32d875847ec1c8e6e4553eea6deb95f","lane":"client-test-x86_64-unknown-linux-gnu","parents":["c0bf2355b1ecd3b440cec361233880788697e799"],"secs":214,"stamp":"520c5fda3c6a907cccd2b44373411d76","tree":"c9bd152da2beb9e4cd477c591bd6634490846245","v":1,"via":"run"} Client-Checks: {"checks":{"base":"c0bf2355b1ecd3b440cec361233880788697e799","coverage":"all-tracked-applicable-files","diff":["test/cmocka/known-flaky.txt"],"head":"fa2bc50a585615262e632a398cf39cbd1d059540","tools":{"orchestrator-python":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]","schema-dependencies":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.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-GITv2.15.4\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Regexps Automata RelaxNG Schemas Schematron Modules Debug Zlib"},"tracked-digest":"54fec83d2e7d034fbd5a560ff3ab36d8a5721fcec89aff97accb0bf3d38b4b80","tree":"c9bd152da2beb9e4cd477c591bd6634490846245"}}
rdoupe
marked this pull request as ready for review
November 21, 2026 13:22
|
Claim conflict: keep this PR out of the merge queue until resolved.
|
rdoupe
enabled auto-merge
November 21, 2026 13:26
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.
Fixes #4800
test_transition_load_releaseis intest/cmocka/known-flaky.txtbecause its old-source checks failed under parallel load: line 360 ("'load release old' is still referenced after its last owner let go"), then line 378 as a cascade. That was the race #5407 fixed.released_source_is_destroyed()releases the source and callsobs_wait_for_destroy_queue(), and this fixture resets video without audio, so before #5407 the wait skipped the video thread andtick_sources()could still hold its tick reference. With the race fixed, the test no longer needs the merge-queue retry, so this drops its line. #4680 (test_source_transition_slots) is a different case (no destroy-queue wait) and keeps its line.Evidence
To make the race reproducible on demand, I put a temporary
os_sleep_ms(30)intotick_sources()(libobs/obs-video.c.h) right after it takes its source references. That keeps the references held for most of each 33 ms frame. It was a local edit only and is not in this PR.RED: injected delay plus the
obs_wait_for_destroy_queue()from before #5407 (d8562f7e2^), with the test unchanged:These are the same lines and messages as the failure in #4800.
GREEN: the same injected delay with master's
obs_wait_for_destroy_queue():(Both injected runs also fail some timing tests, such as the deinterlace field-order and async-rotation tests, because a 30 ms stall in every tick breaks them. They fail with and without #5407 and have nothing to do with this test.)
Without the injection, on this branch (the flaky-list line removed, so nothing retries it):
./lintpasses.🤖 Generated with Claude Code