Project: 
https://jenkins.ovirt.org/job/ovirt-system-tests_compat-4.3-suite-master/ 
Build: 
https://jenkins.ovirt.org/job/ovirt-system-tests_compat-4.3-suite-master/477/
Build Number: 477
Build Status:  Still Failing
Triggered By: Started by timer

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #468
[Marcin Sobczyk] ost-images: Drop rebasing of qcows

[Ehud Yonasi] mock: fix yum repos injection.

[Ehud Yonasi] onboard ost-images to stdci.


Changes for Build #469
[Marcin Sobczyk] ost-images: Drop rebasing of qcows


Changes for Build #470
[Marcin Sobczyk] ost-images: Drop rebasing of qcows


Changes for Build #471
[Marcin Sobczyk] ost-images: Drop rebasing of qcows


Changes for Build #472
[Marcin Sobczyk] ost-images: Drop rebasing of qcows

[Ehud Yonasi] stdci_runner: update templates node to ost-images.


Changes for Build #473
[Michal Skrivanek] test live storage migration again

[Ehud Yonasi] poll: add ost-images to nightly.


Changes for Build #474
[Artem Hrechanychenko] Move ansible installation to packages


Changes for Build #475
[Galit] Add missing repo which has collectd-write_syslog

[Sandro Bonazzola] Revert "ovirt-release: run only on fc29 nodes"


Changes for Build #476
[Michal Skrivanek] make GLANCE failures fatal


Changes for Build #477
[Michal Skrivanek] use // in glance URL




-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:  
basic-suite-master.test-scenarios.002_bootstrap_pytest.test_download_engine_certs

Error Message:
AssertionError: False != True after 180 seconds

Stack Trace:
prefix = <ovirtlago.prefix.OvirtPrefix object at 0x7f7a951f85d0>

    @order_by(_TEST_LIST)
    def test_download_engine_certs(prefix):
        engine_ip = prefix.virt_env.engine_vm().ip()
        engine_base_url = 
'/ovirt-engine/services/pki-resource?resource=ca-certificate&format='
        engine_ca_url = engine_base_url + 'X509-PEM-CA'
        engine_ssh_url = engine_base_url + 'OPENSSH-PUBKEY'
    
        # We use an unverified connection, as L0 host cannot resolve 
'...engine.lago.local'
        conn = http_client.HTTPSConnection(engine_ip, 
context=ssl._create_unverified_context())
    
        def _download_file(url, path=None, compare_string=None):
            conn.request("GET", url)
            resp = conn.getresponse()
            if resp.status != 200:
                return False
            data = resp.read()
            if path:
                with open(path, 'wb') as outfile:
                    outfile.write(data)
            if compare_string:
                assert data == compare_string
            return True
    
        testlib.assert_true_within_short(
            lambda: _download_file(engine_ca_url, 'engine-ca.pem')
        )
        # TODO: verify certificate. Either use it, or run:
        # 'openssl x509 -in engine-ca.pem -text -noout'
    
        testlib.assert_true_within_short(
            lambda: _download_file(engine_ssh_url, 'engine-rsa.pub')
        )
        # TODO: verify public key. Either use it, or run:
        # 'ssh-keygen -l -f engine-rsa.pub'
    
        healthy = b"DB Up!Welcome to Health Status!"
        testlib.assert_true_within_short(
>           lambda: _download_file('/ovirt-engine/services/health', path=None, 
> compare_string=healthy)
        )

../basic-suite-master/test-scenarios/002_bootstrap_pytest.py:1381: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:282: in 
assert_true_within_short
    assert_equals_within_short(func, True, allowed_exceptions)
/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:266: in 
assert_equals_within_short
    func, value, SHORT_TIMEOUT, allowed_exceptions=allowed_exceptions
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <function <lambda> at 0x7f7a950330c8>, value = True, timeout = 180
allowed_exceptions = [], initial_wait = 0

    def assert_equals_within(
        func, value, timeout, allowed_exceptions=None, initial_wait=10
    ):
        allowed_exceptions = allowed_exceptions or []
        with utils.EggTimer(timeout) as timer:
            while not timer.elapsed():
                try:
                    res = func()
                    if res == value:
                        return
                except Exception as exc:
                    if _instance_of_any(exc, allowed_exceptions):
                        time.sleep(3)
                        continue
    
                    LOGGER.exception("Unhandled exception in %s", func)
                    raise
    
                if initial_wait == 0:
                    time.sleep(3)
                else:
                    time.sleep(initial_wait)
                    initial_wait = 0
        try:
            raise AssertionError(
>               '%s != %s after %s seconds' % (res, value, timeout)
            )
E           AssertionError: False != True after 180 seconds

/usr/lib/python2.7/site-packages/ovirtlago/testlib.py:252: AssertionError
_______________________________________________
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-le...@ovirt.org
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/infra@ovirt.org/message/EY4F4RGSNY27P4VY4E23G7GICVM7HV3I/

Reply via email to