runtime: set SKIP_RETURN_CODE 77 on vk_xdxr_postbuild_readback (CI-XDXR-POSTBUILD-SKIP-CODE) #1418
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1418"
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 ubiquitarianism/leonida. Originally posted by JesusACD on 2026-11-24T23:46:38Z.
Claimed in the coordination issue as: CI-XDXR-POSTBUILD-SKIP-CODE (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7147726562)
What and why
runtime/test/vk_xdxr_postbuild_readback_test.cpp(:81-84, added in #615) skips with exit code77when no Vulkan device supportingbufferDeviceAddressis available:Because
runtime/CMakeLists.txt(:3516) registeredvk_xdxr_postbuild_readbackwithoutSKIP_RETURN_CODE 77, CTest treated exit code77as a failure on GPU-lesswindows-latestrunners, failing thewindowsjob of theRuntimeworkflow (99% tests passed, 1 tests failed out of 306).This sets
SKIP_RETURN_CODE 77onvk_xdxr_postbuild_readbackinruntime/CMakeLists.txtand pins it intests/test_ctest_registration.py.Tested
windows-latestCTest failure onmain(e8fee01cd, workflow run), wherevk_xdxr_postbuild_readbackwas the sole failure out of 306 executed tests.vk_xdxr_postbuild_readback_test.exelocally on physical Vulkan hardware (NVIDIA GeForce RTX 4060 Ti,PCI 10de:2803, driver621.14, Vulkan1.4.357, Windows 11 x64):vk_xdxr_postbuild_readback: PASS (compute_to_host_barriers=1, reported_size=320, expected=320)(exit0).python -I tests/test_ctest_registration.py -v: 6 passed.python -I tests/test_ci_registration.pyandpython -I tests/test_text_write_line_endings.py: 19 passed.python -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_ctest_registration.py: clean.GPUs tested: NVIDIA GeForce RTX 4060 Ti (PCI 10de:2803), NVIDIA 621.14, Vulkan 1.4.357, Windows 11 x64
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T10:18:28Z.
Confirming this is what fails the Windows "CPU runtime tests" step on unrelated PRs: on #1459 and #1518 the only ctest failure is
vk_xdxr_postbuild_readback ... ***Failedright after it printsskipped (no Vulkan device with bufferDeviceAddress)(runs 45519729914 and 45538050964).runtime/test/vk_xdxr_postbuild_readback_test.cpp:83on current main (57ba40bd6) already returns 77 there, andruntime/CMakeLists.txt:4185registers the test withoutSKIP_RETURN_CODE 77, which is what this PR adds. AI-assisted.Recommendation: Merge
Imported from ubiquitarianism/leonida. Originally posted by qhukz13 on 2026-11-26T00:09:24Z.
Reproduced the CI case on native Windows and checked this PR against it. GTX 1050 Ti, Windows 10 Pro 19045, NVIDIA 582.66, MSVC RelWithDebInfo, current main
c50ed94b3(this head is 509 commits behind but merges into it cleanly).runtime/CMakeLists.txt:4531registersvk_xdxr_postbuild_readbackwithoutSKIP_RETURN_CODE, andvk_xdxr_postbuild_readback_test.cpp:82-83still prints the skip line and returns 77.vk_xdxr_postbuild_readback: PASS (compute_to_host_barriers=1, reported_size=320, expected=320), ctestPassed.VK_ICD_FILENAMES/VK_DRIVER_FILESpointed at a missing file, run from a non-elevated process, since the loader ignores those variables in an elevated one), the test takes the runner's path:skipped (no Vulkan device with bufferDeviceAddress)->***Failed,0% tests passed, 1 tests failed out of 1, the exact signature on the Windows CI job;***Skipped,100% tests passed out of 1.tests/test_ctest_registration.pyon main + this PR: 7 tests OK; the new case pins both the property and thereturn 77after the skip line.This is one of the two failures that currently turn the
windowsjob red on every open PR (kotekompotek's and DadaCap's findings in #1608). +1 to PierreEbele's merge recommendation.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T07:48:46Z.
Red/green: the registration test fails on main and passes with this PR (7 passed); rechecked after merging the current main (
23e51d3be), 7 passed.Full suite with this PR merged together with seven others in one batch matches main (pytest, translator suite, ctest without the game) on Windows 11 with an RTX 4060, except xmem_write_watch, a test that depends on free host memory and has also failed on plain main.
AI-assisted (Claude Code, Claude Opus 5.5). Thank you!