#8426 Nightly test failure in test_cert.test_cert.TestInstallMasterClient
Closed: duplicate 3 years ago by fcami. Opened 3 years ago by fcami.

testing_master_latest Nightly PR #305 failed in test_cert.
logs

    def wait_for_request(host, request_id, timeout=120):
        for _i in range(0, timeout, 5):
            result = host.run_command(
                "getcert list -i %s | grep status: | awk '{ print $2 }'" %
                request_id
            )

            state = result.stdout_text.strip()
            logger.info("certmonger request is in state %s", state)
            if state in ('CA_REJECTED', 'CA_UNREACHABLE', 'CA_UNCONFIGURED',
                         'NEED_GUIDANCE', 'NEED_CA', 'MONITORING'):
                break
            time.sleep(5)
        else:
>           raise RuntimeError("request timed out")
E           RuntimeError: request timed out
INFO     ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN getcert list -i test-request | grep status: | awk '{ print $2 }'
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd128:transport.py:513 RUN getcert list -i test-request | grep status: | awk '{ print $2 }'
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd128:transport.py:557 SUBMITTING
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd128:transport.py:217 Exit code: 0
INFO     ipatests.pytest_ipa.integration.tasks:tasks.py:2233 certmonger request is in state SUBMITTING
INFO     ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN getcert list -i test-request | grep status: | awk '{ print $2 }'
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd129:transport.py:513 RUN getcert list -i test-request | grep status: | awk '{ print $2 }'
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd129:transport.py:557 SUBMITTING
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd129:transport.py:217 Exit code: 0
INFO     ipatests.pytest_ipa.integration.tasks:tasks.py:2233 certmonger request is in state SUBMITTING
INFO     ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN getcert list -i test-request | grep status: | awk '{ print $2 }'
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:513 RUN getcert list -i test-request | grep status: | awk '{ print $2 }'
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:557 SUBMITTING
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd130:transport.py:217 Exit code: 0
INFO     ipatests.pytest_ipa.integration.tasks:tasks.py:2233 certmonger request is in state SUBMITTING

Metadata Update from @fcami:
- Custom field affects_doc adjusted to on
- Custom field knownissue adjusted to on
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata