<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 6:02 PM, Dafna Ron <span dir="ltr"><<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi, <br><br></div>We have a failed change on test 004_basic_sanity.verify_vm_<wbr>import. <br></div><div>I can't see anything in the logs that suggests there was a problem with the import and the error in the junit also suggest this can possibly be in the api version. <br><br></div>can you please check the issue? <br></div></blockquote><div><br></div><div>We found the issue - it happens only when importing VM as new entity (clone), SetVmStatus is not called in that case and so the VM remains in status ImageLockd. Shmuel will post a fix shortly.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><b style="font-weight:normal" id="m_402424418020137188gmail-docs-internal-guid-e8ba4241-3ef9-8f94-727e-37896b7f183c"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Link and headline of suspected patches: </span></p></b><b style="font-weight:normal" id="m_402424418020137188gmail-docs-internal-guid-e8ba4241-3ef9-8f94-727e-37896b7f183c">core: Call endAction() of all child commands in ImportVmCommand - <a href="https://gerrit.ovirt.org/#/c/89165/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>89165/</a><br><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Link to Job:</span></p><a href="http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1362" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-4.2_change-queue-tester/<wbr>1362</a><br><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Link to all logs:</span></p><a href="http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1362/artifact/exported-artifacts/basic-suit-4.2-el7/test_logs/basic-suite-4.2/post-004_basic_sanity.py/" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-4.2_change-queue-tester/<wbr>1362/artifact/exported-<wbr>artifacts/basic-suit-4.2-el7/<wbr>test_logs/basic-suite-4.2/<wbr>post-004_basic_sanity.py/</a><br><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">(Relevant) error snippet from the log: </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><error></span></p><br>2018-03-19 11:01:59,679-04 INFO [org.ovirt.engine.core.bll.<wbr>exportimport.ImportVmCommand] (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-22) [] Lock freed to object 'EngineLock:{exclusiveLocks='[<wbr>imported_vm=VM_NAME, 3494a94b-c253-440b-a6<br>cb-c4c818b19ae1=VM]', sharedLocks='[cc4255e8-8e1d-<wbr>4608-a3fe-a2096ed4e9f9=REMOTE_<wbr>VM]'}'<br><br></b><br><h3>Error Message</h3><pre>False != True after 180 seconds</pre><h3>Stacktrace</h3><pre>Traceback (most recent call last):
File "/usr/lib64/python2.7/<wbr>unittest/case.py", line 369, in run
testMethod()
File "/usr/lib/python2.7/site-<wbr>packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 129, in wrapped_test
test()
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 59, in wrapper
return func(get_test_prefix(), *args, **kwargs)
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 78, in wrapper
prefix.virt_env.engine_vm().<wbr>get_api(api_ver=4), *args, **kwargs
File "/home/jenkins/workspace/<wbr>ovirt-4.2_change-queue-tester/<wbr>ovirt-system-tests/basic-<wbr>suite-4.2/test-scenarios/004_<wbr>basic_sanity.py", line 596, in verify_vm_import
lambda: vm_service.get().status == types.VmStatus.DOWN
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 267, in assert_true_within_short
assert_equals_within_short(<wbr>func, True, allowed_exceptions)
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 251, in assert_equals_within_short
func, value, SHORT_TIMEOUT, allowed_exceptions=allowed_<wbr>exceptions
File "/usr/lib/python2.7/site-<wbr>packages/ovirtlago/testlib.py"<wbr>, line 237, in assert_equals_within
'%s != %s after %s seconds' % (res, value, timeout)
AssertionError: False != True after 180 seconds
</pre><b style="font-weight:normal" id="m_402424418020137188gmail-docs-internal-guid-e8ba4241-3ef9-8f94-727e-37896b7f183c"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></error></span></p></b><br class="m_402424418020137188gmail-Apple-interchange-newline"></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>