[Python-modules-team] Bug#851001: python-restless: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Jan 11 18:51:14 UTC 2017


Source: python-restless
Version: 2.0.3-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170111 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:184: /usr/bin/python setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/it.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/data.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/preparers.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/dj.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/constants.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/pyr.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/utils.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/resources.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/fl.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/tnd.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/serializers.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/restless
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/it.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/data.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/preparers.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/dj.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/constants.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/pyr.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/utils.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/resources.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/fl.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/tnd.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/serializers.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
> Running Sphinx v1.4.9
> making output directory...
> loading pickled environment... not yet created
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 23 source files that are out of date
> updating environment: 23 added, 0 changed, 0 removed
> reading sources... [  4%] contributing
> reading sources... [  8%] cookbook
> reading sources... [ 13%] extending
> reading sources... [ 17%] index
> reading sources... [ 21%] philosophy
> reading sources... [ 26%] reference/constants
> reading sources... [ 30%] reference/data
> reading sources... [ 34%] reference/exceptions
> reading sources... [ 39%] reference/preparers
> reading sources... [ 43%] reference/resources
> reading sources... [ 47%] reference/serializers
> reading sources... [ 52%] reference/utils
> reading sources... [ 56%] releasenotes/v1.0.0
> reading sources... [ 60%] releasenotes/v1.1.0
> reading sources... [ 65%] releasenotes/v1.2.0
> reading sources... [ 69%] releasenotes/v1.3.0
> reading sources... [ 73%] releasenotes/v1.4.0
> reading sources... [ 78%] releasenotes/v2.0.0
> reading sources... [ 82%] releasenotes/v2.0.1
> reading sources... [ 86%] releasenotes/v2.0.2
> reading sources... [ 91%] releasenotes/v2.0.3
> reading sources... [ 95%] security
> reading sources... [100%] tutorial
> 
> /<<PKGBUILDDIR>>/docs/reference/resources.rst:42: WARNING: autodoc: failed to import module u'restless.it'; the following exception was raised:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 529, in import_object
>     __import__(self.modname)
>   File "/<<PKGBUILDDIR>>/restless/it.py", line 3, in <module>
>     import itty
> ImportError: No module named itty
> /<<PKGBUILDDIR>>/docs/releasenotes/v2.0.0.rst:64: WARNING: Inline literal start-string without end-string.
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  4%] contributing
> writing output... [  8%] cookbook
> writing output... [ 13%] extending
> writing output... [ 17%] index
> writing output... [ 21%] philosophy
> writing output... [ 26%] reference/constants
> writing output... [ 30%] reference/data
> writing output... [ 34%] reference/exceptions
> writing output... [ 39%] reference/preparers
> writing output... [ 43%] reference/resources
> writing output... [ 47%] reference/serializers
> writing output... [ 52%] reference/utils
> writing output... [ 56%] releasenotes/v1.0.0
> writing output... [ 60%] releasenotes/v1.1.0
> writing output... [ 65%] releasenotes/v1.2.0
> writing output... [ 69%] releasenotes/v1.3.0
> writing output... [ 73%] releasenotes/v1.4.0
> writing output... [ 78%] releasenotes/v2.0.0
> writing output... [ 82%] releasenotes/v2.0.1
> writing output... [ 86%] releasenotes/v2.0.2
> writing output... [ 91%] releasenotes/v2.0.3
> writing output... [ 95%] security
> writing output... [100%] tutorial
> 
> generating indices... genindex py-modindex
> writing additional pages... search
> copying static files... WARNING: html_static_path entry u'/<<PKGBUILDDIR>>/docs/_static' does not exist
> done
> copying extra files... done
> dumping search index in English (code: en) ... done
> dumping object inventory... done
> build succeeded, 3 warnings.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
> test_as_detail (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_as_list (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_build_response (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_is_debug (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_setup_urls (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_bubble_exceptions (tests.test_resources.ResourceTestCase) ... ok
> test_build_error (tests.test_resources.ResourceTestCase) ... ok
> test_build_response (tests.test_resources.ResourceTestCase) ... ok
> test_create (tests.test_resources.ResourceTestCase) ... ok
> test_create_detail (tests.test_resources.ResourceTestCase) ... ok
> test_delete (tests.test_resources.ResourceTestCase) ... ok
> test_delete_list (tests.test_resources.ResourceTestCase) ... ok
> test_deserialize (tests.test_resources.ResourceTestCase) ... ok
> test_deserialize_detail (tests.test_resources.ResourceTestCase) ... ok
> test_deserialize_list (tests.test_resources.ResourceTestCase) ... ok
> test_detail (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_create (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_create_detail (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_delete (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_delete_list (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_detail (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_list (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_update (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_update_list (tests.test_resources.ResourceTestCase) ... ok
> test_init (tests.test_resources.ResourceTestCase) ... ok
> test_is_authenticated (tests.test_resources.ResourceTestCase) ... ok
> test_is_debug (tests.test_resources.ResourceTestCase) ... ok
> test_list (tests.test_resources.ResourceTestCase) ... ok
> test_prepare (tests.test_resources.ResourceTestCase) ... ok
> test_request_body (tests.test_resources.ResourceTestCase) ... ok
> test_request_method (tests.test_resources.ResourceTestCase) ... ok
> test_serialize (tests.test_resources.ResourceTestCase) ... ok
> test_serialize_detail (tests.test_resources.ResourceTestCase) ... ok
> test_serialize_list (tests.test_resources.ResourceTestCase) ... ok
> test_update (tests.test_resources.ResourceTestCase) ... ok
> test_update_list (tests.test_resources.ResourceTestCase) ... ok
> test_wrap_list_response (tests.test_resources.ResourceTestCase) ... ok
> test_format_traceback (tests.test_utils.FormatTracebackTestCase) ... ok
> test_as_detail (tests.test_dj.DjangoResourceTestCase) ... ok
> test_as_list (tests.test_dj.DjangoResourceTestCase) ... ok
> test_as_view (tests.test_dj.DjangoResourceTestCase) ... ok
> test_build_url_name (tests.test_dj.DjangoResourceTestCase) ... ok
> test_create (tests.test_dj.DjangoResourceTestCase) ... ok
> test_delete (tests.test_dj.DjangoResourceTestCase) ... ok
> test_handle_build_err (tests.test_dj.DjangoResourceTestCase) ... ok
> test_handle_not_authenticated (tests.test_dj.DjangoResourceTestCase) ... ok
> test_handle_not_implemented (tests.test_dj.DjangoResourceTestCase) ... ok
> test_http404_exception_handling (tests.test_dj.DjangoResourceTestCase) ... ok
> test_object_does_not_exist (tests.test_dj.DjangoResourceTestCase) ... ok
> test_urls (tests.test_dj.DjangoResourceTestCase) ... ok
> test_complex_miss (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_miss (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_nested (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_simple (tests.test_preparers.LookupDataTestCase) ... ok
> test_empty_lookup (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_miss (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_nested (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_simple (tests.test_preparers.LookupDataTestCase) ... ok
> test_basic_resource_detail (tests.test_tnd.FuncTrimTestCase) ... ok
> test_basic_resource_list (tests.test_tnd.FuncTrimTestCase) ... ok
> test_empty_resource (tests.test_tnd.FuncTrimTestCase) ... ok
> test_inheritance_resource_detail (tests.test_tnd.FuncTrimTestCase) ... ok
> test_body (tests.test_tnd.InternalTestCase) ... ok
> test_class (tests.test_tnd.InternalTestCase)
> test the generated tornado.web.RequestHandler ... ok
> test_is_debug (tests.test_tnd.InternalTestCase) ... ok
> test_method (tests.test_tnd.InternalTestCase) ... ok
> test_var (tests.test_tnd.InternalTestCase)
> make sure variable from tornado is correctly passed. ... ok
> test_as_detail (tests.test_tnd.TndAsyncResourceTestCase) ... ok
> test_as_list (tests.test_tnd.TndAsyncResourceTestCase) ... ok
> test_as_detail (tests.test_tnd.TndResourceTestCase) ... ok
> test_as_list (tests.test_tnd.TndResourceTestCase) ... ok
> test_not_authenticated (tests.test_tnd.TndResourceTestCase) ... WARNING:tornado.access:401 POST /fake (127.0.0.1) 1.52ms
> ok
> test_add_views (tests.test_pyr.PyramidResourceTestCase) ... ok
> test_as_detail (tests.test_pyr.PyramidResourceTestCase) ... ok
> test_as_list (tests.test_pyr.PyramidResourceTestCase) ... ok
> test_create (tests.test_pyr.PyramidResourceTestCase) ... ok
> test_handle_not_authenticated (tests.test_pyr.PyramidResourceTestCase) ... ok
> test_add_url_rules (tests.test_fl.FlaskResourceTestCase) ... ok
> test_as_detail (tests.test_fl.FlaskResourceTestCase) ... ok
> test_as_list (tests.test_fl.FlaskResourceTestCase) ... ok
> test_build_response (tests.test_fl.FlaskResourceTestCase) ... ok
> test_is_debug (tests.test_fl.FlaskResourceTestCase) ... ok
> test_deserialize (tests.test_serializers.JSONSerializerTestCase) ... ok
> test_deserialize_invalid (tests.test_serializers.JSONSerializerTestCase) ... ok
> test_serialize (tests.test_serializers.JSONSerializerTestCase) ... ok
> 
> ----------------------------------------------------------------------
> Ran 87 tests in 0.051s
> 
> OK (skipped=5)
> I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
> test_as_detail (tests.test_dj.DjangoResourceTestCase) ... ok
> test_as_list (tests.test_dj.DjangoResourceTestCase) ... ok
> test_as_view (tests.test_dj.DjangoResourceTestCase) ... ok
> test_build_url_name (tests.test_dj.DjangoResourceTestCase) ... ok
> test_create (tests.test_dj.DjangoResourceTestCase) ... ok
> test_delete (tests.test_dj.DjangoResourceTestCase) ... ok
> test_handle_build_err (tests.test_dj.DjangoResourceTestCase) ... ok
> test_handle_not_authenticated (tests.test_dj.DjangoResourceTestCase) ... ok
> test_handle_not_implemented (tests.test_dj.DjangoResourceTestCase) ... ok
> test_http404_exception_handling (tests.test_dj.DjangoResourceTestCase) ... ok
> test_object_does_not_exist (tests.test_dj.DjangoResourceTestCase) ... ok
> test_urls (tests.test_dj.DjangoResourceTestCase) ... ok
> test_add_url_rules (tests.test_fl.FlaskResourceTestCase) ... ok
> test_as_detail (tests.test_fl.FlaskResourceTestCase) ... ok
> test_as_list (tests.test_fl.FlaskResourceTestCase) ... ok
> test_build_response (tests.test_fl.FlaskResourceTestCase) ... ok
> test_is_debug (tests.test_fl.FlaskResourceTestCase) ... ok
> test_as_detail (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_as_list (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_build_response (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_is_debug (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_setup_urls (tests.test_it.IttyResourceTestCase) ... skipped 'itty is not available'
> test_complex_miss (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_miss (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_nested (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok
> test_dict_simple (tests.test_preparers.LookupDataTestCase) ... ok
> test_empty_lookup (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_miss (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_nested (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_nullable_fk (tests.test_preparers.LookupDataTestCase) ... ok
> test_obj_simple (tests.test_preparers.LookupDataTestCase) ... ok
> test_add_views (tests.test_pyr.PyramidResourceTestCase) ... ok
> test_as_detail (tests.test_pyr.PyramidResourceTestCase) ... ERROR
> test_as_list (tests.test_pyr.PyramidResourceTestCase) ... ERROR
> test_create (tests.test_pyr.PyramidResourceTestCase) ... ERROR
> test_handle_not_authenticated (tests.test_pyr.PyramidResourceTestCase) ... ERROR
> test_bubble_exceptions (tests.test_resources.ResourceTestCase) ... ok
> test_build_error (tests.test_resources.ResourceTestCase) ... ok
> test_build_response (tests.test_resources.ResourceTestCase) ... ok
> test_create (tests.test_resources.ResourceTestCase) ... ok
> test_create_detail (tests.test_resources.ResourceTestCase) ... ok
> test_delete (tests.test_resources.ResourceTestCase) ... ok
> test_delete_list (tests.test_resources.ResourceTestCase) ... ok
> test_deserialize (tests.test_resources.ResourceTestCase) ... ok
> test_deserialize_detail (tests.test_resources.ResourceTestCase) ... ok
> test_deserialize_list (tests.test_resources.ResourceTestCase) ... ok
> test_detail (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_create (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_create_detail (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_delete (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_delete_list (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_detail (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_list (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_update (tests.test_resources.ResourceTestCase) ... ok
> test_endpoint_update_list (tests.test_resources.ResourceTestCase) ... ok
> test_init (tests.test_resources.ResourceTestCase) ... ok
> test_is_authenticated (tests.test_resources.ResourceTestCase) ... ok
> test_is_debug (tests.test_resources.ResourceTestCase) ... ok
> test_list (tests.test_resources.ResourceTestCase) ... ok
> test_prepare (tests.test_resources.ResourceTestCase) ... ok
> test_request_body (tests.test_resources.ResourceTestCase) ... ok
> test_request_method (tests.test_resources.ResourceTestCase) ... ok
> test_serialize (tests.test_resources.ResourceTestCase) ... ok
> test_serialize_detail (tests.test_resources.ResourceTestCase) ... ok
> test_serialize_list (tests.test_resources.ResourceTestCase) ... ok
> test_update (tests.test_resources.ResourceTestCase) ... ok
> test_update_list (tests.test_resources.ResourceTestCase) ... ok
> test_wrap_list_response (tests.test_resources.ResourceTestCase) ... ok
> test_deserialize (tests.test_serializers.JSONSerializerTestCase) ... ok
> test_deserialize_invalid (tests.test_serializers.JSONSerializerTestCase) ... ok
> test_serialize (tests.test_serializers.JSONSerializerTestCase) ... ok
> test_basic_resource_detail (tests.test_tnd.FuncTrimTestCase) ... ok
> test_basic_resource_list (tests.test_tnd.FuncTrimTestCase) ... ok
> test_empty_resource (tests.test_tnd.FuncTrimTestCase) ... ok
> test_inheritance_resource_detail (tests.test_tnd.FuncTrimTestCase) ... ok
> test_body (tests.test_tnd.InternalTestCase) ... ok
> test_class (tests.test_tnd.InternalTestCase)
> test the generated tornado.web.RequestHandler ... ok
> test_is_debug (tests.test_tnd.InternalTestCase) ... ok
> test_method (tests.test_tnd.InternalTestCase) ... ok
> test_var (tests.test_tnd.InternalTestCase)
> make sure variable from tornado is correctly passed. ... ok
> test_as_detail (tests.test_tnd.TndAsyncResourceTestCase) ... /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=9, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=13, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> /usr/lib/python3/dist-packages/tornado/stack_context.py:271: ResourceWarning: unclosed <socket.socket fd=15, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 0)>
>   def null_wrapper(*args, **kwargs):
> ok
> test_as_list (tests.test_tnd.TndAsyncResourceTestCase) ... ok
> test_as_detail (tests.test_tnd.TndResourceTestCase) ... ok
> test_as_list (tests.test_tnd.TndResourceTestCase) ... ok
> test_not_authenticated (tests.test_tnd.TndResourceTestCase) ... WARNING:tornado.access:401 POST /fake (127.0.0.1) 2.18ms
> ok
> test_format_traceback (tests.test_utils.FormatTracebackTestCase) ... ok
> 
> ======================================================================
> ERROR: test_as_detail (tests.test_pyr.PyramidResourceTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_pyr.py", line 81, in test_as_detail
>     resp = detail_endpoint(req)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/pyr.py", line 27, in _wrapper
>     return inst.handle('detail', name)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 290, in handle
>     return self.build_response(serialized, status=status)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/pyr.py", line 37, in build_response
>     resp = Response(data, status_code=status, content_type=content_type)
>   File "/usr/lib/python3/dist-packages/webob/response.py", line 310, in __init__
>     "You cannot set the body to a text value without a "
> TypeError: You cannot set the body to a text value without a charset
> 
> ======================================================================
> ERROR: test_as_list (tests.test_pyr.PyramidResourceTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_pyr.py", line 54, in test_as_list
>     resp = list_endpoint(req)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 140, in _wrapper
>     return inst.handle(view_type, *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 290, in handle
>     return self.build_response(serialized, status=status)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/pyr.py", line 37, in build_response
>     resp = Response(data, status_code=status, content_type=content_type)
>   File "/usr/lib/python3/dist-packages/webob/response.py", line 310, in __init__
>     "You cannot set the body to a text value without a "
> TypeError: You cannot set the body to a text value without a charset
> 
> ======================================================================
> ERROR: test_create (tests.test_pyr.PyramidResourceTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_pyr.py", line 109, in test_create
>     resp = self.res.handle('list')
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 290, in handle
>     return self.build_response(serialized, status=status)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/pyr.py", line 37, in build_response
>     resp = Response(data, status_code=status, content_type=content_type)
>   File "/usr/lib/python3/dist-packages/webob/response.py", line 310, in __init__
>     "You cannot set the body to a text value without a "
> TypeError: You cannot set the body to a text value without a charset
> 
> ======================================================================
> ERROR: test_handle_not_authenticated (tests.test_pyr.PyramidResourceTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 280, in handle
>     raise Unauthorized()
> restless.exceptions.Unauthorized: Unauthorized.
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_pyr.py", line 93, in test_handle_not_authenticated
>     resp = self.res.handle('list')
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 287, in handle
>     return self.handle_error(err)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 306, in handle_error
>     return self.build_error(err)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/resources.py", line 211, in build_error
>     return self.build_response(body, status=status)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/restless/pyr.py", line 37, in build_response
>     resp = Response(data, status_code=status, content_type=content_type)
>   File "/usr/lib/python3/dist-packages/webob/response.py", line 310, in __init__
>     "You cannot set the body to a text value without a "
> TypeError: You cannot set the body to a text value without a charset
> 
> ----------------------------------------------------------------------
> Ran 87 tests in 0.055s
> 
> FAILED (errors=4, skipped=5)
> sys:1: ResourceWarning: unclosed file <_io.FileIO name=6 mode='wb' closefd=True>
> sys:1: ResourceWarning: unclosed file <_io.FileIO name=5 mode='rb' closefd=True>
> E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
> dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

The full build log is available from:
   http://aws-logs.debian.net/2017/01/11/python-restless_2.0.3-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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list