Repository navigation
test(cmocka): run test_media_cover_art_monitor in the timing lock (#3421) - #3425
Merged
Merged
Conversation
…#3421) In the asan pass of #3418 (run 41302253353), mp3_cover_restart_monitored got no packet on its first play within the test's window ("first play: 0 packets"), then 41 on the second; it passed in the 8 earlier asan runs. It plays real media in real time, so under the pool's load it can miss its window, like the four tests that already hold the lock. The harness test now lists it with the timing tests. Fails: test_timing_tests_hold_the_timing_lock. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ck (#3421) RESOURCE_LOCK timing next to its TIMEOUT, so the sanitizer pool runs it alone after the other tests; in Tier 2 ctest only keeps it from overlapping the other timing tests. The test itself is unchanged. Harness tests: OK. Co-Authored-By: Claude Opus 5.5 <[email protected]> Local-Gate: v1 tree=5762caaa8d23b0dae231fb856086fdd41c7d8a34 secs=336 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run,macos-native:n/a,windows-native:n/a Ci-Attestation: {"at":1793535327,"gate":"rust/all/fmt","host":"linux-x86_64","key":"10d11312ce8f0ba8026b23ebc401f1330d39cf312408c6e91169481ce28bdd5e","lane":"lint","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":88,"stamp":"bc3a83851cec2626f907e79d28bf6515","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"} Ci-Attestation: {"at":1793535327,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"10d11312ce8f0ba8026b23ebc401f1330d39cf312408c6e91169481ce28bdd5e","lane":"lint","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":88,"stamp":"f6cca8041d4f8164e24f71be1d7bbbdb","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"} Ci-Attestation: {"at":1793535327,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"144d002bc8e21901a3fd3e1063542f6e32cc3dec20169b28f319a3c734cff420","lane":"rust-test","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":136,"stamp":"cdf4e9c643abad232904b61c0f29dfc6","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"} Ci-Attestation: {"at":1793535327,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"c974981c4f833c0daf94f04131edd2ed8208df056d7adee2401d9afc889b6fad","lane":"cross","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":112,"stamp":"bc18fe56838813e9d76d09512bb4ea4a","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"} Ci-Attestation: {"at":1793535327,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"c974981c4f833c0daf94f04131edd2ed8208df056d7adee2401d9afc889b6fad","lane":"cross","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":112,"stamp":"aeaa5b7d4eb2763dffb440ff8b57ace2","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"} Ci-Attestation: {"at":1793535327,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"c974981c4f833c0daf94f04131edd2ed8208df056d7adee2401d9afc889b6fad","lane":"cross","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":112,"stamp":"3915545780f73e38850c29bb7cdf7f2c","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"} Ci-Attestation: {"at":1793535327,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"c974981c4f833c0daf94f04131edd2ed8208df056d7adee2401d9afc889b6fad","lane":"cross","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":112,"stamp":"a195e7db0014a32c3fcbf168993cdcd1","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"} Ci-Attestation: {"at":1793535327,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"3f073008d1613c4c64210f14a40a193f56e8502badf3847268e62749c70d4380","lane":"tier2-linux","parents":["41863dd8da7725aa0401de35f2f3538c3f835eaf"],"secs":266,"stamp":"d51453975fbdf3a6a91fb8a844dee3ed","tree":"5762caaa8d23b0dae231fb856086fdd41c7d8a34","v":1,"via":"run"}
vpacher
enabled auto-merge
November 1, 2026 12:16
zackees
reviewed
Nov 1, 2026
zackees
left a comment
Member
There was a problem hiding this comment.
Coordinator review: LGTM. This follows the established RESOURCE_LOCK timing pattern (#3238), and the TIMING_TESTS_D list keeps the guard test in sync. It's a real-time media test, so serializing it under asan is the right fix rather than widening its window.
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 #3421. Refs #3238, #3418.
Why
In the asan pass of #3418 (run 41302253353),
mp3_cover_restart_monitoredgot no packet on its first play within the test's window (first play: 0 packets), then 41 on the second play. The test passed in the 8 earlier asan runs. It plays real media in real time, so under the sanitizer pool's load it can miss its window, like the four tests that already hold thetiminglock (#3238).What changes
test/cmocka/tests.d/test_media_cover_art_monitor.cmakeaddsRESOURCE_LOCK timingnext to the test'sTIMEOUT. The sanitizer pool runs it alone after the other tests; in Tier 2, ctest only keeps it from overlapping the other timing tests. The test itself is unchanged.Commits
ci/test_sanitize_harness.py,TimingLockTest) lists it with the timing tests. Failstest_timing_tests_hold_the_timing_lock.Tests
ci/test_sanitize_harness.py: OK.Checklist
master🤖 Generated with Claude Code