Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_file_webp_animated.py::TestFileWebpAnimation::test_write_animation_L FAILED on ppc64 #3291

Closed
ernsteiswuerfel opened this issue Aug 5, 2018 · 1 comment
Labels
Big-endian Big-endian processors Platform A catchall for platform-related Testing
Projects

Comments

@ernsteiswuerfel
Copy link

On my PowerMac G5 (Gentoo Linux, ppc64, big endian) test_file_webp_animated.py::TestFileWebpAnimation::test_write_animation_L test fails with Pillow 5.2.0 and git-master.

What did you do?

make releaste-test

What versions of Pillow and Python are you using?

Pillow: git-master
Python: 3.6.5

Tests/test_file_webp_animated.py::TestFileWebpAnimation::test_n_frames PASSED
Tests/test_file_webp_animated.py::TestFileWebpAnimation::test_seeking PASSED
Tests/test_file_webp_animated.py::TestFileWebpAnimation::test_timestamp_and_duration PASSED
Tests/test_file_webp_animated.py::TestFileWebpAnimation::test_write_animation_L FAILED

==================================================================================================== FAILURES =====================================================================================================
__________________________________________________________________________________ TestFileWebpAnimation.test_write_animation_L ___________________________________________________________________________________

self = <test_file_webp_animated.TestFileWebpAnimation testMethod=test_write_animation_L>

    def test_write_animation_L(self):
        """
            Convert an animated GIF to animated WebP, then compare the
            frame count, and first and last frames to ensure they're
            visually similar.
            """
    
        orig = Image.open("Tests/images/iss634.gif")
        self.assertGreater(orig.n_frames, 1)
    
        temp_file = self.tempfile("temp.webp")
        orig.save(temp_file, save_all=True)
        im = Image.open(temp_file)
        self.assertEqual(im.n_frames, orig.n_frames)
    
        # Compare first and last frames to the original animated GIF
        orig.load()
        im.load()
        self.assert_image_similar(im, orig.convert("RGBA"), 25.0)
        orig.seek(orig.n_frames-1)
        im.seek(im.n_frames-1)
        orig.load()
        im.load()
>       self.assert_image_similar(im, orig.convert("RGBA"), 25.0)

Tests/test_file_webp_animated.py:60: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Tests/helper.py:154: in assert_image_similar
    raise e
Tests/helper.py:146: in assert_image_similar
    ave_diff, epsilon))
E   AssertionError: 25.0 not greater than or equal to 57.5169012911287 :  average pixel value difference 57.5169 > epsilon 25.0000
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================ 1 failed, 505 passed, 32 skipped in 41.57 seconds ================================================================================
make: *** [Makefile:81: release-test] Fehler 2

@aclark4life aclark4life added this to Backlog in Pillow May 11, 2019
@aclark4life aclark4life moved this from Backlog to Icebox in Pillow May 11, 2019
@radarhere radarhere added the Platform A catchall for platform-related label Aug 27, 2019
@hugovk hugovk added the Big-endian Big-endian processors label Dec 18, 2019
@radarhere
Copy link
Member

Closing, as this is now part of #4213

Pillow automation moved this from Icebox to Closed Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Big-endian Big-endian processors Platform A catchall for platform-related Testing
Projects
Pillow
  
Closed
Development

No branches or pull requests

3 participants