Skip to content

test: test_deinterlace_mode_load's Yadif 2x check runs out of time in the asan job #3390

Closed

Description

@vpacher

What happens

valid_modes_unchanged fails at test/cmocka/test_deinterlace_mode_load.c:353 in the asan job (run 41281819710). The test holds the timing lock, so it ran alone. It passed in the four earlier asan runs and passes in Tier 2:

{"id": "deinterlace_mode_load_source", "name": "mode 8", "deinterlace_mode": 8}:
  2 of 89 output frames showed the source: ...
  the source draws nothing

Mode 8 is Yadif 2x. A check pushes frames for at most MAX_PUSH_FRAMES (90, 3 s) until MIN_DRAWN (3) output frames show the source. In the same run another check needed 62 frames to get there. Under ASan the Yadif modes are close to the 3 s limit, so the check fails now and then although the source is drawn.

What to do

Find what delays the first Yadif frames under ASan:

  • a real delay in the deinterlacer's start (for example, frames held back until the history is full): if that is OBS behaviour, give the check a limit that covers it;
  • or only the slower build: a larger MAX_PUSH_FRAMES for all modes.

A source that draws nothing must still fail. The test must pass in the asan job on its own and in a loop. Then drop its entry from the sanitizer harness's known list (rust/tools/sanitize/triage.py, kind flaky, #3290).

Activity

  1. added
    quality
    P3
    size:S
    on Nov 1, 2026
  2. vpacher commented on Nov 1, 2026

    @vpacher
    MemberAuthor

    /ready

  3. added
    ready
    on Nov 1, 2026
  4. vpacher commented on Nov 1, 2026

    @vpacher
    MemberAuthor

    Claiming: the Yadif 2x time limit in test_deinterlace_mode_load

    Plan (one PR, after #3290):

    1. Measure the first-drawn frame per mode under ASan in a loop.
    2. RED/GREEN for the cause (deinterlacer start delay or the slower build); a source that draws nothing still fails.
    3. Drop its flaky entry from the known list.

    First PR: after #3290 merges.

  5. vpacher commented on Nov 1, 2026

    @vpacher
    MemberAuthor

    Blocked: waiting on #3290

  6. added
    claim-blocked
    on Nov 1, 2026
  7. removed
    claim-blocked
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3qualityreadysize:S

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions