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: 1193
Build Status: Still Failing
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #1180
[Marcin Sobczyk] deploy: Always show list of used oVirt packages
Changes for Build #1181
[Marcin Sobczyk] deploy: Always show list of used oVirt packages
Changes for Build #1182
[Marcin Sobczyk] deploy: Always show list of used oVirt packages
Changes for Build #1183
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1184
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1185
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1186
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1187
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1188
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1189
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1190
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1191
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1192
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
Changes for Build #1193
[Michal Skrivanek] lagofy: keep using lago deploy for he-basic-suite-master
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: basic-suite-master.test-scenarios.test_002_bootstrap.test_add_blank_vms
Error Message:
ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is
"[Cannot add VM. The cluster does not have a defined architecture.]". HTTP
response code is 400.
Stack Trace:
engine_api = <ovirtsdk4.Connection object at 0x7f99dd085208>
ost_cluster_name = 'test-cluster'
@order_by(_TEST_LIST)
def test_add_blank_vms(engine_api, ost_cluster_name):
engine = engine_api.system_service()
vms_service = engine.vms_service()
vm_params = sdk4.types.Vm(
os=sdk4.types.OperatingSystem(
type='other_linux',
),
type=sdk4.types.VmType.SERVER,
high_availability=sdk4.types.HighAvailability(
enabled=False,
),
cluster=sdk4.types.Cluster(
name=ost_cluster_name,
),
template=sdk4.types.Template(
name=TEMPLATE_BLANK,
),
display=sdk4.types.Display(
smartcard_enabled=True,
keyboard_layout='en-us',
file_transfer_enabled=True,
copy_paste_enabled=True,
),
usb=sdk4.types.Usb(
enabled=True,
type=sdk4.types.UsbType.NATIVE,
),
memory_policy=sdk4.types.MemoryPolicy(
ballooning=True,
),
console=sdk4.types.Console(
enabled=True
),
)
vm_params.name = BACKUP_VM_NAME
vm_params.memory = 96 * MB
vm_params.memory_policy.guaranteed = 64 * MB
vms_service.add(vm_params)
basic-suite-master/test-scenarios/test_002_bootstrap.py:1384:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py:37686: in add
return self._internal_add(vm, headers, query, wait)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:232: in _internal_add
return future.wait() if wait else future
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:55: in wait
return self._code(response)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:229: in callback
self._check_fault(response)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:132: in _check_fault
self._raise_error(response, body)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <ovirtsdk4.http.Response object at 0x7f99dd4a2320>
detail = <ovirtsdk4.types.Fault object at 0x7f99d73bcfd0>
@staticmethod
def _raise_error(response, detail=None):
"""
Creates and raises an error containing the details of the given HTTP
response and fault.
This method is intended for internal use by other components of the
SDK. Refrain from using it directly, as backwards compatibility isn't
guaranteed.
"""
fault = detail if isinstance(detail, types.Fault) else None
msg = ''
if fault:
if fault.reason:
if msg:
msg += ' '
msg = msg + 'Fault reason is "%s".' % fault.reason
if fault.detail:
if msg:
msg += ' '
msg = msg + 'Fault detail is "%s".' % fault.detail
if response:
if response.code:
if msg:
msg += ' '
msg = msg + 'HTTP response code is %s.' % response.code
if response.message:
if msg:
msg += ' '
msg = msg + 'HTTP response message is "%s".' %
response.message
if isinstance(detail, six.string_types):
if msg:
msg += ' '
msg = msg + detail + '.'
class_ = Error
if response is not None:
if response.code in [401, 403]:
class_ = AuthError
elif response.code == 404:
class_ = NotFoundError
error = class_(msg)
error.code = response.code if response else None
error.fault = fault
raise error
E ovirtsdk4.Error: Fault reason is
"Operation Failed". Fault detail is "[Cannot add VM. The cluster does not
have a defined architecture.]". HTTP response code is 400.
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:118: Error