When running whole CA-less test suite (ipatests/test_integration/test_caless.py) some test fails with "no such entry" thrown from ipaserver.install.service.Service.add_cert_to_service:313 The error does not occur when the test is run separately and AFAIK multiple tests may fail with this reason.
I suspect there is some issue in teardown of test but it may be as well issue in ipa-server-install --uninstall.
test_integration/test_caless.py::TestReplicaInstall::test_no_http_password FAILED
>>>>>>>>>>>>>>>>>>>> traceback >>>>>>>>>>>>>>>>>>>> args = (<ipatests.test_integration.test_caless.TestReplicaInstall object at 0x7f633061c550>,), replica = <ipatests.test_integration.host.Host vm-018.example.com (replica)> master = <ipatests.test_integration.host.Host vm-058-180.example.com (master)> def wrapped(*args): try: > func(*args) test_integration/test_caless.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_integration.test_caless.TestReplicaInstall object at 0x7f633061c550> @replica_install_teardown def test_no_http_password(self): "IPA replica install with empty HTTP password" self.export_pkcs12('ca1/replica', filename='http.p12', password='') self.export_pkcs12('ca1/replica', filename='dirsrv.p12') result = self.prepare_replica(http_pkcs12='http.p12', dirsrv_pkcs12='dirsrv.p12', http_pin='') > assert result.returncode == 0 E assert 1 == 0 E + where 1 = <pytest_multihost.transport.SSHCommand object at 0x7f63307e2dd0>.returncode test_integration/test_caless.py:1097: AssertionError >>>>>>>>>>>>>>>>>>>> entering PDB >>>>>>>>>>>>>>>>>>>> > /usr/lib/python2.7/site-packages/ipatests/test_integration/test_caless.py(1097)test_no_http_password() -> assert result.returncode == 0 (Pdb) result.stderr_text 'ipa.ipapython.install.cli.install_tool(Replica): ERROR no such entry\nipa.ipapython.install.cli.install_tool(Replica): ERROR The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information\n'
Metadata Update from @dkupka: - Issue assigned to someone - Issue set to the milestone: FreeIPA 4.4.4
Metadata Update from @stlaz: - Custom field affects_doc reset - Custom field component reset - Custom field rhbz reset - Custom field test_coverage reset - Custom field tester reset - Custom field type reset - Issue close_status updated to: None - Issue set to the milestone: None (was: FreeIPA 4.4.4)
This ticket got screwed when I tried to add nonexistent tag, could someone please try to fix it to what it was? Thank you.
Metadata Update from @stlaz: - Custom field affects_doc reset
Metadata Update from @dkupka: - Custom field affects_doc reset - Custom field tester adjusted to wanted - Issue set to the milestone: FreeIPA 4.4.4
Metadata Update from @mbasti: - Issue set to the milestone: FreeIPA 4.4.5 (was: FreeIPA 4.4.4)
We haven't been seeing this failure in recently night tests, assuming it was fixed as a side-effect of another change.
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.