snapd autopkgtest tests impossible combination of things

Bug #1976281 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

snapd autopkgtest tests impossible combination of things

In debian/tests/integrationtests snapd without reexec is enforced

# ensure we always run from the deb that is currently tested
export SNAP_REEXEC=0
mkdir -p /etc/systemd/system/snapd.service.d
cat <<EOF > /etc/systemd/system/snapd.service.d/no-reexec.conf
[Service]
Environment=SNAP_REEXEC=$SNAP_REEXEC
EOF
systemctl daemon-reload
systemctl restart snapd

In those tests

https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/s/snapd/20220525_161731_b567f@/log.gz

installation of core22 is attempted

+ snap install --edge core22
error: cannot install "core22": snap "core22" assumes unsupported features:
       snapd2.55.5 (try to refresh snapd)

Which now requires snapd 2.55.5 which is not available in stable updates in any releases, maximum is 2.55.3

Please rollback core22 requiring 2.55.5, or ship updates to snapd deb to skip that test case when running with older snapd debs (i.e. make it dependent on 2.55.5+), or please mark snapd autopkgtests of snapd as currently broken in britney & adt-matrix hints.

tags: added: rls-jj-incoming
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1976281

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Vogt (mvo) wrote :

I uploaded snapd 2.55.5 as a SRU to all the relevant releases. They are in the "unapproved" queue right now, see e.g. https://launchpad.net/ubuntu/focal/+queue?queue_state=1&queue_text=snapd

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.