Hi Yong,<div><br></div><div>I have been able to reproduce the error on my dev machine - I couldn't earlier on because I was tesyinh the test_xenapi module only, and no failure occured.</div><div><br></div><div>It seems that test_quantumv2 is the root cause. If you look at gerrit, Jenkins started complaining when you first added that module. </div>
<div>Indeed, if you rename it to _test_quantumv2, the error disappears.</div><div><br></div><div>I guess the problem is that quantum_v2 apparently is the only test modules whose test cases do not inherit from nova.test. I am trying to understand what exactly causes then the failure in test_xenapi. My gut says it must have something to do with mox, but I will let you know soon - unfortunately each test run takes almost 10 minutes!</div>
<div><br></div><div>Salvatore</div><div><br><div class="gmail_quote">On 2 July 2012 19:18, Salvatore Orlando <span dir="ltr"><<a href="mailto:sorlando@nicira.com" target="_blank">sorlando@nicira.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Yong, <div><br></div><div>I do not see any obvious reason for these failures, especially as they appear to occur when the vdi is created. If I recall it correctly, that code is stubbed out for unit tests, and it does not seem your patch un-stubs it.</div>

<div>Do you see the failures also on your dev machine?</div><div><br></div><div>Salvatore<br><br><div class="gmail_quote"><div><div class="h5">On 2 July 2012 14:30, Yong Sheng Gong <span dir="ltr"><<a href="mailto:gongysh@cn.ibm.com" target="_blank">gongysh@cn.ibm.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"> <span>hi,<br><br>
</span>In my change at <a href="https://review.openstack.org/#/c/8916/" target="_blank">https://review.openstack.org/#/c/8916/</a>, some xenapi tests alway fail:<br>
<table><tbody><tr><td><a>>>></a><a><<<</a> <a href="https://jenkins.openstack.org/job/gate-nova-python26/1386/testReport/nova.tests.test_xenapi/XenAPIMigrateInstance/test_finish_migrate/" target="_blank">nova.tests.test_xenapi.XenAPIMigrateInstance.test_finish_migrate</a> <div>

Loading...</div></td><td style="text-align:right">10 sec</td><td style="text-align:right"><a href="https://jenkins.openstack.org/job/gate-nova-python26/1386/" target="_blank">1</a></td></tr><tr><td><a>>>></a><a><<<</a> <a href="https://jenkins.openstack.org/job/gate-nova-python26/1386/testReport/nova.tests.test_xenapi/XenAPIMigrateInstance/test_finish_migrate_no_local_storage/" target="_blank">nova.tests.test_xenapi.XenAPIMigrateInstance.test_finish_migrate_no_local_storage</a> <div>

Loading...</div></td><td style="text-align:right">10 sec</td><td style="text-align:right"><a href="https://jenkins.openstack.org/job/gate-nova-python26/1386/" target="_blank">1</a></td></tr><tr><td><a>>>></a><a><<<</a> <a href="https://jenkins.openstack.org/job/gate-nova-python26/1386/testReport/nova.tests.test_xenapi/XenAPIMigrateInstance/test_finish_migrate_no_resize_vdi/" target="_blank">nova.tests.test_xenapi.XenAPIMigrateInstance.test_finish_migrate_no_resize_vdi</a> <div>

Loading...</div></td><td style="text-align:right">10 sec</td><td style="text-align:right"><a href="https://jenkins.openstack.org/job/gate-nova-python26/1386/" target="_blank">1</a></td></tr><tr><td><a>>>></a><a><<<</a> <a href="https://jenkins.openstack.org/job/gate-nova-python26/1386/testReport/nova.tests.test_xenapi/XenAPIMigrateInstance/test_revert_migrate/" target="_blank">nova.tests.test_xenapi.XenAPIMigrateInstance.test_revert_migrate</a> <br>

<br>Who can help me find the reason?<br>Thanks<span><font color="#888888"><br>Yong Sheng Gong<br></font></span></td></tr></tbody></table></font>

<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>