[Python-apps-team] Bug#963342: sen: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Jun 21 21:11:19 BST 2020


Source: sen
Version: 0.6.1-0.1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cat debian/*manpages | sed 's/$/.txt/p' | xargs -n 1 a2x --doctype manpage --format manpage
> dh_auto_configure
> I: pybuild base:217: python3.8 setup.py config 
> running config
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> copying sen/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> copying sen/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> copying sen/docker_backend.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> copying sen/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> copying sen/constants.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> copying sen/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> copying sen/net.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui
> copying sen/tui/buffer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui
> copying sen/tui/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui
> copying sen/tui/constants.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui
> copying sen/tui/ui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui
> copying sen/tui/init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets
> copying sen/tui/widgets/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets
> copying sen/tui/widgets/tree.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets
> copying sen/tui/widgets/graph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets
> copying sen/tui/widgets/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets
> copying sen/tui/widgets/responsive_column.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets
> copying sen/tui/widgets/table.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/chunks
> copying sen/tui/chunks/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/chunks
> copying sen/tui/chunks/image.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/chunks
> copying sen/tui/chunks/misc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/chunks
> copying sen/tui/chunks/container.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/chunks
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/commands
> copying sen/tui/commands/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/commands
> copying sen/tui/commands/ui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/commands
> copying sen/tui/commands/display.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/commands
> copying sen/tui/commands/widget.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/commands
> copying sen/tui/commands/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/commands
> copying sen/tui/commands/backend.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/commands
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> copying sen/tui/views/help.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> copying sen/tui/views/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> copying sen/tui/views/image_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> copying sen/tui/views/container_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> copying sen/tui/views/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> copying sen/tui/views/disk_usage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> copying sen/tui/views/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/views
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets/list
> copying sen/tui/widgets/list/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets/list
> copying sen/tui/widgets/list/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets/list
> copying sen/tui/widgets/list/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets/list
> copying sen/tui/widgets/list/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/sen/tui/widgets/list
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.8.3, pytest-4.6.11, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 7 items / 5 errors / 2 selected
> 
> ==================================== ERRORS ====================================
> _____ ERROR collecting .pybuild/cpython3_3.8/build/tests/test_commands.py ______
> tests/test_commands.py:6: in <module>
>     from sen.tui.commands.base import Command, Option, Commander, register_command, Argument
> sen/tui/commands/__init__.py:4: in <module>
>     from .backend import RemoveCommand
> sen/tui/commands/backend.py:8: in <module>
>     from sen.tui.buffer import LogsBuffer, InspectBuffer, DfBuffer
> sen/tui/buffer.py:6: in <module>
>     from sen.tui.views.disk_usage import DfBufferView
> sen/tui/views/disk_usage.py:8: in <module>
>     import urwid
> /usr/lib/python3/dist-packages/urwid/__init__.py:26: in <module>
>     from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
> /usr/lib/python3/dist-packages/urwid/widget.py:27: in <module>
>     from urwid.util import (MetaSuper, decompose_tagmarkup, calc_width,
> /usr/lib/python3/dist-packages/urwid/util.py:61: in <module>
>     detected_encoding = detect_encoding()
> /usr/lib/python3/dist-packages/urwid/util.py:58: in detect_encoding
>     locale.setlocale(locale.LC_ALL, initial)
> /usr/lib/python3.8/locale.py:608: in setlocale
>     return _setlocale(category, locale)
> E   locale.Error: unsupported locale setting
> ____ ERROR collecting .pybuild/cpython3_3.8/build/tests/test_concurrency.py ____
> tests/test_concurrency.py:7: in <module>
>     from sen.tui.ui import UI
> sen/tui/ui.py:10: in <module>
>     import urwid
> /usr/lib/python3/dist-packages/urwid/__init__.py:26: in <module>
>     from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
> /usr/lib/python3/dist-packages/urwid/widget.py:27: in <module>
>     from urwid.util import (MetaSuper, decompose_tagmarkup, calc_width,
> /usr/lib/python3/dist-packages/urwid/util.py:61: in <module>
>     detected_encoding = detect_encoding()
> /usr/lib/python3/dist-packages/urwid/util.py:58: in detect_encoding
>     locale.setlocale(locale.LC_ALL, initial)
> /usr/lib/python3.8/locale.py:608: in setlocale
>     return _setlocale(category, locale)
> E   locale.Error: unsupported locale setting
> __ ERROR collecting .pybuild/cpython3_3.8/build/tests/test_container_info.py ___
> tests/test_container_info.py:2: in <module>
>     from sen.tui.views.container_info import ProcessList
> sen/tui/views/container_info.py:5: in <module>
>     import urwid
> /usr/lib/python3/dist-packages/urwid/__init__.py:26: in <module>
>     from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
> /usr/lib/python3/dist-packages/urwid/widget.py:27: in <module>
>     from urwid.util import (MetaSuper, decompose_tagmarkup, calc_width,
> /usr/lib/python3/dist-packages/urwid/util.py:61: in <module>
>     detected_encoding = detect_encoding()
> /usr/lib/python3/dist-packages/urwid/util.py:58: in detect_encoding
>     locale.setlocale(locale.LC_ALL, initial)
> /usr/lib/python3.8/locale.py:608: in setlocale
>     return _setlocale(category, locale)
> E   locale.Error: unsupported locale setting
> _______ ERROR collecting .pybuild/cpython3_3.8/build/tests/test_util.py ________
> tests/test_util.py:7: in <module>
>     from sen.tui.widgets.list.common import strip_from_ansi_esc_sequences
> sen/tui/widgets/list/common.py:6: in <module>
>     import urwid
> /usr/lib/python3/dist-packages/urwid/__init__.py:26: in <module>
>     from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
> /usr/lib/python3/dist-packages/urwid/widget.py:27: in <module>
>     from urwid.util import (MetaSuper, decompose_tagmarkup, calc_width,
> /usr/lib/python3/dist-packages/urwid/util.py:61: in <module>
>     detected_encoding = detect_encoding()
> /usr/lib/python3/dist-packages/urwid/util.py:58: in detect_encoding
>     locale.setlocale(locale.LC_ALL, initial)
> /usr/lib/python3.8/locale.py:608: in setlocale
>     return _setlocale(category, locale)
> E   locale.Error: unsupported locale setting
> ______ ERROR collecting .pybuild/cpython3_3.8/build/tests/test_widgets.py ______
> tests/test_widgets.py:7: in <module>
>     from urwid.listbox import SimpleListWalker
> /usr/lib/python3/dist-packages/urwid/__init__.py:26: in <module>
>     from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
> /usr/lib/python3/dist-packages/urwid/widget.py:27: in <module>
>     from urwid.util import (MetaSuper, decompose_tagmarkup, calc_width,
> /usr/lib/python3/dist-packages/urwid/util.py:61: in <module>
>     detected_encoding = detect_encoding()
> /usr/lib/python3/dist-packages/urwid/util.py:58: in detect_encoding
>     locale.setlocale(locale.LC_ALL, initial)
> /usr/lib/python3.8/locale.py:608: in setlocale
>     return _setlocale(category, locale)
> E   locale.Error: unsupported locale setting
> !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!!
> =========================== 5 error in 0.45 seconds ============================
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/sen_0.6.1-0.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-apps-team mailing list