base: core20 snap builds are dispatched for i386, which always fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
When building snaps on LP, (and also through build.snapcraft.io where I first discovered this), there is not an obvious error that happens when one tries to build a snap with base: core20 on architecture i386. I think that LP should more clearly complain when this happens, currently I see this kind of error:
```
linux32: failed to execute snap: No such file or directory
Install failed
Traceback (most recent call last):
File "/usr/lib/
self.install()
File "/usr/lib/
snap_name])
File "/usr/lib/
subprocess.
File "/usr/lib/
raise CalledProcessEr
CalledProcessError: Command '['lxc', 'exec', 'lp-focal-i386', '--', 'linux32', 'snap', 'install', '--channel=stable', 'core20']' returned non-zero exit status 127
```
I assume this specific error happens because lp-focal-i386 exists and is otherwise a fine image but has a broken snapd/core20 snap or doesn't have snapd/core20 snap at all on it?
See also https:/
Related branches
- Colin Watson (community): Approve
-
Diff: 29 lines (+23/-0)1 file modifieddatabase/schema/patch-2210-30-1.sql (+23/-0)
- Cristian Gonzalez (community): Approve
-
Diff: 558 lines (+256/-31)7 files modifieddatabase/schema/security.cfg (+5/-0)
lib/lp/snappy/interfaces/snapbase.py (+20/-1)
lib/lp/snappy/model/snap.py (+11/-8)
lib/lp/snappy/model/snapbase.py (+43/-1)
lib/lp/snappy/tests/test_snap.py (+59/-19)
lib/lp/snappy/tests/test_snapbase.py (+116/-0)
lib/lp/testing/factory.py (+2/-2)
- William Grant (community): Approve (db)
- Cristian Gonzalez (community): Approve
-
Diff: 29 lines (+23/-0)1 file modifieddatabase/schema/patch-2210-30-1.sql (+23/-0)
tags: | added: lp-snappy |
Changed in launchpad: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
This also affects build -> https:/ /github. com/canonical- web-and- design/ snapcraft. io/issues/ 2905