#7265 test_vault: increase WAIT_AFTER_ARCHIVE
Closed: fixed 7 years ago Opened 7 years ago 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

7 years ago

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

7 years ago

master:

  • d3a2a9b test_vault: increase WAIT_AFTER_ARCHIVE

ipa-4-6:

  • 2b8f612 test_vault: increase WAIT_AFTER_ARCHIVE

ipa-4-5:

  • f203d87 test_vault: increase WAIT_AFTER_ARCHIVE

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

7 years ago

Log in to comment on this ticket.

Metadata