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

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #615
[Dafna Ron] ovirt-4.2: block external links from running in ost




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

Error Message:
Timeout: Last evaluated result: False

Stack Trace:
system = <lib.system.SDKSystemRoot object at 0x7f77c9e1dd50>
ovs_cluster = <lib.clusterlib.Cluster object at 0x7f77c9bb9f90>
cirros_template = 'Cirros_0_4_0'
ovn_physnet_small_mtu = <lib.netlib.Network object at 0x7f77c935a1d0>
host_in_ovs_cluster = <lib.hostlib.Host object at 0x7f77c9bb9e90>
host_0 = <lib.hostlib.Host object at 0x7f77d024d850>
host_1 = <lib.hostlib.Host object at 0x7f77d024dd90>

    def test_connect_vm_to_external_physnet(system, ovs_cluster,
                                            cirros_template, 
ovn_physnet_small_mtu,
                                            host_in_ovs_cluster, host_0, 
host_1):
        with virtlib.vm_pool(system, size=1) as (vm_0,):
            vm_0.create(
                vm_name=VM0_NAME,
                cluster=ovs_cluster,
                template=cirros_template
            )
    
            vnic_profile_0 = netlib.VnicProfile(system)
            vnic_profile_0.import_by_name(ovn_physnet_small_mtu.name)
    
            vm_0_vnic_0 = netlib.Vnic(vm_0)
            vm_0_vnic_0.create(
                name=VNIC0_NAME,
                vnic_profile=vnic_profile_0
            )
    
            vm_0.wait_for_down_status()
            vm_0.run_once(cloud_init_hostname=VM0_NAME)
    
            other_host = _other_host(host_in_ovs_cluster, [host_0, host_1])
            max_icmp_data_size = MTU - IP_ICMP_HEADER_SIZE
    
            syncutil.sync(exec_func=_ping_successful,
                          exec_func_args=(
                              other_host.address,
                              other_host.root_password,
                              VM0_NAME,
                              max_icmp_data_size
                          ),
>                         success_criteria=lambda success: success)

network-suite-4.2/tests/ovs/test_ovn_physnet.py:94: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

exec_func = <function _ping_successful at 0x7f77d2537050>
exec_func_args = ('192.168.201.3', '123456', 'vm0', 972)
success_criteria = <function <lambda> at 0x7f77c9bc77d0>
error_criteria = <function <lambda> at 0x7f77d5609578>, 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
        """
        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
    
        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
    
>       raise Timeout(result)
E       Timeout: Last evaluated result: False

network-suite-4.2/lib/syncutil.py:103: 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/VQ2JYNU5HWJFDEFDC2DCLIXZDPSH5FDY/

Reply via email to