Summary: | dev-python/pillow-8.1.1: test_cmyk fails in gs on sparc/ppc64/ppc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, sam |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/python-pillow/Pillow/issues/5297 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log with 8.3.0 on sparc build.log with 8.3.2 on ppc64be |
Description
Rolf Eike Beer
2021-01-03 19:37:23 UTC
Same on ppc64 for 8.1.1.
try:
> assert epsilon >= ave_diff, (
(msg or "")
+ f" average pixel value difference {ave_diff:.4f} > epsilon {epsilon:.4f}"
)
E AssertionError: average pixel value difference 119.0294 > epsilon 10.0000
E assert 10 >= 119.0294
Reported upstream. Created attachment 725341 [details] build.log with 8.3.0 on sparc 8.3.0 has another cmyk failure: test_fuzz_images[Tests/images/pil_sample_cmyk.eps] path = b'Tests/images/pil_sample_cmyk.eps' @pytest.mark.parametrize( "path", subprocess.check_output("find Tests/images -type f", shell=True).split(b"\n"), ) def test_fuzz_images(path): fuzzers.enable_decompressionbomb_error() try: with open(path, "rb") as f: > fuzzers.fuzz_image(f.read()) f = <_io.BufferedReader name=b'Tests/images/pil_sample_cmyk.eps'> path = b'Tests/images/pil_sample_cmyk.eps' Tests/oss-fuzz/test_fuzzers.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Tests/oss-fuzz/fuzzers.py:22: in fuzz_image im.rotate(45) data = (b'%!PS-Adobe-3.0 EPSF-3.0\n%%Creator: PIL 0.1 EpsEncode\n%%BoundingBox: 0 0 ' b'100 100\n%%Pages: 1\n%%EndComments\n%%Page: 1 1\n%ImageData: 100 100 8 4 0 1' b' 1 "false 4 colorimage"\ngsave\n10 dict begin\n/buf 400 string def\n100 100 ' b'scale\n100 100 8\n[100 0 0 -100 0 100]\n{ currentfile buf readhexstring pop' b' } bind\nfalse 4 colorimage\n00f2e60000f2e60000f2e60000f2e60000f2e60000f2e' b'60000f2e60000f2e60000f2e60000f2e6\n0000f2e60000f2e60000f2e60000f2e60000f2' Created attachment 737563 [details]
build.log with 8.3.2 on ppc64be
9.0.1 should be all good now, AFAIK, thanks to a lot of cooperation with upstream. Yes, tests probably could be enabled again for spotting regressions. Even on ppc. ;-) |