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

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #376
[Milan Zamazal] basic: Disable smartcard temporarily




-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:  
basic-suite-master.test-scenarios.099_aaa-ldap_pytest.test_add_ldap_provider

Error Message:
ShellError: Command failed with rc=22. Stdout:  Stderr: curl: (22) The 
requested URL returned error: 503 Service Unavailable

Stack Trace:
prefix = <ovirtlago.prefix.OvirtPrefix object at 0x7fec8f5de710>
engine_restart = <function restart at 0x7fec8f4dede8>

    def test_add_ldap_provider(prefix, engine_restart):
        engine = prefix.virt_env.engine_vm()
        machine_389ds = prefix.virt_env.get_vm(HOSTNAME_389DS)
    
        answer_file_src = os.path.join(
            os.environ.get('SUITE'),
            'aaa-ldap-answer-file.conf'
        )
    
        with open(answer_file_src, 'r') as f:
            content = f.read()
            content = content.replace('@389DS_IP@', machine_389ds.ip())
    
        with tempfile.NamedTemporaryFile(mode='w', delete=False) as temp:
            temp.write(content)
        engine.copy_to(temp.name, '/root/aaa-ldap-answer-file.conf')
        os.unlink(temp.name)
    
        result = machine_389ds.ssh(
            [
                'systemctl',
                'start',
                'dirsrv@lago',
            ],
        )
        assert result.code == 0, \
            'Failed to start LDAP server. Exit code %s' % result.code
    
        result = engine.ssh(
            [
                'ovirt-engine-extension-aaa-ldap-setup',
                '--config-append=/root/aaa-ldap-answer-file.conf',
                '--log=/var/log/ovirt-engine-extension-aaa-ldap-setup.log',
            ],
        )
        assert result.code == 0, \
            'aaa-ldap-setup failed. Exit code is %s' % result.code
    
>       engine_restart()

../basic-suite-master/test-scenarios/099_aaa-ldap_pytest.py:78: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../ost_utils/ost_utils/pytest/fixtures/engine.py:165: in restart
    engine_download(health_url)
../ost_utils/ost_utils/pytest/fixtures/engine.py:140: in download
    return shell(args, bytes_output=True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ['curl', '-fsS', '-m', '10', '--resolve', 'engine:80:192.168.201.4', ...]
bytes_output = True, kwargs = {}
process = <subprocess.Popen object at 0x7fec91533350>, out = ''
err = 'curl: (22) The requested URL returned error: 503 Service Unavailable\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           ShellError: Command failed with rc=22. Stdout:
E           
E           Stderr:
E           curl: (22) The requested URL returned error: 503 Service Unavailable

../ost_utils/ost_utils/shell.py:51: 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:

Reply via email to