Project: http://jenkins.ovirt.org/job/ovirt-system-tests_network-suite-master/ 
Build: http://jenkins.ovirt.org/job/ovirt-system-tests_network-suite-master/741/
Build Number: 741
Build Status:  Failure
Triggered By: Started by timer

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #741
[Eitan Raviv] networking: sync networks across cluster




-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:  
network-suite-master.tests.ovs.test_ovn_physnet.test_connect_vm_to_external_physnet

Error Message:
test setup failure

Stack Trace:
system = <lib.system.SDKSystemRoot object at 0x7f4ae66508d0>
ovs_cluster = <lib.clusterlib.Cluster object at 0x7f4ad70fff10>
default_cluster = <lib.clusterlib.Cluster object at 0x7f4ae6650b50>
default_data_center = <lib.datacenterlib.DataCenter object at 0x7f4ad7bb0cd0>

    @pytest.fixture(scope='session')
    def host_in_ovs_cluster(
            system, ovs_cluster, default_cluster, default_data_center):
        host_id = default_cluster.host_ids()[0]
        host = hostlib.Host(system)
        host.import_by_id(host_id)
        host.wait_for_up_status(timeout=hostlib.HOST_TIMEOUT_LONG)
        with hostlib.change_cluster(host, ovs_cluster):
            host.sync_all_networks()
            default_data_center.wait_for_up_status()
>           yield host

network-suite-master/fixtures/host.py:73: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib64/python2.7/contextlib.py:35: in __exit__
    self.gen.throw(type, value, traceback)
network-suite-master/lib/hostlib.py:84: in change_cluster
    host.change_cluster(original_cluster)
network-suite-master/lib/hostlib.py:141: in change_cluster
    self.deactivate()
network-suite-master/lib/hostlib.py:138: in deactivate
    self.wait_for_maintenance_status()
network-suite-master/lib/hostlib.py:230: in wait_for_maintenance_status
    success_criteria=lambda s: s == HostStatus.MAINTENANCE)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

exec_func = <function <lambda> at 0x7f4ad71b3050>, exec_func_args = ()
success_criteria = <function <lambda> at 0x7f4ad71b3848>
error_criteria = <function <lambda> at 0x7f4aead18b90>, timeout = 120

    def sync(exec_func,
             exec_func_args,
             success_criteria=lambda result: True,
             error_criteria=lambda error: True,
             timeout=DEFAULT_TIMEOUT):
        """Sync an operation until it either:
    
        - succeeds (according to the success_criteria specified)
        - fails due to timing out (after the specified timeout)
        - fails due to a terminal error (according to the error_criteria 
specified)
    
        A caller may specifiy a success_criteria function that should return:
    
        - False if the sync should continue to retry
        - True if the sync should terminate immediately
    
        A caller may also specify an error_criteria function if the sync
        should continue to retry when the operation fails with an anticipated
        exception. This function will be called back with the exception and
        should return:
    
        - False if the sync should continue to retry
        - True if the sync should stop and the exception raised back to the 
caller
    
        By default, both success_criteria and error_criteria return True, 
causing
        all results and all errors to return and raise respectively. The default
        timeout is 120 seconds.
    
        :param exec_func: callable
        :param exec_func_args: tuple/dict
        :param success_criteria: callable
        :param error_criteria: callable
        :param timeout: int
        :return: the result of running the exec_func
        """
        end_time = _monothonic_time() + timeout
    
        if isinstance(exec_func_args, collections.Mapping):
            kwargs = exec_func_args
            args = ()
        else:
            args = exec_func_args
            kwargs = {}
    
        try:
            result = exec_func(*args, **kwargs)
        except Exception as e:
            if error_criteria(e):
                raise
            result = e
        else:
            if success_criteria(result):
                return result
    
        while _monothonic_time() < end_time:
            time.sleep(3)
            try:
                result = exec_func(*args, **kwargs)
            except Exception as e:
                if error_criteria(e):
                    raise
                result = e
            else:
                if success_criteria(result):
                    return result
    
>       raise Timeout(result)
E       Timeout: Last evaluated result: up

network-suite-master/lib/syncutil.py:104: Timeout
_______________________________________________
Infra mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/KUINIRAVGROGGI5IABAGTWXYOA3WSCQ7/

Reply via email to