[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
> ============================= test session starts ==============================
> 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 ====================================
> __________________ ERROR collecting tests/test_version_map.py __________________
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in exec_module
>     exec(co, module.__dict__)
> tests/test_version_map.py:20: in <module>
>     LATEST_PATH = SORTED_PATHS[-1]
> E   IndexError: list index out of range
> =========================== short test summary info ============================
> ERROR tests/test_version_map.py - IndexError: list index out of range
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.45s ===============================
> 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