testing_master_previous Nightly PR 221 failed in test_smb.py::TestSMB::test_smb_service_s4u2self: logs
relevant code:
with enable_smb_client_dns_lookup_kdc(self.smbserver): principal = 'cifs/{hostname}'.format( hostname=self.smbserver.hostname) # Copy ipa-print-pac to SMB server # We can do so because Samba and GSSAPI libraries # are present there print_pac = self.master.get_file_contents( os.path.join(paths.LIBEXEC_IPA_DIR, "ipa-print-pac")) result = self.smbserver.run_command(['mktemp']) tmpname = result.stdout_text.strip() self.smbserver.put_file_contents(tmpname, print_pac) self.smbserver.run_command(['chmod', 'a+x', tmpname]) for user in (self.ad_user, self.ipa_user1,): shell_script = script.format(principal=principal, user_princ=user, print_pac=tmpname) self.smbserver.run_command(['/bin/bash', '-s', '-e'], > stdin_text=shell_script)
Log extract:
self = <ipatests.pytest_ipa.integration.host.Host client0.ipa.test (client)> argv = ['/bin/bash', '-s', '-e'], set_env = True stdin_text = 'export KRB5_TRACE=/dev/stderr\n kdestroy -A\n kinit -kt /etc/samba/samba.keytab cifs/client0.ipa.test\n... klist -f\n /tmp/tmp.LR7rNTSVif -k /etc/samba/samba.keytab -E impersonate testuser@ad.test\n klist -f\n' log_stdout = True, raiseonerr = True, cwd = None, bg = False, encoding = 'utf-8' ok_returncode = 0 def run_command(self, argv, set_env=True, stdin_text=None, log_stdout=True, raiseonerr=True, cwd=None, bg=False, encoding='utf-8', 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().run_command( argv, set_env=set_env, stdin_text=stdin_text, log_stdout=log_stdout, raiseonerr=False, cwd=cwd, bg=bg, encoding=encoding ) # in FIPS mode SSH may print noise to stderr, remove the string # "FIPS mode initialized" + optional newline. result.stderr_bytes = FIPS_NOISE_RE.sub(b'', result.stderr_bytes) 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, result.stderr_text ) E subprocess.CalledProcessError: Command '['/bin/bash', '-s', '-e']' returned non-zero exit status 1.
testing_master_previous Nightly PR 223 logs
testing_master_previous Nightly PR 242 logs
Another failure: logs, PR
PR, logs
Another failure: PR304, logs
Another failure: PR316, logs
Another failure: PR331, logs
Another failure: PR343, logs
Another failure: PR356, logs
Preliminary fix: https://github.com/freeipa/freeipa/pull/5052
Metadata Update from @abbra: - Issue assigned to abbra
master:
Metadata Update from @sorlov: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-8:
Failure observed in master_previous: PR384, logs
master_previous
Another failure: PR logs
Another failure: PR396, logs
Another failure: PR398, logs
Another failure: PR409, logs
Log in to comment on this ticket.