Repository navigation
Description
What did you do?
Built and run Pillow master (290cd17) on Gentoo/HPPA (big endian!) and ran the test suite:
What actually happened?
Tests/test_file_gif.py::TestFileGif::test_extents FAILED
Tests/test_file_ico.py::TestFileIco::test_unexpected_size FAILED
Tests/test_file_jpeg.py::TestFileJpeg::test_photoshop FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_16bit_RGB_tiff FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_old_style_jpeg FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_strip_cmyk_16l_jpeg FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_strip_ycbcr_jpeg_1x1_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_strip_ycbcr_jpeg_2x2_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_tiled_ycbcr_jpeg_1x1_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_tiled_ycbcr_jpeg_2x2_sampling FAILED
Tests/test_file_png.py::TestFilePng::test_sanity FAILED
Tests/test_image_getextrema.py::TestImageGetExtrema::test_extrema FAILED
Tests/test_image_getextrema.py::TestImageGetExtrema::test_true_16 FAILED
Tests/test_imagedraw.py::TestImageDraw::test_arc_width_pieslice_large FAILED
Tests/test_imagedraw.py::TestImageDraw::test_ellipse_width_large FAILED
Tests/test_imagedraw.py::TestImageDraw::test_rectangle_I16 FAILED
Not all of those are regressions, here is the fail list for 6.0.0:
Tests/test_file_libtiff.py::TestFileLibTiff::test_old_style_jpeg FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_strip_ycbcr_jpeg_1x1_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_strip_ycbcr_jpeg_2x2_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_tiled_ycbcr_jpeg_1x1_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_tiled_ycbcr_jpeg_2x2_sampling FAILED
Tests/test_file_png.py::TestFilePng::test_sanity FAILED
Tests/test_image_getextrema.py::TestImageGetExtrema::test_extrema FAILED
Tests/test_image_getextrema.py::TestImageGetExtrema::test_true_16 FAILED
What are your OS, Python and Pillow versions?
- OS: Gentoo HPPA
- Python: 2.7.15
- Pillow: current master
Activity
DerDakon commentedon Jun 30, 2019
When activating truetype I get 3 additional failures:
Tests/test_imagefont.py::TestImageFont::test_variation_get FAILED
Tests/test_imagefont.py::TestImageFont::test_variation_set_by_axes FAILED
Tests/test_imagefont.py::TestImageFont::test_variation_set_by_name FAILED
build.log
DerDakon commentedon Jul 2, 2019
As mentioned in the comments to #3225: this also happens on sparc (also big endian).
ernsteiswuerfel commentedon Aug 17, 2019
A subset of these tests fail also on ppc32 (Big Endian):
Tests/test_file_libtiff.py::TestFileLibTiff::test_old_style_jpeg FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_strip_ycbcr_jpeg_1x1_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_strip_ycbcr_jpeg_2x2_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_tiled_ycbcr_jpeg_1x1_sampling FAILED
Tests/test_file_libtiff.py::TestFileLibTiff::test_tiled_ycbcr_jpeg_2x2_sampling FAILED
Tests/test_file_png.py::TestFilePng::test_sanity FAILED
Tests/test_image_getextrema.py::TestImageGetExtrema::test_extrema FAILED
Tests/test_image_getextrema.py::TestImageGetExtrema::test_true_16 FAILED
In addition to that the following tests fail on ppc32 (Big Endian):
Tests/test_file_jpeg2k.py::TestFileJpeg2k::test_16bit_monochrome_j2k_like_tiff FAILED
Tests/test_file_jpeg2k.py::TestFileJpeg2k::test_16bit_monochrome_jp2_like_tiff FAILED
Tests/test_file_webp_animated.py::TestFileWebpAnimation::test_write_animation_L FAILED
Tests/test_file_webp_animated.py::TestFileWebpAnimation::test_write_animation_RGB FAILED
Two of them already filed in bug #3290 and in bug #3291.
pillow-6.1.0:20190816-234305.log
radarhere commentedon Jan 16, 2022
For the comment from @ernsteiswuerfel
@DerDakon does #3243 (comment) also mean that your problems here are fixed, including the test_imagefont.py tests?
Edit: Looking for a cause, I suspect it was #4696 that changed the test_imagefont results.
ernsteiswuerfel commentedon Jan 16, 2022
Just ran the testsuite for 9.9.0 on ppc32 which now says:
So my originally reported failures for ppc32 are fixed or the tests get skipped where appropriate.
Current failures are:
radarhere commentedon Jan 16, 2022
Those errors don't look like endian problems to me. They're tests from #5938 and #5942, so I think you're testing Pillow 9.0 against the latest tests in the main branch. If you checkout the 9.0.x branch and test again, I think they should pass.
ernsteiswuerfel commentedon Jan 17, 2022
Erm yes... you are correct! My fault. With 9.0.0 branch I get 2654 passed, 222 skipped, 5 xfailed, 1 xpassed, 5 warnings
Thanks for fixing these 'alternative arch' bugs!
radarhere commentedon Jan 26, 2022
The webp test failures were actually due to problems in libwebp itself, not Pillow. libwebp 1.2.2 has resolved these, and #5984 will remove the xfail conditions on those two tests.