The nightly test test_acme.py::TestACME::test_third_party_certs failed in PR #533 (master branch with updates-testing enabled).
test_acme.py::TestACME::test_third_party_certs
Logs and report:
args = (<ipatests.test_integration.test_acme.TestACME object at 0x7ff85c4e2a60>,) master = <ipatests.pytest_ipa.integration.host.Host master.ipa.test (master)> def wrapped(*args): master = args[0].master try: > func(*args) test_integration/test_acme.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_integration/test_acme.py:347: in test_third_party_certs self.create_pkcs12('ca1/server') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'ipatests.test_integration.test_acme.TestACME'> nickname = 'ca1/server', filename = 'server.p12', password = None @classmethod def create_pkcs12(cls, nickname, filename='server.p12', password=None): """Create a cert chain and generate pkcs12 cert""" if password is None: > password = cls.cert_password E AttributeError: type object 'TestACME' has no attribute 'cert_password' test_integration/test_caless.py:331: AttributeError -------------------------------Captured log call-------------------------------- INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-acme-manage', 'enable'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd116:transport.py:513 RUN ['ipa-acme-manage', 'enable'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd116:transport.py:557 The ipa-acme-manage command was successful DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd116:transport.py:217 Exit code: 0 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['certutil', '-d', '/etc/pki/nssdb', '-D', '-n', 'External CA cert'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd117:transport.py:513 RUN ['certutil', '-d', '/etc/pki/nssdb', '-D', '-n', 'External CA cert'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd117:transport.py:557 certutil: could not find certificate named "External CA cert": SEC_ERROR_INVALID_ARGS: security library: invalid arguments. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd117:transport.py:217 Exit code: 255 INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['certutil', '-L', '-d', '/etc/httpd/alias'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd118:transport.py:513 RUN ['certutil', '-L', '-d', '/etc/httpd/alias'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd118:transport.py:557 certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database. DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd118:transport.py:217 Exit code: 255
@rcritten could you have a look at the test failure? Thanks.
A call to super(TestACME, cls).install(mh) was removed in c4a6b0e
I'm not sure how this passed PR-CI but perhaps the temporary test only called one of the test classes.
Metadata Update from @rcritten: - Issue assigned to rcritten
Same failure in [testing_master_pki Nightly PR #535 ; report
https://github.com/freeipa/freeipa/pull/5266
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.