Bug 1794490

Summary: [RHEL 8 GTS 9] some ipc tests from gcc-toolset-9-strace internal testsuite occasionally fail
Product: Red Hat Enterprise Linux 8 Reporter: Edjunior Barbosa Machado <emachado>
Component: straceAssignee: Eugene Syromiatnikov <esyr>
strace sub component: gcc-toolset-9 QA Contact: Edjunior Barbosa Machado <emachado>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: emachado, law, ohudlick
Version: 8.2   
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-toolset-9-strace-5.1-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1795251 1795261 1795273 (view as bug list) Environment:
Last Closed: 2020-04-28 16:04:11 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:
Bug Depends On:    
Bug Blocks: 1710951, 1795251, 1795261, 1795273    

Description Edjunior Barbosa Machado 2020-01-23 17:25:26 UTC
Description of problem:
Some of the ipc_* tests are occasionally failing on rhel-8.2 gcc-toolset-9-strace-5.1-4.el8. From the testsuite run output:

...
PASS: ipc_msgbuf-Xabbrev.gen.test
FAIL: ipc_msgbuf-Xraw.gen.test
PASS: ipc_msgbuf-Xverbose.gen.test
PASS: ipc_sem.gen.test
PASS: ipc_sem-Xabbrev.gen.test
PASS: ipc_sem-Xraw.gen.test
PASS: ipc_sem-Xverbose.gen.test
FAIL: ipc_shm.gen.test
FAIL: ipc_shm-Xabbrev.gen.test
PASS: ipc_shm-Xraw.gen.test
FAIL: ipc_shm-Xverbose.gen.test
...

For some reason, it is usually no longer reproducible when trying to rerun the testsuite. On the last testrun, it happened only in aarch64 and x86_64 (it ran successfully in s390x and ppc64le)

Version-Release number of selected component (if applicable):
gcc-toolset-9-strace-5.1-4.el8

How reproducible:
Occasionally

Steps to Reproduce (as non-root user):
1. rpm -ivh gcc-toolset-9-strace-5.1-4.el8.src.rpm
2. rpmbuild -bc ~/rpmbuild/SPECS/strace.spec
3. cd ~/rpmbuild/BUILD/strace-*/
4. chmod u+x tests/*.test tests-m32/*.test tests-mx32/*.test
5. make -k check STRACE=/opt/rh/gcc-toolset-9/root/usr/bin/strace TIMEOUT_DURATION=1500

Actual results:
Occasional failures

Expected results:
No failures

Additional info:
RHEL-8.2.0-20200107.n.1

Comment 2 Eugene Syromiatnikov 2020-01-23 17:32:46 UTC
Fixed upstream in the following commits:
4377e3a1535a0ec3a42da8a1366ad6943f4efa0e "tests: fix expected output for some ipc tests"
a75c7c4bcb6b48680275de3e99e17e0ebec811ec "tests: fix -a argument in ipc_msgbuf-Xraw test"

Comment 8 errata-xmlrpc 2020-04-28 16:04:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1737