Repository navigation
Commit 902fb73
committed
Gave the per-test ctest timeout headroom over the slowest test
The ceiling was 1000 seconds and GUIX's guix_bidi_text_draw_32bpp needs most of it.
Measured across six passing runs in October 2026 it took between 831 and 957 seconds,
and it timed out four times in the same period. Nothing about the test changed between
the passes and the timeouts; runner load decided it, because the suite builds and tests
five configurations at once. Each timeout also costs twice the ceiling, since
until-pass:2 runs a failing test again, and the failures were indistinguishable from a
real hang in the logs.
Raised the default to 1500 and made it overridable through CTEST_TIMEOUT, matching how
CTEST_PARALLEL_LEVEL and CTEST_REPEAT_FAIL are already handled. A per-test TIMEOUT
property on the one slow test was considered and rejected because the ceiling is shared
by every suite this script serves and the next slow test should not need a second fix.
bash -n parses. The default and the override both resolve as intended. A test that
times out twice now occupies 50 minutes of the 60 minute job timeout, so a genuine hang
still fails the test rather than the step. This repository's own suites call the
template by relative path and so ran the new ceiling: tx, smp, riscv and freertos all
green. Components referencing the template at @master keep the old ceiling until this
reaches master.
Assisted-by: Claude Code (Opus 5) <noreply@anthropic.com>1 parent 93387b0 commit 902fb73
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
92 | 104 | | |
93 | 105 | | |
94 | 106 | | |
| |||
100 | 112 | | |
101 | 113 | | |
102 | 114 | | |
103 | | - | |
| 115 | + | |
104 | 116 | | |
105 | 117 | | |
106 | 118 | | |
| |||
0 commit comments