Failing pipeline in print()
Amit Kumar
amitkuma at redhat.com
Wed Aug 21 06:53:42 UTC 2019
Hello,
I created a Merge Request adding a try and except block
https://gitlab.com/samba-team/samba/merge_requests/710/diffs
But pipeline failing
https://gitlab.com/amitkuma/samba/-/jobs/276620958
Traceback (most recent call last):
File "/tmp/samba-testbase/b21/samba-ad-dc-2/selftest/filter-subunit",
line 111, in <module>
ret = subunithelper.parse_results(msg_ops, statistics, forgiving_stdin)
File
"/tmp/samba-testbase/b21/samba-ad-dc-2/selftest/subunithelper.py", line
55, in parse_results
msg_ops.output_msg(l)
File
"/tmp/samba-testbase/b21/samba-ad-dc-2/selftest/subunithelper.py", line
299, in output_msg
sys.stdout.write(msg)
BrokenPipeError: [Errno 32] Broken pipe
def output_msg(self, msg):
if self.output is None:
sys.stdout.write(msg)
else:
self.output += msg
Is it pipeline will fail on print(), But join.py have some print()
statements, I will be investigating more on this.
Amit
More information about the samba-technical
mailing list