Source: thumbor
Version: 6.3.2-3
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-...@lists.debian.org
Usertags: arm64 armel armhf

Builds of thumbor for several architectures failed with

  AssertionError: Async operation timed out after 5 seconds

in two tests:

  test_should_be_ok_when_orientation_exif
  (tests.handlers.test_base_handler.ImageOperationsWithRespectOrientation) 

  test_can_read_image_svg_with_inch_units_and_convert_png
  (tests.handlers.test_base_handler.ImagingOperationsTestCase) 

Specifically, these errors occurred on arm64, armel, armhf, mips,
mips64el, mipsel, and the non-release architecture alpha.  The mips
build encountered some additional errors, which I'll report
separately.

See below for more detailed excerpts from the arm64 build log
https://buildd.debian.org/status/fetch.php?pkg=thumbor&arch=arm64&ver=6.3.2-3&stamp=1511661231&raw=0.
Logs for other affected architectures look similar at first glance.

Could you please take a look?

Thanks!

------------------------------------------------------------

Requests count: 456
SUCCESS (unsafe/meta/gradient.jpg)
[...]
SUCCESS 
(unsafe/filters:curve([(0,0),(255,255)],[(0,50),(16,51),(32,69),(58,85),(92,120),(128,170),(140,186),(167,225),(192,245),(225,255),(244,255),(255,254)],[(0,0),(16,2),(32,18),(64,59),(92,116),(128,182),(167,211),.................................................................................................S..............S................gifsicle:
 warning: trivial adaptive palette (only 199 colors in source)
.......gifsicle: warning: trivial adaptive palette (only 199 colors in source)
..gifsicle: warning: trivial adaptive palette (only 199 colors in source)
..........F.........................F................................................................................................................................................................S......./usr/lib/python2.7/dist-packages/preggy/assertions/equality.py:26:
 UnicodeWarning: Unicode equal comparison failed to convert both arguments to 
Unicode - interpreting them as being unequal
  return expected == topic
.................................................................................
======================================================================
FAIL: test_should_be_ok_when_orientation_exif 
(tests.handlers.test_base_handler.ImageOperationsWithRespectOrientation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 136, in 
__call__
    result = self.orig_method(*args, **kwargs)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/handlers/test_base_handler.py",
 line 927, in test_should_be_ok_when_orientation_exif
    response = 
self.fetch('/unsafe/10_years_of_Wikipedia_by_Guillaume_Paumier.jpg')
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 406, in fetch
    return self.wait()
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 336, in wait
    self.__rethrow()
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 272, in 
__rethrow
    raise_exc_info(failure)
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 320, in 
timeout_func
    timeout)
AssertionError: Async operation timed out after 5 seconds
-------------------- >> begin captured logging << --------------------
thumbor: DEBUG: METRICS: inc: response.count:1
thumbor: DEBUG: METRICS: inc: storage.miss:1
thumbor: DEBUG: No image format specified. Retrieving from the image extension: 
.jpg.
thumbor: DEBUG: Content Type of image/jpeg detected.
tornado.access: INFO: 200 GET 
/unsafe/10_years_of_Wikipedia_by_Guillaume_Paumier.jpg (127.0.0.1) 6356.32ms
thumbor: DEBUG: METRICS: timing: response.time:6351
thumbor: DEBUG: METRICS: timing: response.time.200:6351
thumbor: DEBUG: METRICS: inc: response.status.200:1
thumbor: DEBUG: METRICS: inc: response.format.jpg:1
thumbor: DEBUG: METRICS: timing: response.time.jpg:6351
thumbor: DEBUG: METRICS: inc: response.bytes.jpg:1084818
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_can_read_image_svg_with_inch_units_and_convert_png 
(tests.handlers.test_base_handler.ImagingOperationsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 136, in 
__call__
    result = self.orig_method(*args, **kwargs)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/handlers/test_base_handler.py",
 line 296, in test_can_read_image_svg_with_inch_units_and_convert_png
    response = self.fetch('/unsafe/Commons-logo-inches.svg')
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 406, in fetch
    return self.wait()
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 336, in wait
    self.__rethrow()
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 272, in 
__rethrow
    raise_exc_info(failure)
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 320, in 
timeout_func
    timeout)
AssertionError: Async operation timed out after 5 seconds
-------------------- >> begin captured logging << --------------------
thumbor: DEBUG: METRICS: inc: response.count:1
thumbor: DEBUG: METRICS: inc: storage.miss:1
PIL.PngImagePlugin: DEBUG: STREAM 'IHDR' 16 13
PIL.PngImagePlugin: DEBUG: STREAM 'bKGD' 41 6
PIL.PngImagePlugin: DEBUG: 'bKGD' 41 6 (unknown)
PIL.PngImagePlugin: DEBUG: STREAM 'IDAT' 59 8192
thumbor: DEBUG: creating tempfile for Commons-logo-inches.svg in 
/tmp/tmp6BGTzs/5e/18b757cde8521bbe891f7ca5e459a1dfc54b99.b5fdf46c1c594b5ebd144feab7682692...
thumbor: DEBUG: moving tempfile 
/tmp/tmp6BGTzs/5e/18b757cde8521bbe891f7ca5e459a1dfc54b99.b5fdf46c1c594b5ebd144feab7682692
 to /tmp/tmp6BGTzs/5e/18b757cde8521bbe891f7ca5e459a1dfc54b99...
thumbor: DEBUG: No image format specified. Retrieving from the image extension: 
.svg.
thumbor: DEBUG: Content Type of image/svg+xml detected.
tornado.access: INFO: 200 GET /unsafe/Commons-logo-inches.svg (127.0.0.1) 
10207.16ms
thumbor: DEBUG: METRICS: timing: response.time:10201
thumbor: DEBUG: METRICS: timing: response.time.200:10201
thumbor: DEBUG: METRICS: inc: response.status.200:1
thumbor: DEBUG: METRICS: inc: response.format.png:1
thumbor: DEBUG: METRICS: timing: response.time.png:10201
thumbor: DEBUG: METRICS: inc: response.bytes.png:142841
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 424 tests in 167.687s

FAILED (SKIP=3, failures=2)
(192,227),(224,240),(244,247),(255,252)],[(0,48),(16,50),(62,77),(92,110),(128,144),(140,153),(167,180),(192,192),(224,217),(244,225),(255,225)])/gradient.gif)
 SUCCESS 
(unsafe/filters:curve([(0,0),(255,255)],[(0,50),(16,51),(32,69),(58,85),(92,120),(128,170),(140,186),(167,225),(192,245),(225,255),(244,255),(255,254)],[(0,0),(16,2),(32,18),(64,59),(92,116),(128,182),(167,211),(192,227),(224,240),(244,247),(255,252)],[(0,48),(16,50),(62,77),(92,110),(128,144),(140,153),(167,180),(192,192),(224,217),(244,225),(255,225)])/animated.gif)
Joining threads....
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose -s 
integration_tests/ tests/ --ignore-files=test_statsd_metrics.py 
--ignore-files=test_sentry.py --ignore-files=test_queued_detector.py 
--ignore-files=test_distributed_collage.py 
--exclude=test_convert_svg_already_converted_to_png 
--exclude=test_convert_not_well_formed_svg_to_png
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:11: recipe for target 'build-arch' failed
make: *** [build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
E: Build killed with signal TERM after 150 minutes of inactivity

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to