#9801 Nightly failure in test_integration/test_ipa_idrange_fix.py::TestIpaIdrangeFix::test_idrange_no_rid_bases and test_idrange_no_rid_bases_reversed
Closed: fixed by sumenon. Opened by amore.

The nightly test failing
Nightly failure f42+ test_integration/test_ipa_idrange_fix.py::TestIpaIdrangeFix::test_idrange_no_rid_bases and test_idrange_no_rid_bases_reversed

    def test_idrange_no_rid_bases(self):
        """Test ipa-idrange-fix command with IDrange with no RID bases."""
>       self.master.run_command([
            "ipa",
            "idrange-add",
            "idrange_no_rid_bases",
            "--base-id", '10000',
            "--range-size", '20000',
        ])
>           raise subprocess.CalledProcessError(
                result.returncode, argv,
                result.stdout_text, result.stderr_text
            )
E           subprocess.CalledProcessError: Command '['ipa', 'idrange-add', 'idrange_no_rid_bases', '--base-id', '10000', '--range-size', '20000']' returned non-zero exit status 1.
pytest_ipa/integration/host.py:202: CalledProcessError
----------------------------- Captured stderr call -----------------------------
ipa: ERROR: stderr: ipa: ERROR: Could not get First RID of the corresponding RID range interactively

https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-latest/ipa-4-12/2025-05-26_19-22/latest/test_idrange_fix/6/report.html?sort=result

https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-latest-selinux/master/2025-05-26_07-21/latest-selinux/test_idrange_fix/1/report.html?sort=result


This is most likely degradation after https://github.com/freeipa/freeipa/commit/247adf43133222745c78d53624ca921e43e42f7b, we should fix the tests.

Metadata Update from @frenaud:
- Issue tagged with: tests

Metadata Update from @frenaud:
- Issue assigned to frenaud

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

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-30825 https://issues.redhat.com/browse/RHEL-79072 https://issues.redhat.com/browse/RHEL-93887

master:

  • 3e15108f456768d5ca4cf2ffbbfe090c57d0f988 ipatests: fix invalid range creation in test_ipa_idrange_fix.py

ipa-4-12:

  • 0155718308fa58f43f2ec8df240c1df1c929195e ipatests: fix invalid range creation in test_ipa_idrange_fix.py

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

Metadata