RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1540954 - strace-4.12-5.el7 rpm FTBFS on aarch64 [rhel-alt-7.5]
Summary: strace-4.12-5.el7 rpm FTBFS on aarch64 [rhel-alt-7.5]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: strace
Version: 7.5-Alt
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: DJ Delorie
QA Contact: Edjunior Barbosa Machado
URL:
Whiteboard:
Depends On:
Blocks: 1540992
TreeView+ depends on / blocked
 
Reported: 2018-02-01 12:05 UTC by Edjunior Barbosa Machado
Modified: 2018-04-10 11:55 UTC (History)
4 users (show)

Fixed In Version: strace-4.12-6.el7
Doc Type: Bug Fix
Doc Text:
Cause: Enables compatibility with Red Hat Enterprise Linux for AARCH64. Consequence: AARCH64 kernel features were causing mismatches in strace's test suite. Fix: strace and its test suite were updated. Result: strace builds on AARCH64
Clone Of:
: 1540992 (view as bug list)
Environment:
Last Closed: 2018-04-10 11:55:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
strace-4.12-5.el7 rpmbuild output in rhel-alt-7.5 aarch64 (260.99 KB, text/plain)
2018-02-01 12:05 UTC, Edjunior Barbosa Machado
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0739 0 None None None 2018-04-10 11:55:43 UTC

Description Edjunior Barbosa Machado 2018-02-01 12:05:17 UTC
Created attachment 1389463 [details]
strace-4.12-5.el7 rpmbuild output in rhel-alt-7.5 aarch64

Description of problem:
strace-4.12-5.el7 fails to build on aarch64 running RHEL-ALT-7.5-20180125.0 due to failure in the 'make check' (membarrier.test).

Noticed that this testcase also fails on ppc64le running rhel-alt-7.5, however as rpmbuild does not run 'make check' for this architecture (and ppc64 and s390x either), the rpm package is built successfully.

In rhel-7.5 x86_64, the testcase itself is skipped in the testrun. The same happens when 'make check' is manually run in rhel-7.5 ppc64 and ppc64le.

Version-Release number of selected component (if applicable):
strace-4.12-5.el7

Steps to Reproduce:
1.rpmbuild --rebuild strace-4.12-5.el7.src.rpm

Actual results:
...
SKIP: lstat.test
SKIP: lstat64.test
PASS: mbind.test
FAIL: membarrier.test
PASS: memfd_create.test
PASS: migrate_pages.test
PASS: mincore.test
...
============================================================================
Testsuite summary for strace 4.12
============================================================================
# TOTAL: 253
# PASS:  185
# SKIP:  67
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to strace-devel.net
============================================================================
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12/tests'
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12/tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12/tests'
make[2]: Entering directory `/root/rpmbuild/BUILD/strace-4.12'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12'
make: *** [check] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.GKe2oI (%check)


RPM build errors:
    strace-4.12-5.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
(full rebuild log attached)

Additional info:
Using glibc-2.17-221.el7.aarch64.
Linux hp-moonshot-03-c12.lab.eng.rdu.redhat.com 4.14.0-29.el7a.aarch64 #1 SMP Mon Jan 22 16:28:57 EST 2018 aarch64 aarch64 aarch64 GNU/Linux

Comment 2 Edjunior Barbosa Machado 2018-02-01 13:49:41 UTC
The membarrier.test testcase also fails when manually run in rhel-alt-7.5 s390x.

Comment 3 Edjunior Barbosa Machado 2018-02-01 16:07:52 UTC
FWIW, from tests with upstream strace in rhel-alt-7.5 aarch64, commit 73354c seems to fix membarrier.test failure.

Comment 5 Edjunior Barbosa Machado 2018-02-12 15:37:35 UTC
Verified that now membarrier testcase is no longer failing and strace-4.12-6.el7 rpm package builds successfully in RHEL-ALT-7.5-20180211.1 aarch64:
...
SKIP: lstat64.test
PASS: mbind.test
PASS: membarrier.test
PASS: memfd_create.test
PASS: migrate_pages.test
...

Comment 8 errata-xmlrpc 2018-04-10 11:55:30 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-2018:0739


Note You need to log in before you can comment on or make changes to this bug.