Repository navigation
test(agc): give the pending-after-unwatch test 120 s under ASan - #16881
Merged
oneandonlydean merged 1 commit intoNov 12, 2026
Merged
oneandonlydean merged 1 commit into
oneandonlydean merged 1 commit into
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
gabichuuuuu
reviewed
Nov 7, 2026
gabichuuuuu
left a comment
Contributor
There was a problem hiding this comment.
Read 441c7cacb6. The override sits right after the test's own set_tests_properties(... TIMEOUT 30) (agc_driver_recorder_tests.cmake:201-204), so under ANYPS5_ENABLE_ASAN the 120 s wins, and nothing later in the file sets TIMEOUT on it again (the following WIN32 block only sets ENVIRONMENT_MODIFICATION). Without ASan it stays at 30 s. With the nightly times in the description (22.6-30.2 s, two timeouts at 30.15 s), 120 s gives about 4x headroom, the same as agc_performance_overlay. Looks right.
AI-assisted: yes.
12 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Part of #16813 ("raise the two 30 s limits"): the
address-undefinednightly job stopsagc_storage_pending_after_unwatchat its 30 s ctest limit. Across the last five nightly jobs the test takes 22.6-30.2 s: 29.84 s (11-03), timeout at 30.15 s (11-04), 29.52 s (11-05), 22.60 s (11-06), timeout at 30.16 s (11-07). The test prints no sanitizer report; it is killed at the limit, so the nightly reports a timeout instead of a pass.This gives that one test 120 s when
ANYPS5_ENABLE_ASANis on, the wayagc_performance_overlayis set inagc_pad_status_overlay_tests.cmake:86-88andagc_driver_recorderin #15441; a build without the sanitizer keeps 30 s. The siblingagc_driver_recorderlimit is deliberately left to #15441.File:
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_recorder_tests.cmake(+3).Tested
A ctest property, not code: the timeout was checked in both configures, and the binary was built and run under ASan.
cmake -S . -B build-asanon8f7c957ed0with-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_ASAN=ON(Ubuntu, GCC):ctest --show-only=json-v1reportsTIMEOUT 120.0foragc_storage_pending_after_unwatchand30.0foragc_driver_recorder.-DANYPS5_ENABLE_ASAN=OFFreportsTIMEOUT 30.0for both.95f01f3601(git merge-tree --write-tree): clean, and the merged file carries both timeouts.python3 tools/check_conventions.py --base origin/mainpasses.tests/agc_driver_recorder_testsin that ASan configure (931 targets, GCC 13.3) and ranctest -R '^agc_storage_pending_after_unwatch$': passed in 12.20 s against the 120 s limit (i5-8500T, Intel UHD 630 iGPU,/dev/udmabufnot readable so the copy path ran). The nightly runners report 22.6-30.2 s for the same binary, so the limit now sits above the observed spread.Not tested: the two 30.15 s / 30.16 s nightly timeouts themselves were not reproduced here, since this machine runs the test faster (12.20 s); the next nightly run is the real check that the limit is no longer hit.
Overlap
python3 tools/pr_overlap.py --branch contrib/asan-storage-pending-timeoutlists the open PRs that change this file; 15 of them already conflict withmain, so it could not compare them and failed closed. I read the patch of each of those 15 for this file: none adds a timeout foragc_storage_pending_after_unwatchor touches anANYPS5_ENABLE_ASANblock. #15441 adds 120 s foragc_driver_recorderat L352; the merge test above shows the two changes do not conflict.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)