#9167 Nightly test failure in test_graceperiod_not_replicated
Closed: fixed by frenaud. Opened by amore.

The nightly test test_integration/test_pwpolicy.py::TestPWPolicy::test_graceperiod_not_replicated is failing, see for instance PR# 1751 with the following report and logs:

    def test_graceperiod_not_replicated(self):
        """Test that the grace period is reset on password reset"""
        str(self.master.domain.basedn)
        dn = "uid={user},cn=users,cn=accounts,{base_dn}".format(
             user=USER, base_dn=str(self.master.domain.basedn))
>       self.master.run_command(
            ["ipa", "pwpolicy-mod", POLICY, "--gracelimit", "3", ],
        )
---------------------
E           subprocess.CalledProcessError: Command '['ipa', 'pwpolicy-mod', 'test', '--gracelimit', '3']' returned non-zero exit status 1.
pytest_ipa/integration/host.py:202: CalledProcessError
----------------------------- Captured stderr call -----------------------------
ipa: ERROR: stderr: ipa: ERROR: no modifications to be performed

Metadata Update from @amore:
- Issue tagged with: test-failure, tests

The policy-mod fails with:

ipa: ERROR: stderr: ipa: ERROR: no modifications to be performed

Metadata Update from @rcritten:
- Issue assigned to rcritten

https://github.com/freeipa/freeipa/pull/6282

Reproducible in testing_master_latest PR 1752 Report

master:

  • aedb73a90d8744b35de04fc48d7dfa7d37933106 Don't duplicate the LDAP gracelimit set in the previous test

ipa-4-9:

  • 8b2edd5b4e13cb7a8b9b9eec4a0e194b4e6ca71b Don't duplicate the LDAP gracelimit set in the previous test

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

Metadata