#7265 test_vault: increase WAIT_AFTER_ARCHIVE
Closed: fixed Opened by mreznik.

Fix / workaround for failing "ipa vault-retrieve":

        if raiseonerr and self.returncode:
            self.log.error('Exit code: %s', self.returncode)
>           raise subprocess.CalledProcessError(self.returncode, self.argv)
E           subprocess.CalledProcessError: Command '['ipa', 'vault-retrieve', 'ci_test_vault_master', '--password', 'password']' returned non-zero exit status 2.

Summary from PR communication:

This was increased to 90 seconds two years ago (and reverted) to address an issue with dogtag asking too early after archive operation. It said no vault found, even when vault archive operation returned success.

It was agreed that 15 sec increase (from "30" to "45") should be maximum and if the test is again unstable we should properly investigate why the replication is taking so long in this case.


Metadata Update from @mreznik:
- Issue assigned to mreznik

Metadata Update from @mreznik:
- Issue set to the milestone: FreeIPA 4.5.5
- Issue tagged with: tests

master:

  • d3a2a9be248a0b63f02a34ae889e6ec6dc75e2b0 test_vault: increase WAIT_AFTER_ARCHIVE

ipa-4-6:

  • 2b8f6121090cda022db160b40f618699ef604ae5 test_vault: increase WAIT_AFTER_ARCHIVE

ipa-4-5:

  • f203d87a8cb1fbb90df9ce29ea44721a9493210e test_vault: increase WAIT_AFTER_ARCHIVE

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

Metadata