#7339 Tests in test_backup_and_restore.* are failing
Closed: fixed Opened by fbarreto.

Issue

The tests below are failing in PR CI and in Jenkins:
test_backup_and_restore.TestBackupAndRestore.test_full_backup_and_restore
test_backup_and_restore.TestBackupAndRestore.test_full_backup_and_restore_with_removed_users
test_backup_and_restore.TestBackupAndRestore.test_full_backup_and_restore_with_selinux_booleans_off
test_backup_and_restore.TestBackupAndRestoreWithDNS.test_full_backup_and_restore_with_DNS_zone
test_backup_and_restore.TestBackupAndRestoreWithKRA.test_full_backup_restore_with_vault
test_backup_and_restore.TestBackupReinstallRestoreWithDNS.test_full_backup_reinstall_restore_with_DNS_zone
test_backup_and_restore.TestBackupReinstallRestoreWithDNSSEC.test_full_backup_reinstall_restore_with_DNSSEC_zone
test_backup_and_restore.TestBackupReinstallRestoreWithKRA.test_full_backup_reinstall_restore_with_vault

Steps to Reproduce

  1. IPATEST_YAML_CONFIG=/vagrant/ipa-test-config.yaml ipa-run-tests-2 test_integration/test_backup_and_restore.py

Actual behavior

It fails because it cannot find right backup dir.

Expected behavior

The test should be green

Version/Release/Distribution

Git master (last commit: 9400a4058d70958360167acc0b27f7554a45f74f)


Metadata Update from @fbarreto:
- Issue tagged with: test-failure

Metadata Update from @fbarreto:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1424

master:

  • a70dcb1e1846d6c46d4bdadc048e61911ce57311 test_backup_and_restore.py AssertionError fix

ipa-4-6:

  • 70da37a609df18acb79b697f887f90bcae1ba7ba test_backup_and_restore.py AssertionError fix

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

master:

  • cd660d192231674d8e7d7bd85a8eec68eea29bc7 Fixing test_backup_and_restore assert to do not rely on the order

ipa-4-6:

  • 262f9806d9d6042d108e873bc795abc1607e7949 Fixing test_backup_and_restore assert to do not rely on the order
Metadata