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_night...
Build Number: 501
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #501
[Radoslaw Szwajkowski] UI test: Add PF4 selectors for Manage vGPU dialog
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: basic-suite-master.test-scenarios.099_aaa-ldap.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:
ansible_engine = <ost_utils.ansible._AnsibleModuleMapper object at 0x7f063382c1d0>
ansible_machine_389ds = <ost_utils.ansible._AnsibleModuleMapper object at
0x7f063382c1d0>
machine_389ds_ip = '192.168.201.4'
engine_restart = <function restart at 0x7f063380dd70>
def test_add_ldap_provider(ansible_engine, ansible_machine_389ds,
machine_389ds_ip, engine_restart):
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') as temp:
temp.write(content)
temp.flush()
os.fsync(temp.fileno())
ansible_engine.copy(src=temp.name,
dest='/root/aaa-ldap-answer-file.conf')
ansible_machine_389ds.systemd(name='dirsrv@lago',
state='started')
ansible_engine.shell(
'ovirt-engine-extension-aaa-ldap-setup '
'--config-append=/root/aaa-ldap-answer-file.conf '
'--log=/var/log/ovirt-engine-extension-aaa-ldap-setup.log'
)
engine_restart()
../basic-suite-master/test-scenarios/099_aaa-ldap.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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 0x7f06401dbf50>, 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