#9986 Nightly test failure (updates-testing) in test_integration/test_backup_and_restore.py::TestReplicaInstallAfterRestore
Opened by frenaud. Modified

Issue

The test test_integration/test_backup_and_restore.py::TestReplicaInstallAfterRestore is failing on fedora 44 with the repo updates-testing enabled.

Steps to Reproduce

  1. install master + replica
  2. backup master
  3. disable replica agreement and uninstall master
  4. restore master, reinitialize replica, wait for replication to complete
  5. install a second replica

Actual behavior

The call to reinitialize the replica fails but does not stop the test:

DEBUG    ipatests.pytest_ipa.integration.tasks:tasks.py:1562 Unexpected replication status: Error (19) Replication error acquiring replica: Replica has different database generation ID, remote replica may need to be initialized (RUV error)
DEBUG    ipatests.pytest_ipa.integration.tasks:tasks.py:1553 Replication agreements: 
dn: cn=meTomaster.ufreeipa.test,cn=replica,cn=dc\=ufreeipa\,dc\=test,cn=mapp
 ing tree,cn=config
nsds5replicalastupdatestatus: Error (19) Replication error acquiring replica
 : Replica has different database generation ID, remote replica may need to 
 be initialized (RUV error)
nsds5replicaupdateinprogress: FALSE
dn: cn=caTomaster.ufreeipa.test,cn=replica,cn=o\=ipaca,cn=mapping tree,cn=co
 nfig
nsds5replicalastupdatestatus: Error (0) Replica acquired successfully: Incre
 mental update succeeded
nsds5replicaupdateinprogress: FALSE
DEBUG    ipatests.pytest_ipa.integration.tasks:tasks.py:1562 Unexpected replication status: Error (19) Replication error acquiring replica: Replica has different database generation ID, remote replica may need to be initialized (RUV error)
ERROR    ipatests.pytest_ipa.integration.tasks:tasks.py:1567 Giving up wait for replication to finish

After that, the setup of a 2nd replica also fails.
Logs available in https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-latest-testing-repo/master/2026-05-06_09-50/latest-testing-repo/test_backup_and_restore_TestReplicaInstallAfterRestore/2/report.html?sort=result

freeipa-server-4.14.0.dev202605052351+git2963dcb3c-0.fc44.x86_64


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

Metadata