# tox -e centos6
GLOB sdist-make: /root/cloud-init/setup.py
centos6 create: /root/cloud-init/.tox/centos6
centos6 installdeps: argparse==1.2.1, jinja2==2.2.1, pyyaml==3.10, PrettyTable==0.7.2, oauthlib==0.6.0, configobj==4.6.0, requests==2.6.0, jsonpatch==1.2, six==1.9.0, -r/root/cloud-init/test-requirements.txt
centos6 inst: /root/cloud-init/.tox/dist/cloud-init-0.7.9.zip
centos6 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 for Python 2.6,appdirs==1.4.3,argparse==1.2.1,Cheetah==2.4.4,cloud-init==0.7.9,configobj==4.6.0,contextlib2==0.5.5,coverage==4.4.1,funcsigs==1.0.2,httpretty==0.8.14,Jinja2==2.2.1,jsonpatch==1.2,jsonpointer==1.10,linecache2==1.0.0,Markdown==2.6.8,mock==2.0.0,nose==1.3.7,oauthlib==0.6.0,ordereddict==1.1,packaging==16.8,pbr==3.0.1,prettytable==0.7.2,pyparsing==2.2.0,PyYAML==3.10,requests==2.6.0,six==1.9.0,traceback2==1.4.0,unittest2==1.1.0
centos6 runtests: PYTHONHASHSEED='432544543'
centos6 runtests: commands[0] | nosetests tests/unittests
......................SSSSS...............................................................SSSSSSSSSSSSSSSSSSSSSSSSSS............................................................................................................................................................................................................................................................................................................................................................................................................................................................................EE..EEEEE.......................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: Test ntp handler renders ubuntu ntp.conf template.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloud-init/tests/unittests/test_handler/test_handler_ntp.py", line 161, in test_ntp_handler_mocked_template
with open('{}.tmpl'.format(ntp_conf), 'wb') as stream:
ValueError: zero length field name in format
======================================================================
ERROR: Test ntp handler renders the shipped distro ntp.conf templates.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloud-init/tests/unittests/test_handler/test_handler_ntp.py", line 187, in test_ntp_handler_real_distro_templates
'{}/templates/ntp.conf.{}.tmpl'.format(root_dir, distro))
ValueError: zero length field name in format
======================================================================
ERROR: When NTP_CONF exists, rename_ntp moves it.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloud-init/tests/unittests/test_handler/test_handler_ntp.py", line 62, in test_ntp_rename_ntp_conf
self.assertTrue(os.path.exists("{}.dist".format(ntpconf)))
ValueError: zero length field name in format
======================================================================
ERROR: When NTP_CONF doesn't exist rename_ntp doesn't create a file.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloud-init/tests/unittests/test_handler/test_handler_ntp.py", line 70, in test_ntp_rename_ntp_conf_skip_missing
self.assertFalse(os.path.exists("{}.dist".format(ntpconf)))
ValueError: zero length field name in format
======================================================================
ERROR: write_ntp_config_template defaults pools servers upon empty config.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloud-init/tests/unittests/test_handler/test_handler_ntp.py", line 132, in test_write_ntp_config_template_defaults_pools_when_empty_lists
with open('{}.tmpl'.format(ntp_conf), 'wb') as stream:
ValueError: zero length field name in format
======================================================================
ERROR: write_ntp_config_template reads content from ntp.conf.tmpl.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloud-init/tests/unittests/test_handler/test_handler_ntp.py", line 87, in test_write_ntp_config_template_from_ntp_conf_tmpl_with_servers
with open('{}.tmpl'.format(ntp_conf), 'wb') as stream:
ValueError: zero length field name in format
======================================================================
ERROR: write_ntp_config_template reads content from ntp.conf.distro.tmpl.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloud-init/tests/unittests/test_handler/test_handler_ntp.py", line 110, in test_write_ntp_config_template_uses_ntp_conf_distro_no_servers
with open('{}.tmpl'.format(ntp_conf), 'wb') as stream:
ValueError: zero length field name in format
----------------------------------------------------------------------
Ran 880 tests in 15.441s
FAILED (SKIP=31, errors=7)
ERROR: InvocationError: '/root/cloud-init/.tox/centos6/bin/nosetests tests/unittests'
___________________________________ summary ____________________________________
ERROR: centos6: commands failed