On Tue, Mar 20, 2018 at 3:03 PM, Arik Hadas <ahadas(a)redhat.com> wrote:
>
>
> On Mon, Mar 19, 2018 at 6:02 PM, Dafna Ron <dron(a)redhat.com> wrote:
>
>> Hi,
>>
>> We have a failed change on test 004_basic_sanity.verify_vm_import.
>> 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.
>>
>> can you please check the issue?
>>
>
> 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.
>
>
>>
>> *Link and headline of suspected patches: *
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *core: Call endAction() of all child commands in ImportVmCommand -
>>
https://gerrit.ovirt.org/#/c/89165/
>> <
https://gerrit.ovirt.org/#/c/89165/>Link to
>>
Job:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1362
>> <
http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1362>Link to
>> all
>>
logs:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1362/arti...
>>
<
http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/1362/artifact/...
>> error snippet from the log: <error>2018-03-19 11:01:59,679-04 INFO
>> [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-22) [] Lock freed to object
>> 'EngineLock:{exclusiveLocks='[imported_vm=VM_NAME,
>> 3494a94b-c253-440b-a6cb-c4c818b19ae1=VM]',
>> sharedLocks='[cc4255e8-8e1d-4608-a3fe-a2096ed4e9f9=REMOTE_VM]'}'*
>> Error Message
>>
>> False != True after 180 seconds
>>
>> Stacktrace
>>
>> Traceback (most recent call last):
>> File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
>> testMethod()
>> File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
runTest
>> self.test(*self.arg)
>> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
129, in wrapped_test
>> test()
>> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
59, in wrapper
>> return func(get_test_prefix(), *args, **kwargs)
>> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
78, in wrapper
>> prefix.virt_env.engine_vm().get_api(api_ver=4), *args, **kwargs
>> File
"/home/jenkins/workspace/ovirt-4.2_change-queue-tester/ovirt-system-tests/basic-suite-4.2/test-scenarios/004_basic_sanity.py",
line 596, in verify_vm_import
>> lambda: vm_service.get().status == types.VmStatus.DOWN
>> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
267, in assert_true_within_short
>> assert_equals_within_short(func, True, allowed_exceptions)
>> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
251, in assert_equals_within_short
>> func, value, SHORT_TIMEOUT, allowed_exceptions=allowed_exceptions
>> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line
237, in assert_equals_within
>> '%s != %s after %s seconds' % (res, value, timeout)
>> AssertionError: False != True after 180 seconds
>>
>> *</error>*
>>
>> _______________________________________________
>> Devel mailing list
>> Devel(a)ovirt.org
>>
http://lists.ovirt.org/mailman/listinfo/devel
>>
>
>