charm build - exclude i386 and armhf architectures

Bug #1993364 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Hi,

I've just set up a new charm recipe for the autocert charm. When requesting a build, the i386 and armhf builds fail. It isn't just a specific series, but for all:

kinetic - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4232/+files/buildlog_charm_ubuntu_kinetic_i386_autocert_BUILDING.txt.gz
xenial - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4209/+files/buildlog_charm_ubuntu_xenial_i386_autocert_BUILDING.txt.gz
bionic - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4215/+files/buildlog_charm_ubuntu_bionic_i386_autocert_BUILDING.txt.gz
jammy - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4226/+files/buildlog_charm_ubuntu_jammy_i386_autocert_BUILDING.txt.gz
focal - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4221/+files/buildlog_charm_ubuntu_focal_amd64_autocert_BUILDING.txt.gz

Looking at the build logs, for i386, it's failing on the "charmcraft" snap not supporting this architecture:

"""
error: snap "charmcraft" is not available on stable for this architecture
       (i386) but exists on other architectures (amd64, arm64, armhf, ppc64el,
       s390x).
"""

For armhf:

xenial - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4211/+files/buildlog_charm_ubuntu_xenial_armhf_autocert_BUILDING.txt.gz
focal - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4222/+files/buildlog_charm_ubuntu_focal_armhf_autocert_BUILDING.txt.gz
jammy - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4228/+files/buildlog_charm_ubuntu_jammy_armhf_autocert_BUILDING.txt.gz
kinetic - https://launchpad.net/~autocert-charmers/autocert-charm/+charm/autocert/+build/4234/+files/buildlog_charm_ubuntu_kinetic_armhf_autocert_BUILDING.txt.gz

That's failing because of the "charm" snap:

"""
Parts processing error: Error installing snap 'charm' from channel 'latest/stable'.
"""

Can we exclude these two architectures by default to avoid the noisy fail to build emails?

Tags: lp-charms
Haw Loeung (hloeung)
summary: - charm build - exclude i386 and armhf
+ charm build - exclude i386 and armhf architectures
Revision history for this message
Haw Loeung (hloeung) wrote (last edit ):

The "charm" snap has no 3.x release (nor latest/stable) for armhf & i386, so likely they dropped support for this architecture:

https://private-fileshare.canonical.com/~hloeung/tmp/a5LiVwlxsK.png

See https://snapcraft.io/charm

Haw Loeung (hloeung)
description: updated
Guruprasad (lgp171188)
tags: added: buildd-manager
Haw Loeung (hloeung)
description: updated
Colin Watson (cjwatson)
tags: added: lp-charms
removed: buildd-manager
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
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.