#8278 Nightly test failure in test_external_ca::TestSelfExternalSelf
Opened 3 months ago by fcami. Modified 3 months ago

ipatests.test_integration.test_external_ca.TestSelfExternalSelf failed in testing_master_previous PR 4543:

In test_integration/test_external_ca.py:265:

[ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport] RUN ['/usr/sbin/ipa-cacert-manage', 'renew', '--external-ca']
[ipatests.pytest_ipa.integration.host.Host.master.cmd51] RUN ['/usr/sbin/ipa-cacert-manage', 'renew', '--external-ca']
[ipatests.pytest_ipa.integration.host.Host.master.cmd51] Resubmitting certmonger request '20200416234051' timed out, please check the request manually
[ipatests.pytest_ipa.integration.host.Host.master.cmd51] Exporting CA certificate signing request, please wait
[ipatests.pytest_ipa.integration.host.Host.master.cmd51] The ipa-cacert-manage command failed.
[ipatests.pytest_ipa.integration.host.Host.master.cmd51] Exit code: 1
ipa: ERROR: stderr: Resubmitting certmonger request '20200416234051' timed out, please check the request manually
The ipa-cacert-manage command failed.

test code:

class TestSelfExternalSelf(IntegrationTest):
    """
    Test self-signed > external CA > self-signed test case.
    """
    def test_install_master(self):
        result = tasks.install_master(self.master)
        assert result.returncode == 0

        # Check the content of the ldap entries for the CA
        remote_cacrt = self.master.get_file_contents(paths.IPA_CA_CRT)
        cacrt = ipa_x509.load_pem_x509_certificate(remote_cacrt)
        verify_caentry(self.master, cacrt)

    def test_switch_to_external_ca(self):

        result = self.master.run_command([paths.IPA_CACERT_MANAGE, 'renew',
                                         '--external-ca'])

The last log message from certmonger is:

Apr 16 23:52:07 master.ipa.test certmonger[20753]: 2020-04-16 23:52:07 [23668] Running enrollment helper "/usr/libexec/certmonger/dogtag-ipa-ca-renew-agent-submit".

Full logs


Login to comment on this ticket.

Metadata