Skip to content

ci: Tier 2 Linux skips every PipeWire test (no PipeWire daemon in the harness) #776

Closed

Description

@zackees

The Tier 2 Linux harness (rust/tools/linux-validate/validate.sh) installs libpipewire-0.3-dev but starts no PipeWire daemon (no pipewire, wireplumber, dbus-run-session). Tests that need a running PipeWire server skip, both in the local gate's tier2-linux lane and in CI's Rust Tier 2 Linux job (which the local-gate stamp lets CI skip anyway).

Seen on #775 (camera registry race): in the stamped local gate,

130/217 Test #130: test_pipewire_camera_registry_race ... ***Skipped
131/217 Test #131: test_pipewire_camera_unload ......... ***Skipped
132/217 Test #132: test_pipewire_camera_unplug ......... ***Skipped

So the fix's RED→GREEN and the edits to the unload/unplug tests were only checked in the contributor's environment ("every PipeWire and PulseAudio test ran"). The same applies to every PipeWire/PulseAudio fix landed so far.

Suggested fix: in the harness image, install pipewire pipewire-pulse wireplumber dbus and run ctest under dbus-run-session with a private PipeWire + WirePlumber started (and Xvfb for the display-dependent tests), as contributors already do locally. Then add a check that fails the lane if any PipeWire test reports Skipped, so it can't silently regress.

Activity

  1. zackees commented on Oct 14, 2026

    @zackees
    MemberAuthor

    Narrowed down while verifying #775 in a container built on the Tier 2 image: the PipeWire tests only need pipewire dbus-daemon xvfb xauth added to the image (plus xvfb-run around ctest). They start their own private PipeWire daemon (test_pipewire_cursor_hdr.sh) and a fake portal on a private D-Bus bus; WirePlumber, pipewire-pulse and a real portal aren't needed. With that, test_pipewire_camera_registry_race, _unload and _unplug ran instead of skipping (results on #775).

  2. zackees commented on Oct 14, 2026

    @zackees
    MemberAuthor

    Claiming.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions