pythonlogging:'': {{{
WARNING [manila.scheduler.host_manager] Share service is down. (host: host1@AAA)
WARNING [manila.scheduler.host_manager] Share service is down. (host: host2@BBB)
WARNING [manila.scheduler.host_manager] Share service is down. (host: host3@CCC)
WARNING [manila.scheduler.host_manager] Share service is down. (host: host4@DDD)
WARNING [manila.scheduler.host_manager] Share service is down. (host: host5@EEE)
WARNING [manila.scheduler.host_manager] Share service is down. (host: host6@FFF)
}}}
Traceback (most recent call last):
File "manila/tests/scheduler/test_host_manager.py", line 157, in test_get_all_host_states_share
self.assertEqual(4, len(host_state_map))
File "/opt/stack/manila/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/manila/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 4 != 0
Ran 3744 tests in 163.564s (+61.029s)
FAILED (id=164, failures=1 (+1), skips=2)
error: testr failed (1)
ERROR: InvocationError: '/opt/stack/manila/.tox/py27/bin/python setup.py testr --testr-args='
______________________________________________________________________________________________________________________________ summary _______________________________________________________________________________________________________________________________
ERROR: py27: commands failed
Running Manila unit tests on local lab I get following error from time to time:
$ tox -e py27 manila/ .tox/py27 stack/manila/ requirements. txt, -r/opt/ stack/manila/ test-requiremen ts.txt OS_STDOUT_ CAPTURE= ${OS_STDOUT_ CAPTURE: -1} \ CAPTURE= ${OS_STDERR_ CAPTURE: -1} \ TIMEOUT= ${OS_TEST_ TIMEOUT: -60} \ CAPTURE= ${OS_LOG_ CAPTURE: -1} \ OS_STDOUT_ CAPTURE= ${OS_STDOUT_ CAPTURE: -1} \ CAPTURE= ${OS_STDERR_ CAPTURE: -1} \ TIMEOUT= ${OS_TEST_ TIMEOUT: -60} \ CAPTURE= ${OS_LOG_ CAPTURE: -1} \ OS_STDOUT_ CAPTURE= ${OS_STDOUT_ CAPTURE: -1} \ CAPTURE= ${OS_STDERR_ CAPTURE: -1} \ TIMEOUT= ${OS_TEST_ TIMEOUT: -60} \ CAPTURE= ${OS_LOG_ CAPTURE: -1} \ ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.scheduler .test_host_ manager. HostManagerTest Case.test_ get_all_ host_states_ share ------- ------- ------- ------- ------- ------- ------- ------- -------
py27 recreate: /opt/stack/
py27 installdeps: -r/opt/
py27 develop-inst: /opt/stack/manila
py27 runtests: commands[0] | python setup.py testr --testr-args=
running testr
running=
OS_STDERR_
OS_TEST_
OS_LOG_
${PYTHON:-python} -m subunit.run discover -t ./ ./manila/tests --list
running=
OS_STDERR_
OS_TEST_
OS_LOG_
${PYTHON:-python} -m subunit.run discover -t ./ ./manila/tests --load-list /tmp/tmpW2k2T0
running=
OS_STDERR_
OS_TEST_
OS_LOG_
${PYTHON:-python} -m subunit.run discover -t ./ ./manila/tests --load-list /tmp/tmpLDBzMR
=======
FAIL: manila.
tags: worker-1
-------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{ scheduler. host_manager] Share service is down. (host: host1@AAA) scheduler. host_manager] Share service is down. (host: host2@BBB) scheduler. host_manager] Share service is down. (host: host3@CCC) scheduler. host_manager] Share service is down. (host: host4@DDD) scheduler. host_manager] Share service is down. (host: host5@EEE) scheduler. host_manager] Share service is down. (host: host6@FFF)
WARNING [manila.
WARNING [manila.
WARNING [manila.
WARNING [manila.
WARNING [manila.
WARNING [manila.
}}}
Traceback (most recent call last): tests/scheduler /test_host_ manager. py", line 157, in test_get_ all_host_ states_ share assertEqual( 4, len(host_ state_map) ) manila/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 350, in assertEqual assertThat( observed, matcher, message) manila/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 435, in assertThat matchers. _impl.MismatchE rror: 4 != 0 manila/ .tox/py27/ bin/python setup.py testr --testr-args=' _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ summary _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _
File "manila/
self.
File "/opt/stack/
self.
File "/opt/stack/
raise mismatch_error
testtools.
Ran 3744 tests in 163.564s (+61.029s)
FAILED (id=164, failures=1 (+1), skips=2)
error: testr failed (1)
ERROR: InvocationError: '/opt/stack/
_______
ERROR: py27: commands failed