Bug#1082289: reprotest FTBFS with Python 3.13
Stefano Rivera
stefanor at debian.org
Thu Sep 19 18:03:41 BST 2024
Source: reprotest
Version: 0.7.28
Severity: normal
User: debian-python at lists.debian.org
Usertags: python3.13
This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.
To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.
What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html
Log snippet:
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
VIRTUALENV_DOWNLOAD=no \
http_proxy=http://127.0.9.1:9 \
https_proxy=https://127.0.9.1:9 \
TOX_TESTENV_PASSENV=PYTHONIOENCODING PYTHONIOENCODING=utf-8 \
dh_auto_test -- --test-tox
I: pybuild base:311: /usr/bin/python3.13 -c "import setuptools, runpy; runpy.run_path('setup.py')" bdist_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/reprotest
copying reprotest/mdiffconf.py -> build/lib/reprotest
copying reprotest/shell_syn.py -> build/lib/reprotest
copying reprotest/utils.py -> build/lib/reprotest
copying reprotest/__main__.py -> build/lib/reprotest
copying reprotest/build.py -> build/lib/reprotest
copying reprotest/__init__.py -> build/lib/reprotest
copying reprotest/environ.py -> build/lib/reprotest
copying reprotest/presets.py -> build/lib/reprotest
creating build/lib/reprotest/lib
copying reprotest/lib/adt_testbed.py -> build/lib/reprotest/lib
copying reprotest/lib/VirtSubproc.py -> build/lib/reprotest/lib
copying reprotest/lib/__init__.py -> build/lib/reprotest/lib
copying reprotest/lib/adtlog.py -> build/lib/reprotest/lib
creating build/lib/reprotest/lib/system_interface
copying reprotest/lib/system_interface/fedora.py -> build/lib/reprotest/lib/system_interface
copying reprotest/lib/system_interface/arch.py -> build/lib/reprotest/lib/system_interface
copying reprotest/lib/system_interface/guix.py -> build/lib/reprotest/lib/system_interface
copying reprotest/lib/system_interface/__init__.py -> build/lib/reprotest/lib/system_interface
copying reprotest/lib/system_interface/debian.py -> build/lib/reprotest/lib/system_interface
running egg_info
writing reprotest.egg-info/PKG-INFO
writing dependency_links to reprotest.egg-info/dependency_links.txt
writing entry points to reprotest.egg-info/entry_points.txt
writing requirements to reprotest.egg-info/requires.txt
writing top-level names to reprotest.egg-info/top_level.txt
reading manifest file 'reprotest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'reprotest.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:218: _Warning: Package 'reprotest.virt' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'reprotest.virt' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'reprotest.virt' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'reprotest.virt' to be distributed and are
already explicitly excluding 'reprotest.virt' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
creating build/lib/reprotest/virt
copying reprotest/virt/autopkgtest-virt-chroot -> build/lib/reprotest/virt
copying reprotest/virt/autopkgtest-virt-lxc -> build/lib/reprotest/virt
copying reprotest/virt/autopkgtest-virt-lxd -> build/lib/reprotest/virt
copying reprotest/virt/autopkgtest-virt-null -> build/lib/reprotest/virt
copying reprotest/virt/autopkgtest-virt-qemu -> build/lib/reprotest/virt
copying reprotest/virt/autopkgtest-virt-schroot -> build/lib/reprotest/virt
copying reprotest/virt/autopkgtest-virt-ssh -> build/lib/reprotest/virt
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.linux-aarch64/wheel
running install
running install_lib
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/wheel
creating build/bdist.linux-aarch64/wheel/reprotest
copying build/lib/reprotest/mdiffconf.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/shell_syn.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/utils.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/__main__.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/build.py -> build/bdist.linux-aarch64/wheel/./reprotest
creating build/bdist.linux-aarch64/wheel/reprotest/lib
copying build/lib/reprotest/lib/adt_testbed.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
copying build/lib/reprotest/lib/VirtSubproc.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
creating build/bdist.linux-aarch64/wheel/reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/fedora.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/arch.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/guix.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/__init__.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/debian.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/__init__.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
copying build/lib/reprotest/lib/adtlog.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
copying build/lib/reprotest/__init__.py -> build/bdist.linux-aarch64/wheel/./reprotest
creating build/bdist.linux-aarch64/wheel/reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-null -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-chroot -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-qemu -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-lxd -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-schroot -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-lxc -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-ssh -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/environ.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/presets.py -> build/bdist.linux-aarch64/wheel/./reprotest
running install_egg_info
Copying reprotest.egg-info to build/bdist.linux-aarch64/wheel/./reprotest-0.7.28.egg-info
running install_scripts
creating build/bdist.linux-aarch64/wheel/reprotest-0.7.28.dist-info/WHEEL
creating 'dist/reprotest-0.7.28-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it
adding 'reprotest/__init__.py'
adding 'reprotest/__main__.py'
adding 'reprotest/build.py'
adding 'reprotest/environ.py'
adding 'reprotest/mdiffconf.py'
adding 'reprotest/presets.py'
adding 'reprotest/shell_syn.py'
adding 'reprotest/utils.py'
adding 'reprotest/lib/VirtSubproc.py'
adding 'reprotest/lib/__init__.py'
adding 'reprotest/lib/adt_testbed.py'
adding 'reprotest/lib/adtlog.py'
adding 'reprotest/lib/system_interface/__init__.py'
adding 'reprotest/lib/system_interface/arch.py'
adding 'reprotest/lib/system_interface/debian.py'
adding 'reprotest/lib/system_interface/fedora.py'
adding 'reprotest/lib/system_interface/guix.py'
adding 'reprotest/virt/autopkgtest-virt-chroot'
adding 'reprotest/virt/autopkgtest-virt-lxc'
adding 'reprotest/virt/autopkgtest-virt-lxd'
adding 'reprotest/virt/autopkgtest-virt-null'
adding 'reprotest/virt/autopkgtest-virt-qemu'
adding 'reprotest/virt/autopkgtest-virt-schroot'
adding 'reprotest/virt/autopkgtest-virt-ssh'
adding 'reprotest-0.7.28.dist-info/METADATA'
adding 'reprotest-0.7.28.dist-info/WHEEL'
adding 'reprotest-0.7.28.dist-info/entry_points.txt'
adding 'reprotest-0.7.28.dist-info/top_level.txt'
adding 'reprotest-0.7.28.dist-info/RECORD'
removing build/bdist.linux-aarch64/wheel
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_reprotest/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py313 -x testenv.passenv+=_PYTHON_HOST_PLATFORM --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_reprotest/reprotest-0.7.28-py3-none-any.whl
py313: install_deps .pybuild/cpython3_3.13_reprotest/build> python -I -m pip install coverage diffoscope pytest
py313: install_package_deps .pybuild/cpython3_3.13_reprotest/build> python -I -m pip install distro rstr
py313: install_package .pybuild/cpython3_3.13_reprotest/build> python -I -m pip install --force-reinstall --no-deps /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_reprotest/reprotest-0.7.28-py3-none-any.whl
py313: commands[0] .pybuild/cpython3_3.13_reprotest/build> .tox/py313/bin/python -m coverage run --omit '.tox/*' --parallel -m pytest tests/
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
cachedir: .tox/py313/.pytest_cache
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 21 items
tests/test_mdiffconf.py . [ 4%]
tests/test_reprotest.py ....F............. [ 90%]
tests/test_shell.py .. [100%]
=================================== FAILURES ===================================
__________________________ test_variations[null-aslr] __________________________
virtual_server = ['null'], captures = 'aslr'
@pytest.mark.parametrize('captures', list(VARIATIONS.keys()))
def test_variations(virtual_server, captures):
expected = captures not in TEST_VARIATIONS
with setup_logging(False):
> check_reproducibility('python3 mock_build.py ' + captures, virtual_server, expected)
tests/test_reprotest.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
command = 'python3 mock_build.py aslr', virtual_server = ['null']
reproducible = False
def check_reproducibility(command, virtual_server, reproducible):
result = reprotest.check(
reprotest.TestArgs.of(command, 'tests', 'artifact'),
reprotest.TestbedArgs.of(virtual_server),
Variations.of(VariationSpec.default(TEST_VARIATIONS)))
> assert result == reproducible
E assert True == False
tests/test_reprotest.py:29: AssertionError
----------------------------- Captured stdout call -----------------------------
=======================
Reproduction successful
=======================
No differences in ./artifact
836b1b5ebbc010601af51b1e2b373cdae42fc08f2f9c79729d3fe9bf1a5b9136 ./artifact
However, other factors may still make the build unreproducible; try re-running with --vary=+all.
----------------------------- Captured stderr call -----------------------------
2024-09-19 11:08:39 I: reprotest: STARTING VIRTUAL SERVER ['/<<PKGBUILDDIR>>/reprotest/virt/autopkgtest-virt-null']
__main__.py [11:08:39]: Tried distro auto-detection, got 'debian'
__main__.py [11:08:39]: version @version@
__main__.py [11:08:39]: host sbuild; command line: /usr/lib/python3/dist-packages/pytest/__main__.py tests/
__main__.py [11:08:39]: testbed package architecture: arm64
__main__.py [11:08:39]: testbed running kernel: Linux 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26)
2024-09-19 11:08:39 I: reprotest: build "control": FIX environment, FIX build_path, FIX kernel, FIX aslr, FIX num_cpus, FIX time, FIX user_group, FIX fileordering, FIX domain_host, FIX home, FIX locales, FIX exec_path, FIX timezone, FIX umask
2024-09-19 11:08:39 I: reprotest: copying tests over to virtual server's /tmp/reprotest.F1vxBD/build-control/
2024-09-19 11:08:39 I: reprotest: starting build with source directory: /tmp/reprotest.F1vxBD/build-control/, artifact pattern: ./artifact
2024-09-19 11:08:39 I: reprotest: executing build in /tmp/reprotest.F1vxBD/const_build_path/
2024-09-19 11:08:40 I: reprotest: build successful, copying artifacts
2024-09-19 11:08:40 I: reprotest: copying /tmp/reprotest.F1vxBD/artifacts-control/ back from virtual server's /tmp/tmpcarmx_kl/control
2024-09-19 11:08:40 I: reprotest: build "experiment-1": vary environment, vary build_path, vary kernel, vary aslr, vary num_cpus, vary time, FIX user_group, FIX fileordering, FIX domain_host, vary home, vary locales, vary exec_path, vary timezone, vary umask
2024-09-19 11:08:40 I: reprotest.build: FAKETIME variation: enabled but avoiding use of faketime as build environment is sufficiently old!
2024-09-19 11:08:40 I: reprotest: copying tests over to virtual server's /tmp/reprotest.F1vxBD/build-experiment-1/
2024-09-19 11:08:40 I: reprotest: starting build with source directory: /tmp/reprotest.F1vxBD/build-experiment-1/, artifact pattern: ./artifact
2024-09-19 11:08:40 I: reprotest: executing build in /tmp/reprotest.F1vxBD/build-experiment-1/
2024-09-19 11:08:40 I: reprotest: build successful, copying artifacts
2024-09-19 11:08:40 I: reprotest: copying /tmp/reprotest.F1vxBD/artifacts-experiment-1/ back from virtual server's /tmp/tmpcarmx_kl/experiment-1
2024-09-19 11:08:40 I: reprotest: Running diffoscope: ['diffoscope', '/tmp/tmpcarmx_kl/control', '/tmp/tmpcarmx_kl/experiment-1']
2024-09-19 11:08:40 I: reprotest: No differences between /tmp/tmpcarmx_kl/control, /tmp/tmpcarmx_kl/experiment-1
------------------------------ Captured log call -------------------------------
INFO reprotest:__init__.py:79 STARTING VIRTUAL SERVER ['/<<PKGBUILDDIR>>/reprotest/virt/autopkgtest-virt-null']
INFO reprotest:__init__.py:178 build "control": FIX environment, FIX build_path, FIX kernel, FIX aslr, FIX num_cpus, FIX time, FIX user_group, FIX fileordering, FIX domain_host, FIX home, FIX locales, FIX exec_path, FIX timezone, FIX umask
INFO reprotest:__init__.py:186 copying tests over to virtual server's /tmp/reprotest.F1vxBD/build-control/
INFO reprotest:__init__.py:194 starting build with source directory: /tmp/reprotest.F1vxBD/build-control/, artifact pattern: ./artifact
INFO reprotest:__init__.py:202 executing build in /tmp/reprotest.F1vxBD/const_build_path/
INFO reprotest:__init__.py:221 build successful, copying artifacts
INFO reprotest:__init__.py:190 copying /tmp/reprotest.F1vxBD/artifacts-control/ back from virtual server's /tmp/tmpcarmx_kl/control
INFO reprotest:__init__.py:178 build "experiment-1": vary environment, vary build_path, vary kernel, vary aslr, vary num_cpus, vary time, FIX user_group, FIX fileordering, FIX domain_host, vary home, vary locales, vary exec_path, vary timezone, vary umask
INFO reprotest.build:build.py:434 FAKETIME variation: enabled but avoiding use of faketime as build environment is sufficiently old!
INFO reprotest:__init__.py:186 copying tests over to virtual server's /tmp/reprotest.F1vxBD/build-experiment-1/
INFO reprotest:__init__.py:194 starting build with source directory: /tmp/reprotest.F1vxBD/build-experiment-1/, artifact pattern: ./artifact
INFO reprotest:__init__.py:202 executing build in /tmp/reprotest.F1vxBD/build-experiment-1/
INFO reprotest:__init__.py:221 build successful, copying artifacts
INFO reprotest:__init__.py:190 copying /tmp/reprotest.F1vxBD/artifacts-experiment-1/ back from virtual server's /tmp/tmpcarmx_kl/experiment-1
INFO reprotest:__init__.py:257 Running diffoscope: ['diffoscope', '/tmp/tmpcarmx_kl/control', '/tmp/tmpcarmx_kl/experiment-1']
INFO reprotest:__init__.py:262 No differences between /tmp/tmpcarmx_kl/control, /tmp/tmpcarmx_kl/experiment-1
=============================== warnings summary ===============================
reprotest/__init__.py:20
/<<PKGBUILDDIR>>/reprotest/__init__.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
tests/test_mdiffconf.py: 11 warnings
tests/test_reprotest.py: 8 warnings
/<<PKGBUILDDIR>>/reprotest/mdiffconf.py:144: DeprecationWarning: 'maxsplit' is passed as positional argument
parts = re.split(r"(\+=|-=|\+\+|--|=|\+|-|@)", action, 1)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_reprotest.py::test_variations[null-aslr] - assert True == F...
================== 1 failed, 20 passed, 20 warnings in 39.01s ==================
py313: exit 1 (39.58 seconds) /<<PKGBUILDDIR>>> .tox/py313/bin/python -m coverage run --omit '.tox/*' --parallel -m pytest tests/ pid=238
py313: FAIL code 1 (42.36=setup[2.78]+cmd[39.58] seconds)
evaluation failed :( (42.45 seconds)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_reprotest/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py313 -x testenv.passenv+=_PYTHON_HOST_PLATFORM --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_reprotest/reprotest-0.7.28-py3-none-any.whl
I: pybuild base:311: /usr/bin/python3 -c "import setuptools, runpy; runpy.run_path('setup.py')" bdist_wheel
running bdist_wheel
running build
running build_py
running egg_info
writing reprotest.egg-info/PKG-INFO
writing dependency_links to reprotest.egg-info/dependency_links.txt
writing entry points to reprotest.egg-info/entry_points.txt
writing requirements to reprotest.egg-info/requires.txt
writing top-level names to reprotest.egg-info/top_level.txt
reading manifest file 'reprotest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'reprotest.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:218: _Warning: Package 'reprotest.virt' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'reprotest.virt' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'reprotest.virt' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'reprotest.virt' to be distributed and are
already explicitly excluding 'reprotest.virt' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.linux-aarch64/wheel
running install
running install_lib
creating build/bdist.linux-aarch64/wheel
creating build/bdist.linux-aarch64/wheel/reprotest
copying build/lib/reprotest/mdiffconf.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/shell_syn.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/utils.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/__main__.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/build.py -> build/bdist.linux-aarch64/wheel/./reprotest
creating build/bdist.linux-aarch64/wheel/reprotest/lib
copying build/lib/reprotest/lib/adt_testbed.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
copying build/lib/reprotest/lib/VirtSubproc.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
creating build/bdist.linux-aarch64/wheel/reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/fedora.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/arch.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/guix.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/__init__.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/system_interface/debian.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib/system_interface
copying build/lib/reprotest/lib/__init__.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
copying build/lib/reprotest/lib/adtlog.py -> build/bdist.linux-aarch64/wheel/./reprotest/lib
copying build/lib/reprotest/__init__.py -> build/bdist.linux-aarch64/wheel/./reprotest
creating build/bdist.linux-aarch64/wheel/reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-null -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-chroot -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-qemu -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-lxd -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-schroot -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-lxc -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/virt/autopkgtest-virt-ssh -> build/bdist.linux-aarch64/wheel/./reprotest/virt
copying build/lib/reprotest/environ.py -> build/bdist.linux-aarch64/wheel/./reprotest
copying build/lib/reprotest/presets.py -> build/bdist.linux-aarch64/wheel/./reprotest
running install_egg_info
Copying reprotest.egg-info to build/bdist.linux-aarch64/wheel/./reprotest-0.7.28.egg-info
running install_scripts
creating build/bdist.linux-aarch64/wheel/reprotest-0.7.28.dist-info/WHEEL
creating 'dist/reprotest-0.7.28-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it
adding 'reprotest/__init__.py'
adding 'reprotest/__main__.py'
adding 'reprotest/build.py'
adding 'reprotest/environ.py'
adding 'reprotest/mdiffconf.py'
adding 'reprotest/presets.py'
adding 'reprotest/shell_syn.py'
adding 'reprotest/utils.py'
adding 'reprotest/lib/VirtSubproc.py'
adding 'reprotest/lib/__init__.py'
adding 'reprotest/lib/adt_testbed.py'
adding 'reprotest/lib/adtlog.py'
adding 'reprotest/lib/system_interface/__init__.py'
adding 'reprotest/lib/system_interface/arch.py'
adding 'reprotest/lib/system_interface/debian.py'
adding 'reprotest/lib/system_interface/fedora.py'
adding 'reprotest/lib/system_interface/guix.py'
adding 'reprotest/virt/autopkgtest-virt-chroot'
adding 'reprotest/virt/autopkgtest-virt-lxc'
adding 'reprotest/virt/autopkgtest-virt-lxd'
adding 'reprotest/virt/autopkgtest-virt-null'
adding 'reprotest/virt/autopkgtest-virt-qemu'
adding 'reprotest/virt/autopkgtest-virt-schroot'
adding 'reprotest/virt/autopkgtest-virt-ssh'
adding 'reprotest-0.7.28.dist-info/METADATA'
adding 'reprotest-0.7.28.dist-info/WHEEL'
adding 'reprotest-0.7.28.dist-info/entry_points.txt'
adding 'reprotest-0.7.28.dist-info/top_level.txt'
adding 'reprotest-0.7.28.dist-info/RECORD'
removing build/bdist.linux-aarch64/wheel
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprotest/build; tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py312 -x testenv.passenv+=_PYTHON_HOST_PLATFORM --installpkg /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprotest/reprotest-0.7.28-py3-none-any.whl
py312: install_deps .pybuild/cpython3_3.12_reprotest/build> python -I -m pip install coverage diffoscope pytest
py312: install_package_deps .pybuild/cpython3_3.12_reprotest/build> python -I -m pip install distro rstr
py312: install_package .pybuild/cpython3_3.12_reprotest/build> python -I -m pip install --force-reinstall --no-deps /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprotest/reprotest-0.7.28-py3-none-any.whl
py312: commands[0] .pybuild/cpython3_3.12_reprotest/build> .tox/py312/bin/python -m coverage run --omit '.tox/*' --parallel -m pytest tests/
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
cachedir: .tox/py312/.pytest_cache
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 21 items
tests/test_mdiffconf.py . [ 4%]
tests/test_reprotest.py .................. [ 90%]
tests/test_shell.py .. [100%]
=============================== warnings summary ===============================
reprotest/__init__.py:20
/<<PKGBUILDDIR>>/reprotest/__init__.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 21 passed, 1 warning in 40.37s ========================
py312: OK (43.51=setup[2.54]+cmd[40.97] seconds)
congratulations :) (43.60 seconds)
dh_auto_test: error: pybuild --test --test-tox -i python{version} -p "3.13 3.12" --test-tox returned exit code 13
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T11:09:58Z
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/792413/
This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.
Thanks,
Stefano
More information about the Reproducible-builds
mailing list