Tests: isolate the streamed-texture recheck fixture #2593
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2603"
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?
Imported from ivall/xcl. Originally posted by philip-roy-jones on 2026-11-26T01:24:15Z.
Part of #42. The streaming-milestone test from #2029 published a pending integer key in the same texture table that parallel GPU tests upload from. The RX 580 suite aborted when an upload treated that key as an
ID3D12Resource. An RTX 3060 run reported the same address. Independent reportWhat is in it
title_textures.rs, run the existing milestone assertions in their own libtest process. Its synthetic resources and frame numbers are private even if an assertion fails.Tested
cargo build --locked --workspaceandcargo test --locked --workspace --no-runpassed on both revisions. The GPU queue rancargo test --locked --workspace --no-fail-fast -- --test-threads=4. After the library process exited 0xc0000005, the runner isolated its tests in batches. Skips are included in the harness's passed count.b49be1888c0f14Tests that reported SKIPPED
Both revisions
gpu::dxil::core_tests::s_setreg_b32_mode_bit3_does_not_underflowgpu::dxil::geometry_tests::gpu_geometry_direct_recordsgpu::dxil::graphics::tests::emitted_ms_primitive_attribute_reaches_the_pixel_shadergpu::dxil::graphics::tests::emitted_ms_ps_draw_a_trianglegpu::dxil::lower::saveexec_tests::gpu_direct_wave32_saveexec_and_wrexecgpu::dxil::lower_wide::rcp_d_tests::gpu_direct_rcp_f64_and_rsq_f64_edgesgpu::dxil::module::split::tests::dispatch_chain_divergent_forward_edges_3dgpu::dxil::module::split::tests::dispatch_chain_oversized_loop_matches_wholegpu::dxil::module::split::tests::dispatch_chain_payload_skips_middle_piecegpu::dxil::module::split::tests::dispatch_chain_payload_survives_reused_edge_slotgpu::dxil::module::split::tests::dispatch_chain_wave32_live_loopsgpu::dxil::module::split::tests::dispatch_chain_wave64_live_loops_and_exchangegpu::dxil::ops_tests::approximate_float_unary_ops_are_within_tolerancegpu::dxil::ops_tests::bfrev_i64_of_a_uniform_product_matches_cpugpu::dxil::ops_tests::derivatives_in_compute_rungpu::dxil::ops_tests::dot4_add_u8_packed_matches_cpugpu::dxil::ops_tests::doubles_match_cpugpu::dxil::ops_tests::exact_float_unary_ops_match_cpugpu::dxil::ops_tests::float_binary_tertiary_and_half_conversions_match_cpugpu::dxil::ops_tests::groupshared_barrier_and_atomics_rungpu::dxil::ops_tests::half_precision_overloads_rungpu::dxil::ops_tests::i1_to_i64_sign_extension_and_shift_match_cpugpu::dxil::ops_tests::int64_bit_ops_match_cpugpu::dxil::ops_tests::integer_ops_match_cpugpu::dxil::ops_tests::raw_and_structured_buffer_atomics_rungpu::dxil::ops_tests::texture_ops_rungpu::dxil::ops_tests::typed_buffer_ops_rungpu::dxil::ops_tests::uaddc_and_usubb_match_cpugpu::dxil::ops_tests::uav_array_3d_stores_loads_and_texture_atomics_rungpu::dxil::ops_tests::wave_ops_match_cpugpu::dxil::prelude::fclass_const_tests::gpu_direct_v_cmp_class_f32_const_mask_validates_and_matches_isagpu::dxil::tests::blocks_are_written_in_reverse_post_ordergpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::a_compute_program_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::the_lowering_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower::tests::the_split_form_agrees_with_the_wave64_lowering_on_the_gpugpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpugpu::recomp::lower_dxil::tests::a_branch_on_a_mixed_mask_matches_the_hlsl_path_on_the_gpugpu::recomp::lower_dxil::tests::a_bridged_instruction_may_write_to_the_entry_blockgpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barriergpu::recomp::lower_dxil::tests::a_bridged_v_cmpx_keeps_the_lanes_outside_exec_outgpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpugpu::recomp::lower_dxil::tests::a_per_lane_compute_program_runs_on_the_gpugpu::recomp::lower_dxil::tests::a_per_lane_program_with_four_memory_windows_runs_on_the_gpugpu::recomp::lower_dxil::tests::coalesced_foreign_runs_agree_on_the_gpugpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpugpu::recomp::lower_dxil::tests::f16_programs_on_the_gpugpu::recomp::lower_dxil::tests::f32_programs_on_the_gpugpu::recomp::lower_dxil::tests::f64_programs_on_the_gpugpu::recomp::lower_dxil::tests::gpu_frexp_exp_f32_denorm_per_lanegpu::recomp::lower_dxil::tests::integer_programs_on_the_gpugpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpugpu::recomp::lower_dxil::tests::native_wave_branches_on_the_gpugpu::recomp::lower_dxil::tests::per_lane_kernels_run_on_the_gpugpu::recomp::lower_dxil::tests::split_wave64_dead_scc_skips_exchange_barriergpu::recomp::lower_dxil::tests::split_wave64_wave_branches_on_the_gpugpu::recomp::lower_dxil::tests::the_runtime_path_takes_the_split_formgpu::recomp::tests::gpu_geometry_mode_es_gs_stripgpu::recomp::tests::gpu_geometry_mode_es_gs_strip_with_branchesgpu::recomp::tests::gpu_mesh_mode_two_passesheap_window_out_of_memory_falls_back_to_the_switch_formhle::d3d12x::real::passthrough_mesh_stream_accepts_a_triangle_driver_bloboffline_split_compute_pipeline_is_reused_by_a_second_processshaders::tests::pso_measurement_compiles_an_exact_synthetic_recordsplit_compute_prefers_the_offline_whole_pipelinethe title under the debug layer (dred: false)the title under the debug layer (dred: true)Regression run
All changed lines are inside the unit test in
title_textures.rs. Please apply thetest-onlylabel to this revision after reviewing the diff.Not tested
No retail title run or RDNA2 hardware run for this test-only change.
AI use
Codex, GPT-6.2 Astra, max reasoning effort, implemented the fixture isolation, verified it, wrote this description and opened this PR on Philip's instruction. Claude Code with Claude Opus 5.5 identified the original RX 580 abort. Reviewed on Philip's behalf.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T01:57:56Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.Thanks!
— Devin
Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-26T02:10:31Z.
Passes on NVIDIA with the whole suite, and the moved test runs in its own process as intended. A clean run to set beside the RX 580 table: no device removals here.
Tested:
88c0f14merged ontomainb49be18(clean). RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug.cargo test --workspace --no-fail-fast -- --test-threads=4SKIPPEDlines (no wave64, refused per-lane forms)stream_recheck_schedule_catches_late_writes_and_resets_milestonesthrough the parent (child spawned), 30 runshle::d3d12x::title_textures::(19 tests),--test-threads=8, 30 runshle::d3d12x::(lib test binary),--test-threads=12, 25 runslist_x::tests::a_dispatch_with_a_pipeline_still_building_waits_at_the_submit, a known parallel flake onmain(#2118), not this PR; no crashI have not seen the original
0xc0000005on this card onmaineither, so this run does not show the fix; it shows the change keeps the test passing and does not disturb the rest.Not tested: AMD, a release build.
AI use: Claude Code (Claude Opus 5.5) ran the suite and the repeats, and wrote this report.
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:41:00Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:27:24Z.
Triage (#1607) – head
88c0f14No open or merged PR isolates this fixture. #2578 also touches
STREAM_RECHECKintitle_textures.rs, but it removes retired textures from it and does not change this test.The conflict comes from main commit
839ba0b, which added aTEST_LOCKguard at the top ofstream_recheck_schedule_catches_late_writes_and_resets_milestones. That lock only serializes the tests that take it. It does not stop code outsidetitle_texturesfrom reading the fake pending key, so re-running the test in its own process still has a purpose. Rebase it onto that guard.No problems found in the diff.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.