#8253 Nightly test failure in test_integration/test_caless.py::TestServerReplicaCALessToCAFull::()::test_replica_ipa_ca_install
Closed: duplicate 4 years ago by frenaud. Opened 4 years ago by fcami.

The nightly test test_integration/test_caless.py::TestServerReplicaCALessToCAFull::()::test_replica_ipa_ca_install failed at the teardown stage - testing_ipa-4.6

PR
logs

Quote:

E           subprocess.CalledProcessError: Command '['ipa-server-install', '--uninstall', '-U', '--ignore-topology-disconnect', '--ignore-last-of-role']' returned non-zero exit status 1.

pytest_ipa/integration/host.py:84: CalledProcessError
--------------------------- Captured stderr teardown ---------------------------

[ipatests.pytest_ipa.integration.host.Host.master.cmd56] ipapython.admintool: ERROR    Unable to read /etc/httpd/conf.d/ipa-pki-proxy.conf
[ipatests.pytest_ipa.integration.host.Host.master.cmd56] ipapython.admintool: ERROR    The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information
[ipatests.pytest_ipa.integration.host.Host.master.cmd56] Exit code: 1
ipa: ERROR: stderr: ipapython.admintool: ERROR    Unable to read /etc/httpd/conf.d/ipa-pki-proxy.conf
ipapython.admintool: ERROR    The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information

The test_integration/test_caless.py::TestServerReplicaCALessToCAFull::()::test_server_ipa_ca_install test itself failed:

[ipatests.pytest_ipa.integration.host.Host.master.cmd42] Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
[ipatests.pytest_ipa.integration.host.Host.master.cmd42] request timed out
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [1/30]: configuring certificate server instance
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [2/30]: secure AJP connector
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [3/30]: reindex attributes
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [4/30]: exporting Dogtag certificate store pin
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [5/30]: stopping certificate server instance to update CS.cfg
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [6/30]: backing up CS.cfg
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [7/30]: disabling nonces
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [8/30]: set up CRL publishing
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [9/30]: enable PKIX certificate path discovery and validation
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [10/30]: starting certificate server instance
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [11/30]: configure certmonger for renewals
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [12/30]: requesting RA certificate from CA
[ipatests.pytest_ipa.integration.host.Host.master.cmd42]   [error] RuntimeError: request timed out
[ipatests.pytest_ipa.integration.host.Host.master.cmd42] 

from ipareplica-ca-install log:

2020-03-29T15:41:48Z DEBUG   [12/30]: requesting RA certificate from CA
(...)
2020-03-29T15:41:51Z DEBUG certmonger request is in state dbus.String('GENERATING_KEY_PAIR', variant_level=1)
(...)
2020-03-29T15:46:46Z DEBUG certmonger request is in state dbus.String('NEED_KEYINFO_READ_PIN', variant_level=1)
2020-03-29T15:46:52Z DEBUG Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ipaserver/install/service.py", line 567, in start_creation
    run_step(full_msg, method)
  File "/usr/lib/python3.6/site-packages/ipaserver/install/service.py", line 557, in run_step
    method()
  File "/usr/lib/python3.6/site-packages/ipaserver/install/cainstance.py", line 943, in __request_ra_certificate
    resubmit_timeout=api.env.replication_wait_timeout
  File "/usr/lib/python3.6/site-packages/ipalib/install/certmonger.py", line 332, in request_and_wait_for_cert
    state = wait_for_request(req_id, api.env.replication_wait_timeout)
  File "/usr/lib/python3.6/site-packages/ipalib/install/certmonger.py", line 709, in wait_for_request
    raise RuntimeError("request timed out")
RuntimeError: request timed out

Already reported as #8096, hence closing as duplicate.

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

4 years ago

Login to comment on this ticket.

Metadata