test_snappy_version fails on artful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-init |
Fix Released
|
Medium
|
Unassigned |
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:/
cloud-init integration tests reported a failure in artful as of May 15, 2017:
=======
FAIL: test_snappy_version (tests.
-------
Traceback (most recent call last):
File "/var/lib/
self.
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(
self.assertIn(
self.assertIn(
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 -
Related branches
- Scott Moser: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 32 lines (+4/-7)2 files modifiedtests/cloud_tests/configs/modules/snappy.yaml (+2/-2)
tests/cloud_tests/testcases/modules/snappy.py (+2/-5)
Changed in cloud-init: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Joshua Powers (powersj) |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
assignee: | Joshua Powers (powersj) → nobody |
Works fine here:
(base)adconrad@ nosferatu: ~$ snap --version 21-lowlatency
snap 2.26.1+17.10
snapd 2.26.1+17.10
series 16
ubuntu 17.10
kernel 4.10.0-