Repository navigation
build(cmake): set explicit ctest timeouts for python tooling and relinker tests - #18425
pushkarreddyy wants to merge 1 commit into
Conversation
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
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.
|
|
Tested
AI-assisted: yes (Claude Code); the runs are automated, this summary was written from their reports. |
|
Thank you @ycbuzi for verifying head AI-assisted: yes. |
|
Read |
|
Windows measurement for the Windows half of the values oneandonlydean asked for. Windows 11 Pro 10.0.26300, Ryzen 5 7530U, Python 3.x from the build's
It passes. |
|
@pushkarreddyy I reviewed 59878ea. The line itself is valid CMake, and 20 s matches the neighbouring tools tests. What stops me is the discussion on #18418: CTest already falls back to a 1500 s timeout when a test sets none, so these tests cannot hang a job indefinitely, and the maintainer asked that any shorter limits come in one PR for all the timeout suggestions, with values taken from measured runs on Linux and Windows. The issue was left open as a suggestion until then. This PR sets 20 s without a measured run time, covers only validate_patch_catalog (the issue also names test_catalog_json and proposed 30 s), and says Fixes #18418, which would close the issue. Please time test_validate_patch_catalog.py on Linux and Windows and either put the numbers here or fold this into the combined PR, and drop the Fixes line while the issue is still a suggestion. |
|
@oneandonlydean Thank you for the review and guidance regarding CTest fallback bounds and unified PR consolidation. 1. Empirical Timing Measurements
With execution time under 0.5 s, a 20 s limit provides ~40x headroom matching adjacent tooling tests ( 2. Status & Next Steps
AI-assisted: yes. |
ba19980 to
fc72125
Compare
|
@oneandonlydean @Ethan-Hainline Thank you both for the guidance on empirical timings and suggestion issue lifecycle. The PR description has been updated with measured runtimes across Linux and Windows:
Configured |
|
@oneandonlydean Friendly follow-up on the CMake tooling test timeout series (#18425, #18440, #18445, #18446, #18448, #18452): All empirical timing measurements across Windows and Linux requested on #18418 have been documented in each PR body, Whenever you have a moment during your merge review cycles, please take a look. Thank you! |
fc72125 to
0ae8caa
Compare
|
@oneandonlydean Consolidated all measured tooling and relinker test timeouts into this single PR per your review guidance on #18418:
|
0ae8caa to
5235bb5
Compare
5235bb5 to
6e7aab9
Compare
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
|
Closing to keep the PR queue focused strictly on guest runtime halting fixes and active defects. Since Thank you @MarcZX10 for the review and @ycbuzi, @c1b3r-p3d1a, and @kiwe147 for running the multi-platform test measurements. |
What
Configure explicit CTest execution timeouts (20 s – 30 s) for Python tooling tests and relinker tests in
CMakeLists.txtandcore/relinker/CMakeLists.txt, consolidating the measured timeout bounds across tooling targets per maintainer review on #18418.Configured targets:
validate_patch_catalog:TIMEOUT 20(matchestools_catalog_json)mingw_host_only_test_targets:TIMEOUT 30build_changed_guest_tests:TIMEOUT 30pr_labels:TIMEOUT 30pr_ready:TIMEOUT 30export_gap:TIMEOUT 30audit_dump:TIMEOUT 30ffmpeg_cache_keys:TIMEOUT 30winlibs_digest:TIMEOUT 30progress_comment_concurrency:TIMEOUT 30eligibility_paths:TIMEOUT 30macos_guest_weak_imports:TIMEOUT 30 LABELS relinkerEmpirical Timing Measurements Across Platforms
All timeout limits are established from multi-platform measurements, providing a minimum 15x–50x headroom over observed execution times:
validate_patch_catalogmingw_host_only_test_targetsbuild_changed_guest_testspr_labelspr_readyexport_gapaudit_dumpffmpeg_cache_keyswinlibs_digestprogress_comment_concurrencyeligibility_pathsmacos_guest_weak_imports(Consolidates timeout bounds previously suggested in #18418, #18437, #18439, and #18451 into this single measured PR, keeping the suggestion issues open per Dean's request).
Tested
python tools/check_conventions.py --base origin/main: 0 findings.origin/main(cb28e72762d).Checklist