snap 'core' broken/missing and causing autopkgtest failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Undecided
|
Zygmunt Krynicki | ||
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[impact]
some autopkgtests, like 'snapd' and 'docker.io', rely on snaps in their autopkgtests. Recently, something happened and those autopkgtests now do not have the 'core' snap installed - or, it's installed, but 'broken'.
Specifically, there is no /snap/core/ so no snaps can run, since they rely on the core snap for their interpreter (/snap/
[test case]
look at any of the recent snapd autopkgtests, e.g.:
https:/
+ /snap/bin/go get -u github.
/snap/go/
[regression potential]
TBD; fix unknown
[other info]
this appears to be limited to cosmic only; local autopkgtests for bionic and disco do not fail.
description: | updated |
tags: | added: regression-proposed |
Changed in snapd: | |
status: | New → In Progress |
assignee: | nobody → Zygmunt Krynicki (zyga) |
Changed in snapd (Ubuntu): | |
status: | New → Fix Released |
Changed in snapd: | |
status: | In Progress → Fix Released |
for clarification, this is from the inside of an autopkgtest (cosmic) that's stopped on the failed test:
ubuntu@ autopkgtest: ~$ ls -l /snap/ autopkgtest: ~$ snap list
total 16
drwxr-xr-x 2 root root 4096 Apr 10 17:23 bin
drwxr-xr-x 3 root root 4096 Apr 10 17:23 go
drwxr-xr-x 2 root root 4096 Apr 10 17:22 lxd
-r--r--r-- 1 root root 548 Apr 10 17:21 README
ubuntu@
Name Version Rev Tracking Publisher Notes
core 6673 stable canonical✓ broken
go 1.12.2 3540 stable mwhudson classic
lxd 10343 stable/… canonical✓ broken
as the description states, it failed here:
+ /snap/bin/go get -u github. com/snapcore/ spread/ cmd/spread 3540/gowrapper: line 3: /snap/go/ 3540/bin/ go: No such file or directory
/snap/go/
because its interpreter doesn't exist:
ubuntu@ autopkgtest: ~$ file /snap/go/ 3540/bin/ go 3540/bin/ go: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /snap/core/ current/ lib64/ld- linux-x86- 64.so.2, for GNU/Linux 2.6.32, BuildID[ sha1]=492a07b25 8284c10c1260cf6 662f283fac5a04a 4, not stripped autopkgtest: ~$ ls -l /snap/core/ current/ lib64/ld- linux-x86- 64.so.2 core/current/ lib64/ld- linux-x86- 64.so.2' : No such file or directory
/snap/go/
ubuntu@
ls: cannot access '/snap/