#8975 Nightly test failure in test_integration/test_commands.py/TestIPACommand/test_reset_password_unlock
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by mpolovka.

The nightly test testIPACommand/test_reset_password_unlock is faling in [testing_ipa-4.9_latest] Nightly PR #1134 with an error;

E           subprocess.CalledProcessError: Command '['kinit', 'tuser']' returned non-zero exit status 1.

pytest_ipa/integration/host.py:202: CalledProcessError
 ------------------------------Captured stderr call------------------------------ 
ipa: ERROR: stderr: kinit: Client's credentials have been revoked while getting initial credentials

Full report


The test needs to be fixed as the logic is twisted. It's currently doing
- reset password on replica[0]
- wait for replication on master
- kinit on master

The call to wait_for_replication should be done on the replica[0] according to the method doc:

    Note that this waits for updates originating on this host, not those
    coming from other hosts.

Metadata Update from @frenaud:
- Issue assigned to frenaud

2 years ago

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

2 years ago

master:

  • 0342e18 ipatests: fix logic waiting for repl in TestIPACommand

ipa-4-9:

  • 4f569c6 ipatests: fix logic waiting for repl in TestIPACommand

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

2 years ago

Login to comment on this ticket.

Metadata