Bug 1381206
| Summary: | [netcdf4-python] test failures on big endian platforms | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
| Component: | netcdf4-python | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | netcdf4-python-1.2.6-1.fc26 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-27 23:07:21 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: | 467765, 1071880 | ||
for the record - ppc64le scratch build succeeds - http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3774992 |
Few tests are failing during the build of netcdf4-python on big endian platforms (ppc64, s390x), see below for details Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.j0pm7J + umask 022 + cd /builddir/build/BUILD + cd netcdf4-python-1.2.4rel + cd test ++ echo ../build/lib.linux-s390x-2.7 + PYTHONPATH=../build/lib.linux-s390x-2.7 + /usr/bin/python2 run_all.py ..F.....FE..................................................................... ====================================================================== not running tst_unicode3.py ... netcdf4-python version: 1.2.4 HDF5 lib version: 1.8.17 netcdf lib version: 4.4.1 numpy version 1.11.1 ERROR: runTest (tst_enum.EnumTestCase) testing enum data type ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/netcdf4-python-1.2.4rel/test/tst_enum.py", line 36, in setUp cloud_var[:] = datain_masked File "netCDF4/_netCDF4.pyx", line 4053, in netCDF4._netCDF4.Variable.__setitem__ (netCDF4/_netCDF4.c:44294) File "netCDF4/_netCDF4.pyx", line 4258, in netCDF4._netCDF4.Variable._put (netCDF4/_netCDF4.c:45839) RuntimeError: NetCDF: HDF error ====================================================================== FAIL: runTest (tst_compound_alignment.CompoundAlignTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/netcdf4-python-1.2.4rel/test/tst_compound_alignment.py", line 104, in runTest assert cells[name].dtype == new_cells[name].dtype AssertionError ====================================================================== FAIL: runTest (tst_endian.EndianTestCase) testing endian conversion capability ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/netcdf4-python-1.2.4rel/test/tst_endian.py", line 142, in runTest issue310(self.file) File "/builddir/build/BUILD/netcdf4-python-1.2.4rel/test/tst_endian.py", line 99, in issue310 var_big_endian[:].filled()) File "/usr/lib64/python2.7/site-packages/numpy/testing/utils.py", line 916, in assert_array_almost_equal precision=decimal) File "/usr/lib64/python2.7/site-packages/numpy/testing/utils.py", line 737, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 6 decimals (mismatch 80.0%) x: array([ 3.207376e-192, 1.831347e-317, -9.990000e+002, -9.990000e+002, -9.990000e+002, -9.990000e+002, -9.990000e+002, -9.990000e+002, -9.990000e+002, -9.990000e+002]) y: array([ 3.207376e-192, 1.831347e-317, 1.831410e-317, 1.831410e-317, 1.831410e-317, 1.831410e-317, 1.831410e-317, 1.831410e-317, 1.831410e-317, 1.831410e-317]) ---------------------------------------------------------------------- Ran 79 tests in 95.172s FAILED (failures=2, errors=1) For full logs please see http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3774639 or http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2363603 Version-Release number of selected component (if applicable): netcdf4-python-1.2.4-2.fc25