Description of problem: TestSuite.test_psnr fails on s390x Version-Release number of selected component (if applicable): 0.9.9-1 How reproducible: Steps to Reproduce: 1. Uncomment in the spec file: > k="${k-}${k+ and }not (TestSuite and test_psnr)" 2. fedpkg scratch-build --srpm --arches s390x Actual results: =================================== FAILURES =================================== _____________________________ TestSuite.test_psnr ______________________________ self = <tests.test_tiff2jp2.TestSuite testMethod=test_psnr> def test_psnr(self): """ SCENARIO: Convert TIFF file to JP2 with the irreversible transform. EXPECTED RESULT: data matches, the irreversible transform is confirmed """ with Tiff2Jp2k( self.minisblack_spp1_path, self.temp_jp2_filename, psnr=(30, 35, 40, 0) ) as j: j.run() j = Jp2k(self.temp_jp2_filename) d = {} for layer in range(4): j.layer = layer d[layer] = j[:] with warnings.catch_warnings(): # MSE is zero for that first image, resulting in a divide-by-zero # warning warnings.simplefilter('ignore') psnr = [ fixtures.skimage.metrics.peak_signal_noise_ratio( fixtures.skimage.data.moon(), d[j] ) for j in range(4) ] # That first image should be lossless. > self.assertTrue(np.isinf(psnr[0])) E AssertionError: False is not true tests/test_tiff2jp2.py:584: AssertionError =========================== short test summary info ============================ FAILED tests/test_tiff2jp2.py::TestSuite::test_psnr - AssertionError: False i... ================== 1 failed, 528 passed, 4 skipped in 49.92s =================== Expected results: All tests pass Additional info: Reported upstream: https://github.com/quintusdias/glymur/issues/546
I’ll track the upstream bug. If I have a chance, I might try to investigate more closely. Any help on that front is welcome.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.
FEDORA-2022-7c63e3fbe5 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7c63e3fbe5
FEDORA-2022-7c63e3fbe5 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-5932f1b2f6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5932f1b2f6
FEDORA-2022-5932f1b2f6 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-5932f1b2f6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5932f1b2f6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-d98765e25b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d98765e25b
FEDORA-2022-2637137fc3 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2637137fc3
FEDORA-2022-d98765e25b has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-d98765e25b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d98765e25b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-2637137fc3 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-2637137fc3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2637137fc3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-d98765e25b has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-2637137fc3 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-5932f1b2f6 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.