failure in OST exits with following error: scenarios/004_basic_sanity.py", line 500, in <lambda>\n lambda: api.vms.get(VM1_NAME).status.state == \'down\',\nAttributeError: \'NoneType\' object has no attribute \'status\'\n--------------------- >> end captured logging << ---------------------' This is a little confusing as to the reason of failure and it would be helpful in future debug if the tests exists with graceful error. Further info from ykaul on ovirt list: This is a test error - code like this is always wrong: api.vms.get(VM1_NAME).status.state == something In this case, api.vms.get() returned None. The test code should handle None and fail with meaningfull error, or maybe retry the call. It doesn't matter - if api.vms.get(VM1_NAME) return None, we'll fail the test. So we can add an assert here, but still fail in exactly the same manner. Gracefully with 'VM1_NAME was not found' ? Perhaps.
Not sure why it's assigned to me, but I can take a look at this.
Hopefully looks better with https://gerrit.ovirt.org/84572 . I assume there are many other places in the code we'll need to 'harden' for such issues.