#9089 Multiple nightly test failures in test_backup_and_restore_TestBackupAndRestore related test suites
Closed: duplicate 2 years ago by frenaud. Opened 2 years ago by mpolovka.

The test suites
- test_backup_and_restore_TestBackupAndRestore
- test_backup_and_restore_TestBackupAndRestoreTrust
- test_backup_and_restore_TestBackupAndRestoreWithDNS
- test_backup_and_restore_TestBackupAndRestoreWithDNSSEC
- test_backup_and_restore_TestBackupAndRestoreWithKRA
- test_backup_and_restore_TestBackupAndRestoreWithReplica
- test_backup_and_restore_TestReplicaInstallAfterRestore
- test_backup_and_restore_TestUserRootFilesOwnershipPermission
- test_replica_promotion_TestHiddenReplicaPromotion

are failing in [testing_ipa-4.9_latest_selinux] Nightly PR #1439 with an error

E           subprocess.CalledProcessError: Command '['ipa-restore', '/var/lib/ipa/backup/ipa-full-2022-01-14-16-35-45']' returned non-zero exit status 1.
....

----------------------------- Captured stderr call -----------------------------
ipa: ERROR: stderr: Preparing restore from /var/lib/ipa/backup/ipa-full-2022-01-14-16-35-45 on master.ipa.test
Performing FULL restore from FULL backup
Temporary setting umask to 022
Each master will individually need to be re-initialized or
re-created from this one. The replication agreements on
masters running IPA 3.1 or earlier will need to be manually
re-enabled. See the man page for details.
Disabling all replication.
Unable to get connection, skipping disabling agreements: directory server instance is not running/configured
Stopping IPA services
Restoring files
Systemwide CA database updated.
Restoring from userRoot in IPA-TEST
Restoring from ipaca in IPA-TEST
Restarting GSS-proxy
Starting IPA services
Restoring umask to 18
CalledProcessError(Command ['/usr/sbin/ipactl', 'start'] returned non-zero exit status 1: 'Existing service file detected!\nAssuming stale, cleaning and proceeding\nFailed to start Directory Service: CalledProcessError(Command [\'/bin/systemctl\', \'start\', \'dirsrv@IPA-TEST.service\'] returned non-zero exit status 1: \'Job for dirsrv@IPA-TEST.service failed because the control process exited with error code.\\nSee "systemctl status dirsrv@IPA-TEST.service" and "journalctl -xeu dirsrv@IPA-TEST.service" for details.\\n\')\n')
The ipa-restore command failed. See /var/log/iparestore.log for more information

One of the reports


This issue has already been reported at https://pagure.io/freeipa/issue/9051, closing as duplicate.

Metadata Update from @frenaud:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata