testing_ipa-4.6 Nightly PR #4591 failed in test_integration/test_trust.py::TestTrust. logs:
test_integration/test_trust.py::TestTrust::()::test_trustdomains_found_in_nonposix_trust
def check_trustdomains(self, realm, expected_ad_domains): """Check that ipa trustdomain-find lists all expected domains""" result = self.master.run_command(['ipa', 'trustdomain-find', realm]) for domain in expected_ad_domains: expected_text = 'Domain name: %s\n' % domain > assert expected_text in result.stdout_text E AssertionError: assert 'Domain name: child.ad.test\n' in ' Domain name: ad.test\n Domain NetBIOS name: AD\n Domain Security Identifier: S-1-5-21-803687315-842318370-3426660556\n Domain enabled: True\n----------------------------\nNumber of entries returned 1\n----------------------------\n' E + where ' Domain name: ad.test\n Domain NetBIOS name: AD\n Domain Security Identifier: S-1-5-21-803687315-842318370-3426660556\n Domain enabled: True\n----------------------------\nNumber of entries returned 1\n----------------------------\n' = <pytest_multihost.transport.SSHCommand object at 0x7f3d20169eb8>.stdout_text test_integration/test_trust.py:72: AssertionError
test_integration/test_trust.py::TestTrust::()::test_trustdomains_found_in_posix_trust
test_integration/test_trust.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_integration.test_trust.TestTrust object at 0x7f3d200e0f28> realm = 'ad.test', expected_ad_domains = ['ad.test', 'child.ad.test'] def check_trustdomains(self, realm, expected_ad_domains): """Check that ipa trustdomain-find lists all expected domains""" result = self.master.run_command(['ipa', 'trustdomain-find', realm]) for domain in expected_ad_domains: expected_text = 'Domain name: %s\n' % domain > assert expected_text in result.stdout_text E AssertionError: assert 'Domain name: child.ad.test\n' in ' Domain name: ad.test\n Domain NetBIOS name: AD\n Domain Security Identifier: S-1-5-21-803687315-842318370-3426660556\n Domain enabled: True\n----------------------------\nNumber of entries returned 1\n----------------------------\n' E + where ' Domain name: ad.test\n Domain NetBIOS name: AD\n Domain Security Identifier: S-1-5-21-803687315-842318370-3426660556\n Domain enabled: True\n----------------------------\nNumber of entries returned 1\n----------------------------\n' = <pytest_multihost.transport.SSHCommand object at 0x7f3d200eae48>.stdout_text test_integration/test_trust.py:72: AssertionError
test_integration/test_trust.py::TestTrust::()::test_user_uid_gid_resolution_in_posix_trust
test_integration/test_trust.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.pytest_ipa.integration.host.Host master.ipa.test (master)> argv = ['getent', 'passwd', 'testuser@ad.test'], set_env = True stdin_text = None, log_stdout = True, raiseonerr = True, cwd = None ok_returncode = 0 def run_command(self, argv, set_env=True, stdin_text=None, log_stdout=True, raiseonerr=True, cwd=None, ok_returncode=0): """Wrapper around run_command to log stderr on raiseonerr=True :param ok_returncode: return code considered to be correct, you can pass an integer or sequence of integers """ result = super(Host, self).run_command( argv, set_env=set_env, stdin_text=stdin_text, log_stdout=log_stdout, raiseonerr=False, cwd=cwd ) try: result_ok = result.returncode in ok_returncode except TypeError: result_ok = result.returncode == ok_returncode if not result_ok and raiseonerr: result.log.error('stderr: %s', result.stderr_text) raise subprocess.CalledProcessError( result.returncode, argv, > result.stdout_text ) E subprocess.CalledProcessError: Command '['getent', 'passwd', 'testuser@ad.test']' returned non-zero exit status 2. pytest_ipa/integration/host.py:84: CalledProcessError ----------------------------- Captured stderr call ----------------------------- [ipatests.pytest_ipa.integration.host.Host.master.cmd140] tar: /var/log/ipaserver-kra-install.log: Warning: Cannot stat: No such file or directory [ipatests.pytest_ipa.integration.host.Host.master.cmd140] tar: /var/log/ipaclient-uninstall.log: Warning: Cannot stat: No such file or directory [ipatests.pytest_ipa.integration.host.Host.master.cmd140] tar: /var/log/iparestore.log: Warning: Cannot stat: No such file or directory [ipatests.pytest_ipa.integration.host.Host.master.cmd140] tar: /var/log/ipabackup.log: Warning: Cannot stat: No such file or directory [ipatests.pytest_ipa.integration.host.Host.master.cmd140] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] READ /tmp/tmp.WLZS0NeQE8 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['rm', '-f', '/tmp/tmp.WLZS0NeQE8'] [ipatests.pytest_ipa.integration.host.Host.master.cmd141] RUN ['rm', '-f', '/tmp/tmp.WLZS0NeQE8'] [ipatests.pytest_ipa.integration.host.Host.master.cmd141] Exit code: 0 [ipatests.pytest_ipa.integration] Collecting journal from: client0.ipa.test [ipatests.pytest_ipa.integration.host.Host.client0.ParamikoTransport] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd62] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.client0.cmd62] Exit code: 0 [ipatests.pytest_ipa.integration] Collecting journal from: master.ipa.test [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.master.cmd142] RUN ['journalctl', '--since', '-1h'] [ipatests.pytest_ipa.integration.host.Host.master.cmd142] Exit code: 0 [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['getent', 'passwd', 'testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.master.cmd143] RUN ['getent', 'passwd', 'testuser@ad.test'] [ipatests.pytest_ipa.integration.host.Host.master.cmd143] Exit code: 2 ipa: ERROR: stderr:
The test has been fixed with freeipa-pr-ci commit 47c117a.
Successful runs: - testing_ipa-4-6 - testing_master_previous - testing_master_latest
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @frenaud: - Issue assigned to amore
Login to comment on this ticket.