Commit 63a55be
authored
test: reboot Kairos node in e2e (#816)
## Summary
- reboot the installed Kairos node after its initial cloud-config boot
- wait for SSH to return from a different kernel boot ID
- bound SSH probes with server keepalives so shutdown connections cannot
hang the test
- run the existing system, SSH, active-boot, and K3s checks after the
reboot
## Why
The E2E previously validated only the first installed boot, while Kairos
was applying cloud config. That could miss failures that appear on a
normal immutable boot. Rebooting before the substantive guest checks
verifies that SSH and the rest of the configured system survive
independently of first-boot initialization.
Closes #815.
## Validation
- `just check-format`
- `shellcheck images/kairos-fedora/e2e.sh`
- `bash -n images/kairos-fedora/e2e.sh`
- `just e2e-kairos-fedora` (full install, reboot, second-boot SSH, and
guest checks passed)1 parent 0f4ff68 commit 63a55be
1 file changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| |||
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
330 | 361 | | |
331 | 362 | | |
332 | 363 | | |
| |||
432 | 463 | | |
433 | 464 | | |
434 | 465 | | |
| 466 | + | |
435 | 467 | | |
436 | 468 | | |
437 | 469 | | |
| |||
0 commit comments