Your message dated Wed, 11 Jan 2017 22:00:27 +0100
with message-id <20170111210027.niiwolrbee7fn...@sar0.p1otr.com>
and subject line Re: Bug#851012: asyncpg: FTBFS: dh_auto_test: pybuild --test
-i python{version} -p 3.5 returned exit code 13
has caused the Debian Bug report #851012,
regarding asyncpg: FTBFS: dh_auto_test: pybuild --test -i python{version} -p
3.5 returned exit code 13
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
851012: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851012
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: asyncpg
Version: 0.8.1-1
Severity: serious
Tags: stretch sid
User: debian...@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):
> debian/rules build
> dh build --with python3 --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 build_ext --cython-always
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/connection.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/_testbase.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/cursor.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/introspection.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/prepared_stmt.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/cluster.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/types.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/serverversion.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/transaction.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> copying asyncpg/pool.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg
> running egg_info
> writing asyncpg.egg-info/PKG-INFO
> writing dependency_links to asyncpg.egg-info/dependency_links.txt
> writing top-level names to asyncpg.egg-info/top_level.txt
> asyncpg/protocol/protocol.pyx: cannot find cimported module 'asyncpg.protocol'
> reading manifest file 'asyncpg.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.py' under directory 'examples'
> warning: no files found matching '*.pem' under directory 'tests'
> writing manifest file 'asyncpg.egg-info/SOURCES.txt'
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/exceptions
> copying asyncpg/exceptions/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/exceptions
> copying asyncpg/exceptions/_base.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/exceptions
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/buffer.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/buffer.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/consts.pxi ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/coreproto.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/coreproto.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/debug.h ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/debug.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/encodings.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/hton.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/pgtypes.pxi ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/prepared_stmt.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/prepared_stmt.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/protocol.c ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/protocol.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/protocol.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/python.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/settings.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> copying asyncpg/protocol/settings.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/array.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/base.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/base.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/bits.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/bytea.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/datetime.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/float.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/geometry.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/hstore.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/int.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/json.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/misc.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/money.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/network.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/numeric.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/range.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/record.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/text.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/tsearch.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/txid.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> copying asyncpg/protocol/codecs/uuid.pyx ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/codecs
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/record
> copying asyncpg/protocol/record/__init__.pxd ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/record
> copying asyncpg/protocol/record/recordobj.c ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/record
> copying asyncpg/protocol/record/recordobj.h ->
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/record
> running build_ext
> building 'asyncpg.protocol.protocol' extension
> creating build
> creating build/temp.linux-x86_64-3.5
> creating build/temp.linux-x86_64-3.5/asyncpg
> creating build/temp.linux-x86_64-3.5/asyncpg/protocol
> creating build/temp.linux-x86_64-3.5/asyncpg/protocol/record
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c
> asyncpg/protocol/protocol.c -o
> build/temp.linux-x86_64-3.5/asyncpg/protocol/protocol.o -O2
> asyncpg/protocol/protocol.c: In function
> '__pyx_f_7asyncpg_8protocol_8protocol_path_encode':
> asyncpg/protocol/protocol.c:24728:15: warning: '__pyx_v_is_closed' may be
> used uninitialized in this function [-Wmaybe-uninitialized]
> __pyx_t_2 =
> __pyx_f_7asyncpg_8protocol_8protocol_11WriteBuffer_write_byte(__pyx_v_wbuf,
> __pyx_v_is_closed); if (unlikely(!__pyx_t_2)) __PYX_ERR(11, 115,
> __pyx_L1_error)
>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c: In function
> '__pyx_f_7asyncpg_8protocol_8protocol_interval_decode':
> asyncpg/protocol/protocol.c:303:40: warning: '__pyx_v_microseconds' may be
> used uninitialized in this function [-Wmaybe-uninitialized]
> #define PyInt_FromLong PyLong_FromLong
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:22593:12: note: '__pyx_v_microseconds' was
> declared here
> uint32_t __pyx_v_microseconds;
> ^~~~~~~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:303:40: warning: '__pyx_v_seconds' may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> #define PyInt_FromLong PyLong_FromLong
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:22592:11: note: '__pyx_v_seconds' was declared
> here
> int64_t __pyx_v_seconds;
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c: In function
> '__pyx_f_7asyncpg_8protocol_8protocol_time_decode':
> asyncpg/protocol/protocol.c:303:40: warning: '__pyx_v_microseconds' may be
> used uninitialized in this function [-Wmaybe-uninitialized]
> #define PyInt_FromLong PyLong_FromLong
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:21942:12: note: '__pyx_v_microseconds' was
> declared here
> uint32_t __pyx_v_microseconds;
> ^~~~~~~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:21976:33: warning: '__pyx_v_seconds' may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> __pyx_v_minutes = ((int32_t)(((double)__pyx_v_seconds) / 60.0));
> ~^~~~~~~~~~~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c: In function
> '__pyx_f_7asyncpg_8protocol_8protocol_timestamp_decode':
> asyncpg/protocol/protocol.c:303:40: warning: '__pyx_v_microseconds' may be
> used uninitialized in this function [-Wmaybe-uninitialized]
> #define PyInt_FromLong PyLong_FromLong
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:21030:12: note: '__pyx_v_microseconds' was
> declared here
> uint32_t __pyx_v_microseconds;
> ^~~~~~~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:303:40: warning: '__pyx_v_seconds' may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> #define PyInt_FromLong PyLong_FromLong
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:21029:11: note: '__pyx_v_seconds' was declared
> here
> int64_t __pyx_v_seconds;
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c: In function
> '__pyx_f_7asyncpg_8protocol_8protocol_timestamptz_decode':
> asyncpg/protocol/protocol.c:303:40: warning: '__pyx_v_microseconds' may be
> used uninitialized in this function [-Wmaybe-uninitialized]
> #define PyInt_FromLong PyLong_FromLong
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:21564:12: note: '__pyx_v_microseconds' was
> declared here
> uint32_t __pyx_v_microseconds;
> ^~~~~~~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:303:40: warning: '__pyx_v_seconds' may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> #define PyInt_FromLong PyLong_FromLong
> ^~~~~~~~~~~~~~~
> asyncpg/protocol/protocol.c:21563:11: note: '__pyx_v_seconds' was declared
> here
> int64_t __pyx_v_seconds;
> ^~~~~~~~~~~~~~~
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c
> asyncpg/protocol/record/recordobj.c -o
> build/temp.linux-x86_64-3.5/asyncpg/protocol/record/recordobj.o -O2
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
> -Wl,-z,relro -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.5/asyncpg/protocol/protocol.o
> build/temp.linux-x86_64-3.5/asyncpg/protocol/record/recordobj.o -o
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/protocol.cpython-35m-x86_64-linux-gnu.so
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: python3.5 setup.py test -s
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests
> running test
> running egg_info
> writing top-level names to asyncpg.egg-info/top_level.txt
> writing asyncpg.egg-info/PKG-INFO
> writing dependency_links to asyncpg.egg-info/dependency_links.txt
> reading manifest file 'asyncpg.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.py' under directory 'examples'
> warning: no files found matching '*.pem' under directory 'tests'
> writing manifest file 'asyncpg.egg-info/SOURCES.txt'
> running build_ext
> copying
> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncpg/protocol/protocol.cpython-35m-x86_64-linux-gnu.so
> -> asyncpg/protocol
> /<<BUILDDIR>>/asyncpg-0 (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: /<<BUILDDIR>>/asyncpg-0 (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: /<<BUILDDIR>>/asyncpg-0
> Traceback (most recent call last):
> File "/usr/lib/python3.5/unittest/loader.py", line 153, in loadTestsFromName
> module = __import__(module_name)
> ImportError: No module named '/<<BUILDDIR>>/asyncpg-0'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1:
> python3.5 setup.py test -s {build_dir}/tests
> 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/asyncpg_0.8.1-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.
--- End Message ---
--- Begin Message ---
Source: asyncpg
Source-Version: 0.8.4-1
I had the same problem while packaging 0.8.4 and I fixed it by switching
to pytest. Please reopen if you can still reproduce it
--- End Message ---