Test tests/nested/manual/core20-to-core22 is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
The tests/nested/
Here is some debug information from "ubuntu-boot":
"""
root@top:
root@top:
total 20
drwxr-xr-x 3 root root 4096 Jun 20 11:21 .
drwxr-xr-x 4 root root 4096 Jun 20 11:13 ..
-rw-r--r-- 1 root root 1611 Jun 20 11:13 grub.cfg
-rw-r--r-- 1 root root 1024 Jun 20 11:21 grubenv
lrwxrwxrwx 1 root root 30 Jun 20 11:19 kernel.efi -> pc-kernel_
drwxr-xr-x 2 root root 4096 Jun 9 18:33 pc-kernel_1032.snap
lrwxrwxrwx 1 root root 30 Jun 20 11:21 try-kernel.efi -> pc-kernel_
"""
Note that kernel.efi is a broken symlink, i.e. there is no "pc-kernel_1021".
And here from "ubuntu-data":
"""
root@top:
root@top:
mode=run
current_
good_recovery_
base=core22_
try_base=
base_status=try
current_
model=FpA2tgNE8
grade=dangerous
model_sign_
current_
"""
Turns out the failure is because of: recovery- system Create recovery system with label "20220620-1" recovery- system Finalize recovery system with label "20220620-1"
"""
$ snap debug state --change=3 ~/tmp/state.json
Lanes ID Status Spawn Ready Kind Summary
0 75 Undo today at 11:15 CEST today at 11:16 CEST prerequisites Ensure prerequisites for "core22" are available
0 76 Undo today at 11:15 CEST today at 11:16 CEST download-snap Download snap "core22" (197) from channel "latest/edge"
0 77 Undo today at 11:15 CEST today at 11:16 CEST validate-snap Fetch and check assertions for snap "core22" (197)
0 109 Undone today at 11:15 CEST today at 11:21 CEST create-
0 110 Undone today at 11:15 CEST today at 11:21 CEST finalize-
0 78 Undone today at 11:15 CEST today at 11:21 CEST mount-snap Mount snap "core22" (197)
0 79 Undone today at 11:15 CEST today at 11:21 CEST copy-snap-data Copy snap "core22" data
0 80 Undone today at 11:15 CEST today at 11:21 CEST setup-profiles Setup snap "core22" (197) security profiles
0 81 Undone today at 11:15 CEST today at 11:21 CEST link-snap Make snap "core22" (197) available to the system
0 82 Undone today at 11:15 CEST today at 11:21 CEST auto-connect Automatically connect eligible plugs and slots of snap "core22"
0 83 Undone today at 11:15 CEST today at 11:21 CEST set-auto-aliases Set automatic aliases for snap "core22"
0 84 Undone today at 11:15 CEST today at 11:21 CEST setup-aliases Setup snap "core22" aliases
0 85 Undone today at 11:15 CEST today at 11:21 CEST run-hook Run install hook of "core22" snap if present
0 86 Undone today at 11:15 CEST today at 11:21 CEST start-snap-services Start snap "core22" (197) services
0 87 Undone today at 11:15 CEST today at 11:21 CEST run-hook Run health check of "core22" snap
0 111 Hold today at 11:15 CEST today at 11:21 CEST set-model Set new model assertion
1 55 Undo today at 11:15 CEST today at 11:15 CEST prerequisites Ensure prerequisites for "pc-kernel" are available
1 56 Undo today at 11:15 CEST today at 11:16 CEST download-snap Download snap "pc-kernel" (1021) from channel "22/edge"
1 57 Undo today at 11:15 CEST today at 11:16 CEST validate-snap Fetch and check assertions for snap "pc-kernel" (1021)
1 58 Undone today at 11:15 CEST today at 11:21 CEST mount-snap Mount snap "pc-kernel" (1021)
1 59 Undone today at 11:15 CEST today at 11:21 CEST run-hook Run pre-refresh hook of "pc-kernel" snap if present
1 60 Undone today at 11:15 CEST today at 11:21 CEST stop-snap-services Stop snap "pc-kernel" services
1 61 Undone today at 11:15 CEST today at 11:21 CEST remove-aliases Remove aliases for snap "pc-kernel"
1 62 Undon...