Repository navigation
Commit 8b2b065
Fix false "Corrupted" images in the first-boot test
The image integrity test read image IDs from column 3 of `docker images`.
Newer Docker versions changed the default table (IMAGE, ID, DISK USAGE,
...), so column 3 is now the image size: the test ran `docker save 171MB`
and reported every image as corrupted on fresh installs, then still said
"Test completed successfully".
- List and check images with explicit `--format` strings, by repo:tag.
- Fix the missing `echo -e` that printed raw escape codes.
- Only say "completed successfully" when no image failed.
- Log the test to logs/dappnode_test_install.log; it runs on its own
console and left no record.
- Make the ISO E2E fail when that log reports corrupted images or no
success, and fix a `! grep` check that could never fail under set -e.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent e7030fd commit 8b2b065
2 files changed
Lines changed: 41 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| 59 | + | |
| 60 | + | |
54 | 61 | | |
55 | | - | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | | - | |
| 65 | + | |
59 | 66 | | |
| 67 | + | |
60 | 68 | | |
61 | | - | |
62 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
63 | 75 | | |
64 | 76 | | |
65 | 77 | | |
66 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
489 | 508 | | |
490 | 509 | | |
491 | 510 | | |
| |||
0 commit comments