Source: python-uhashring Version: 2.1-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230323 ftbfs-bookworm
Hi, During a rebuild of all packages in testing (bookworm), your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > make[1]: pyversions: No such file or directory > py3versions: no X-Python3-Version in control file, using supported versions > pkgos-dh_auto_install --no-py2 --in-tmp > + PKGOS_IN_TMP=no > + echo WARNING: --no-py2 is deprecated and always on. > WARNING: --no-py2 is deprecated and always on. > + shift > + PKGOS_IN_TMP=yes > + shift > + dpkg-parsechangelog -SSource > + SRC_PKG_NAME=python-uhashring > + echo python-uhashring > + sed s/python-// > + PY_MODULE_NAME=uhashring > + py3versions -vr > + PYTHON3S=3.11 > + [ yes = yes ] > + TARGET_DIR=tmp > + pwd > + python3.11 setup.py install --install-layout=deb --root > /<<PKGBUILDDIR>>/debian/tmp > running install > /usr/lib/python3/dist-packages/setuptools/command/install.py:34: > SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and > pip and other standards-based tools. > warnings.warn( > running build > running build_py > creating build > creating build/lib > creating build/lib/uhashring > copying uhashring/ring.py -> build/lib/uhashring > copying uhashring/ring_meta.py -> build/lib/uhashring > copying uhashring/ring_ketama.py -> build/lib/uhashring > copying uhashring/__init__.py -> build/lib/uhashring > copying uhashring/monkey.py -> build/lib/uhashring > running egg_info > creating uhashring.egg-info > writing uhashring.egg-info/PKG-INFO > writing dependency_links to uhashring.egg-info/dependency_links.txt > writing top-level names to uhashring.egg-info/top_level.txt > writing manifest file 'uhashring.egg-info/SOURCES.txt' > reading manifest file 'uhashring.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > adding license file 'LICENSE' > writing manifest file 'uhashring.egg-info/SOURCES.txt' > running install_lib > creating /<<PKGBUILDDIR>>/debian/tmp > creating /<<PKGBUILDDIR>>/debian/tmp/usr > creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib > creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3 > creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages > creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring > copying build/lib/uhashring/ring.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring > copying build/lib/uhashring/ring_meta.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring > copying build/lib/uhashring/ring_ketama.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring > copying build/lib/uhashring/__init__.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring > copying build/lib/uhashring/monkey.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring/ring.py > to ring.cpython-311.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring/ring_meta.py > to ring_meta.cpython-311.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring/ring_ketama.py > to ring_ketama.cpython-311.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring/__init__.py > to __init__.cpython-311.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring/monkey.py > to monkey.cpython-311.pyc > running install_egg_info > Copying uhashring.egg-info to > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/uhashring-2.1.egg-info > Skipping SOURCES.txt > running install_scripts > + pwd > + rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth > + pwd > + rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth > set -e ; for pyvers in 3.11; do \ > PYTHONPATH=. python$pyvers -m pytest ; \ > done > ============================= test session starts > ============================== > platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini > collected 21 items > > tests/test_distribution.py F [ > 4%] > tests/test_implementation.py .....s........... [ > 85%] > tests/test_ketama_compatibility.py .. [ > 95%] > tests/test_monkey.py . > [100%] > > =================================== FAILURES > =================================== > ______________________________ test_distribution > _______________________________ > > def test_distribution(): > ring = HashRing() > > numnodes = 10 > numhits = 1000 > numvalues = 10000 > > for i in range(1, numnodes + 1): > ring["node{}".format(i)] = {"instance": "node_value{}".format(i)} > > distribution = Counter() > for i in range(numhits): > key = str(randint(1, numvalues)) > node = ring[key] > distribution[node] += 1 > > # count of hits matches what is observed > assert sum(distribution.values()) == numhits > > # usually under 20 > standard_dev = _pop_std_dev(distribution.values()) > > assert standard_dev <= 20 > E assert 21.51278689523977 <= 20 > > tests/test_distribution.py:39: AssertionError > =============================== warnings summary > =============================== > ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294 > /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294: > PytestConfigWarning: Unknown config option: flake8-max-complexity > > self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") > > ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294 > /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294: > PytestConfigWarning: Unknown config option: flake8-max-line-length > > 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 > ============================ > FAILED tests/test_distribution.py::test_distribution - assert > 21.512786895239... > ============= 1 failed, 19 passed, 1 skipped, 2 warnings in 0.19s > ============== > make[1]: *** [debian/rules:19: override_dh_auto_install] Error 1 The full build log is available from: http://qa-logs.debian.net/2023/03/23/python-uhashring_2.1-2_testing.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230323;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230323&fusertaguser=lu...@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.