Bug#1032291: glymur autopkgtests regressed on s390x

Steve Langasek steve.langasek at canonical.com
Fri Mar 3 06:24:40 GMT 2023


Source: glymur
Version: 0.12.2-2
Severity: important
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lunar

The glymur autopkgtests are broken on s390x starting with 0.12.2-2.

[...]
=================================== FAILURES ===================================
_______________________ TestSuite.test_rgb_tiled_bigtiff _______________________

self = <tests.test_tiff2jp2.TestSuite testMethod=test_rgb_tiled_bigtiff>

    def test_rgb_tiled_bigtiff(self):
        """
        SCENARIO:  Convert RGB BigTIFF file to JP2.  The TIFF is evenly
        tiled 2x2.
    
        EXPECTED RESULT:  The data matches.  The JP2 file has 4 tiles.
        """
        with Tiff2Jp2k(
            self.ycbcr_bg, self.temp_jp2_filename, tilesize=(256, 256),
        ) as j:
            j.run()
    
        jp2 = Jp2k(self.temp_jp2_filename)
        actual = jp2[:]
        expected = skimage.io.imread(self.ycbcr_bg, plugin='pil')
>       np.testing.assert_array_equal(actual, expected)
E       AssertionError: 
E       Arrays are not equal
E       
E       Mismatched elements: 714647 / 786432 (90.9%)
E       Max absolute difference: 255
E       Max relative difference: 255.
E        x: array([[[255, 157, 138],
E               [255, 116,  99],
E               [255,  77,  62],...
E        y: array([[[147, 138, 157],
E               [108,  99, 116],
E               [ 70,  62,  77],...

../build.xym/src/tests/test_tiff2jp2.py:767: AssertionError
[...]

  (https://ci.debian.net/data/autopkgtest/testing/s390x/g/glymur/30150565/log.gz)

I have verified that the tests from 0.12.1 pass with either the 0.12.1 or
0.12.2 code, and the tests from 0.12.2 fail with either the 0.12.1 or 0.12.2
code, so there is no regression in functionality here.  Nevertheless, there
is a regression in test coverage since the s390x autopkgtest can now no
longer be used to catch bugs in glymur's dependencies.

I have not tracked down whether this is a test bug or a bug in the code, it
could be either.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230302/789eae97/attachment.sig>


More information about the Pkg-grass-devel mailing list