Source: glymur
Version: 0.12.2-2
Severity: important
User: [email protected]
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/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to