[Python-modules-team] Bug#918395: thumbor FTBFS: test failure in test_redeye_applied

Steve McIntyre steve at einval.com
Sat Jan 5 19:21:30 GMT 2019


Package: src:thumbor
Version: 6.5.1-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi!

I've been doing a full rebuild of the Debian archive, building all
source packages targeting armel and armhf using arm64 hardware. We are
planning in future to move all of our 32-bit armel/armhf builds to
using arm64 machines, so this rebuild is to identify packages that
might have problems with this configuration.

I've found that thumbor exhibits test failures as armhf on aem64, but
the problem is generic. I can see that it also shows the same failure
in sid at the moment for amd64:

======================================================================
ERROR: test_redeye_applied (tests.filters.test_redeye.RedEyeFilterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/work/stemci01/debian/build/thumbor/thumbor-6.5.1/.pybuild/cpython2_2.7_thumbor/build/tests/filters/test_redeye.py", line 43, in test_redeye_applied
    config_context
  File "/work/stemci01/debian/build/thumbor/thumbor-6.5.1/.pybuild/cpython2_2.7_thumbor/build/tests/base.py", line 279, in get_filtered
    fltr.run(dummy_callback)
  File "thumbor/filters/__init__.py", line 202, in run
    results.append(self.runnable_method(*self.params))
  File "thumbor/filters/__init__.py", line 23, in wrapper
    return fn(self, *args2)
  File "thumbor/filters/redeye.py", line 38, in red_eye
    image.setflags(write=1)
ValueError: cannot set WRITEABLE flag to True of this array
-------------------- >> begin captured logging << --------------------
PIL.PngImagePlugin: DEBUG: STREAM 'IHDR' 16 13
PIL.PngImagePlugin: DEBUG: STREAM 'IDAT' 41 358237
PIL.PngImagePlugin: DEBUG: STREAM 'IHDR' 16 13
PIL.PngImagePlugin: DEBUG: STREAM 'IDAT' 41 65536
PIL.PngImagePlugin: DEBUG: STREAM 'IHDR' 16 13
PIL.PngImagePlugin: DEBUG: STREAM 'IDAT' 41 358944
--------------------- >> end captured logging << ---------------------

Full log for armhf online at:

  https://www.einval.com/debian/arm/rebuild-logs/armhf/FAIL/thumbor_6.5.1-3_armhf.log

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Python-modules-team mailing list