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/899/
Build Number: 899
Build Status:  Still Failing
Triggered By: Started by timer

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #894
[Andrej Cernek] ost_utils: Remove explicit object inheritance


Changes for Build #895
[Andrej Cernek] ost_utils: Remove explicit object inheritance


Changes for Build #896
[Andrej Cernek] ost_utils: Remove explicit object inheritance


Changes for Build #897
[Andrej Cernek] ost_utils: Remove explicit object inheritance


Changes for Build #898
[Andrej Cernek] ost_utils: Remove explicit object inheritance


Changes for Build #899
[Andrej Cernek] ost_utils: Remove explicit object inheritance




-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:  
basic-suite-master.test-scenarios.test_002_bootstrap.test_verify_engine_certs[CA
 certificate]

Error Message:
ost_utils.shell.ShellError: Command failed with rc=1. Stdout:  Stderr: unable 
to load certificate 140233641838400:error:0909006C:PEM routines:get_name:no 
start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE

Stack Trace:
key_format = 'X509-PEM-CA'
verification_fn = <function <lambda> at 0x7fb00499ad90>, engine_fqdn = 'engine'
engine_download = <function engine_download.<locals>.download at 0x7fb002fc5ea0>

    @pytest.mark.parametrize("key_format, verification_fn", [
        pytest.param(
            'X509-PEM-CA',
            lambda path: shell.shell(["openssl", "x509", "-in", path, "-text", 
"-noout"]),
            id="CA certificate"
        ),
        pytest.param(
            'OPENSSH-PUBKEY',
            lambda path: shell.shell(["ssh-keygen", "-l", "-f", path]),
            id="ssh pubkey"
        ),
    ])
    @order_by(_TEST_LIST)
    def test_verify_engine_certs(key_format, verification_fn, engine_fqdn,
                                 engine_download):
        url = 
'http://{}/ovirt-engine/services/pki-resource?resource=ca-certificate&format={}'
    
        with http_proxy_disabled(), tempfile.NamedTemporaryFile() as tmp:
            engine_download(url.format(engine_fqdn, key_format), tmp.name)
            try:
>               verification_fn(tmp.name)

../basic-suite-master/test-scenarios/test_002_bootstrap.py:292: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../basic-suite-master/test-scenarios/test_002_bootstrap.py:275: in <lambda>
    lambda path: shell.shell(["openssl", "x509", "-in", path, "-text", 
"-noout"]),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ['openssl', 'x509', '-in', '/tmp/tmp89_0nayj', '-text', '-noout']
bytes_output = False, kwargs = {}
process = <subprocess.Popen object at 0x7fb002f047f0>, out = ''
err = 'unable to load certificate\n140233641838400:error:0909006C:PEM 
routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED 
CERTIFICATE\n'

    def shell(args, bytes_output=False, **kwargs):
        process = subprocess.Popen(args,
                                   stdout=subprocess.PIPE,
                                   stderr=subprocess.PIPE,
                                   **kwargs)
        out, err = process.communicate()
    
        if not bytes_output:
            out = out.decode("utf-8")
            err = err.decode("utf-8")
    
        if process.returncode:
>           raise ShellError(process.returncode, out, err)
E           ost_utils.shell.ShellError: Command failed with rc=1. Stdout:
E           
E           Stderr:
E           unable to load certificate
E           140233641838400:error:0909006C:PEM routines:get_name:no start 
line:crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE

../ost_utils/ost_utils/shell.py:49: ShellError
_______________________________________________
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/MTZRUVUTHZ7U7LEYIY23PNS75554OXBZ/

Reply via email to