You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: test_darken_transparent measures the output before the scene is drawn in the asan job #3389
darken_keeps_background_where_transparent fails at test/cmocka/test_darken_transparent.c:325 in the asan job (run 41281819710, with other tests running). It passed in the four earlier asan runs and passes in Tier 2:
normal: mean luma left (transparent) 0.0, right (opaque) 0.0 (black is 16)
darken: mean luma left (transparent) 180.0, right (opaque) 71.0 (black is 16)
normal: mean luma left (transparent) 180.0, right (opaque) 71.0 (black is 16)
The first Normal pass measured luma 0 on both halves. That is not video black (16): no frame of the scene was drawn yet. run_scene is ready after 10 output frames, not after the frames show the scene, so on a loaded machine it reads frames from before the first draw. The Darken pass and the Normal control right after it are correct.
What to do
Make run_scene wait for frames that show the scene (for example, the opaque half is no longer 0), with a time limit, and then measure. No assertion changes.
The test must pass in the asan job on its own and with other tests running. Then drop its entry from the sanitizer harness's known list (rust/tools/sanitize/triage.py, kind flaky, #3290).
Activity
vpacher commentedon Nov 1, 2026
/ready
vpacher commentedon Nov 1, 2026
Claiming: wait for the drawn scene in test_darken_transparent
Plan (one PR, after #3290):
run_scenewaits for frames that show the scene, with a time limit.flakyentry from the known list.First PR: after #3290 merges.
vpacher commentedon Nov 1, 2026
Blocked: waiting on #3290
test(cmocka): test_darken_transparent measures the drawn scene (obs-r…