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_nightly/884/
Build Number: 884
Build Status:  Failure
Triggered By: Started by timer

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #884
[Andrej Cernek] pylint: Fix most of the errors




-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:  
basic-suite-master.test-scenarios.test_007_sd_reattach.test_import_floating_disk

Error Message:
ovirtsdk4.Error: Fault reason is "Operation Failed". HTTP response code is 500.

Stack Trace:
engine_api = <ovirtsdk4.Connection object at 0x7fba5c465b70>

    @order_by(_TEST_LIST)
    def test_import_floating_disk(engine_api):
        engine = engine_api.system_service()
        dc_service = test_utils.data_center_service(engine, DC_NAME)
        attached_sds_service = dc_service.storage_domains_service()
        sd_service = test_utils.get_attached_storage_domain(
            engine, SD_SECOND_NFS_NAME, service=False)
        attached_domain = attached_sds_service.storage_domain_service(
            sd_service.id)
    
        disk = test_utils.get_attached_storage_domain_disk_service(
>           attached_domain, FLOATING_DISK_NAME, query={'unregistered': True})

../basic-suite-master/test-scenarios/test_007_sd_reattach.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../basic-suite-master/test_utils/__init__.py:304: in 
get_attached_storage_domain_disk_service
    disk = next(disk for disk in disks_service.list(query=query)
/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py:3579: in list
    return self._internal_get(headers, query, wait)
/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:211: in _internal_get
    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:208: 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 0x7fba5c64c5c0>
detail = <ovirtsdk4.types.Fault object at 0x7fba5c64cfd0>

    @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". HTTP response code 
is 500.

/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py:118: Error
_______________________________________________
Infra mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/X5CGF6DBJSTXLK3GZROMN5UHHDT2IEMD/

Reply via email to