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 - numpy.test() fails
Summary: numpy.test() fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: numpy
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Nikola Forró
QA Contact: Anna Khaitovich
URL:
Whiteboard:
: 1688707 (view as bug list)
Depends On:
Blocks: 1688709
TreeView+ depends on / blocked
 
Reported: 2019-03-12 14:16 UTC by Jakub Heger
Modified: 2020-11-14 12:33 UTC (History)
2 users (show)

Fixed In Version: numpy-1.14.3-7.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 22:42:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix broken float128 on all arches except x86_64 (109.53 KB, patch)
2019-03-20 15:26 UTC, Nikola Forró
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3704 0 None None None 2019-11-05 22:42:21 UTC

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


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