Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Previously, due to earlier problems with threads, several tests were blocked for IBM S/390, IBM System z, or PowerPC platforms in the Perl specification file. Consequently, when building the perl package, internal tests were not performed on these platforms, even though the original problems no longer occurred. Now, when building the perl package, the tests are performed on all supported architectures.
Description of problem:
On RHEL6, the ppc64, s390, s390x architectures are blacklisted from running the upstream test suite during the build. I tried to unblock them and the build passes fine (tried with ppc64 and s390x), so the is no reason to block them anymore.
Please, enable the tests on all supported architectures. Not running them raises the risk of regression.
On RHEL5 and 7, there is no such limitation.
Version-Release number of selected component (if applicable):
perl-5.10.1-140.el6
How reproducible:
Steps to Reproduce:
1. rpmbuild -bb perl.spec
2.
3.
Actual results:
'make test' is skipped, the built bit not tested
Expected results:
'make test' runs:
Additional info:
--- perl.spec.old 2015-03-12 05:31:03.541025171 -0400
+++ perl.spec 2015-03-12 05:04:10.041498718 -0400
@@ -1429,11 +1429,11 @@
cp %{SOURCE4} lib/CGI/t/
sed -i -e 's|\(t\/upload_post_text\.txt\)|../lib/CGI/\1|' lib/CGI/t/*.t
# some updated modules check whether module is built from cpan or core
-%ifnarch ppc64 s390 s390x
+#%ifnarch ppc64 s390 s390x
#ext/threads-shared/t/stress test fails on z10
export PERL_CORE=1
make test
-%endif
+#%endif
%post libs -p /sbin/ldconfig
(In reply to Petr Pisar from comment #2)
> The tests were disabled because ext/threads-shared/t/stress* (sometimes?)
> failed on s390. How many times did you performed the test on the platform?
Just once on ppc64 and s390x. Didn't try s390 build. I'll try it in a loop and post here the results.
Rebuilt on ppc64 18 times and on s390x 20 times using rpmbuild without single fail. I suppose at least these two architectures can be safely enabled back again. s390 doesn't really bother me as only perl-libs, perl-version and perl-debuginfo are being shipped for this architecture.
Anyways, if the tests are still being problematic, they can be blocked again.
I stressed the threads on s390x and ppc64 and the works well. I could not get access to s390 machine, but a few builds in the build system pass. So I think we can enable the tests everywhere again.
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://rhn.redhat.com/errata/RHBA-2015-1266.html
Description of problem: On RHEL6, the ppc64, s390, s390x architectures are blacklisted from running the upstream test suite during the build. I tried to unblock them and the build passes fine (tried with ppc64 and s390x), so the is no reason to block them anymore. Please, enable the tests on all supported architectures. Not running them raises the risk of regression. On RHEL5 and 7, there is no such limitation. Version-Release number of selected component (if applicable): perl-5.10.1-140.el6 How reproducible: Steps to Reproduce: 1. rpmbuild -bb perl.spec 2. 3. Actual results: 'make test' is skipped, the built bit not tested Expected results: 'make test' runs: Additional info: --- perl.spec.old 2015-03-12 05:31:03.541025171 -0400 +++ perl.spec 2015-03-12 05:04:10.041498718 -0400 @@ -1429,11 +1429,11 @@ cp %{SOURCE4} lib/CGI/t/ sed -i -e 's|\(t\/upload_post_text\.txt\)|../lib/CGI/\1|' lib/CGI/t/*.t # some updated modules check whether module is built from cpan or core -%ifnarch ppc64 s390 s390x +#%ifnarch ppc64 s390 s390x #ext/threads-shared/t/stress test fails on z10 export PERL_CORE=1 make test -%endif +#%endif %post libs -p /sbin/ldconfig