[Python-modules-team] Bug#669473: django-celery: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Apr 19 19:25:55 UTC 2012


Source: django-celery
Version: 2.4.2-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120419 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> set -e; \
> 	for python in python2.7; do \
> 	  $python setup.py test ; \
> 	done
> running test
> ............................................................EE...
> ======================================================================
> ERROR: test_failed_request (djcelery.tests.test_views.test_webhook_task)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/djcelery/tests/test_views.py", line 144, in test_failed_request
>     request = MockRequest().get("/tasks/error", dict(x=10, y=10))
>   File "/«PKGBUILDDIR»/djcelery/tests/req.py", line 62, in get
>     return self._make_request("get", *args, **kwargs)
>   File "/«PKGBUILDDIR»/djcelery/tests/req.py", line 56, in _make_request
>     request = request_method_handler(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 439, in get
>     response = super(Client, self).get(path, data=data, **extra)
>   File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 244, in get
>     return self.request(**r)
>   File "/«PKGBUILDDIR»/djcelery/tests/req.py", line 43, in request
>     return WSGIRequest(environ)
>   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 153, in __init__
>     self._stream = LimitedStream(self.environ['wsgi.input'], content_length)
> KeyError: 'wsgi.input'
> 
> ======================================================================
> ERROR: test_successful_request (djcelery.tests.test_views.test_webhook_task)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/djcelery/tests/test_views.py", line 131, in test_successful_request
>     request = MockRequest().get("/tasks/add", dict(x=10, y=10))
>   File "/«PKGBUILDDIR»/djcelery/tests/req.py", line 62, in get
>     return self._make_request("get", *args, **kwargs)
>   File "/«PKGBUILDDIR»/djcelery/tests/req.py", line 56, in _make_request
>     request = request_method_handler(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 439, in get
>     response = super(Client, self).get(path, data=data, **extra)
>   File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 244, in get
>     return self.request(**r)
>   File "/«PKGBUILDDIR»/djcelery/tests/req.py", line 43, in request
>     return WSGIRequest(environ)
>   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 153, in __init__
>     self._stream = LimitedStream(self.environ['wsgi.input'], content_length)
> KeyError: 'wsgi.input'
> 
> ----------------------------------------------------------------------
> Ran 65 tests in 2.391s
> 
> FAILED (errors=2)
> nosetests --verbosity 1 /«PKGBUILDDIR»/tests/../djcelery/tests 
> Creating test database for alias 'default'...
> Destroying test database for alias 'default'...
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/04/19/django-celery_2.4.2-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Python-modules-team mailing list