Skip to content

test: register #1390 batch 30 (private PipeWire camera fixtures) - #3989

Merged
zackees merged 4 commits into
masterfrom
test/1390-b30-land
Nov 8, 2026
Merged

zackees merged 4 commits into
masterfrom
test/1390-b30-land

Conversation

@zackees

@zackees zackees commented Nov 8, 2026

Copy link
Copy Markdown
Member

Refs #1390

Registers six existing private PipeWire camera fixtures in the canonical native graph. The original C fixtures and public headers remain unchanged. The fixtures use private PipeWire/D-Bus services inside the Tier 2 container and remain Linux-only. No new test executable or workflow is added.

This branch starts from master 4df97f4 and cherry-picks only batch 30, preserving every master graph record unchanged and adding six targets/tests (709/719 total). RED 296e142 requires the missing camera registrations and optional capability; the original RED run failed two contracts. GREEN 54cd1ff registers the fixtures; 6c90262 uses the repository Gio link interface, and ccd5d2e extracts renderer support into a lint-compliant helper.

Fixture Cases per consumer/core/compiler Hybrid C reference
test_pipewire_camera_control_refresh 9 PASS GCC + Clang PASS GCC + Clang
test_pipewire_camera_format_dedup 2 PASS GCC + Clang PASS GCC + Clang
test_pipewire_camera_nv12 9 PASS GCC + Clang PASS GCC + Clang
test_pipewire_camera_renegotiate 6 PASS GCC + Clang PASS GCC + Clang
test_pipewire_camera_resolution_restart 3 PASS GCC + Clang PASS GCC + Clang
test_pipewire_camera_unload 2 PASS GCC + Clang PASS GCC + Clang

Both Cargo/cc::Build and graph CMake/CTest replay the unchanged fixtures against the selected core. Each hybrid compiler lane rebuilds the current-tree release archive. Loader checks verify the selected core for fixtures and renderer; no installed-core fallback, skipped cases or retries count as passes. Runtime uses the existing Tier 2 image obs-rust-linux-validate:ed8bbd0fdf71e91a.

Fresh landing validation on ccd5d2e: graph guards 15/15 plus slicing guard 1/1; complete native_build module 219/219; separate archive_freshness 3/3; full lint exit 0 (222.9 s); diff whitespace check clean. All four GCC/Clang × hybrid/C-reference runtime lanes passed: 48 fixture commands, 248 cmocka case executions, 24 CTest passes, and 52 loader checks. Capability inventories and absence of skips/failures were independently asserted from the complete logs. The current-tree hybrid archive was rebuilt for each compiler.

Test cost (existing batch-30 measurement): four default camera contracts over 25 reduced-debug repetitions, longest combined 1.019 s, peak child RSS 19,324 KiB, no own Rust threads. Native replay retains the existing compilation-budget exception and original fixture processes/threads.

Native Windows/macOS execution, physical hardware, sanitizers, full workspace tests and app/protocol/saved-profile validation are not claimed. This batch covers native registration/parity and does not complete the tracker.

Full remaining hardware/daemon list after these six:

Fixture Hybrid scout C-reference scout Exact blocker / reason not registered
test_pipewire_camera_registry_race 3 passed, 1 failed 3 passed, 1 failed saved_source_streams_the_camera fails at original C line 647 in both lanes.
test_pipewire_camera_unplug PASS 2/2 PASS 2/2 Six-registration cap only.
test_pipewire_cursor_hdr PASS 4/4 PASS 4/4 Six-registration cap only.
test_pipewire_screencast_resume PASS 7/7 5 passed, 2 failed C-reference showing_a_source_starts_its_stream fails slowest < 1000; sources_not_showing_stay_inactive_after_reconnect fails at original C line 930. One-lane-only pass; not registered.
test_pipewire_screencast_shm PASS 6/6 PASS 6/6 Six-registration cap only.
test_pulse_default_follow Native PulseAudio selector SKIPS; PipeWire PASS 6/6 Native PulseAudio selector SKIPS; PipeWire 4 passed, 2 failed Image has no pulseaudio daemon. C-reference PipeWire selector also fails default_output_switch and reapplying_default_keeps_stream. Incomplete fixture in both lanes; PipeWire-only selector has a one-lane-only pass.
test_pulse_stream_restart PASS 12/12 11 passed, 1 failed C-reference failing_stream_is_paced_then_given_up fails at original C line 832. One-lane-only pass; not registered.
test_v4l2_vmic_server PASS 3/3 PASS 3/3 Six-registration cap only. Original private D-Bus fake service needs no physical device.
test_v4l2_vcam_cloexec Not run Not run Real vivid V4L2 node required; no /dev/video* exists in the container and no host device was supplied.
test_v4l2_vivid_replug Not run Not run Real vivid node and privileged kernel-module/replug manipulation unavailable.
test_v4l2_vivid_stall Not run Not run Real vivid node and privileged driver/module manipulation unavailable.

One-lane-only results are explicitly listed above: Screencast Resume, Pulse Stream Restart, and the PipeWire selector only of incomplete Pulse Default Follow. None was registered. daemon-device-inventory.txt records the image's tools and missing devices. Corrected Pulse logs end in -corrected.log; its native-server skip is never counted as a complete pass.

All 28 Rust-static/private names remain unregistered and unscouted in this batch. Their common deferral reason is the requested six-registration cap/fallback scope, not an observed runtime or hardware defect. Future scouts must preserve each original static/private-symbol/host-adapter closure and platform guard, including Windows pthread imports. Full list:

test_effect_param_types_steps_rust
test_effect_parser_blocks_rust
test_effect_parser_lifecycle_rust
test_effect_parser_params_rust
test_effect_parser_passes_rust
test_effect_parser_shader_call_rust
test_graphics_ffmpeg_host
test_graphics_ffmpeg_pq_steps_rust
test_graphics_ffmpeg_route_steps_rust
test_graphics_ffmpeg_wic_checks_rust
test_graphics_immediate_steps_rust
test_graphics_state_stacks_rust
test_nix_wayland_keys_steps
test_nsgif_decode_rust
test_pulse_monitor_steps_rust
test_scene_bounds_place_rust
test_scene_item_crop_rust
test_scene_item_names_steps_rust
test_scene_item_order_steps_rust
test_scene_item_transform_steps_rust
test_scene_transform_update_steps_rust
test_source_duplicate_steps_rust
test_source_filter_chain_steps_rust
test_sprite_geometry_steps_rust
test_transition_clock_steps_rust
test_transition_sample_time_steps_rust
test_window_match_steps_rust
test_windows_keys_steps_rust

@zackees
zackees enabled auto-merge November 8, 2026 06:07
@zackees
zackees added this pull request to the merge queue Nov 8, 2026
Merged via the queue into master with commit d0f62d3 Nov 8, 2026
76 of 78 checks passed
@zackees
zackees deleted the test/1390-b30-land branch November 8, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant