Ubuntu Pastebin

Paste from rr at Mon, 9 Jan 2017 21:14:55 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
% python3 -m tests.cloud_tests run -v -n xenial -t tests/cloud_tests/configs/modules/ntp_servers.yaml 
2017-01-09 15:14:16,801 - tests.cloud_tests - DEBUG - running with args: Namespace(deb=None, os_name=['xenial'], platform=['lxd'], ppa=None, quiet=False, repo=None, result=None, rpm=None, script=None, subcmd='run', test_config=['tests/cloud_tests/configs/modules/ntp_servers.yaml'], upgrade=False, verbose=True)

2017-01-09 15:14:16,802 - tests.cloud_tests - DEBUG - using tmpdir /tmp/cloud_test_data_9wwuly16
2017-01-09 15:14:16,804 - tests.cloud_tests - INFO - setting up platform: lxd
2017-01-09 15:14:17,012 - tests.cloud_tests - INFO - acquiring image for os: xenial
2017-01-09 15:14:18,010 - tests.cloud_tests - INFO - setting up image: distro=ubuntu, release=xenial
2017-01-09 15:14:18,010 - tests.cloud_tests - DEBUG - creating snapshot for xenial
2017-01-09 15:14:20,723 - tests.cloud_tests - ERROR - stage: set up and collect data for os: xenial encountered error: The container is already running
2017-01-09 15:14:20,725 - tests.cloud_tests - ERROR - traceback:
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/stage.py", line 94, in run_stage
    (call_res, call_failed) = call()
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/collect.py", line 83, in collect_snapshot
    with component as snapshot:
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/stage.py", line 26, in __enter__
    self.instance = self.get_func()
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/snapshots/__init__.py", line 8, in get_snapshot
    return image.snapshot()
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/images/lxd.py", line 74, in snapshot
    container=self.instance.name, image_desc=str(self),
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/images/lxd.py", line 33, in instance
    self._instance.start(wait=True, wait_time=self.config.get('timeout'))
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/instances/lxd.py", line 93, in start
    self._wait_for_cloud_init(wait_time)
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/instances/base.py", line 115, in _wait_for_cloud_init
    (out, err, exit) = self.execute(['/bin/bash', '-c', cmd])
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/instances/lxd.py", line 40, in execute
    self.start()
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/instances/lxd.py", line 91, in start
    self.pylxd_container.start(wait=wait)
  File "/usr/lib/python3/dist-packages/pylxd/container.py", line 163, in start
    wait=wait)
  File "/usr/lib/python3/dist-packages/pylxd/container.py", line 150, in _set_state
    self.client, response.json()['operation'])
  File "/usr/lib/python3/dist-packages/pylxd/operation.py", line 29, in wait_for_operation
    operation.wait()
  File "/usr/lib/python3/dist-packages/pylxd/operation.py", line 51, in wait
    raise exceptions.LXDAPIException(response)

2017-01-09 15:14:20,776 - tests.cloud_tests - ERROR - stage: collect for platform: lxd encountered error: container is running
2017-01-09 15:14:20,777 - tests.cloud_tests - ERROR - traceback:
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/stage.py", line 94, in run_stage
    (call_res, call_failed) = call()
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/collect.py", line 115, in collect_image
    continue_after_error=False)
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/stage.py", line 34, in __exit__
    self.instance.destroy()
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/images/lxd.py", line 88, in destroy
    self._instance.destroy()
  File "/home/rharper/work/git/cloud-init/tests/cloud_tests/instances/lxd.py", line 115, in destroy
    self.pylxd_container.delete(wait=True)
  File "/usr/lib/python3/dist-packages/pylxd/model.py", line 181, in delete
    response = self.api.delete()
  File "/usr/lib/python3/dist-packages/pylxd/client.py", line 106, in delete
    self._assert_response(response, allowed_status_codes=(200, 202))
  File "/usr/lib/python3/dist-packages/pylxd/client.py", line 66, in _assert_response
    raise exceptions.LXDAPIException(response)

2017-01-09 15:14:20,777 - tests.cloud_tests - DEBUG - collect stages: {'name': 'collect data', 'time': 3.9752140045166016, 'errors': [], 'stages': [{'name': 'collect for platform: lxd', 'time': 3.7783453464508057, 'errors': ['container is running'], 'stages': [], 'success': False}], 'success': False}
2017-01-09 15:14:20,777 - tests.cloud_tests - DEBUG - found test data: {}

2017-01-09 15:14:20,778 - tests.cloud_tests - DEBUG - verify results: {}
/home/rharper/work/git/cloud-init/tests/cloud_tests/__main__.py:41: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
  LOG.warn('some tests failed, leaving data in %s', args.data_dir)
2017-01-09 15:14:20,778 - tests.cloud_tests - WARNING - some tests failed, leaving data in /tmp/cloud_test_data_9wwuly16
Download as text