<div dir="ltr"><div><div><a href="https://bugs.launchpad.net/nova/+bug/1451389">https://bugs.launchpad.net/nova/+bug/1451389</a> and the associated bugfix @ <a href="https://review.openstack.org/179746">https://review.openstack.org/179746</a> should solve this.<br><br></div><div>thanks garyk!<br></div><div><br></div>thanx,<br></div>deepak<br><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 3:02 PM, Deepak Shetty <span dir="ltr"><<a href="mailto:dpkshetty@gmail.com" target="_blank">dpkshetty@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">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><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">2015-05-04 07:22:06.116</a> | 
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">2015-05-04 07:22:06.116</a> | Captured traceback:
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">2015-05-04 07:22:06.116</a> | ~~~~~~~~~~~~~~~~~~~
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">2015-05-04 07:22:06.116</a> |     Traceback (most recent call last):
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">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><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">2015-05-04 07:22:06.116</a> |         return func(*args, **keywargs)
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_116" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_116" target="_blank">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><a name="14d1e4574e85b12c__2015-05-04_07_22_06_117" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117" target="_blank">2015-05-04 07:22:06.117</a> |         verify=False)
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_117" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117" target="_blank">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><a name="14d1e4574e85b12c__2015-05-04_07_22_06_117" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117" target="_blank">2015-05-04 07:22:06.117</a> |         return self.assert_called_with(*args, **kwargs)
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_117" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117" target="_blank">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><a name="14d1e4574e85b12c__2015-05-04_07_22_06_117" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117" target="_blank">2015-05-04 07:22:06.117</a> |         raise AssertionError(msg)
</span><span><a name="14d1e4574e85b12c__2015-05-04_07_22_06_117" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117" target="_blank">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" target="_blank">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><a name="14d1e4574e85b12c__2015-05-04_07_22_06_117" href="http://logs.openstack.org/05/168805/8/check/gate-nova-python27/584359c/console.html#_2015-05-04_07_22_06_117" target="_blank">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" target="_blank">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/" target="_blank">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" target="_blank">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>
</blockquote></div><br></div></div></div></div>