← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1690880] Re: test_snappy_version fails on artful

 

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  -

** Also affects: snappy
   Importance: Undecided
       Status: New

** Description changed:

- Integration tests reported a failure in artful as of May 15, 2017:
+ 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)
+   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:
+ 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:
+ 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:
+ Output on Artful LXD using ubuntu-daily image:
  snap    2.26.1+17.10
  snapd   unavailable
  series  -

-- 
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:
  New
Status in Snappy:
  New

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