Captured stderr:
~~~~~~~~~~~~~~~~
/home/sdague/nova/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/default_comparator.py:35: SAWarning: The IN-predicate on "instances.uuid" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate. Consider alternative strategies for improved performance.
return o[0](self, self.expr, op, *(other + o[1:]), **kwargs)
{0} nova.tests.integrated.test_multiprocess_api.MultiprocessWSGITestV3.test_killed_worker_recover [2.634592s] ... ok
{0} nova.tests.integrated.test_multiprocess_api.MultiprocessWSGITestV3.test_restart_sighup [1.565492s] ... ok
{0} nova.tests.integrated.test_multiprocess_api.MultiprocessWSGITestV3.test_terminate_sigterm [2.400319s] ... ok
{1} nova.tests.integrated.test_multiprocess_api.MultiprocessWSGITest.test_restart_sighup [160.043131s] ... FAILED
{1} nova.tests.integrated.test_multiprocess_api.MultiprocessWSGITest.test_terminate_sigkill [2.317150s] ... ok
{1} nova.tests.integrated.test_multiprocess_api.MultiprocessWSGITest.test_terminate_sigterm [2.274788s] ... ok
{1} nova.tests.integrated.test_multiprocess_api.MultiprocessWSGITestV3.test_terminate_sigkill [2.089225s] ... ok
and.... hang
So, testr is correctly killing the restart test when it times out. It is also correctly moving on to additional tests. However it is then in a hung state and can't finish once the tests are done.
Why the test timed out, I don't know. However the fact that testr is going crazy is an issue all by itself.
I managed to get a reproduce by creating a slow vm: ubuntu 14.04 in vbox, 1 G ram, 2 vcpu, set to 50% of cpu performance.
tox -epy27 -- --until-fail multiprocess
On the 3rd time through I got the following:
running= OS_STDOUT_ CAPTURE= ${OS_STDOUT_ CAPTURE: -1} \ CAPTURE= ${OS_STDERR_ CAPTURE: -1} \ TIMEOUT= ${OS_TEST_ TIMEOUT: -160} \ OS_STDOUT_ CAPTURE= ${OS_STDOUT_ CAPTURE: -1} \ CAPTURE= ${OS_STDERR_ CAPTURE: -1} \ TIMEOUT= ${OS_TEST_ TIMEOUT: -160} \ integrated. test_multiproce ss_api. MultiprocessWSG ITest.test_ killed_ worker_ recover [5.688803s] ... ok
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmp7YX5uh
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmpU5Qsw_
{0} nova.tests.
Captured stderr: sdague/ nova/.tox/ py27/local/ lib/python2. 7/site- packages/ sqlalchemy/ sql/default_ comparator. py:35: SAWarning: The IN-predicate on "instances.uuid" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate. Consider alternative strategies for improved performance.
~~~~~~~~~~~~~~~~
/home/
return o[0](self, self.expr, op, *(other + o[1:]), **kwargs)
{0} nova.tests. integrated. test_multiproce ss_api. MultiprocessWSG ITestV3. test_killed_ worker_ recover [2.634592s] ... ok integrated. test_multiproce ss_api. MultiprocessWSG ITestV3. test_restart_ sighup [1.565492s] ... ok integrated. test_multiproce ss_api. MultiprocessWSG ITestV3. test_terminate_ sigterm [2.400319s] ... ok integrated. test_multiproce ss_api. MultiprocessWSG ITest.test_ restart_ sighup [160.043131s] ... FAILED integrated. test_multiproce ss_api. MultiprocessWSG ITest.test_ terminate_ sigkill [2.317150s] ... ok integrated. test_multiproce ss_api. MultiprocessWSG ITest.test_ terminate_ sigterm [2.274788s] ... ok integrated. test_multiproce ss_api. MultiprocessWSG ITestV3. test_terminate_ sigkill [2.089225s] ... ok
{0} nova.tests.
{0} nova.tests.
{1} nova.tests.
{1} nova.tests.
{1} nova.tests.
{1} nova.tests.
and.... hang
So, testr is correctly killing the restart test when it times out. It is also correctly moving on to additional tests. However it is then in a hung state and can't finish once the tests are done.
Why the test timed out, I don't know. However the fact that testr is going crazy is an issue all by itself.