Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1623391

Summary: Testing jobs with restraint harness always hit unexpected by Broken pipe errors
Product: [Retired] Beaker Reporter: Zorro Lang <zlang>
Component: testsAssignee: Roman Joost <rjoost>
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: developCC: dcallagh, fs-qe, jmckenzi, mtyson, rjoost, xzhou
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-30 00:21:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zorro Lang 2018-08-29 09:14:40 UTC
Description of problem:
We always hit unexpected test failures on different cases, for example xfstests generic/108 hit below error:

+++ results/generic/108.out.bad	2018-08-29 03:29:46.315668544 -0400
@@ -1,2 +1,4 @@
 QA output created by 108
+yes: standard output: Broken pipe
+yes: write error
 fsync: Input/output error

Lots of unexpected Broken pipe errors really affect our testing, makes many cases fails as unexpected.

I think this's restraint bug, and it has been fixed by:

commit 01d4720b42e819160ea0c1b994bb9af9958f0b7c
Author: Matt Tyson <mtyson>
Date:   Mon Jun 25 08:58:21 2018 +1000

    Reset SIGPIPE action to default in child process.

And fixed on restraint-0.1.36-1:
$ git tag --contains 01d4720b
restraint-0.1.36-1

But RHEL-8 still use 0.1.32-1.el8+5, RHEL-7 still use 0.1.35-1.el7bkr currently:
RHEL-7: https://beaker.engineering.redhat.com/recipes/5593714#task78386521
RHEL-8: https://beaker.engineering.redhat.com/recipes/5593715#task78386524

We can use beah on RHEL-7 to avoid this issue. But we have to use restraint on RHEL-8. So this bug affect our rhel-8 test a lot. So I hope the RHEL-8 beaker harness can be updated, at least update to restraint-0.1.36-1.

I report this bug to track this problem. If I choose a wrong bug component/product, please feel free to correct me.

Comment 1 Zorro Lang 2018-08-29 09:21:25 UTC
JFYI: from above git commit message, we can see restraint has fixed this issue on bug 1592376. I don't know who maintains the beaker harness repo can decide which restraint package can be installed by beaker, just hope the restraint can be updated by reporting this bug.

Comment 2 Dan Callaghan 2018-08-30 00:21:45 UTC
Restraint will be updated in our production Beaker when we deploy it next (along with Beaker 25.6). We are working on getting that out ASAP.

*** This bug has been marked as a duplicate of bug 1592376 ***

Comment 3 Zorro Lang 2018-08-30 01:57:06 UTC
(In reply to Dan Callaghan from comment #2)
> Restraint will be updated in our production Beaker when we deploy it next
> (along with Beaker 25.6). We are working on getting that out ASAP.

Sure, glad to know your schedule. Looking forward this update:)

Thanks,
Zorro

> 
> *** This bug has been marked as a duplicate of bug 1592376 ***