#9723 Nightly test failure after pkg uninstall/install
Closed: fixed 5 months ago by frenaud. Opened 5 months ago by frenaud.

Some of the nightly tests uninstall ipa-server-dns and then reinstall the package (for instance in order to test that backup-restore complains if the package is missing but required from the backup content).
The reinstallation sometimes reinstalls a different version and ipa-restore fails.

An example can be seen in our IdM-CI nightly tests with the ipa-4-11 branch (for instance in https://$ARTIFACT_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-latest/ipa-4-11/2025-01-01_19-59/latest/test_backup_and_restore_TestBackupReinstallRestoreWithDNS/2/report.html?sort=result). The tests are executed on fedora 39 with freeipa-server-dns 4.11.3.dev.$DATE but the reinstallation updates everything to 4.12.2-1 as it's the most recent version on f39.

Impacted tests:
ipa-4-11 branch
- test_integration/test_backup_and_restore.py::TestBackupAndRestoreTrust::test_restore_trust_pkg_before_restore
- test_integration/test_backup_and_restore.py::TestBackupAndRestoreWithDNS::test_full_backup_and_restore_with_DNS_zone
- test_integration/test_backup_and_restore.py::TestBackupReinstallRestoreWithDNS::test_full_backup_reinstall_restore_with_DNS_zone


Metadata Update from @frenaud:
- Issue assigned to frenaud

5 months ago

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

5 months ago

master:

  • 6e26b06 ipatests: force the version for uninstall/reinstall

ipa-4-11:

  • 4a95ce9 ipatests: force the version for uninstall/reinstall

ipa-4-12:

  • 175bd7b ipatests: force the version for uninstall/reinstall

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

5 months ago

Log in to comment on this ticket.

Metadata