Skip to content

test: test_media_cover_art_monitor misses its window under load in the asan pool #3421

Closed

Description

@vpacher

What happens

mp3_cover_restart_monitored failed at test/cmocka/test_media_cover_art_monitor.c:446 in the asan pass of #3418 (run 41302253353), which does not touch the media source:

MP3 with cover art: first play: 0 packets, cover at 0, still for 0 ms; shown again: 41 packets, cover at 1058622558, monitor has 1058622558, still for 912 ms
MP3 with cover art: no audio or no cover frame reached the source

On the first play no packet reached the source in the test's time window; on the second play 41 did. The FLAC case of the same run passed. The test passed in the 8 earlier asan runs, serial and in the pool, and passes in Tier 2.

The test plays real media in real time, so under the pool's load it can miss its window, like the other timing-sensitive tests.

What to do

Put the test in the timing resource lock (set_tests_properties(... RESOURCE_LOCK timing) in test/cmocka/tests.d/test_media_cover_art_monitor.cmake, and the test graph), so the sanitizer pool runs it alone after the other tests, as for test_async_delay_audio (#3238). No change to the test itself.

Since #3290 the asan job and the asan pass of conversion-ratchet PRs fail on it, so a flake here blocks unrelated PRs.

Activity

  1. added
    quality
    P2
    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: put test_media_cover_art_monitor in the timing lock

    Plan (one PR, right after #3362): RED harness test that the test holds the timing lock (cmake file and test graph), GREEN the lock; gate. First PR today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2qualityreadysize:S

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions