#9163 [Tracker] Nightly test failure in testing_master_pki: ipa-cert-fix failed with "expected str instance, int found"
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by amore.

The nightly test test_integration/test_ipa_cert_fix.py::TestIpaCertFix::test_renew_expired_cert_on_master,
test_integration/test_ipa_cert_fix.py::TestCertFixKRA::test_renew_expired_cert_with_kra,
test_integration/test_ipa_cert_fix.py::TestCertFixReplica::test_renew_expired_cert_replica
is failing, see for instance PR#1732 with the following report and logs:

Version : dogtag-pki-server-11.3.0-0.1.alpha1.20220519112054UTC.13e60878.fc35.noarch

        # Now the real test, call ipa-cert-fix and ensure it doesn't
        # complain about missing sslserver.crt
        result = self.master.run_command(['ipa-cert-fix', '-v'],
                                         stdin_text='yes\n',
                                         raiseonerr=False)
        msg = ("No such file or directory: "
               "'/etc/pki/pki-tomcat/certs/sslserver.crt'")
        assert msg not in result.stderr_text

        # Because of BZ 1897120, pki-cert-fix fails on pki-core 10.10.0
        # https://bugzilla.redhat.com/show_bug.cgi?id=1897120
        if (tasks.get_pki_version(self.master)
           != tasks.parse_version('10.10.0')):
>           assert result.returncode == 0
E           assert 1 == 0
E             +1
E             -0

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

2 years ago
INFO     ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:436 GET /usr/share/pki/VERSION
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd60:transport.py:513 RUN ['cat', '/usr/share/pki/VERSION']
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd60:transport.py:217 Exit code: 0

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

2 years ago

https://github.com/dogtagpki/pki/issues/4012 closed as resolved, fix in dogtagpki/pki master branch and v11.2

@ckelley thanks for the update. Our CI will trigger the tests over the week-end, I'll check the results next week and close this ticket if everything is green.

CI run was green, see PR#1799 with test_ipa_cert_fix.py Report.

Closing as fixed.

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