Source: aiocoap
Version: 0.1+9ae36f4-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160728 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):
>  debian/rules build
> dh build --with python3,sphinxdoc --buildsystem=pybuild
>    dh_testdir -O--buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:184: python3.5 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/dump.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/resource.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/message.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/interfaces.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/options.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/optiontypes.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/error.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/__init__.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> copying aiocoap/protocol.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap
> creating /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/encoding.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/observe.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/doctest.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/reverseproxy.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/__init__.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/server.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/proxy.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/client.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/tests
> creating 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/util
> copying aiocoap/util/queuewithend.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/util
> copying aiocoap/util/__init__.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/util
> copying aiocoap/util/asyncio.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/util
> creating 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/numbers
> copying aiocoap/numbers/constants.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/numbers
> copying aiocoap/numbers/optionnumbers.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/numbers
> copying aiocoap/numbers/__init__.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/numbers
> copying aiocoap/numbers/codes.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/numbers
> copying aiocoap/numbers/types.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/numbers
> creating 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/proxy
> copying aiocoap/proxy/__init__.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/proxy
> copying aiocoap/proxy/server.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/proxy
> copying aiocoap/proxy/client.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/proxy
> creating 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/cli
> copying aiocoap/cli/__init__.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/cli
> copying aiocoap/cli/proxy.py -> 
> /«BUILDDIR»/aiocoap-0.1+9ae36f4/.pybuild/pythonX.Y_3.5/build/aiocoap/cli
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: python3.5 setup.py test 
> running test
> running egg_info
> creating aiocoap.egg-info
> writing aiocoap.egg-info/PKG-INFO
> writing top-level names to aiocoap.egg-info/top_level.txt
> writing dependency_links to aiocoap.egg-info/dependency_links.txt
> writing manifest file 'aiocoap.egg-info/SOURCES.txt'
> reading manifest file 'aiocoap.egg-info/SOURCES.txt'
> writing manifest file 'aiocoap.egg-info/SOURCES.txt'
> running build_ext
> test_decode (tests.encoding.TestMessage) ... ok
> test_encode (tests.encoding.TestMessage) ... ok
> test_set_uri_path (tests.encoding.TestOptions) ... ok
> test_optiontypes (tests.encoding.TestOptiontypes) ... ok
> test_read_extended_field_value (tests.encoding.TestReadExtendedFieldValue) 
> ... ok
> test_decode (tests.encoding.TestUintOption) ... ok
> test_encode (tests.encoding.TestUintOption) ... ok
> test_length (tests.encoding.TestUintOption) ... ok
> test_counter (tests.observe.TestObserve) ... 
> /usr/lib/python3.5/asyncio/tasks.py:530: DeprecationWarning: asyncio.async() 
> function is deprecated, use ensure_future()
>   DeprecationWarning)
> ok
> test_echo (tests.observe.TestObserve) ... ok
> test_normal_get (tests.observe.TestObserve) ... ok
> test_unobservable (tests.observe.TestObserve) ... ok
> hashing_etag (aiocoap.resource)
> Doctest: aiocoap.resource.hashing_etag ... ok
> get_cache_key (aiocoap.message.Message)
> Doctest: aiocoap.message.Message.get_cache_key ... ok
> __repr__ (aiocoap.numbers.codes.Code)
> Doctest: aiocoap.numbers.codes.Code.__repr__ ... ok
> splitport (aiocoap.proxy.server)
> Doctest: aiocoap.proxy.server.splitport ... ok
> test_options (tests.reverseproxy.TestReverseProxy) ... ok
> test_routing (tests.reverseproxy.TestReverseProxy) ... ok
> test_big_resource (tests.server.TestServer) ... ok
> test_empty_accept (tests.server.TestServer) ... ok
> test_fast_resource (tests.server.TestServer) ... ok
> test_js_accept (tests.server.TestServer) ... ok
> test_nonexisting_resource (tests.server.TestServer) ... ok
> test_replacing_resource (tests.server.TestServer) ... ok
> test_slow_resource (tests.server.TestServer) ... ok
> test_slowbig_resource (tests.server.TestServer) ... ok
> test_spurious_resource (tests.server.TestServer) ... ok
> test_unacceptable_accept (tests.server.TestServer) ... ok
> test_big_resource (tests.proxy.TestServerWithProxy) ... ok
> test_empty_accept (tests.proxy.TestServerWithProxy) ... ok
> test_fast_resource (tests.proxy.TestServerWithProxy) ... ok
> test_js_accept (tests.proxy.TestServerWithProxy) ... ok
> test_nonexisting_resource (tests.proxy.TestServerWithProxy) ... ok
> test_replacing_resource (tests.proxy.TestServerWithProxy) ... ok
> test_slow_resource (tests.proxy.TestServerWithProxy) ... ok
> test_slowbig_resource (tests.proxy.TestServerWithProxy) ... ok
> test_spurious_resource (tests.proxy.TestServerWithProxy) ... ok
> test_unacceptable_accept (tests.proxy.TestServerWithProxy) ... ok
> test_uri_parser (tests.client.TestClient) ... ERROR
> FAIL
> test_uri_parser2 (tests.client.TestClient)
> A difficult test because it is prone to keeping the transport ... ok
> 
> ======================================================================
> ERROR: test_uri_parser (tests.client.TestClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/tests/server.py", line 116, in wrapped
>     result = function(self, *args)
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/tests/client.py", line 31, in 
> test_uri_parser
>     response = yieldfrom(self.client.request(request).response)
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/tests/client.py", line 18, in <lambda>
>     yieldfrom = lambda f: self.loop.run_until_complete(f)
>   File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in 
> run_until_complete
>     return future.result()
>   File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
>     raise self._exception
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/aiocoap/protocol.py", line 654, in 
> _init_phase2
>     yield from self._fill_remote(self.app_request)
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/aiocoap/protocol.py", line 608, in 
> _fill_remote
>     flags=socket.AI_V4MAPPED,
>   File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
>     yield self  # This tells Task to wait for completion.
>   File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
>     future.result()
>   File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
>     raise self._exception
>   File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
>     result = self.fn(*self.args, **self.kwargs)
>   File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
>     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
> socket.gaierror: [Errno -2] Name or service not known
> 
> ======================================================================
> FAIL: test_uri_parser (tests.client.TestClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/tests/server.py", line 201, in 
> tearDown
>     super(WithTestServer, self).tearDown()
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/tests/server.py", line 216, in 
> tearDown
>     self._del_to_be_sure("client")
>   File "/«BUILDDIR»/aiocoap-0.1+9ae36f4/tests/server.py", line 184, in 
> _del_to_be_sure
>     self.fail(errormessage)
> AssertionError: Protocol client was not garbage collected.
> 
> Referrers: [{'_assembled_response': None,
>   '_exchange_monitor_factory': <function Request.<lambda> at 0x7f7434933400>,
>   '_request_transmitted_completely': False,
>   '_requesttimeout': None,
>   'app_request': <aiocoap.Message at 0x7f743162edd8: None GET (ID None, token 
> b'') remote None, 2 option(s)>,
>   'handle_blockwise': True,
>   'log': <logging.Logger object at 0x7f74348b6630>,
>   'protocol': <aiocoap.protocol.Context object at 0x7f74348a5d30>,
>   'response': <Future finished exception=gaierror(-2, 'Name or service not 
> known')>},
>  <cell at 0x7f7431672978: Context object at 0x7f74348a5d30>]
> 
> Properties: {'_active_exchanges': None,
>  '_backlogs': {},
>  '_recent_messages': {(('::1', 5683, 0, 0), 20566): None},
>  '_shutting_down': <Future finished result=None>,
>  'incoming_observations': {},
>  'incoming_requests': {},
>  'log': <logging.Logger object at 0x7f7436b50630>,
>  'loop': <_UnixSelectorEventLoop running=False closed=False debug=False>,
>  'message_id': 20567,
>  'outgoing_observations': {},
>  'outgoing_requests': {},
>  'ready': <Future finished result=True>,
>  'serversite': None,
>  'token': 5998,
>  'transport': <_SelectorDatagramTransport closed fd=67>}
> 
> Log of the unit test:
> DEBUG:coap:Sending message <aiocoap.Message at 0x7f7431638a20: Type.CON GET 
> (ID 20566, token b'\x00\x00\x17n') remote ('::1', 5683, 0, 0), 3 option(s)>
> DEBUG:coap:Exchange added, message ID: 20566.
> DEBUG:coap.requester:Timeout is 93.0
> DEBUG:coap.requester:Sending request - Token: 0000176e, Remote: ('::1', 5683, 
> 0, 0)
> DEBUG:coap-server:Incoming message <aiocoap.Message at 0x7f743163db00: 
> Type.CON GET (ID 20566, token b'\x00\x00\x17n') remote ('::1', 56443, 0, 0), 
> 3 option(s)>
> DEBUG:coap-server:New unique message received
> DEBUG:coap-server.responder:New responder created, key (('empty',), ('::1', 
> 56443, 0, 0))
> DEBUG:coap-server.responder:Preparing response...
> DEBUG:coap-server.responder:Sending token: 0000176e
> DEBUG:coap-server.responder:Sending response, type = Type.ACK (request type = 
> Type.CON)
> DEBUG:coap-server:Sending message <aiocoap.Message at 0x7f743162e978: 
> Type.ACK 2.05 Content (ID 20566, token b'\x00\x00\x17n') remote ('::1', 
> 56443, 0, 0)>
> DEBUG:coap:Incoming message <aiocoap.Message at 0x7f743162ec18: Type.ACK 2.05 
> Content (ID 20566, token b'\x00\x00\x17n') remote ('::1', 5683, 0, 0)>
> DEBUG:coap:New unique message received
> DEBUG:coap:Exchange removed, message ID: 20566.
> DEBUG:coap:Received Response: <aiocoap.Message at 0x7f743162ec18: Type.ACK 
> 2.05 Content (ID 20566, token b'\x00\x00\x17n') remote ('::1', 5683, 0, 0)>
> DEBUG:coap-server:Shutting down context
> DEBUG:coap:Shutting down context
> 
> ----------------------------------------------------------------------
> Ran 40 tests in 2.396s
> 
> FAILED (failures=1, errors=1)
> E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: 
> python3.5 setup.py test 
> dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/28/aiocoap_0.1+9ae36f4-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.

Reply via email to