Your message dated Wed, 05 Apr 2023 10:49:03 +0000
with message-id <e1pk0hl-00hlbo...@fasolo.debian.org>
and subject line Bug#1033426: fixed in python-uhashring 2.1-3
has caused the Debian Bug report #1033426,
regarding python-uhashring: FTBFS in testing: tests fail
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1033426: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033426
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Source: python-uhashring
Source-Version: 2.1-3
Done: Thomas Goirand <z...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-uhashring, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1033...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-uhashring package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 03 Apr 2023 08:17:43 +0200
Source: python-uhashring
Architecture: source
Version: 2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openst...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1033426
Changes:
python-uhashring (2.1-3) unstable; urgency=medium
.
* Add Fix-test_distribution-to-be-deterministic.patch (Closes: #1033426).
Checksums-Sha1:
c2dc2174e1dddfd5972c9ba649ad3db3cfff1dcf 2122 python-uhashring_2.1-3.dsc
5f5c610b823fc720a61704b37001644107b131f5 3400
python-uhashring_2.1-3.debian.tar.xz
a1c3e38742a118dc854aff996e8de94fda9954d5 7245
python-uhashring_2.1-3_amd64.buildinfo
Checksums-Sha256:
67176a5792b2411a51029d195b02fd742391874ae6b7dd22dcfda04aa3b4f07f 2122
python-uhashring_2.1-3.dsc
79c2a8bdfc3db0c808d901a8e80b9adb85313c3f7a75adb1cba5940225cc82fe 3400
python-uhashring_2.1-3.debian.tar.xz
a822a4ad352847bc0c51280df75ca64f078be48b31abee3ecc35e4e1a206830d 7245
python-uhashring_2.1-3_amd64.buildinfo
Files:
5cc6bab009011432f8f0ae8e9db87a4e 2122 python optional
python-uhashring_2.1-3.dsc
845bedca1b3d436e53cdc604c336c6e3 3400 python optional
python-uhashring_2.1-3.debian.tar.xz
7fabdcf6adcc5ac4880f096a0ebd8094 7245 python optional
python-uhashring_2.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmQtTdoACgkQ1BatFaxr
Q/7wGA/+OGreblFmezU3CY/kd+YC59Vtpk2RvmF1v7wvthvbGLlMjoChfU6ifvdo
zpwY1gjeFpt2+RS+A+MrOhYE2eaQ7Z1TWmve4HxOueUVifhJLAdlB5NFb6JJQFsg
sM+PHr61bYM2HvGs/TMXHRGE4ZAnCu+3MULryLSSVZZ0c987H+LJx5ZLD5sSw96I
6337VJcTtnxYulv/gcMgdfeI2wk8Mj7QD59JhERRf0MEU06k5RLqUom3ZM6jgU6p
8W1BEQzBZX2cjf8mNl0N/20K4N/0m7wQG8Z0ngGxbpxycqwZiULNnCGJvMHYZTz5
FMTJ6UHIsDNU5RUfr7tLbxus/wkpanQNAzbvk5Ysybc25jwWRYkJvCq3Z8WjDtmo
isje/bPwBAFTMSTdLh7ym2FtMNQ4zj/bnh9nLux+KMAG+O7a3WFxOFZzrvI/eEJi
QU4M198zKq0aJJivyzcqIwpA22up33O4sxjNFMeGvUYO89URmJAYCzjKQkjRaACO
UZ1AbT81fMfdpAo/8B9VD1OrjK3NeDaoO0tmidazn4sO18387SjgNCNh3LD0xJ6+
tK48jZC7IdxLOMw24eiZaaf25LTvdJyRZrUUuUo5iwW6NveIwZtEVw/T3s+7Fcgd
b0Di7AjL2pkrl+aC0tEcr8yyUNbShCVG0gPZoWgKQmF/nx2PTs8=
=21Ot
-----END PGP SIGNATURE-----
--- End Message ---