[Debian-med-packaging] Bug#1122399: conda-package-streaming: FTBFS: FAILED tests/test_extract.py::test_umask - AssertionError: 100755
Santiago Vila
sanvila at debian.org
Wed Dec 10 20:38:27 GMT 2025
Package: src:conda-package-streaming
Version: 0.10.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:conda-package-streaming, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --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:131: Building wheel for python3.14 with "build" module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14
* Building wheel...
Successfully built conda_package_streaming-0.10.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with "installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
* Building wheel...
Successfully built conda_package_streaming-0.10.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: cov-5.0.0, typeguard-4.4.4, mock-3.15.1
collected 23 items
tests/test_degraded.py . [ 4%]
tests/test_extract.py ss..sF [ 30%]
tests/test_s3.py ss [ 39%]
tests/test_streaming.py ss. [ 52%]
tests/test_transmute.py s..s.. [ 78%]
tests/test_url.py sss.s [100%]
=================================== FAILURES ===================================
__________________________________ test_umask __________________________________
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_umask0')
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f9b5e0574d0>
def test_umask(tmp_path, mocker):
"""
Demonstrate that umask-respecting tar implementation works.
Mock umask in case it is different on your system.
"""
mocker.patch("conda_package_streaming.package_streaming.UMASK", new=0o22)
tar3 = empty_tarfile(name="naughty_umask", mode=0o777)
extract.extract_stream(stream_stdlib(tar3), tmp_path)
mode = (tmp_path / "naughty_umask").stat().st_mode
> assert mode & stat.S_IWGRP, "%o" % mode
E AssertionError: 100755
E assert (33261 & 16)
E + where 16 = stat.S_IWGRP
tests/test_extract.py:129: AssertionError
=============================== warnings summary ===============================
tests/test_degraded.py::test_degraded
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/conda_package_streaming/package_streaming.py:25: UserWarning: zstandard could not be imported. Running without .conda support.
warnings.warn("zstandard could not be imported. Running without .conda support.")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- coverage: platform linux, python 3.14.2-final-0 -----------
Name Stmts Miss Cover
------------------------------------------------------------------
conda_package_streaming/__init__.py 1 0 100%
conda_package_streaming/exceptions.py 9 0 100%
conda_package_streaming/extract.py 42 2 95%
conda_package_streaming/lazy_wheel.py 131 76 42%
conda_package_streaming/package_streaming.py 58 4 93%
conda_package_streaming/s3.py 39 18 54%
conda_package_streaming/transmute.py 60 1 98%
conda_package_streaming/url.py 39 25 36%
------------------------------------------------------------------
TOTAL 379 126 67%
=========================== short test summary info ============================
FAILED tests/test_extract.py::test_umask - AssertionError: 100755
============== 1 failed, 9 passed, 13 skipped, 1 warning in 0.28s ==============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: cov-5.0.0, typeguard-4.4.4, mock-3.15.1
collected 23 items
tests/test_degraded.py . [ 4%]
tests/test_extract.py ss..s. [ 30%]
tests/test_s3.py ss [ 39%]
tests/test_streaming.py ss. [ 52%]
tests/test_transmute.py s..s.. [ 78%]
tests/test_url.py sss.s [100%]
=============================== warnings summary ===============================
tests/test_degraded.py::test_degraded
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/conda_package_streaming/package_streaming.py:25: UserWarning: zstandard could not be imported. Running without .conda support.
warnings.warn("zstandard could not be imported. Running without .conda support.")
tests/test_extract.py::test_slip
tests/test_extract.py::test_slip
tests/test_extract.py::test_umask
tests/test_extract.py::test_umask
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/conda_package_streaming/extract.py:47: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
tar_file.extractall(path=dest_dir, members=checked_members())
tests/test_streaming.py::test_chmod_error
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_streaming.py:52: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
tar.extractall(tmp_path)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- coverage: platform linux, python 3.13.11-final-0 ----------
Name Stmts Miss Cover
------------------------------------------------------------------
conda_package_streaming/__init__.py 1 0 100%
conda_package_streaming/exceptions.py 9 0 100%
conda_package_streaming/extract.py 42 2 95%
conda_package_streaming/lazy_wheel.py 131 76 42%
conda_package_streaming/package_streaming.py 58 4 93%
conda_package_streaming/s3.py 39 18 54%
conda_package_streaming/transmute.py 60 1 98%
conda_package_streaming/url.py 39 25 36%
------------------------------------------------------------------
TOTAL 379 126 67%
================== 10 passed, 13 skipped, 6 warnings in 0.26s ==================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-med-packaging
mailing list