There is no integration test for valid architectures in stage packages

Bug #1660902 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Confirmed
Undecided
Unassigned

Bug Description

In https://github.com/snapcore/snapcraft/pull/1050, support for stage-packages like 'hello:i386' was added.

However, there is no integration test that installs a valid stage-package from a different architecture.

I think we can (and should) write a test with sudo dpkg --add-architecture.

Tags: tests
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

I agree. Actually, I meant to bring this up in the PR introducing that feature, but forgot. This is a little sticky because the test will then become architecture-dependent. How do we handle that in the suite?

Changed in snapcraft:
status: New → Confirmed
Revision history for this message
Leo Arias (elopio) wrote :

We have a few tests that ask the current architecture in order to get a different one. That's an option.

Also, I wouldn't mind if we run this test only in amd64, and skip everywhere else.

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.