#6167 Incorrect domainlevel info in tests
Closed: Fixed None Opened 7 years ago by ofayans.

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:

  • bd5746c Fixed incorrect domainlevel determination in tests

ipa-4-3:

  • ab29e56 Fixed incorrect domainlevel determination in tests

Metadata Update from @ofayans:
- Issue assigned to ofayans
- Issue set to the milestone: FreeIPA 4.3.3

7 years ago

Login to comment on this ticket.

Metadata