#9223 [Tracker] Nightly failure (testing_master_pki) in test_installation.py::TestInstallMaster::test_pki_certs
Closed: fixed by frenaud. Opened by amore.

The nightly test test_installation.py::TestInstallMaster::test_pki_certs is failing in testing_master_pki, see PR #1953 with the following report

        result = run_certutil(host, key_args, reqdir)
>       assert 'orphan' not in result.stdout_text
E       assert 'orphan' not in 'certutil: C...rt-pki-kra\n'
E         'orphan' is contained here:
E           certutil: Checking token "NSS Certificate DB" in slot "NSS User Private Key and Certificate Services"
E           < 0> rsa      7b747cc04e9479d74a82913e428a2baf1206f4e1   (orphan)
E         ?                                                           ++++++
E           < 1> rsa      d6f99dfb724e1cf97e9c86a2f67fcc52b0a064d2   NSS Certificate DB:caSigningCert cert-pki-ca
E           < 2> rsa      dbcda39b08e78efae3551bc26a6a54689c5fd245   NSS Certificate DB:ocspSigningCert cert-pki-ca
E           < 3> rsa      88f8fccb5f5b876d1359dfb6a4cbef1099360965   NSS Certificate DB:Server-Cert cert-pki-ca...
E         
E         ...Full output truncated (6 lines hidden), use '-vv' to show

See installed package here


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

Companion issue opened against pki: https://github.com/dogtagpki/pki/issues/4103

The test is failing because IPA server installation creates an unexpected orphan key in /etc/pki/pki-tomcat/ca.
The orphan key triggers failure of the following tests:
- test_installation.py::TestInstallMaster::test_pki_certs
- test_replica_promotion.py::TestSubCAkeyReplication

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

Reproduced in pki-fedora test_installation_TestInstallMaster report
TestSubCAkeyReplication::test_subca_master

Fixed on pki side, issue can be closed

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

Metadata