Skip to content

test(ci): skip the ProRes stinger and GPU direct-input tests on the Linux runner - #1084

Merged
srperens merged 1 commit into
mainfrom
test/skip-linux-video-flakes
Oct 19, 2026
Merged

srperens merged 1 commit into
mainfrom
test/skip-linux-video-flakes

Conversation

@srperens

Copy link
Copy Markdown
Collaborator

Refs #1067

Problem

Linux CI has been red on most runs today because of four tests that pass locally and on rerun. On 2026-10-19 they failed five times, on main and on PRs that touch neither stingers nor the vision mixer:

Test Failed in
stinger_prores_test::prores_4444_keeps_its_alpha main 7bc856f5 (run 39228307861), #1075 (run 38816640192)
stinger_prores_test::a_prores_clip_after_another_format_still_airs main c4337e2a (run 39238405331), #1075
stinger_prores_test::another_format_after_a_prores_clip_still_airs #1017 (run 37759007494), #1075
vision_mixer_input_format_test::gpu_videotestsrc_direct main a882bbab (run 39232876085), #1017 first attempt (run 39231576053)

The ProRes tests fail on frame timing (frame -5: old source before the cut): the loaded runner decodes ProRes too slowly to land every frame on time. gpu_videotestsrc_direct fails earlier, at start: StateChangeError - current: Paused, pending: Playing.

With main red on almost every run, a real failure no longer stands out.

Change

  • The Linux backend test step sets STROM_SKIP_KNOWN_CI_FAILURES=1, as the macOS and Windows steps already do.
  • The three ProRes stinger tests list "linux" next to "macos" in common::skip_known_ci_failure(). The gpu_videotestsrc_direct test lists "linux".
  • The doc comment of skip_known_ci_failure() now says Linux sets the variable too.

No existing skip lists "linux", so setting the variable on Linux changes nothing else. the_stinger_source_recovers_after_a_clip_a_consumer_refused has not failed on Linux and keeps running there. The rest of vision_mixer_input_format_test keeps running too.

Rejected for now: loosening the frame-exact assertions in the stinger rig. That needs its own investigation into what margin still catches a real timing bug.

Evidence

  • The failures above are from the CI logs of the listed runs.
  • The ProRes tests have passed 4/4 before in an Ubuntu 24.04 container with the CI packages, which points at runner load rather than a code bug.
  • gpu_videotestsrc_direct passed on the rerun of build(deps): Bump rustls from 0.23.41 to 0.23.45 #1017. Its cause is not investigated.

Tests

Ran (macOS, arm64, without STROM_SKIP_KNOWN_CI_FAILURES): cargo fmt --all -- --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --test stinger_prores_test (4 passed) and cargo test --test vision_mixer_input_format_test gpu_videotestsrc_direct (1 passed). This shows local runs still execute the tests.

Not run: the Linux CI job itself. This PR's CI run will be the first to set the variable on Linux.

For the reviewer

This drops Linux coverage for the ProRes stinger path and for one GPU input test. No other platform runs the ProRes stinger tests in CI now (macOS already skips them), so a regression there shows only in local runs.

Out of scope

  • The cause of the gpu_videotestsrc_direct start failure.
  • Making the stinger frame-timing assertions tolerant enough for the runner.

🤖 Generated with Claude Code

https://claude.ai/code/session_015zM1LedicrqbhDqxh6B5UV

…inux runner

Three ProRes stinger tests and gpu_videotestsrc_direct failed on Linux CI
five times on 2026-10-19, on main and on PRs that touch neither stingers
nor the vision mixer. They pass locally and on rerun.

The Linux backend test step now sets STROM_SKIP_KNOWN_CI_FAILURES, and the
four tests list "linux". Local runs are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015zM1LedicrqbhDqxh6B5UV
@srperens
srperens merged commit fe7c98b into main Oct 19, 2026
9 checks passed
srperens added a commit that referenced this pull request Oct 27, 2026
…nux again

They were skipped on the Linux runner (#1084) for dropped or late frames,
the symptom of the GStreamer 1.24.2 avdec last-frame bug (#964). Linux
CI now runs GStreamer 1.28.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
srperens added a commit that referenced this pull request Oct 27, 2026
…nux again

They were skipped on the Linux runner (#1084) for dropped or late frames,
the symptom of the GStreamer 1.24.2 avdec last-frame bug (#964). Linux
CI now runs GStreamer 1.28.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
srperens added a commit that referenced this pull request Oct 27, 2026
…nux again

They were skipped on the Linux runner (#1084) for dropped or late frames,
the symptom of the GStreamer 1.24.2 avdec last-frame bug (#964). Linux
CI now runs GStreamer 1.28.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
srperens added a commit that referenced this pull request Oct 27, 2026
- One script, .github/scripts/check-gst-baseline.sh, for check-linux and
  build-macos: below the baseline minor fails, above it warns, so a
  Homebrew move does not block the macOS release build.
- check-linux installs zstd for rust-cache, and only the rustfmt and
  clippy components, through RUSTUP_TOOLCHAIN as check-floor does.
- The caps-answer classification lives in tests/common (upload_path) and
  names the features taken directly: GL memory, DMABuf, the GL texture
  upload meta and CUDA memory. ANY features count as converter-only.
- The ProRes and software-decode stinger tests skip on Linux again: #1084
  and #1095 skipped them for late or dropped frames on a loaded runner,
  and the software-decode clip is PNG, not avdec.
- a_mixer_latency_failure_is_reported_once_with_its_inputs skips on Linux
  too (#1136).
- The FFV1 last-frame tolerance for GStreamer 1.24.2 is gone: no CI job
  runs these tests on 1.24 now, so a dropped frame fails again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
srperens added a commit that referenced this pull request Oct 27, 2026
* ci: run the Linux tests on GStreamer 1.28 in ubuntu:26.04, check the version on macOS

check-linux moves into a ubuntu:26.04 container so the tests run on the
GStreamer 1.28 baseline instead of the hosted runner's 1.24.2. Both test
jobs now fail unless gst-inspect-1.0 reports 1.28.x.

Refs #964

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: fix three tests that assumed the hosted runner's environment

On GStreamer 1.28 with Mesa EGL, glupload lists DMABuf in a vision mixer
input's caps answer. The two caps-order tests counted those entries as
converter-only. The converter outputs plain system memory only, so any
other caps feature now counts as taken directly.

The blank-data-dir config test asserted an absolute path, but inside a
container the default data dir is ./data. It now compares against the
default the same environment resolves with no config file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(stinger): run the ProRes and software-decode stinger tests on Linux again

They were skipped on the Linux runner (#1084) for dropped or late frames,
the symptom of the GStreamer 1.24.2 avdec last-frame bug (#964). Linux
CI now runs GStreamer 1.28.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci, test: address review of the GStreamer 1.28 baseline

- One script, .github/scripts/check-gst-baseline.sh, for check-linux and
  build-macos: below the baseline minor fails, above it warns, so a
  Homebrew move does not block the macOS release build.
- check-linux installs zstd for rust-cache, and only the rustfmt and
  clippy components, through RUSTUP_TOOLCHAIN as check-floor does.
- The caps-answer classification lives in tests/common (upload_path) and
  names the features taken directly: GL memory, DMABuf, the GL texture
  upload meta and CUDA memory. ANY features count as converter-only.
- The ProRes and software-decode stinger tests skip on Linux again: #1084
  and #1095 skipped them for late or dropped frames on a loaded runner,
  and the software-decode clip is PNG, not avdec.
- a_mixer_latency_failure_is_reported_once_with_its_inputs skips on Linux
  too (#1136).
- The FFV1 last-frame tolerance for GStreamer 1.24.2 is gone: no CI job
  runs these tests on 1.24 now, so a dropped frame fails again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@srperens
srperens deleted the test/skip-linux-video-flakes branch November 3, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant