Scripts: show why a smoke run exits before writing a log #589
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!589
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-589"
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?
@luna020924 on GitHub · 2026-11-24 02:12 UTC · original
luna020924:smoke-startup-errors→main· +34 −2 · 2 files · 1 commits · openWhen XCL exits before printing
Log:,smoke.ps1omits the stderr message and exit code. That hides startup errors such as an invalidxcl.toml. Include both output streams and the child exit code in the failure message.What is in it
scripts/smoke.ps1reports early launcher failures. The regression test uses a stand-in that exits with code 2 after writing to stdout and stderr.Tested
scripts\smoke-startup-errors.tests.ps1failed against the9ce2070smoke script and passed at930749fin Windows PowerShell 5.1.26100.8875 and PowerShell 7.7.0. The old wrapper omits the exit code and stderr. The PR head reports both and retains stdout.cargo build --locked --workspace --jobs 3passed on9ce2070and930749f.cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-outputreported 684 passed, 0 failed and 41 ignored on both9ce2070and930749f.SKIPPEDon both revisions:gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware(no native wave64). libtest includes both in the passed count.Regression run
Not tested
AI use
@futurepro62 on GitHub · 2026-11-24 02:32 UTC · original
Tested exact head
930749f.Tested
powershell -NoProfile -File scripts/smoke-startup-errors.tests.ps1on930749f: passed (exit 0):Passed: early failure reports the exit code, stdout and stderr.scripts/smoke.ps1of the parent commit9ce2070: fails (exit 1) withExpected 'exit: 0x2' in the failure diagnostic. Got 'XCL printed no log path; its output: synthetic startup output '. So the test catches what the PR fixes.scripts/test-native-stderr.tests.ps1on930749f: passed.Not tested
pwsh), a realscripts/smoke.ps1run on a title (no title on this machine), the Rust suite (the PR changes no Rust).AI use
@raylitebull on GitHub · 2026-11-25 00:56 UTC · original
Diff check on
930749f:smoke.ps1exits before printing a log path makes early startup failures immediately diagnosable, andscripts/smoke-startup-errors.tests.ps1covers it cleanly.mdberkey) and verified, withPR descriptionpassing.Next step to unblock merge: Please rebase onto current
mainso CI runsBuild and test (Windows, no GPU)on the head.@JJAutoCompare on GitHub · 2026-11-25 02:19 UTC · original
PR #589 verification
PR head
930749fdd66f92065de10a78197475070880a4c1, fetched fromoriginviarefs/pull/589/headand tested in a clean detached worktree.origin/mainwasaaa093657bd96a146c05c0c1a9b61149fe761453.git merge-tree --write-tree origin/main HEADexited 0 and returned tree4c4a3997c6c05044e469e652f06f76cbeacaa48d. The merge was checked without changing the checkout.What is in it
scripts/smoke.ps1includes the exit status and both output streams when XCL exits before emitting a log path.scripts/smoke-startup-errors.tests.ps1exercises that case.Tested
26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB with driver32.0.101.9175,DoublePrecisionFloatShaderOps=0, waves8–32. Host details supplied by the coordinator. Rust1.100.0 (0ef1bc386 2026-11-09)fromrustc -V. DXC and DXIL1.9.2609.5. Unoptimized dev and test profiles with debug info disabled.scripts/smoke.ps1 -Game <fixture> -Seconds 1 -Xcl <fixture>\xcl.cmdpassed the four assertions fromscripts/smoke-startup-errors.tests.ps1. The stand-in exited with code 2 before printing a log path. The exception includedXCL printed no log path,exit: 0x2,synthetic startup output, andxcl: synthetic startup failure. The fixture used the same script body and assertions with nonrecursive cleanup. Diagnostic saved inpr589-fixture.log.cargo build --workspaceandcargo test --workspace --no-runboth exited 0 outside the GPU lock.cargo test --workspace --no-fail-fast -- --test-threads=4 --show-outputviaL:\XclTooling\Invoke-ArcTest.ps1exited 101. Cargo reported 667 passed, 17 failed, 41 ignored across 16 target summaries. The pass total includes the fiveSKIPPEDmarkers below. Those five provide no coverage for their skipped cases. Full output is inL:\XclTooling\neon-slot-1\tmp\pr589-suite.log.Failures reported by
-p xcl --lib(16) and-p xcl --test e2e(1)concurrent_cache_misses_compile_oncereported a cached-only wait of 308.9539 ms.CreateComputePipelineStatereturned0x80070057in eleven tests. The tests weregpu_clamp_and_omod_per_instruction,gpu_f64_compares_with_nan,gpu_f64_literal_high_word,gpu_f64_class_compare,gpu_f64_math_random,gpu_f64_roots,gpu_f64_rounding_and_conversions,gpu_frexp_f64_exp_and_mant,gpu_ldexp_f64,gpu_rndne_f64, andgpu_float_compares_random.gpu_nonfused_mad_and_mac_prevent_fma_contraction,gpu_ps_image_sample_offset_implicit_lod_between_mips,gpu_valu_16_and_64_bit, andgpu_wave64_ps_whole_wave_reductionsreported output mismatches.test_title_runs_and_game_folder_is_untouchedreported that the dynamicRSSetDepthBiasXcheck drew blue where it expected green.Not tested
main, failure reproduction on another adapter, and a retail-title smoke run. The PR changes only PowerShell scripts.XCL_SAMPLE_RPF,XCL_SAMPLE_DLLS,XCL_SAMPLE_TTPF,XCL_SAMPLE_BK2,XCL_SAMPLE_BVH4,XCL_SAMPLE_AWC,XCL_SAMPLE_XG, andXCL_SAMPLE_DXC. These variables were unset.AI use
gpt-6.2-sol) ran the build and tests and drafted this report. Coordinator #2 (T3 Code / Antigravity,gemini-4-neon) verified the counts againstpr589-suite.logand published this report.@luckyteagirl on GitHub · 2026-11-25 03:21 UTC · original
Tested
930749fdd66f92065de10a78197475070880a4c1on Windows 11 build 26200 with Windows PowerShell 5.1. This is a script-only change; the RX 6800M GPU was not exercised.powershell -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-startup-errors.tests.ps1: 1 script test passed, 0 failed. A mock launcher exited with code 2 before printing a log path; the failure diagnostic contained the exit code, stdout, and stderr.python -m pytest scriptscollected 0 tests on this older PR base, so it provides no additional verification here.Not tested
AI use
OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact diff, ran the startup-error test, checked its output, and drafted this report.
@DavidM1911 on GitHub · 2026-11-25 13:06 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@RavenCurseBurg on GitHub · 2026-11-26 00:06 UTC · original · edited 2026-11-26 00:13 UTC
I merged
930749fdd66f92065de10a78197475070880a4c1and #2471 atdf177bb98c5edfc0e193636b18202df7c4c0da43locally. The two edits toscripts/smoke.ps1merged cleanly. Combined branch and integration assertion, compared with #2471.A native stand-in emitted one line on stdout, another on stderr and exited 37 without a log path. The exception included
0x25and both diagnostics. In a fresh-OutDir, the two stream files matched the child output including CRLF, and no manifest was created. The same fixture then ran a successful child with a log and recorded exit 0. The new assertion failed against #2471 alone, which omitted the exit code in the exception.I ran
scripts/smoke-startup-errors.tests.ps1,scripts/test-smoke-artifacts.tests.ps1, andscripts/smoke-title.tests.ps1with-NoProfile -NonInteractive -ExecutionPolicy Bypass -Filein Windows PowerShell 5.1 and PowerShell 7.6.9: six passes. Windows 11, Core i7-13700. Existing fixture coverage includes Windows adapter-name lookup. No real XCL binary, game, Rust build or GPU execution. OpenAI Codex (GPT-6) added the integration assertion and ran the tests.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.