Bad build environment for build-base: core20 snaps

Bug #1876389 reported by Dimitri John Ledkov
This bug report is a duplicate of:  Bug #1835532: snapcraft behavior for type: base. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

Bad build environment for build-base: core20 snaps

I created three snaps, using default settings:

GOOD: https://launchpad.net/~xnox/+snap/test-gadget-base-core20
BAD: https://launchpad.net/~xnox/+snap/test-base-build-base-core20
BAD: https://launchpad.net/~xnox/+snap/test-kernel-snap-build-base-core20

And requested builds for all three of them.

I expected all three of them to have build-record:

1) On Focal series

2) with snapcraft installed from the snap store

3) core20 installed from the snap store

4) build succeed

I have ways to force the builds to succeed by setting snap channel maps, and distro_series via the API, but I expected this to just work correctly, with the default settings used at the snap creation time.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Also i386 builds were unexpected https://bugs.launchpad.net/launchpad/+bug/1876387 because i386 is not an architecture that core20 supports.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

1) gadget is success (it uses base:core20) !

/usr/share/launchpad-buildd/bin/in-target buildsnap --backend=lxd --series=focal --arch=amd64 SNAPBUILD-935489 --channel core20=stable --channel snapcraft=stable/launchpad-buildd

description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

2) base snap is bad
/usr/share/launchpad-buildd/bin/in-target buildsnap --backend=lxd --series=xenial --arch=amd64 SNAPBUILD-935487

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

3) kernel snap is bad
/usr/share/launchpad-buildd/bin/in-target buildsnap --backend=lxd --series=xenial --arch=amd64

summary: - Bad build environment for base|build-base: core20 snaps
+ Bad build environment for build-base: core20 snaps
description: updated
description: updated
tags: added: id-5eb135a5073c1f2bc8e43d9a
Revision history for this message
Colin Watson (cjwatson) wrote :

This is covered by the changes requested in bug 1835532 (technically you're asking for something slightly beyond the description there, but syncing things up with snapcraft's current implementation is the obvious thing to do and would be enough for this. I'll work on that now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.