#9812 Test failure in test_adtrust_install_with_non_ipa_user
Closed: fixed by frenaud. Opened by frenaud.

Issue

The test test_integration/test_adtrust_install.py::TestIpaAdTrustInstall::test_adtrust_install_with_non_ipa_user is failing after the commit https://github.com/freeipa/freeipa/commit/6b9400c135ed16b10057b350cc9ce42aa0e862d4

Logs visible in http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/40d673c4-4d08-11f0-aa9e-fa163e812e07/report.html?sort=result

Test scenario

kinit with an enterprise name
try to run ipa-adtrust-install with the same enterprise name
The test expects ipa-adtrust-install to fail with an error message: "user not found".

The problem is that the test is using 'root' as enterprise name and admin user contains this value as krbprincipalname.

The test should instead create an incorrect user entry containing an alias in krbprincipalname and no krbcanonicalname in order to trigger the error.


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7856

master:

  • 2eaba8497a5095b23dac39b759dbf632fa422529 ipatests: fix test_adtrust_install_with_non_ipa_user

ipa-4-12:

  • 39e92c4033d0ecd702281f3ecbeac3b5f654e973 ipatests: fix test_adtrust_install_with_non_ipa_user

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

Metadata