Bug#1060978: python-procrunner: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Jan 16 19:34:27 GMT 2024


Source: python-procrunner
Version: 1.1.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240115 ftbfs-trixie

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_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:305: python3.12 setup.py config 
> running config
> I: pybuild base:305: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/procrunner
> copying procrunner/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/procrunner
> running egg_info
> creating procrunner.egg-info
> writing procrunner.egg-info/PKG-INFO
> writing dependency_links to procrunner.egg-info/dependency_links.txt
> writing requirements to procrunner.egg-info/requires.txt
> writing top-level names to procrunner.egg-info/top_level.txt
> writing manifest file 'procrunner.egg-info/SOURCES.txt'
> reading manifest file 'procrunner.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under directory '*'
> warning: no previously-included files matching '*.py[co]' found under directory '*'
> warning: no files found matching '*.jpg' under directory 'docs'
> warning: no files found matching '*.png' under directory 'docs'
> warning: no files found matching '*.gif' under directory 'docs'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'procrunner.egg-info/SOURCES.txt'
> I: pybuild base:305: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/procrunner
> copying procrunner/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/procrunner
> running egg_info
> writing procrunner.egg-info/PKG-INFO
> writing dependency_links to procrunner.egg-info/dependency_links.txt
> writing requirements to procrunner.egg-info/requires.txt
> writing top-level names to procrunner.egg-info/top_level.txt
> reading manifest file 'procrunner.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under directory '*'
> warning: no previously-included files matching '*.py[co]' found under directory '*'
> warning: no files found matching '*.jpg' under directory 'docs'
> warning: no files found matching '*.png' under directory 'docs'
> warning: no files found matching '*.gif' under directory 'docs'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'procrunner.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build; python3.12 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collected 0 items / 3 errors
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner.py _
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_procrunner.py:6: in <module>
>     import procrunner
> procrunner/__init__.py:9: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> _ ERROR collecting .pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_resolution.py _
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_resolution.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_procrunner_resolution.py:7: in <module>
>     import procrunner
> procrunner/__init__.py:9: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> _ ERROR collecting .pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_system.py _
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_system.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_procrunner_system.py:6: in <module>
>     import procrunner
> procrunner/__init__.py:9: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: collect_ignore
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR tests/test_procrunner.py
> ERROR tests/test_procrunner_resolution.py
> ERROR tests/test_procrunner_system.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 3 errors in 0.15s =========================
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build; python3.12 -m pytest tests
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build; python3.11 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collected 0 items / 3 errors
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner.py _
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_procrunner.py:6: in <module>
>     import procrunner
> procrunner/__init__.py:9: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> _ ERROR collecting .pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_resolution.py _
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_resolution.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_procrunner_resolution.py:7: in <module>
>     import procrunner
> procrunner/__init__.py:9: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> _ ERROR collecting .pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_system.py _
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_system.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_procrunner_system.py:6: in <module>
>     import procrunner
> procrunner/__init__.py:9: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: collect_ignore
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR tests/test_procrunner.py
> ERROR tests/test_procrunner_resolution.py
> ERROR tests/test_procrunner_system.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 3 errors in 0.15s =========================
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/01/15/python-procrunner_1.1.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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-science-maintainers mailing list