If found this error in system tests - looks like wrong assert - code should checkif disk is not None before checking state.I'm not sure who is the owner of this test, so posting here.
# snapshots_merge: Unhandled exception in <function <lambda> at 0x276a5f0> Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py" Error while running thread Traceback (most recent call last): File "/usr/lib/python2.7/site-, line 217, in assert_equals_within res = func() File "/home/jenkins/workspace/ ovirt-system-tests_manual/ ovirt-system-tests/basic- suite-master/test-scenarios/ 004_basic_sanity.py", line 466, in <lambda> api.vms.get(VM0_NAME).disks. get(disk_name).status.state == 'ok' AttributeError: 'NoneType' object has no attribute 'state' packages/lago/utils.py", line 57, in _ret_via_queue queue.put({'return': func()}) File "/home/jenkins/workspace/ ovirt-system-tests_manual/ ovirt-system-tests/basic- suite-master/test-scenarios/ 004_basic_sanity.py", line 465, in snapshot_live_merge lambda: File "/usr/lib/python2.7/site- packages/ovirtlago/testlib.py" , line 264, in assert_true_within_long assert_equals_within_long( func, True, allowed_exceptions) File "/usr/lib/python2.7/site- packages/ovirtlago/testlib.py" , line 251, in assert_equals_within_long func, value, LONG_TIMEOUT, allowed_exceptions=allowed_ exceptions File "/usr/lib/python2.7/site- packages/ovirtlago/testlib.py" , line 217, in assert_equals_within res = func() File "/home/jenkins/workspace/ ovirt-system-tests_manual/ ovirt-system-tests/basic- suite-master/test-scenarios/ 004_basic_sanity.py", line 466, in <lambda> api.vms.get(VM0_NAME).disks. get(disk_name).status.state == 'ok' AttributeError: 'NoneType' object has no attribute 'state'
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel