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.

Bug 1687873

Summary: numpy.test() fails
Product: Red Hat Enterprise Linux 8 Reporter: Jakub Heger <jheger>
Component: numpyAssignee: Nikola Forró <nforro>
Status: CLOSED ERRATA QA Contact: Anna Khaitovich <akhaitov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: akhaitov, jkejda
Target Milestone: rcKeywords: Patch
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: numpy-1.14.3-7.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:42:16 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: 1688709    
Attachments:
Description Flags
Fix broken float128 on all arches except x86_64 none

Description Jakub Heger 2019-03-12 14:16:00 UTC
Description of problem:
numpy.test() fails on all architectures apart from x86_64

Version-Release number of selected component (if applicable):
python2-numpy-1.14.2-9.module+el8+2540+b19c9b35.ppc64le
python2-numpy-f2py-1.14.2-9.module+el8+2540+b19c9b35.ppc64le
python3-numpy-1.14.3-6.el8.ppc64le
python3-numpy-f2py-1.14.3-6.el8.ppc64le

How reproducible:
always

Steps to Reproduce:
1. python2 -c 'import numpy; numpy.test()'
2. python3 -c 'import numpy; numpy.test()'
3.

Actual results:

Running unit tests for numpy
NumPy version 1.14.2
NumPy relaxed strides checking option: True
NumPy is installed in /usr/lib64/python2.7/site-packages/numpy
Python version 2.7.15 (default, Dec 14 2018, 18:21:55) [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]
nose version 1.3.7
/usr/lib64/python2.7/site-packages/numpy/core/tests/test_longdouble.py:17: RuntimeWarning: overflow encountered in conversion from string

<...>

FAIL: numpy.core.tests.test_scalarprint.TestRealScalars.test_str
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib64/python2.7/site-packages/numpy/core/tests/test_scalarprint.py", line 27, in test_str
    assert_equal(str(styp(val)), want, err_msg=msg)
  File "/usr/lib64/python2.7/site-packages/numpy/testing/nose_tools/utils.py", line 411, in assert_equal
    raise AssertionError(msg)
AssertionError: 
Items are not equal: for str(float128(-0.0))
 ACTUAL: '0.0'
 DESIRED: '-0.0'
----------------------------------------------------------------------
Ran 6461 tests in 56.342s

FAILED (KNOWNFAIL=21, SKIP=21, failures=21)


Expected results:
OK (KNOWNFAIL=14, SKIP=19)


Additional info:

Comment 1 Nikola Forró 2019-03-14 14:45:59 UTC
*** Bug 1688707 has been marked as a duplicate of this bug. ***

Comment 2 Nikola Forró 2019-03-20 15:26:29 UTC
Created attachment 1546110 [details]
Fix broken float128 on all arches except x86_64

Comment 7 errata-xmlrpc 2019-11-05 22:42:16 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/RHSA-2019:3704