yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67891
[Bug 1690880] Re: test_snappy_version fails on artful
Marking this as fix-released.
It probalby should have been an ubuntu bug, but I've just checked with an lxc container
root@a1:~# snap --version
snap 2.27.6+17.10
snapd 2.27.6+17.10
series 16
ubuntu 17.10
kernel 4.13.0-11-generic
root@a1:~# cat /etc/cloud/build.info
build_name: server
serial: 20170919
** Changed in: cloud-init
Status: Fix Committed => Fix Released
** Changed in: snappy
Status: New => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1690880
Title:
test_snappy_version fails on artful
Status in cloud-init:
Fix Released
Status in Snappy:
Fix Released
Bug description:
Steps to reproduce:
$ lxc launch ubuntu-daily:artful a
$ lxc exec a bash
# snap --version
snap snapctl
root@a:~# snap --version
snap 2.26.1+17.10
snapd unavailable
series -
As stated below it appears that snapd was not running. Upon inspection
the service was not running and could not be started manually.
systemctl output: https://paste.ubuntu.com/24583118/
cloud-init integration tests reported a failure in artful as of May 15, 2017:
======================================================================
FAIL: test_snappy_version (tests.cloud_tests.testcases.get_suite.<locals>.tmp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/jenkins/slaves/torkoal/workspace/cloud-init-integration-a/cloud-init/tests/cloud_tests/testcases/modules/snappy.py", line 16, in test_snappy_version
self.assertIn('ubuntu ', out)
AssertionError: 'ubuntu ' not found in 'snap 2.26.1+17.10\nsnapd unavailable\nseries -\n'
This test runs the 'snap --verison' command and gets the output. Then
verifies the following are contained in the output:
self.assertIn('snap ', out)
self.assertIn('snapd ', out)
self.assertIn('series ', out)
self.assertIn('ubuntu ', out)
Output on Zesty LXD using ubuntu-daily image:
snap 2.24.1+17.04
snapd 2.24.1+17.04
series 16
ubuntu 17.04
kernel 4.10.0-20-generic
Output on Artful LXD using ubuntu-daily image:
snap 2.26.1+17.10
snapd unavailable
series -
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1690880/+subscriptions
References