[openstack-dev] [SOLVED] [Nova] gate-nova-python27 failure

Sean Dague sean at dague.net
Mon May 4 12:40:39 UTC 2015


We actually isolated from requests a little more in this review instead
- https://review.openstack.org/#/c/179757/

	-Sean

On 05/04/2015 06:23 AM, Deepak Shetty wrote:
> https://bugs.launchpad.net/nova/+bug/1451389 and the associated bugfix @
> https://review.openstack.org/179746 should solve this.
> 
> thanks garyk!
> 
> thanx,
> deepak
> 
> 
> On Mon, May 4, 2015 at 3:02 PM, Deepak Shetty <dpkshetty at gmail.com
> <mailto:dpkshetty at gmail.com>> 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 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_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 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116> | 
>     2015-05-04 07:22:06.116 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116> | Captured traceback:
>     2015-05-04 07:22:06.116 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116> | ~~~~~~~~~~~~~~~~~~~
>     2015-05-04 07:22:06.116 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116> |     Traceback (most recent call last):
>     2015-05-04 07:22:06.116 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_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 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116> |         return func(*args, **keywargs)
>     2015-05-04 07:22:06.116 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_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 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117> |         verify=False)
>     2015-05-04 07:22:06.117 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_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 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117> |         return self.assert_called_with(*args, **kwargs)
>     2015-05-04 07:22:06.117 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_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 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117> |         raise AssertionError(msg)
>     2015-05-04 07:22:06.117 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_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 <http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_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 at devstack-f21 nova]$ git log --pretty=oneline -1
>     df8fb45121dacf22e232f72d096305cf285a0d12 libvirt: Use 'relative'
>     flag for online snapshot's commit/rebase operations
> 
>     [stack at 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: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 


-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list