Ubuntu Pastebin

Paste from smoser at Fri, 30 Sep 2016 00:31:11 +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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# tox -e py26
GLOB sdist-make: /root/cloud-init/setup.py
py26 inst-nodeps: /root/cloud-init/.tox/dist/cloud-init-0.7.8.zip
py26 installed: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support fo
r Python 2.6,argparse==1.4.0,Cheetah==2.4.4,cloud-init==0.7.8,configobj==5.0.6,c
ontextlib2==0.5.4,flake8==2.5.4,funcsigs==1.0.2,hacking==0.10.2,httpretty==0.8.14,Jinja2==2.8,jsonpatch==1.14,jsonpointer==1.10,linecache2==1.0.0,Markdown==2.6.
7,MarkupSafe==0.23,mccabe==0.4.0,mock==2.0.0,nose==1.3.7,oauthlib==2.0.0,ordered
dict==1.1,pbr==1.10.0,pep8==1.7.0,prettytable==0.7.2,pyflakes==1.1.0,PyYAML==3.1
2,requests==2.11.1,six==1.10.0,traceback2==1.4.0,unittest2==1.1.0
py26 runtests: PYTHONHASHSEED='2851941474'
py26 runtests: commands[0] | nosetests tests
...................SSSSS/root/cloud-init/cloudinit/util.py:286: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  if not hasattr(self, 'message'):
..................................../root/cloud-init/cloudinit/sources/DataSourceAltCloud.py:199: DeprecationWarning: BaseException.message has been deprecated 
as of Python 2.6
  _err.message)
...................SSSSSSSSSSSSSSSSSSSSSSS............E.........................
................................................................................
..........................................................................................................................................E...../root/cloud-init
/.tox/py26/lib/python2.6/site-packages/Cheetah/Compiler.py:1509: UserWarning: 
You don't have the C version of NameMapper installed! I'm disabling Cheetah's us
eStackFrames option as it is painfully slow with the Python version of NameMappe
r. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "
................................................................................................................................................................
................................................................................
................................................................................
..................................E...............
======================================================================
ERROR: test_latest_lease_used (tests.unittests.test_datasource.test_azure_helper
.TestFindEndpoint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/cloud-init/tests/unittests/test_datasource/test_azure_helper.py", line 90, in test_latest_lease_used
    azure_helper.WALinuxAgentShim.find_endpoint("foobar"))
  File "/root/cloud-init/cloudinit/sources/helpers/azure.py", line 296, in find_endpoint
    fallback_lease_file)
  File "/root/cloud-init/cloudinit/sources/helpers/azure.py", line 235, in _get_
value_from_leases_file
    LOG.debug("content is {}".format(content))
ValueError: zero length field name in format
-------------------- >> begin captured logging << --------------------
cloudinit.sources.helpers.azure: DEBUG: Finding Azure endpoint...
cloudinit.sources.helpers.azure: DEBUG: Unable to find endpoint in dhclient logs
.  Falling back to check lease files
cloudinit.sources.helpers.azure: DEBUG: Looking for endpoint in lease file foobar
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: Failure: SyntaxError (invalid syntax (test_handler_apt_conf_v1.py, line 121))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/cloud-init/.tox/py26/lib/python2.6/site-packages/nose/loader.py", 
line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/root/cloud-init/.tox/py26/lib/python2.6/site-packages/nose/importer.py"
, line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/root/cloud-init/.tox/py26/lib/python2.6/site-packages/nose/importer.py"
, line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/root/cloud-init/tests/unittests/test_handler/test_handler_apt_conf_v1.p
y", line 121
    self.assertIn(mirror, {m['uri'] for m in f['apt']['primary']})
                                      ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_subp_decode_invalid_utf8_replaces (tests.unittests.test_util.TestSub
p)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/cloud-init/tests/unittests/test_util.py", line 556, in test_subp_d
ecode_invalid_utf8_replaces
    expected = self.utf8_invalid.decode('utf-8', errors='replace')
TypeError: decode() takes no keyword arguments
-------------------- >> begin captured logging << --------------------
cloudinit.util: DEBUG: Running command ['cat'] with allowed return codes [0] (sh
ell=False, capture=True)
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 734 tests in 6.839s

FAILED (SKIP=28, errors=3)
ERROR: InvocationError: '/root/cloud-init/.tox/py26/bin/nosetests tests'
___________________________________ summary ____________________________________
ERROR:   py26: commands failed
Download as text