ci: warn about tests that take more than 30 s #1744
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1744"
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 adriadam10 on 2026-10-08T18:19:12Z.
What
Adds a time limit for tests. CONTRIBUTING now says each test finishes in 30 s on the CI runners, counting the first run with no shader cache. CI reports every test over 30 s as a warning annotation on the pull request.
Since #1697, ctest runs with
--parallel 4. A slow test competes for the 4 cores and passes or times out depending on the run:agc_driver_flat_store(#1715) and nowagc_driver_buffer_format, which takes 78-117 s per run on Linux since #639 (0.6 s before) and timed out on #1701 and other PRs. ctest writes its output toctest.log(--output-log), and a step that runs even when ctest fails takes each test's slowest run from it.The 120 s
--timeoutis unchanged. Lowering it now would fail every run on the tests that are already slow. They get fixed separately.Tested
Ran the awk step on a local ctest log of
main(CI's lavapipe,--repeat until-fail:3 --parallel 4). It reportsagc_driver_buffer_format120.0 s,agc_driver_flat_store120.1 s,agc_driver_global_vcc_base72.2 s andagc_driver_sdwa_move_selectors31.5 s, and nothing else. This PR changesbuild.yml, so both jobs run it here.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)