[Debian-astro-maintainers] Bug#1052816: asdf-standard: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13
Lucas Nussbaum
lucas at debian.org
Tue Sep 26 14:16:32 BST 2023
Source: asdf-standard
Version: 1.0.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" module
> I: pybuild base:291: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/asdf_standard
> copying src/asdf_standard/_version.py -> build/lib/asdf_standard
> copying src/asdf_standard/__init__.py -> build/lib/asdf_standard
> copying src/asdf_standard/integration.py -> build/lib/asdf_standard
> copying src/asdf_standard/resource.py -> build/lib/asdf_standard
> running egg_info
> creating src/asdf_standard.egg-info
> writing src/asdf_standard.egg-info/PKG-INFO
> writing dependency_links to src/asdf_standard.egg-info/dependency_links.txt
> writing entry points to src/asdf_standard.egg-info/entry_points.txt
> writing requirements to src/asdf_standard.egg-info/requires.txt
> writing top-level names to src/asdf_standard.egg-info/top_level.txt
> writing manifest file 'src/asdf_standard.egg-info/SOURCES.txt'
> reading manifest file 'src/asdf_standard.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'src/asdf_standard.egg-info/SOURCES.txt'
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/asdf_standard
> copying build/lib/asdf_standard/_version.py -> build/bdist.linux-x86_64/wheel/asdf_standard
> copying build/lib/asdf_standard/__init__.py -> build/bdist.linux-x86_64/wheel/asdf_standard
> copying build/lib/asdf_standard/integration.py -> build/bdist.linux-x86_64/wheel/asdf_standard
> copying build/lib/asdf_standard/resource.py -> build/bdist.linux-x86_64/wheel/asdf_standard
> running install_egg_info
> Copying src/asdf_standard.egg-info to build/bdist.linux-x86_64/wheel/asdf_standard-1.0.3.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/asdf_standard-1.0.3.dist-info/WHEEL
> creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/.tmp-3g3njkg3/asdf_standard-1.0.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'asdf_standard/__init__.py'
> adding 'asdf_standard/_version.py'
> adding 'asdf_standard/integration.py'
> adding 'asdf_standard/resource.py'
> adding 'asdf_standard-1.0.3.dist-info/LICENSE'
> adding 'asdf_standard-1.0.3.dist-info/METADATA'
> adding 'asdf_standard-1.0.3.dist-info/WHEEL'
> adding 'asdf_standard-1.0.3.dist-info/entry_points.txt'
> adding 'asdf_standard-1.0.3.dist-info/top_level.txt'
> adding 'asdf_standard-1.0.3.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built asdf_standard-1.0.3-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:291: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
> [1m============================= test session starts ==============================[0m
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build
> configfile: pyproject.toml
> plugins: mock-3.11.1, doctestplus-1.0.0, cov-4.1.0, openfiles-0.5.0, filter-subpackage-0.1.2, astropy-header-0.2.2, asdf-2.15.0, arraydiff-0.5.0, hypothesis-6.87.0, remotedata-0.4.0, astropy-0.10.0
> collected 20 items / 1 error
>
> ==================================== ERRORS ====================================
> [31m[1m__________________ ERROR collecting tests/test_version_map.py __________________[0m
> [1m[31m/usr/lib/python3/dist-packages/_pytest/runner.py[0m:341: in from_call
> result: Optional[TResult] = func()
> [1m[31m/usr/lib/python3/dist-packages/_pytest/runner.py[0m:372: in <lambda>
> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> [1m[31m/usr/lib/python3/dist-packages/_pytest/python.py[0m:531: in collect
> self._inject_setup_module_fixture()
> [1m[31m/usr/lib/python3/dist-packages/_pytest/python.py[0m:545: in _inject_setup_module_fixture
> self.obj, ("setUpModule", "setup_module")
> [1m[31m/usr/lib/python3/dist-packages/_pytest/python.py[0m:310: in obj
> self._obj = obj = self._getobj()
> [1m[31m/usr/lib/python3/dist-packages/_pytest/python.py[0m:528: in _getobj
> return self._importtestmodule()
> [1m[31m/usr/lib/python3/dist-packages/_pytest/python.py[0m:617: in _importtestmodule
> mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> [1m[31m/usr/lib/python3/dist-packages/_pytest/pathlib.py[0m:567: in import_path
> importlib.import_module(module_name)
> [1m[31m/usr/lib/python3.11/importlib/__init__.py[0m:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> [1m[31m<frozen importlib._bootstrap>[0m:1204: in _gcd_import
> ???
> [1m[31m<frozen importlib._bootstrap>[0m:1176: in _find_and_load
> ???
> [1m[31m<frozen importlib._bootstrap>[0m:1147: in _find_and_load_unlocked
> ???
> [1m[31m<frozen importlib._bootstrap>[0m:690: in _load_unlocked
> ???
> [1m[31m/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py[0m:178: in exec_module
> exec(co, module.__dict__)
> [1m[31mtests/test_version_map.py[0m:20: in <module>
> LATEST_PATH = SORTED_PATHS[-1]
> [1m[31mE IndexError: list index out of range[0m
> [36m[1m=========================== short test summary info ============================[0m
> [31mERROR[0m tests/test_version_map.py - IndexError: list index out of range
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> [31m=============================== [31m[1m1 error[0m[31m in 0.45s[0m[31m ===============================[0m
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/09/25/asdf-standard_1.0.3-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-astro-maintainers
mailing list