[bug][tests] Gate 3 does not come out green on main here: darner-gpu's lib tests fail in half of the parallel runs, one darner-shader test fails every time, one runs for over 14 min #389
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What you see
Gate 3 of AGENTS.md (
cargo test --workspace --locked) does not pass onmain(f3840d73) on this PC, with nothing of mine on top. Three separate things, all measured on that commit on 2026-12-04:1.
darner-gpu's lib tests fail in about half of the runs in parallel, and pass on one thread.cargo test -p darner-gpu --lib --locked, 20 runs in a row: 10 failed. A failed run has 1 to 3 failed tests of 1,756, and not the same ones from run to run.watch::tests::ask_once_by_res_splits_reservations_without_refusals(3),watch::watch_pipe_epoch_tests::ask_once_delta_reask_direct_carves_refreshes_and_updates_page_epochs(3),watch::tests::a_block_written_frame_after_frame_is_kept_open(2),host::watch_pipe::tests::ask_once_delta_runs_on_collector_and_preserves_ahead(2),host::watch_pipe::tests::concurrent_submit_asks_coalesce_without_losing_dirty_pages(2),host::watch_pipe::tests::finish_early_watch_fast_path_reasks_overlap_and_handles_settle_or_cancel(2),host::refresh_tests::chunked_nothing_new_with_matches_individual(2),host::card_steps::tests::shared_scratch_eliminates_flight_settle_end_to_end(1). In six earlier runs:host::refresh_tests::unchanged_ranges_are_known(1).-- --test-threads=1: 1,756 passed, 0 failed (105 s).gpu_owned::tests::concurrent_faults_on_same_block_serialize_single_readbackalone (-- --exact), 10 runs: 9 failed.2.
darner-shader:emit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shadersfails every time. Alone (cargo test -p darner-shader --lib --locked <name> -- --exact): 3 runs of 3. The message:DXIL validation failed: "Function: main: error: Not all elements of output SV_Depth were written.\nValidation failed."(waterfall_tests.rs:1056).3.
darner-shader:oracle64::legacy_mul_forms_are_exacthad not ended after 14 min 33 s of CPU time when I stoppedcargo test --workspace --locked --no-fail-fast. Its CPU time kept rising, so it runs; it is not hung. An attempt earlier that day stood in it for over 20 min.Why it matters: AGENTS.md asks every pull request to say which gates ran and what they gave. As it stands, a contributor on a PC like this one cannot get gate 3 green with or without their change, and cannot tell a failure of their own from these. #321's text reports gate 3 failures on
f3840d7too (under Wine, other tests).What I did not check:
f3840d73itself: on a tree with two commits of mine on top (#332's head, which touchesdarner-gpuonly) everything butdarner-gpuanddarner-shadergave 1,015 passed, 0 failed, anddarner-shaderwithout the long test 556 passed, 1 failed (the test of point 2) in 491 s.CPU, RAM and Windows version
Ryzen 5 7500X3D (6 cores, 12 threads), 32 GB, Windows 11 (build 26300), rustc 1.98.1
Darner release or commit
f3840d73Are you working on a fix?
No