The nightly test test_commands.py::TestIPACommand::test_ipa_nis_manage_enable_incorrect_password is failing when using the nightly copr repo @389ds/389-ds-base-nightly, see PR #601 with the following logs and report:
test_commands.py::TestIPACommand::test_ipa_nis_manage_enable_incorrect_password
self = <ipatests.test_integration.test_commands.TestIPACommand object at 0x7f50f93b76a0> def test_ipa_nis_manage_enable_incorrect_password(self): """ This testcase checks if ipa-nis-manage enable command throws error on console for invalid DS admin password """ msg = ( "Insufficient access: Invalid credentials " "Invalid credentials\n" ) result = self.master.run_command( ["ipa-nis-manage", "enable"], stdin_text='Invalid_pwd', raiseonerr=False, ) assert result.returncode == 1 > assert msg in result.stderr_text E AssertionError: assert 'Insufficient access: Invalid credentials Invalid credentials\n' in 'Insufficient access: Invalid credentials\n' E + where 'Insufficient access: Invalid credentials\n' = <pytest_multihost.transport.SSHCommand object at 0x7f50f93ceb20>.stderr_text test_integration/test_commands.py:1299: AssertionError -------------------------------Captured log call-------------------------------- INFO ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa-nis-manage', 'enable'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd439:transport.py:513 RUN ['ipa-nis-manage', 'enable'] DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd439:transport.py:557 Insufficient access: Invalid credentials DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd439:transport.py:557 Directory Manager password: DEBUG ipatests.pytest_ipa.integration.host.Host.master.cmd439:transport.py:217 Exit code: 1
In the past, the command used to return Insufficient access: Invalid credentials Invalid credentials but now the error is Insufficient access: Invalid credentials. The new behavior was probably caused by commit cc0f692, fixing #4480 (Unexpected info returned to ldap request).
Insufficient access: Invalid credentials Invalid credentials
Insufficient access: Invalid credentials
The test needs to be adapted.
Metadata Update from @frenaud: - Issue assigned to frenaud
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/5377
master:
ipa-4-8:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.