Project:
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_nightly/
Build:
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_night...
Build Number: 243
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #243
[Marcin Sobczyk] basic: ansible: Port '003_00_metrics_bootstrap_pytest.py' to
ansible
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:
basic-suite-master.test-scenarios.004_basic_sanity_pytest.test_next_run_unplug_cpu
Error Message:
assert 2 == 1 -2 +1
Stack Trace:
api_v4 = <ovirtsdk4.Connection object at 0x7f0a67125e50>
@order_by(_TEST_LIST)
def test_next_run_unplug_cpu(api_v4):
engine = api_v4.system_service()
vm_service = test_utils.get_vm_service(engine, VM0_NAME)
new_cpu = vm_service.get().cpu
new_cpu.topology.sockets = 1
vm_service.update(
vm=types.Vm(
cpu=new_cpu,
),
next_run=True
)
assert vm_service.get().cpu.topology.sockets == 2
assert vm_service.get(next_run=True).cpu.topology.sockets == 1
with test_utils.TestEvent(engine, 157): # USER_REBOOT_VM(157)
vm_service.reboot()
testlib.assert_true_within_long(
lambda:
vm_service.get().status == types.VmStatus.UP
)
assert vm_service.get().cpu.topology.sockets == 1
E
assert 2 == 1
E -2
E +1
../basic-suite-master/test-scenarios/004_basic_sanity_pytest.py:1112: AssertionError