Appears to be a failure due to insufficient isolation from requests. See https://review.openstack.org/#/c/179746/2/nova/tests/unit/virt/vmwareapi/test_read_write_util.py which should fix it.
On 4 May 2015 at 21:32, Deepak Shetty <[email protected]> wrote: > Hi All, > I am seeing the below failure for one of my patch (which i believe is not > related to the changes i did in my patch) - Correct me if i am wrong :) > > 2015-05-04 07:22:06.116 | {3} > nova.tests.unit.virt.vmwareapi.test_read_write_util.ReadWriteUtilTestCase.test_ipv6_host_read > [0.026257s] ... FAILED > 2015-05-04 07:22:06.116 | > 2015-05-04 07:22:06.116 | Captured traceback: > 2015-05-04 07:22:06.116 | ~~~~~~~~~~~~~~~~~~~ > 2015-05-04 07:22:06.116 | Traceback (most recent call last): > 2015-05-04 07:22:06.116 | File > "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", > line 1201, in patched > 2015-05-04 07:22:06.116 | return func(*args, **keywargs) > 2015-05-04 07:22:06.116 | File > "nova/tests/unit/virt/vmwareapi/test_read_write_util.py", line 49, in > test_ipv6_host_read > 2015-05-04 07:22:06.117 | verify=False) > 2015-05-04 07:22:06.117 | File > "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", > line 846, in assert_called_once_with > 2015-05-04 07:22:06.117 | return self.assert_called_with(*args, > **kwargs) > 2015-05-04 07:22:06.117 | File > "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", > line 835, in assert_called_with > 2015-05-04 07:22:06.117 | raise AssertionError(msg) > 2015-05-04 07:22:06.117 | AssertionError: Expected call: request('get', > 'https://[fd8c:215d:178e:c51e:200:c9ff:fed1:584c]:7443/folder/tmp/fake.txt?dcPath=fake_dc&dsName=fake_ds', > verify=False, headers={'User-Agent': 'OpenStack-ESX-Adapter'}, stream=True, > allow_redirects=True) > 2015-05-04 07:22:06.117 | Actual call: request('get', > 'https://[fd8c:215d:178e:c51e:200:c9ff:fed1:584c]:7443/folder/tmp/fake.txt?dcPath=fake_dc&dsName=fake_ds', > verify=False, params=None, headers={'User-Agent': 'OpenStack-ESX-Adapter'}, > stream=True, allow_redirects=True) > > > I ran it locally on my setup with my patch present and the test passes. See > below: > > stack@devstack-f21 nova]$ git log --pretty=oneline -1 > df8fb45121dacf22e232f72d096305cf285a0d12 libvirt: Use 'relative' flag for > online snapshot's commit/rebase operations > > [stack@devstack-f21 nova]$ ./run_tests.sh -N > nova.tests.unit.virt.vmwareapi.test_read_write_util > Running ` python setup.py testr --testr-args='--subunit --concurrency 0 > nova.tests.unit.virt.vmwareapi.test_read_write_util'` > running testr > running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ > OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ > OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ > ${PYTHON:-python} -m subunit.run discover -t ./ > ${OS_TEST_PATH:-./nova/tests} --list > running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ > OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ > OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ > ${PYTHON:-python} -m subunit.run discover -t ./ > ${OS_TEST_PATH:-./nova/tests} --load-list /tmp/tmpueNq4A > nova.tests.unit.virt.vmwareapi.test_read_write_util.ReadWriteUtilTestCase > test_ipv6_host_read OK > 0.06 > > > Ran 1 test in 10.977s > > OK > ===================================== > > Addnl Details: > > My patch @ https://review.openstack.org/#/c/168805/ > Complete failure log @ > http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_23_32_995 > > thanx, > deepak > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Robert Collins <[email protected]> Distinguished Technologist HP Converged Cloud __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
