The nightly tests test_smb and test_sudo started failing when the repo updates-testing is enabled, and sssd 2.5.0-1 is installed. See PR #900: - test_smb: report, logs, failing in test_integration/test_smb.py::TestSMB::test_smb_access_for_ad_user_at_ipa_client:
test_smb
test_sudo
test_integration/test_smb.py::TestSMB::test_smb_access_for_ad_user_at_ipa_client
self = <ipatests.test_integration.test_smb.TestSMB object at 0x7f2f190f86d0> def test_smb_access_for_ad_user_at_ipa_client(self): samba_share = { 'name': 'homes', 'server_path': '/home/{}/{}'.format(self.ad.domain.name, self.ad_user_login), 'unc': '//{}/homes'.format(self.smbserver.hostname) } > self.check_smb_access_at_ipa_client( self.ad_user, self.ad_user_password, samba_share) test_integration/test_smb.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_integration/test_smb.py:291: in check_smb_access_at_ipa_client self.smb_sanity_check(user, mount_point, samba_share) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_integration.test_smb.TestSMB object at 0x7f2f190f86d0> user = 'testuser@ad.test', client_mountpoint = '/mnt/smb' share = {'name': 'homes', 'server_path': '/home/ad.test/testuser', 'unc': '//client1.ipa.test/homes'} def smb_sanity_check(self, user, client_mountpoint, share): test_dir = 'testdir_{}'.format(user) test_file = 'testfile_{}'.format(user) test_file_path = '{}/{}'.format(test_dir, test_file) test_string = 'Hello, world!' run_smb_client = partial(tasks.run_command_as_user, self.smbclient, user, cwd=client_mountpoint) run_smb_server = partial(self.smbserver.run_command, cwd=share['server_path']) try: # check creation of directory from client side run_smb_client(['mkdir', test_dir]) # check dir properties at client side res = run_smb_client(['stat', '-c', '%n %U %G', test_dir]) > assert res.stdout_text == '{0} {1} {1}\n'.format(test_dir, user) E AssertionError: assert 'testdir_test...est UNKNOWN\n' == 'testdir_test...ser@ad.test\n' E - testdir_testuser@ad.test testuser@ad.test testuser@ad.test E ? ^^^^^^^^^^^^^^^^ E + testdir_testuser@ad.test testuser@ad.test UNKNOWN E ? ^^^^^^^
test_integration/test_sudo.py::TestSudo::test_admins_group_does_not_have_sudo_permission
self = <ipatests.test_integration.test_sudo.TestSudo object at 0x7fd4dad42fa0> def test_admins_group_does_not_have_sudo_permission(self): result = self.list_sudo_commands('admin2', raiseonerr=False) assert result.returncode == 1 > assert "Sorry, user admin2 may not run sudo on {}.".format( self.clientname) in result.stderr_text E AssertionError: assert 'Sorry, user admin2 may not run sudo on client0.' in 'sudo: a password is required\n' E + where 'Sorry, user admin2 may not run sudo on client0.' = <built-in method format of str object at 0x7fd4daf10870>('client0') E + where <built-in method format of str object at 0x7fd4daf10870> = 'Sorry, user admin2 may not run sudo on {}.'.format E + and 'client0' = <ipatests.test_integration.test_sudo.TestSudo object at 0x7fd4dad42fa0>.clientname E + and 'sudo: a password is required\n' = <pytest_multihost.transport.SSHCommand object at 0x7fd4daceaca0>.stderr_text
Tracker on SSSD side as https://github.com/SSSD/sssd/issues/5635
master:
ipa-4-9:
ipa-4-8:
Metadata Update from @abbra: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)