<div dir="ltr"><div><div><div><div><div><div><span style="font-family:monospace,monospace">Hi All,<br></span></div><span style="font-family:monospace,monospace"> 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 :)<br><br></span><pre><span style="font-family:monospace,monospace"><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> | {3} nova.tests.unit.virt.vmwareapi.test_read_write_util.ReadWriteUtilTestCase.test_ipv6_host_read [0.026257s] ... FAILED
</span><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> |
</span><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> | Captured traceback:
</span><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> | ~~~~~~~~~~~~~~~~~~~
</span><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> | Traceback (most recent call last):
</span><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
</span><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> | return func(*args, **keywargs)
</span><span class=""><a name="_2015-05-04_07_22_06_116" class="" href="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</a> | File "nova/tests/unit/virt/vmwareapi/test_read_write_util.py", line 49, in test_ipv6_host_read
</span><span class=""><a name="_2015-05-04_07_22_06_117" class="" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117">2015-05-04 07:22:06.117</a> | verify=False)
</span><span class=""><a name="_2015-05-04_07_22_06_117" class="" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117">2015-05-04 07:22:06.117</a> | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 846, in assert_called_once_with
</span><span class=""><a name="_2015-05-04_07_22_06_117" class="" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117">2015-05-04 07:22:06.117</a> | return self.assert_called_with(*args, **kwargs)
</span><span class=""><a name="_2015-05-04_07_22_06_117" class="" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117">2015-05-04 07:22:06.117</a> | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 835, in assert_called_with
</span><span class=""><a name="_2015-05-04_07_22_06_117" class="" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117">2015-05-04 07:22:06.117</a> | raise AssertionError(msg)
</span><span class=""><a name="_2015-05-04_07_22_06_117" class="" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117">2015-05-04 07:22:06.117</a> | AssertionError: Expected call: request('get', '<a href="https://[fd8c:215d:178e:c51e:200:c9ff:fed1:584c]:7443/folder/tmp/fake.txt?dcPath=fake_dc&dsName=fake_ds">https://[fd8c:215d:178e:c51e:200:c9ff:fed1:584c]:7443/folder/tmp/fake.txt?dcPath=fake_dc&dsName=fake_ds</a>', verify=False, headers={'User-Agent': 'OpenStack-ESX-Adapter'}, stream=True, allow_redirects=True)
</span><span class=""><a name="_2015-05-04_07_22_06_117" class="" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117">2015-05-04 07:22:06.117</a> | Actual call: request('get', '<a href="https://[fd8c:215d:178e:c51e:200:c9ff:fed1:584c]:7443/folder/tmp/fake.txt?dcPath=fake_dc&dsName=fake_ds">https://[fd8c:215d:178e:c51e:200:c9ff:fed1:584c]:7443/folder/tmp/fake.txt?dcPath=fake_dc&dsName=fake_ds</a>', verify=False, params=None, headers={'User-Agent': 'OpenStack-ESX-Adapter'}, stream=True, allow_redirects=True)</span></span></pre><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">I ran it locally on my setup with my patch present and the test passes. See below:<br><br>stack@devstack-f21 nova]$ git log --pretty=oneline -1<br>df8fb45121dacf22e232f72d096305cf285a0d12 libvirt: Use 'relative' flag for online snapshot's commit/rebase operations<br><br>[stack@devstack-f21 nova]$ ./run_tests.sh -N nova.tests.unit.virt.vmwareapi.test_read_write_util<br>Running ` python setup.py testr --testr-args='--subunit --concurrency 0 nova.tests.unit.virt.vmwareapi.test_read_write_util'`<br>running testr<br>running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \<br>OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \<br>OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \<br>${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./nova/tests} --list <br>running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \<br>OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \<br>OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \<br>${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./nova/tests} --load-list /tmp/tmpueNq4A<br>nova.tests.unit.virt.vmwareapi.test_read_write_util.ReadWriteUtilTestCase<br> test_ipv6_host_read OK 0.06<br><br><br>Ran 1 test in 10.977s<br><br>OK<br>=====================================<br></span></div><div><span style="font-family:monospace,monospace"><br></span></div><span style="font-family:monospace,monospace">Addnl Details:<br><br></span></div><span style="font-family:monospace,monospace">My patch @ <a href="https://review.openstack.org/#/c/168805/">https://review.openstack.org/#/c/168805/</a><br></span></div><span style="font-family:monospace,monospace">Complete failure log @ <a href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_23_32_995">http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_23_32_995</a><br><br></span></div><span style="font-family:monospace,monospace">thanx,<br></span></div><span style="font-family:monospace,monospace">deepak<br><br></span></div>