Source: python-os-testr
Version: 1.1.0-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 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>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> pkgos-dh_auto_install --no-py2 --in-tmp
> + PKGOS_USE_PY2=yes
> + PKGOS_USE_PY3=yes
> + PKGOS_IN_TMP=no
> + PKGOS_USE_PY2=no
> + shift
> + PKGOS_IN_TMP=yes
> + shift
> + dpkg-parsechangelog -SSource
> + SRC_PKG_NAME=python-os-testr
> + echo python-os-testr
> + sed s/python-//
> + PY_MODULE_NAME=os-testr
> + [ no = yes ]
> + [ yes = yes ]
> + py3versions -vr
> + PYTHON3S=3.9 3.8
> + [ no = yes ]
> + [ yes = yes ]
> + [ yes = yes ]
> + TARGET_DIR=tmp
> + pwd
> + python3.9 setup.py install --install-layout=deb --root
> /<<PKGBUILDDIR>>/debian/tmp
> running install
> [pbr] Generating AUTHORS
> [pbr] AUTHORS complete (0.0s)
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/os_testr
> creating build/lib/os_testr/tests
> copying os_testr/tests/__init__.py -> build/lib/os_testr/tests
> copying os_testr/tests/test_return_codes.py -> build/lib/os_testr/tests
> copying os_testr/tests/test_regex_builder.py -> build/lib/os_testr/tests
> copying os_testr/tests/test_subunit_trace.py -> build/lib/os_testr/tests
> copying os_testr/tests/test_subunit2html.py -> build/lib/os_testr/tests
> copying os_testr/tests/test_ostestr.py -> build/lib/os_testr/tests
> copying os_testr/tests/testlist_builder.py -> build/lib/os_testr/tests
> copying os_testr/tests/base.py -> build/lib/os_testr/tests
> copying os_testr/subunit_trace.py -> build/lib/os_testr
> copying os_testr/__init__.py -> build/lib/os_testr
> copying os_testr/generate_subunit.py -> build/lib/os_testr
> copying os_testr/ostestr.py -> build/lib/os_testr
> copying os_testr/subunit2html.py -> build/lib/os_testr
> copying os_testr/testlist_builder.py -> build/lib/os_testr
> copying os_testr/regex_builder.py -> build/lib/os_testr
> creating build/lib/os_testr/tests/files
> copying os_testr/tests/files/__init__.py -> build/lib/os_testr/tests/files
> creating build/lib/os_testr/utils
> copying os_testr/utils/colorizer.py -> build/lib/os_testr/utils
> copying os_testr/utils/__init__.py -> build/lib/os_testr/utils
> creating build/lib/os_testr/tests/utils
> copying os_testr/tests/utils/__init__.py -> build/lib/os_testr/tests/utils
> copying os_testr/tests/utils/test_colorizer.py ->
> build/lib/os_testr/tests/utils
> running egg_info
> creating os_testr.egg-info
> writing os_testr.egg-info/PKG-INFO
> writing dependency_links to os_testr.egg-info/dependency_links.txt
> writing entry points to os_testr.egg-info/entry_points.txt
> writing requirements to os_testr.egg-info/requires.txt
> writing top-level names to os_testr.egg-info/top_level.txt
> [pbr] Processing SOURCES.txt
> writing manifest file 'os_testr.egg-info/SOURCES.txt'
> warning: no files found matching 'AUTHORS'
> warning: no files found matching 'ChangeLog'
> warning: no previously-included files found matching '.gitignore'
> warning: no previously-included files found matching '.gitreview'
> warning: no previously-included files matching '*.pyc' found anywhere in
> distribution
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'AUTHORS'
> warning: no files found matching 'ChangeLog'
> warning: no previously-included files found matching '.gitignore'
> warning: no previously-included files found matching '.gitreview'
> warning: no previously-included files matching '*.pyc' found anywhere in
> distribution
> writing manifest file 'os_testr.egg-info/SOURCES.txt'
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/tmp
> creating /<<PKGBUILDDIR>>/debian/tmp/usr
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> copying build/lib/os_testr/subunit_trace.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> copying build/lib/os_testr/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> creating
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils
> copying build/lib/os_testr/utils/colorizer.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils
> copying build/lib/os_testr/utils/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils
> creating
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> copying build/lib/os_testr/tests/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> creating
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils
> copying build/lib/os_testr/tests/utils/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils
> copying build/lib/os_testr/tests/utils/test_colorizer.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils
> copying build/lib/os_testr/tests/test_return_codes.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> copying build/lib/os_testr/tests/test_regex_builder.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> copying build/lib/os_testr/tests/test_subunit_trace.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> copying build/lib/os_testr/tests/test_subunit2html.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> copying build/lib/os_testr/tests/test_ostestr.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> copying build/lib/os_testr/tests/testlist_builder.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> copying build/lib/os_testr/tests/base.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests
> creating
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/files
> copying build/lib/os_testr/tests/files/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/files
> copying build/lib/os_testr/generate_subunit.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> copying build/lib/os_testr/ostestr.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> copying build/lib/os_testr/subunit2html.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> copying build/lib/os_testr/testlist_builder.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> copying build/lib/os_testr/regex_builder.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit_trace.py
> to subunit_trace.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/__init__.py
> to __init__.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils/colorizer.py
> to colorizer.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils/__init__.py
> to __init__.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/__init__.py
> to __init__.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils/__init__.py
> to __init__.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils/test_colorizer.py
> to test_colorizer.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_return_codes.py
> to test_return_codes.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_regex_builder.py
> to test_regex_builder.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_subunit_trace.py
> to test_subunit_trace.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_subunit2html.py
> to test_subunit2html.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_ostestr.py
> to test_ostestr.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/testlist_builder.py
> to testlist_builder.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/base.py
> to base.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/files/__init__.py
> to __init__.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/generate_subunit.py
> to generate_subunit.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/ostestr.py
> to ostestr.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit2html.py
> to subunit2html.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/testlist_builder.py
> to testlist_builder.cpython-39.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/regex_builder.py
> to regex_builder.cpython-39.pyc
> running install_egg_info
> Copying os_testr.egg-info to
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr-1.1.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> /usr/lib/python3/dist-packages/pbr/packaging.py:436:
> EasyInstallDeprecationWarning: Use get_header
> header = easy_install.get_script_header("", executable)
> Installing generate-subunit script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> Installing ostestr script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> Installing subunit-trace script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> Installing subunit2html script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> + pwd
> + python3.8 setup.py install --install-layout=deb --root
> /<<PKGBUILDDIR>>/debian/tmp
> running install
> [pbr] Generating AUTHORS
> [pbr] AUTHORS complete (0.0s)
> running build
> running build_py
> running egg_info
> writing os_testr.egg-info/PKG-INFO
> writing dependency_links to os_testr.egg-info/dependency_links.txt
> writing entry points to os_testr.egg-info/entry_points.txt
> writing requirements to os_testr.egg-info/requires.txt
> writing top-level names to os_testr.egg-info/top_level.txt
> [pbr] Reusing existing SOURCES.txt
> running install_lib
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit_trace.py
> to subunit_trace.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/__init__.py
> to __init__.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils/colorizer.py
> to colorizer.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/utils/__init__.py
> to __init__.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/__init__.py
> to __init__.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils/__init__.py
> to __init__.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/utils/test_colorizer.py
> to test_colorizer.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_return_codes.py
> to test_return_codes.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_regex_builder.py
> to test_regex_builder.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_subunit_trace.py
> to test_subunit_trace.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_subunit2html.py
> to test_subunit2html.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/test_ostestr.py
> to test_ostestr.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/testlist_builder.py
> to testlist_builder.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/base.py
> to base.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/tests/files/__init__.py
> to __init__.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/generate_subunit.py
> to generate_subunit.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/ostestr.py
> to ostestr.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/subunit2html.py
> to subunit2html.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/testlist_builder.py
> to testlist_builder.cpython-38.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr/regex_builder.py
> to regex_builder.cpython-38.pyc
> running install_egg_info
> removing
> '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr-1.1.0.egg-info'
> (and everything under it)
> Copying os_testr.egg-info to
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/os_testr-1.1.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> Installing generate-subunit script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> Installing ostestr script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> Installing subunit-trace script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> Installing subunit2html script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
> /usr/lib/python3/dist-packages/pbr/packaging.py:436:
> EasyInstallDeprecationWarning: Use get_header
> header = easy_install.get_script_header("", executable)
> + pwd
> + rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth
> + pwd
> + rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth
> + pwd
> + [ -d /<<PKGBUILDDIR>>/debian/python-os-testr/usr/bin ]
> export PATH=$PATH:/<<PKGBUILDDIR>>/debian/tmp/usr/bin ; pkgos-dh_auto_test
> --no-py2
> + PKGOS_USE_PY2=yes
> + PKGOS_USE_PY3=yes
> + PKGOS_TEST_PARALLEL=yes
> + PKGOS_TEST_SERIAL=no
> + PYTHONS=disabled
> + PYTHON3S=disabled
> + TEST_PARALLEL_OPT=--parallel
> + TEST_SERIAL_OPT=
> + PKGOS_USE_PY2=no
> + shift
> + [ no = yes ]
> + [ yes = yes ]
> + py3versions -vr
> + PYTHON3S=3.9 3.8
> + [ yes = no ]
> + [ no = yes ]
> + [ disabled = disabled ]
> + continue
> + [ 3.9 = disabled ]
> + echo 3.9
> + cut -d. -f1
> + PYMAJOR=3
> + echo ===> Testing with python (python3)
> ===> Testing with python (python3)
> + [ 3 = 3 ]
> + pwd
> + [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
> + [ -z ]
> + pwd
> + export PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
> + [ -e .stestr.conf ]
> + [ -x /usr/bin/python3-stestr ]
> + STESTR=stestr
> + rm -rf .stestr
> + PYTHON=python3.9 stestr run --parallel --subunit
> + subunit2pyunit
>
> =========================
> Failures during discovery
> =========================
> --- import errors ---
> Failed to import test module: os_testr.tests.test_ostestr
> Traceback (most recent call last):
> File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.9/unittest/loader.py", line 377, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/os_testr/tests/test_ostestr.py", line 22, in <module>
> import mock
> ModuleNotFoundError: No module named 'mock'
>
> Failed to import test module: os_testr.tests.test_regex_builder
> Traceback (most recent call last):
> File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.9/unittest/loader.py", line 377, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/os_testr/tests/test_regex_builder.py", line 16, in
> <module>
> import mock
> ModuleNotFoundError: No module named 'mock'
>
> Failed to import test module: os_testr.tests.test_subunit_trace
> Traceback (most recent call last):
> File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.9/unittest/loader.py", line 377, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/os_testr/tests/test_subunit_trace.py", line 25, in
> <module>
> from mock import patch
> ModuleNotFoundError: No module named 'mock'
>
> Failed to import test module: os_testr.tests.testlist_builder
> Traceback (most recent call last):
> File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.9/unittest/loader.py", line 377, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/os_testr/tests/testlist_builder.py", line 15, in
> <module>
> import mock
> ModuleNotFoundError: No module named 'mock'
>
> ================================================================================
> The above traceback was encountered during test discovery which imports all
> the found test modules in the specified test_path.
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.422s
>
> OK
> + stestr slowest
> make[1]: *** [debian/rules:20: override_dh_auto_install] Error 3
The full build log is available from:
http://qa-logs.debian.net/2020/10/27/python-os-testr_1.1.0-2_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.