Some tests that imply raise of domain level rely on tasks.domainlevel method. The later runs 'ipa domainlevel-get' and returns the actual domain level. However this does not work in case there is no current kerberos ticket for admin. This results in the following records in test logs:
[ipa.ipatests.test_integration.host.Host.vm-058-146.ParamikoTransport] RUN ['ipa', 'domainlevel-get'] [ipa.ipatests.test_integration.host.Host.vm-058-146.cmd10] RUN ['ipa', 'domainlevel-get'] [ipa.ipatests.test_integration.host.Host.vm-058-146.cmd10] ipa: ERROR: did not receive Kerberos credentials [ipa.ipatests.test_integration.host.Host.vm-058-146.cmd10] Exit code: 1
The fix would be to include kinit_admin call into tasks.domainlevel method
master:
ipa-4-3:
Metadata Update from @ofayans: - Issue assigned to ofayans - Issue set to the milestone: FreeIPA 4.3.3
Login to comment on this ticket.