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

Bug 1795273

Summary: [RHEL 7 DTS 9] some ipc tests from devtoolset-9-strace internal testsuite occasionally fail
Product: Red Hat Developer Toolset Reporter: Edjunior Barbosa Machado <emachado>
Component: straceAssignee: Eugene Syromiatnikov <esyr>
Status: CLOSED ERRATA QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DTS 9.0 RHEL 7CC: dj, emachado, esyr, law, mnewsome, ohudlick, tborcin
Target Milestone: alpha   
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devtoolset-9-strace-5.1-6.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1794490 Environment:
Last Closed: 2020-05-26 06:07:52 UTC Type: ---
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: 1794490    
Bug Blocks: 1795251, 1795261    

Description Edjunior Barbosa Machado 2020-01-27 15:30:03 UTC
Also reproducible with devtoolset-9-strace-5.1-4.el7 on RHEL-7.8-20200122.n.0 ppc64, ppc64le and x86_64.

+++ This bug was initially created as a clone of Bug #1794490 +++

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

--- Additional comment from Edjunior Barbosa Machado on 2020-01-23 17:27:13 UTC ---

test-suite.log from aarch64: https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2020/01/40105/4010506/7788214/104685375/gcc-toolset-9-strace-5.1-4.el8.aarch64_tests.log
test-suite.log from x86_64:  https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2020/01/40030/4003029/7772603/104520931/gcc-toolset-9-strace-5.1-4.el8.x86_64_tests.log

--- Additional comment from Eugene Syromiatnikov on 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 6 errata-xmlrpc 2020-05-26 06:07:52 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:2275