[Bug 1704979] [NEW] The snap.sh autopkgtest suite failes on non amd64/i386 arches

Łukasz Zemczak 1704979 at bugs.launchpad.net
Tue Jul 18 09:56:27 UTC 2017


Public bug reported:

We have an autopkgtest called snap.sh that checks if we're able to
properly build an ubuntu-image snap from the current source and that the
resulting tool is usable. This test started failing with ubuntu-image
1.1 for armhf, ppc64el and s390x.

By checking the test logs, this test was never really working for archs
other than amd64 and i386. The snap never really got properly built and
installed, and the test only passed because, for some reason, ubuntu-
image was available as a deb (you can see it in the old logs by
examining the ubuntu-image --version output, stating a non-snap version
number). Starting with changes from 1.1, we now have some tests that
make sure the deb is not installed.

In theory building the ubuntu-image snap should be possible on all arches. In practice, on all the fancy archs basically the core snap is *always* failing to install with:
error: cannot communicate with server: Post http://localhost/v2/snaps/core: dial unix /run/snapd.socket: connect: connection refused

This doesn't seem to be a transient error. This causes ubuntu-image to
not migrate.

** Affects: ubuntu-image
     Importance: Critical
     Assignee: Łukasz Zemczak (sil2100)
         Status: Triaged

** Affects: ubuntu-image (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-image (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: ubuntu-image (Ubuntu Yakkety)
     Importance: Undecided
         Status: New

** Affects: ubuntu-image (Ubuntu Zesty)
     Importance: Undecided
         Status: New

** Changed in: ubuntu-image
       Status: New => Triaged

** Also affects: ubuntu-image (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-image (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-image (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-image (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-image in Ubuntu.
https://bugs.launchpad.net/bugs/1704979

Title:
  The snap.sh autopkgtest suite failes on non amd64/i386 arches

Status in Ubuntu Image:
  Triaged
Status in ubuntu-image package in Ubuntu:
  New
Status in ubuntu-image source package in Xenial:
  New
Status in ubuntu-image source package in Yakkety:
  New
Status in ubuntu-image source package in Zesty:
  New

Bug description:
  We have an autopkgtest called snap.sh that checks if we're able to
  properly build an ubuntu-image snap from the current source and that
  the resulting tool is usable. This test started failing with ubuntu-
  image 1.1 for armhf, ppc64el and s390x.

  By checking the test logs, this test was never really working for
  archs other than amd64 and i386. The snap never really got properly
  built and installed, and the test only passed because, for some
  reason, ubuntu-image was available as a deb (you can see it in the old
  logs by examining the ubuntu-image --version output, stating a non-
  snap version number). Starting with changes from 1.1, we now have some
  tests that make sure the deb is not installed.

  In theory building the ubuntu-image snap should be possible on all arches. In practice, on all the fancy archs basically the core snap is *always* failing to install with:
  error: cannot communicate with server: Post http://localhost/v2/snaps/core: dial unix /run/snapd.socket: connect: connection refused

  This doesn't seem to be a transient error. This causes ubuntu-image to
  not migrate.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/1704979/+subscriptions



More information about the foundations-bugs mailing list