[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997846: httpbin: autopkgtest regression: KeyError: 'Content-Length'



Source: httpbin
Version: 0.7.0+dfsg-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of httpbin the autopkgtest of httpbin fails in
testing when that autopkgtest is run with the binary packages of httpbin
from unstable. It passes when run with only packages from testing. In
tabular form:

                       pass            fail
httpbin                from testing    0.7.0+dfsg-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=httpbin

https://ci.debian.net/data/autopkgtest/testing/amd64/h/httpbin/15762030/log.gz

../usr/lib/python3/dist-packages/flask/json/__init__.py:211:
DeprecationWarning: Importing 'itsdangerous.json' is deprecated and will
be removed in ItsDangerous 2.1. Use Python's 'json' module instead.
  rv = _json.dumps(obj, **kwargs)
E.....................E......................................
======================================================================
ERROR: test_anything (__main__.HttpbinTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.nx05yeyf/downtmp/autopkgtest_tmp/test_httpbin.py",
line 161, in test_anything
    self.assertEqual(data['headers']['Content-Length'], '0')
KeyError: 'Content-Length'

======================================================================
ERROR: test_get (__main__.HttpbinTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.nx05yeyf/downtmp/autopkgtest_tmp/test_httpbin.py",
line 147, in test_get
    self.assertEqual(data['headers']['Content-Length'], '0')
KeyError: 'Content-Length'

----------------------------------------------------------------------
Ran 63 tests in 5.996s

FAILED (errors=2)
autopkgtest [03:23:23]: test command1


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: