Commit ebe88a2
authored
ci: make the matrix retry budget fit inside the job cap (#245)
The retry budget was larger than the job cap on both engines, so the last
attempt was always killed partway and the cell reported `cancelled`.
Measured on master run 32643567648 (post-#243), the 5 JRuby cells:
jruby-10.0 rails81 suite 713s, no hang, 1 attempt -> 12m02 pass
jruby-10.0 rails71 suite 545s + 6m hang -> 15m t/o;
attempt 2 clean at 543s -> 24m20 pass
jruby-10.0 rails80 attempt 1 hung -> 15m t/o;
attempt 2 killed at the 25m cap -> cancelled
jruby-10.0 rails72 same -> cancelled
jruby-head rails81 same -> cancelled
3 of 5 JRuby cells gate nothing. The cause is arithmetic, not the driver:
max_attempts 3 x timeout_minutes 15 = 45 min against timeout-minutes 25.
Attempt 3 could never start, and attempt 2 had only 25 - 15 - 0.7 = 9.3 min
to finish a run that measures 9-12 min -- so whether a cell survived a hang
came down to which gemfile it drew. MRI has the same shape, smaller: 3x3 = 9
against a cap of 8.
- JRuby job cap 25 -> 31, so 1 + 15 + 15 fits.
- max_attempts 3 -> 2 on both engines, since 3 was never reachable.
A doubly-hung JRuby cell now costs 31 min instead of 25, but today's 25 min
buys no verdict at all. Coverage, drivers and the full-ci/cron opt-in model
are unchanged.
Also adds the concurrency group Lint never had, so superseded PR pushes stop
running the linter to completion.1 parent f9c8ca6 commit ebe88a2
2 files changed
Lines changed: 24 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
154 | | - | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
165 | 174 | | |
166 | 175 | | |
167 | 176 | | |
| |||
0 commit comments