Tox unit tests are failing for trove in openstack while running the command "tox".
Following are the errors :
======================================================================
FAIL: guestagent.test_api.ApiTest.test_get_hwinfo
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 196, in test_get_hwinfo
exp_msg = RpcMsgMatcher('get_hwinfo')
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 344, in __init__
self.args_dict = KeysEqual(*args_dict)
File "/tmp/trove2/trove/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_dict.py", line 244, in __init__
self.expected = expected[0].keys()
IndexError: tuple index out of range
======================================================================
FAIL: guestagent.test_api.ApiTest.test_restart
tags: worker-2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 208, in test_restart
exp_msg = RpcMsgMatcher('restart')
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 344, in __init__
self.args_dict = KeysEqual(*args_dict)
File "/tmp/trove2/trove/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_dict.py", line 244, in __init__
self.expected = expected[0].keys()
IndexError: tuple index out of range
No handlers could be found for logger "trove.guestagent.backup.backupagent"
No handlers could be found for logger "trove.guestagent.api"
No handlers could be found for logger "trove.guestagent.strategies.storage.swift"
======================================================================
FAIL: guestagent.test_api.ApiTest.test_disable_root
tags: worker-7
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 184, in test_disable_root
exp_msg = RpcMsgMatcher('disable_root')
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 344, in __init__
self.args_dict = KeysEqual(*args_dict)
File "/tmp/trove2/trove/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_dict.py", line 244, in __init__
self.expected = expected[0].keys()
IndexError: tuple index out of range
======================================================================
FAIL: guestagent.test_api.ApiTest.test_update_guest
tags: worker-3
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 234, in test_update_guest
exp_msg = RpcMsgMatcher('update_guest')
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 344, in __init__
self.args_dict = KeysEqual(*args_dict)
File "/tmp/trove2/trove/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_dict.py", line 244, in __init__
self.expected = expected[0].keys()
IndexError: tuple index out of range
======================================================================
FAIL: guestagent.test_api.ApiTest.test_enable_root
tags: worker-7
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 178, in test_enable_root
exp_msg = RpcMsgMatcher('enable_root')
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 344, in __init__
self.args_dict = KeysEqual(*args_dict)
File "/tmp/trove2/trove/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_dict.py", line 244, in __init__
self.expected = expected[0].keys()
IndexError: tuple index out of range
No handlers could be found for logger "trove.guestagent.datastore.mysql.service"
======================================================================
FAIL: guestagent.test_api.ApiTest.test_get_diagnostics
tags: worker-1
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 202, in test_get_diagnostics
exp_msg = RpcMsgMatcher('get_diagnostics')
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 344, in __init__
self.args_dict = KeysEqual(*args_dict)
File "/tmp/trove2/trove/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_dict.py", line 244, in __init__
self.expected = expected[0].keys()
IndexError: tuple index out of range
======================================================================
FAIL: guestagent.test_api.ApiTest.test_is_root_enabled
tags: worker-1
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 190, in test_is_root_enabled
exp_msg = RpcMsgMatcher('is_root_enabled')
File "/tmp/trove2/trove/trove/tests/unittests/guestagent/test_api.py", line 344, in __init__
self.args_dict = KeysEqual(*args_dict)
File "/tmp/trove2/trove/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_dict.py", line 244, in __init__
self.expected = expected[0].keys()
IndexError: tuple index out of range
No handlers could be found for logger "trove.extensions.security_group.models"
======================================================================
FAIL: process-returncode
tags: worker-1
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-7
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-2
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
No handlers could be found for logger "trove.guestagent.backup.backupagent"
======================================================================
FAIL: process-returncode
tags: worker-0
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-3
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-7
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
Ran 475 tests in 1.715s
FAILED (id=0, failures=14, skips=2)
error: testr failed (1)
ERROR: InvocationError: '/tmp/trove2/trove/.tox/py27/bin/python setup.py testr --slowest'
pep8 create: /tmp/trove2/trove/.tox/pep8
pep8 installdeps: -r/tmp/trove2/trove/requirements.txt, -r/tmp/trove2/trove/test-requirements.txt, setuptools_git>=0.4
pep8 inst: /tmp/trove2/trove/.tox/dist/trove-2014.1.dev118.g0b6136c.zip
pep8 runtests: commands[0] | flake8
___________________________________ summary ____________________________________
ERROR: py26: InterpreterNotFound: python2.6
ERROR: py27: commands failed
pep8: commands succeeded
Tox unit tests are failing for trove in openstack while running the command "tox".
Following are the errors :
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= test_api. ApiTest. test_get_ hwinfo ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/trove/ tests/unittests /guestagent/ test_api. py", line 196, in test_get_hwinfo 'get_hwinfo' ) trove/trove/ tests/unittests /guestagent/ test_api. py", line 344, in __init__ *args_dict) trove/. tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _dict.py" , line 244, in __init__ ======= ======= ======= ======= ======= ======= ======= ======= ======= test_api. ApiTest. test_restart ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/trove/ tests/unittests /guestagent/ test_api. py", line 208, in test_restart 'restart' ) trove/trove/ tests/unittests /guestagent/ test_api. py", line 344, in __init__ *args_dict) trove/. tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _dict.py" , line 244, in __init__ guestagent. backup. backupagent" guestagent. api" guestagent. strategies. storage. swift" ======= ======= ======= ======= ======= ======= ======= ======= ======= test_api. ApiTest. test_disable_ root ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/trove/ tests/unittests /guestagent/ test_api. py", line 184, in test_disable_root 'disable_ root') trove/trove/ tests/unittests /guestagent/ test_api. py", line 344, in __init__ *args_dict) trove/. tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _dict.py" , line 244, in __init__ ======= ======= ======= ======= ======= ======= ======= ======= ======= test_api. ApiTest. test_update_ guest ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/trove/ tests/unittests /guestagent/ test_api. py", line 234, in test_update_guest 'update_ guest') trove/trove/ tests/unittests /guestagent/ test_api. py", line 344, in __init__ *args_dict) trove/. tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _dict.py" , line 244, in __init__ ======= ======= ======= ======= ======= ======= ======= ======= ======= test_api. ApiTest. test_enable_ root ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/trove/ tests/unittests /guestagent/ test_api. py", line 178, in test_enable_root 'enable_ root') trove/trove/ tests/unittests /guestagent/ test_api. py", line 344, in __init__ *args_dict) trove/. tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _dict.py" , line 244, in __init__ guestagent. datastore. mysql.service" ======= ======= ======= ======= ======= ======= ======= ======= ======= test_api. ApiTest. test_get_ diagnostics ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/trove/ tests/unittests /guestagent/ test_api. py", line 202, in test_get_ diagnostics 'get_diagnostic s') trove/trove/ tests/unittests /guestagent/ test_api. py", line 344, in __init__ *args_dict) trove/. tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _dict.py" , line 244, in __init__ ======= ======= ======= ======= ======= ======= ======= ======= ======= test_api. ApiTest. test_is_ root_enabled ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/trove/ tests/unittests /guestagent/ test_api. py", line 190, in test_is_ root_enabled 'is_root_ enabled' ) trove/trove/ tests/unittests /guestagent/ test_api. py", line 344, in __init__ *args_dict) trove/. tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ matchers/ _dict.py" , line 244, in __init__ extensions. security_ group.models" ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- guestagent. backup. backupagent" ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- trove/. tox/py27/ bin/python setup.py testr --slowest' trove/. tox/pep8 trove2/ trove/requireme nts.txt, -r/tmp/ trove2/ trove/test- requirements. txt, setuptools_git>=0.4 trove/. tox/dist/ trove-2014. 1.dev118. g0b6136c. zip _______ _______ _______ _______ summary _______ _______ _______ _______ _______ _ ound: python2.6
FAIL: guestagent.
tags: worker-0
-------
Traceback (most recent call last):
File "/tmp/trove2/
exp_msg = RpcMsgMatcher(
File "/tmp/trove2/
self.args_dict = KeysEqual(
File "/tmp/trove2/
self.expected = expected[0].keys()
IndexError: tuple index out of range
=======
FAIL: guestagent.
tags: worker-2
-------
Traceback (most recent call last):
File "/tmp/trove2/
exp_msg = RpcMsgMatcher(
File "/tmp/trove2/
self.args_dict = KeysEqual(
File "/tmp/trove2/
self.expected = expected[0].keys()
IndexError: tuple index out of range
No handlers could be found for logger "trove.
No handlers could be found for logger "trove.
No handlers could be found for logger "trove.
=======
FAIL: guestagent.
tags: worker-7
-------
Traceback (most recent call last):
File "/tmp/trove2/
exp_msg = RpcMsgMatcher(
File "/tmp/trove2/
self.args_dict = KeysEqual(
File "/tmp/trove2/
self.expected = expected[0].keys()
IndexError: tuple index out of range
=======
FAIL: guestagent.
tags: worker-3
-------
Traceback (most recent call last):
File "/tmp/trove2/
exp_msg = RpcMsgMatcher(
File "/tmp/trove2/
self.args_dict = KeysEqual(
File "/tmp/trove2/
self.expected = expected[0].keys()
IndexError: tuple index out of range
=======
FAIL: guestagent.
tags: worker-7
-------
Traceback (most recent call last):
File "/tmp/trove2/
exp_msg = RpcMsgMatcher(
File "/tmp/trove2/
self.args_dict = KeysEqual(
File "/tmp/trove2/
self.expected = expected[0].keys()
IndexError: tuple index out of range
No handlers could be found for logger "trove.
=======
FAIL: guestagent.
tags: worker-1
-------
Traceback (most recent call last):
File "/tmp/trove2/
exp_msg = RpcMsgMatcher(
File "/tmp/trove2/
self.args_dict = KeysEqual(
File "/tmp/trove2/
self.expected = expected[0].keys()
IndexError: tuple index out of range
=======
FAIL: guestagent.
tags: worker-1
-------
Traceback (most recent call last):
File "/tmp/trove2/
exp_msg = RpcMsgMatcher(
File "/tmp/trove2/
self.args_dict = KeysEqual(
File "/tmp/trove2/
self.expected = expected[0].keys()
IndexError: tuple index out of range
No handlers could be found for logger "trove.
=======
FAIL: process-returncode
tags: worker-1
-------
Binary content:
traceback (test/plain; charset="utf8")
=======
FAIL: process-returncode
tags: worker-7
-------
Binary content:
traceback (test/plain; charset="utf8")
=======
FAIL: process-returncode
tags: worker-2
-------
Binary content:
traceback (test/plain; charset="utf8")
No handlers could be found for logger "trove.
=======
FAIL: process-returncode
tags: worker-0
-------
Binary content:
traceback (test/plain; charset="utf8")
=======
FAIL: process-returncode
tags: worker-3
-------
Binary content:
traceback (test/plain; charset="utf8")
=======
FAIL: process-returncode
tags: worker-7
-------
Binary content:
traceback (test/plain; charset="utf8")
Ran 475 tests in 1.715s
FAILED (id=0, failures=14, skips=2)
error: testr failed (1)
ERROR: InvocationError: '/tmp/trove2/
pep8 create: /tmp/trove2/
pep8 installdeps: -r/tmp/
pep8 inst: /tmp/trove2/
pep8 runtests: commands[0] | flake8
_______
ERROR: py26: InterpreterNotF
ERROR: py27: commands failed
pep8: commands succeeded