Created attachment 1414790 [details] rpmbuild output on rhel-7.5 x86_64 Description of problem: futex.test from devtoolset-7-strace-4.17-5.el7 internal testsuite is failing on RHEL-7.5-20180322.0 in all archs. The same testcase runs successfully on RHEL-7.4. Version-Release number of selected component (if applicable): devtoolset-7-strace-4.17-5.el7 How reproducible: 100% Steps to Reproduce: 1. rpmbuild --rebuild devtoolset-7-strace-4.17-5.el7.src.rpm Actual results: ... PASS: execve.test PASS: fadvise64.test FAIL: futex.test PASS: getuid.test PASS: ioctl.test ... $ cat rpmbuild/BUILD/strace-4.17/tests/futex.log futex(0x7f7846cbeffc, 0x3, 0xfacefeed, 0xbadda7a0ca7b100d, 0x7f7846cbeffc, 0x9caffee1) = -1: Invalid argument futex.test: failed test: ../futex failed with code 1 $ uname -a Linux sheep-23.lab.eng.brq.redhat.com 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
FWIW, the failure is not reproducible on current upstream strace. Applying commit 79d10dfc20985225e4ea044d3875c4cea09053d7 on top of devtoolset-7-strace-4.17-5.el7.src.rpm seems to fix the issue.
The testcase now passes on all archs except x86_64: it fails on strace-4.17/tests-m32/ apparently because the fix wasn't replicated into this directory (the original patch fixes only the original testcase in tests/ dir). Manually applying the very same patch in strace-4.17/tests-m32/futex.c solves this issue.
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-2018:1287