Repository navigation
test(cmocka): test_deinterlace_mode_load waits up to 10 s (#3390) - #3434
Merged
Merged
Conversation
…in (#3390) Drop its flaky entry from the sanitizer known list. In the asan job (run 41281819710), valid_modes_unchanged failed at test_deinterlace_mode_load.c:353 on the loaded Yadif 2x check: 2 of 89 output frames showed the source: ...... the source draws nothing A check pushes frames for at most MAX_PUSH_FRAMES (90, 3 s) until 3 output frames show the source; in the same run another check needed 62. On a local build box the asan build needs at most 14 for Yadif 2x (6.3 on average), even with 12 runs at a time, so the runner's slower llvmpipe under ASan is what runs out of the 3 s. Fails: the asan job, as in run 41281819710 (not reproduced locally). Co-Authored-By: Claude Opus 5.5 <[email protected]>
MAX_PUSH_FRAMES goes from 90 (3 s) to 300 (10 s). A source that draws still reaches MIN_DRAWN (3) after a few frames and ends the check; only a check that fails waits the whole time. MIN_DRAWN and every assertion stay as they were. Co-Authored-By: Claude Opus 5.5 <[email protected]> Local-Gate: v1 tree=f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d secs=264 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run,macos-native:n/a,windows-native:n/a Ci-Attestation: {"at":1793546741,"gate":"rust/all/fmt","host":"linux-x86_64","key":"93b5107790470852ac1f41a018f7e452f485961b142a31e3804f36d218f444ae","lane":"lint","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":40,"stamp":"dfad1da920f52a8f0b0338aeb7de56a0","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"} Ci-Attestation: {"at":1793546741,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"93b5107790470852ac1f41a018f7e452f485961b142a31e3804f36d218f444ae","lane":"lint","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":40,"stamp":"cd67b02a435170d984f388076e777325","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"} Ci-Attestation: {"at":1793546741,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"1da33e8749db84f41911364b7b59e6749c154c5e832274116a411b5f62c57b39","lane":"rust-test","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":82,"stamp":"2eb8f4d07997c179d861fd59101fb7e5","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"} Ci-Attestation: {"at":1793546741,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"7db1373f23f2db954da08475ce73938202ba55a9cd2c92cdcc9ef62696bec96b","lane":"cross","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":24,"stamp":"3a17375aa94811fe4e5f97aa31055f0d","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"} Ci-Attestation: {"at":1793546741,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"7db1373f23f2db954da08475ce73938202ba55a9cd2c92cdcc9ef62696bec96b","lane":"cross","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":24,"stamp":"882336761761241d40f872c0e799204f","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"} Ci-Attestation: {"at":1793546741,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"7db1373f23f2db954da08475ce73938202ba55a9cd2c92cdcc9ef62696bec96b","lane":"cross","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":24,"stamp":"f5d861318c44f27f0eba7bd3c52114cc","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"} Ci-Attestation: {"at":1793546741,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"7db1373f23f2db954da08475ce73938202ba55a9cd2c92cdcc9ef62696bec96b","lane":"cross","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":24,"stamp":"9304d96a1608aa3f94874b564d333a6e","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"} Ci-Attestation: {"at":1793546741,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"b51ed6265c1b793be689a0737007c0e945c6d489cb1c071fb8a659259f0d9685","lane":"tier2-linux","parents":["77118c21b965983583268cb334b05b9612af80bc"],"secs":263,"stamp":"aff83dd52ac04ebb10d53c543f2fd677","tree":"f5ab96e8c44c223e0114cbb1d68ecb3dcdd2c55d","v":1,"via":"run"}
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 #3390. Refs #3238.
Why
In the asan job (run 41281819710),
valid_modes_unchangedfailed attest_deinterlace_mode_load.c:353on the loaded Yadif 2x check:A check pushes frames at the canvas rate until 3 output frames show the source, for at most
MAX_PUSH_FRAMES(90, 3 s). In the same run another check needed 62 frames. On a local build box the asan build needs far fewer, even with 12 runs at a time:So Yadif 2x is the slowest mode, but the source does draw; on the CI runner (4 vCPUs, llvmpipe under ASan, the rest of the pool running) it took longer than 3 s. The failure did not reproduce locally.
What changes
MAX_PUSH_FRAMESgoes from 90 (3 s) to 300 (10 s). A source that draws still reachesMIN_DRAWN(3) after a few frames and ends the check, so a passing run takes as long as before; only a check that fails waits the whole time.MIN_DRAWNand every assertion stay as they were. Theflakyentry of the test leaves the sanitizer known list.Commits
Tests
The table above: 6 runs alone and 24 runs 12 at a time of the asan build, none failing. Tier 2 passes in the local gate. Local gate, stamped head 787eb85: 4 min 24 s (lint 40 s, rust-test 82 s, cross 23 s, tier2-linux 263 s).
Checklist
master🤖 Generated with Claude Code