[oVirt Jenkins] ovirt-system-tests_basic-suite-master_nightly -
Build # 1063 - Failure!
by jenkins@jenkins.phx.ovirt.org
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: 1063
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #1063
[Andrej Cernek] six: Remove last remains of six
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: basic-suite-master.test-scenarios.test_002_bootstrap.test_verify_engine_backup
Error Message:
ost_utils.ansible.module_mappers.AnsibleExecutionError: Error running ansible: rc=2, stdout=/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.4) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
lago-basic-suite-master-engine | FAILED | rc=1 >>
Start of engine-backup with mode 'restore'
scope: all
archive file: /var/log/ost-engine-backup/backup.tgz
log file: /var/log/ost-engine-backup/verify-restore-log.txt
Preparing to restore:
- Unpacking file '/var/log/ost-engine-backup/backup.tgz'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'FATAL: Provisioning database 'engine' failed, please check the log for detailsnon-zero return code
Stack Trace:
ansible_engine = <ost_utils.ansible.module_mappers.ModuleMapper object at 0x7f9e26afe940>
engine_api = <ovirtsdk4.Connection object at 0x7f9e26de1a58>
ost_dc_name = 'test-dc', is_node_suite = False
@order_by(_TEST_LIST)
def test_verify_engine_backup(ansible_engine, engine_api, ost_dc_name, is_node_suite):
if ost_dc_name != engine_object_names.TEST_DC_NAME or is_node_suite:
# TODO: If/when we decide to test this in HE, we should:
# 1. Make sure things are generally stable (this applies also to non-HE)
# 2. Enter global maintenance
# 3. Do the below (backup, cleanup, restore, setup)
# 4. Exit global maintenance
pytest.skip(' [2020-12-14] Do not test engine-backup on hosted-engine suites')
ansible_engine.file(
path='/var/log/ost-engine-backup',
state='directory',
mode='0755'
)
engine = engine_api.system_service()
with test_utils.TestEvent(engine, [9024, 9025]): #backup started event, completed
ansible_engine.shell(
'engine-backup '
'--mode=backup '
'--file=/var/log/ost-engine-backup/backup.tgz '
'--log=/var/log/ost-engine-backup/log.txt'
)
ansible_engine.shell(
'engine-backup '
'--mode=verify '
'--file=/var/log/ost-engine-backup/backup.tgz '
'--log=/var/log/ost-engine-backup/verify-log.txt'
)
ansible_engine.shell(
'engine-cleanup '
'--otopi-environment="OVESETUP_CORE/remove=bool:True OVESETUP_CORE/engineStop=bool:True"'
)
ansible_engine.shell(
> 'engine-backup '
'--mode=restore '
'--provision-all-databases '
'--file=/var/log/ost-engine-backup/backup.tgz '
'--log=/var/log/ost-engine-backup/verify-restore-log.txt'
)
basic-suite-master/test-scenarios/test_002_bootstrap.py:1297:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ost_utils/ost_utils/ansible/module_mappers.py:139: in __call__
return _run_ansible_runner(self.config_builder)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config_builder = <ost_utils.ansible.config_builder.ConfigBuilder object at 0x7f9e26a853c8>
def _run_ansible_runner(config_builder):
runner = ansible_runner.Runner(config=config_builder.prepare())
LOGGER.debug(f'_run_ansible_runner: before run: {runner}')
runner.run()
LOGGER.debug(f'_run_ansible_runner: after run: {runner}')
if runner.status != 'successful':
raise AnsibleExecutionError(
rc=runner.rc,
> stdout=runner.stdout.read()
)
E ost_utils.ansible.module_mappers.AnsibleExecutionError: Error running ansible: rc=2, stdout=/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.4) or chardet (3.0.4) doesn't match a supported version!
E RequestsDependencyWarning)
E lago-basic-suite-master-engine | FAILED | rc=1 >>
E Start of engine-backup with mode 'restore'
E scope: all
E archive file: /var/log/ost-engine-backup/backup.tgz
E log file: /var/log/ost-engine-backup/verify-restore-log.txt
E Preparing to restore:
E - Unpacking file '/var/log/ost-engine-backup/backup.tgz'
E Restoring:
E - Files
E Provisioning PostgreSQL users/databases:
E - user 'engine', database 'engine'FATAL: Provisioning database 'engine' failed, please check the log for detailsnon-zero return code
ost_utils/ost_utils/ansible/module_mappers.py:87: AnsibleExecutionError