Sanitizers nightly: the test registration audit step fails in every run, and agc_graphics_profile_draw times out under ASan #16444
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?
Imported from boykopovar/AnyPS5. Originally posted by StepFPV on 2026-11-06T18:15:58Z.
What happens
Two things in the
address-undefinedjob of the Sanitizers workflow are red for reasons that are not in the code under test.1. The "Check that every test executable is registered with ctest" step fails in every nightly run.
It is in the runs of 11-04, 11-05 and 11-06.
core/libs/CMakeLists.txtskipslibSceAddressSanitizeron purpose whenANYPS5_ENABLE_ASANorANYPS5_ENABLE_TSANis on (e41323717a), so no target compiles its source in that job, andtools/check_test_registration.pydoes not know that.2.
agc_graphics_profile_drawis a timeout in the 11-06 run.The test came with #11566 (merged 2026-11-05 11:04 UTC), so 11-06 is the first nightly that has it. It runs the whole
agc_driver_graphics_testsbinary withAPS5_PROFILE_DRAW=1andTIMEOUT 60. In the same runagc_driver_graphicstakes 126.89 s andagc_driver_graphics_maps_fallbacktakes 133.36 s under ASan, and neither has an explicit timeout. On Windows in Releaseagc_graphics_profile_drawtakes 17.6 s.Proposed changes
tools/check_test_registration.py, readANYPS5_ENABLE_ASANandANYPS5_ENABLE_TSANfromCMakeCache.txtand leavelibSceAddressSanitizerout of the never-built check in a build where either is on. The check is unchanged in every other build.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_graphics_tests.cmake, raise the limit to 300 s whenANYPS5_ENABLE_ASANis on, the wayagc_performance_overlayalready gets 120 s (#11555). 120 s would not be enough here, because the sibling tests need about 130 s on the runner.What was checked
Ubuntu 26.04 container with the workflow's flags (GCC 15.2.0,
-DANYPS5_ENABLE_ASAN=ON,-g1 -fsanitize=undefined -fno-sanitize=vptr, lavapipe, 4 CPUs),main3de062b62d:mainand exits 0 with change 1 (2078 test executables, everycore/libs/prxsource compiled). The change comes with four unit tests intools/tests/test_test_registration.pythat fail onmainand pass with it.agc_graphics_profile_drawis a timeout at 60.17 s onmainand passes in 61.5 s with change 2. That is on an idle 4-CPU container, so the runner needs the larger margin.Both changes are ready as small local branches. I have not opened pull requests, because the contributor limit allows one open pull request at a time and #15759 is still waiting for review.
AI-assisted: yes