Commit 664477c
fix(system-tests): give standard_engine_replica_version_test room for local upgrades
`assert_assigned_replica_version` allows a node 600s to come up on a new
replica version. On Farm that covers a whole GuestOS upgrade cycle; on the
local backend it does not. This test's 10 VMs ask for 60 vCPUs and 40 GiB of
guest RAM from a single host, and one cycle was measured at ~9 min there:
~90s to download the ~580 MiB update image, ~240s for `manageboot.sh` to
`tar`-unpack it into the guest's tmpfs `/tmp`, ~35s to `dd` it onto the
inactive slot and ~150s to reboot. Step 5's deadline expired 79s after the
orchestrator came back up on the new version, before any replica had bound
:8080, so the test panicked with "Replica did reboot, but never came back
online!" -- which is only what `assert_assigned_replica_version_with_time`
prints when its last poll errored.
Wait 20 min per node instead, and raise the per-test timeout from 30 to 50
min: `ImageUpgrader::execute_upgrade` deletes the update image after
installing and never checks whether the target version already sits on the
inactive slot, so the roll back in Step 7 and the roll forward in Step 9 each
pay for the full cycle again.
A local run now passes in 2300s, still well inside the
`test_timeout = "eternal"` hour the BUILD file gives the action.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 8dcfd1b commit 664477c
1 file changed
Lines changed: 43 additions & 4 deletions
Lines changed: 43 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
138 | 173 | | |
139 | 174 | | |
140 | 175 | | |
| |||
427 | 462 | | |
428 | 463 | | |
429 | 464 | | |
430 | | - | |
431 | | - | |
432 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
433 | 472 | | |
434 | 473 | | |
435 | 474 | | |
0 commit comments