Skip to content

Commit 89836b3

Browse files
committed
the cross-version upgrade speaks when it dies: bootc upgrade keeps its own output beside the console and the failure shows its tail, because a three-second death that reports only that bootc disagreed sent the last publish rerunning blind
1 parent 7bc0214 commit 89836b3

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎scripts/smoke.sh‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2428,8 +2428,13 @@ smoke_published() {
24282428
[ -n "$before" ] || bad "could not read the booted digest before upgrading"
24292429

24302430
echo " .. upgrading to $UPGRADE_TO (pulling inside the guest)"
2431-
gsudo bootc upgrade >/dev/null 2>&1 \
2432-
|| bad "bootc upgrade failed; console at $log"
2431+
# Captured, not discarded: a three-second failure says nothing on
2432+
# the console, and the run this comment answers died reporting
2433+
# only that bootc disagreed. The pull's own words — unknown
2434+
# manifest, refused signature, a network the pasta race dropped —
2435+
# are the diagnosis, and they were going to /dev/null.
2436+
gsudo bootc upgrade >"$dir/bootc-upgrade.log" 2>&1 \
2437+
|| { tail -20 "$dir/bootc-upgrade.log"; bad "bootc upgrade failed; its own output is above, console at $log"; }
24332438

24342439
# Staged, or there is nothing to reboot into and a green reboot
24352440
# below would mean nothing at all.

0 commit comments

Comments
 (0)