[Python-modules-team] Bug#935812: FTBFS: FAIL: test_can_get_304_with_last_modified (tests.handlers.test_base_handler.ImageOperationsWithLastModifiedTestCase)

Andrey Rahmatullin wrar at debian.org
Mon Aug 26 14:15:04 BST 2019


Package: src:thumbor
Version: 6.7.0-1
Severity: serious

I tried to rebuild the package without the python-celery B-D and got one test
failure:

FAIL: test_can_get_304_with_last_modified
(tests.handlers.test_base_handler.ImageOperationsWithLastModifiedTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 125, in
__call__
    result = self.orig_method(*args, **kwargs)
  File
"/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_thumbor/build/tests/handlers/test_base_handler.py",
line 764, in test_can_get_304_with_last_modified
    expect(response.code).to_equal(304)
  File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 285, in
_assert_topic
    return _registered_assertions[method_name](self.topic, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 58, in wrapper
    func(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 126, in
test_assertion
    raise AssertionError(err_msg)
AssertionError: Expected topic(200) to equal 304
-------------------- >> begin captured logging << --------------------
thumbor: DEBUG: METRICS: inc: response.count:1
thumbor: DEBUG: [RESULT_STORAGE] getting from
/tmp/tmpclUxcu/default/1e/b9/ead4e07ef924574371b97c573958beb3ad71
thumbor: DEBUG: METRICS: timing: result_storage.incoming_time:0
thumbor: DEBUG: METRICS: inc: result_storage.hit:1
thumbor: DEBUG: METRICS: inc: result_storage.bytes_read:5319
thumbor: DEBUG: [RESULT_STORAGE] IMAGE FOUND:
/_wIUeSaeHw8dricKG2MGhqu5thk=/smart/image.jpg
thumbor: DEBUG: Content Type of image/jpeg detected.
tornado.access: INFO: 200 GET /_wIUeSaeHw8dricKG2MGhqu5thk=/smart/image.jpg
(127.0.0.1) 2.15ms
thumbor: DEBUG: METRICS: timing: response.time:1
thumbor: DEBUG: METRICS: timing: response.time.200:1
thumbor: DEBUG: METRICS: inc: response.status.200:1
thumbor: DEBUG: METRICS: inc: response.format.jpg:1
thumbor: DEBUG: METRICS: timing: response.time.jpg:1
thumbor: DEBUG: METRICS: inc: response.bytes.jpg:5319
preggy.utils: DEBUG: fetching assertion: 'to_equal'
--------------------- >> end captured logging << ---------------------



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Python-modules-team mailing list