Source: python-monasca-statsd Version: 2.7.0-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, 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_test --no-py2 > + PKGOS_TEST_PARALLEL=yes > + PKGOS_TEST_SERIAL=no > + PYTHONS=disabled > + PYTHON3S=disabled > + TEST_PARALLEL_OPT=--parallel > + TEST_SERIAL_OPT= > + echo WARNING: --no-py2 is deprecated, and always on. > WARNING: --no-py2 is deprecated, and always on. > + shift > + py3versions -vr > + PYTHON3S=3.12 3.11 > + [ yes = no ] > + [ no = yes ] > + [ 3.12 = disabled ] > + echo 3.12 > + cut -d. -f1 > + PYMAJOR=3 > + echo ===> Testing with python (python3) > ===> Testing with python (python3) > + pwd > + [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ] > + [ -e .stestr.conf ] > + [ -x /usr/bin/python3-stestr ] > + STESTR=stestr > + rm -rf .stestr > + PYTHON=python3.12 stestr run --parallel --subunit > + subunit2pyunit > /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no > addDuration method > warnings.warn("TestResult has no addDuration method", > tests.test_monascastatsd.TestMonascaStatsd.test_batched > tests.test_monascastatsd.TestMonascaStatsd.test_batched ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_batched_buffer_autoflush > tests.test_monascastatsd.TestMonascaStatsd.test_batched_buffer_autoflush ... > ok > tests.test_monascastatsd.TestMonascaStatsd.test_client_default_host_port > tests.test_monascastatsd.TestMonascaStatsd.test_client_default_host_port ... > ok > tests.test_monascastatsd.TestMonascaStatsd.test_client_set_host_port > tests.test_monascastatsd.TestMonascaStatsd.test_client_set_host_port ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_context_manager > tests.test_monascastatsd.TestMonascaStatsd.test_context_manager ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_counter > tests.test_monascastatsd.TestMonascaStatsd.test_counter ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_counter_with_dimensions > tests.test_monascastatsd.TestMonascaStatsd.test_counter_with_dimensions ... > FAIL > tests.test_monascastatsd.TestMonascaStatsd.test_gauge > tests.test_monascastatsd.TestMonascaStatsd.test_gauge ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_gauge_with_dimensions > tests.test_monascastatsd.TestMonascaStatsd.test_gauge_with_dimensions ... FAIL > tests.test_monascastatsd.TestMonascaStatsd.test_sample_rate > tests.test_monascastatsd.TestMonascaStatsd.test_sample_rate ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_samples_with_dimensions > tests.test_monascastatsd.TestMonascaStatsd.test_samples_with_dimensions ... ok > ERROR:monascastatsd.connection:Error submitting metric > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/monascastatsd/connection.py", line 143, in > _send_to_server > self.socket.send(packet.encode(self.encoding)) > File "/<<PKGBUILDDIR>>/tests/test_monascastatsd.py", line 79, in send > raise socket.error("Socket error") > OSError: Socket error > tests.test_monascastatsd.TestMonascaStatsd.test_socket_error > tests.test_monascastatsd.TestMonascaStatsd.test_socket_error ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_time > tests.test_monascastatsd.TestMonascaStatsd.test_time ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_timed > tests.test_monascastatsd.TestMonascaStatsd.test_timed ... ok > tests.test_monascastatsd.TestMonascaStatsd.test_timing > tests.test_monascastatsd.TestMonascaStatsd.test_timing ... ok > > ====================================================================== > FAIL: tests.test_monascastatsd.TestMonascaStatsd.test_counter_with_dimensions > tests.test_monascastatsd.TestMonascaStatsd.test_counter_with_dimensions > ---------------------------------------------------------------------- > testtools.testresult.real._StringException: Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_monascastatsd.py", line 151, in > test_counter_with_dimensions > self.assertRegexpMatches(result, "counter_with_dims:1|c|#{") > ^^^^^^^^^^^^^^^^^^^^^^^^ > AttributeError: 'TestMonascaStatsd' object has no attribute > 'assertRegexpMatches' > > > ====================================================================== > FAIL: tests.test_monascastatsd.TestMonascaStatsd.test_gauge_with_dimensions > tests.test_monascastatsd.TestMonascaStatsd.test_gauge_with_dimensions > ---------------------------------------------------------------------- > testtools.testresult.real._StringException: Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_monascastatsd.py", line 189, in > test_gauge_with_dimensions > self.assertRegexpMatches(result, "gauge.gt:123.4|g|#{") > ^^^^^^^^^^^^^^^^^^^^^^^^ > AttributeError: 'TestMonascaStatsd' object has no attribute > 'assertRegexpMatches' > > > ---------------------------------------------------------------------- > Ran 15 tests in 3.301s > > FAILED (failures=2) > + echo ======> STESTR TEST SUITE FAILED FOR python3.12: displaying pip3 > freeze output... > ======> STESTR TEST SUITE FAILED FOR python3.12: displaying pip3 freeze > output... > + [ -x /usr/bin/pip3 ] > + pip3 freeze > WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent > directory is not owned or is not writable by the current user. The cache has > been disabled. Check the permissions and owner of that directory. If > executing pip with sudo, you should use sudo's -H flag. > appdirs==1.4.4 > attrs==23.1.0 > autopage==0.4.0 > blinker==1.7.0 > certifi==2023.7.22 > chardet==5.2.0 > charset-normalizer==3.3.2 > cliff==4.3.0 > cmd2==2.4.3+ds > coverage==7.2.7 > cryptography==38.0.4 > debtcollector==2.5.0 > decorator==5.1.1 > deprecation==2.0.7 > docutils==0.20.1 > dogpile.cache==1.1.8 > extras==1.0.0 > fixtures==4.0.1 > flake8==6.1.0 > future==0.18.2 > hacking==4.1.0 > idna==3.3 > importlib-metadata==4.12.0 > iso8601==1.0.2 > jmespath==1.0.1 > jsonpatch==1.32 > jsonpointer==2.3 > keystoneauth1==5.3.0 > lxml==4.9.3 > Mako==1.2.4.dev0 > MarkupSafe==2.1.3 > mccabe==0.7.0 > more-itertools==10.1.0 > netifaces==0.11.0 > oauthlib==3.2.2 > openstacksdk==1.5.0 > os-client-config==2.1.0 > os-service-types==1.7.0 > oslotest==4.5.0 > packaging==23.2 > pbr==5.11.1 > prettytable==3.6.0 > pycodestyle==2.11.1 > pyflakes==3.1.0 > PyJWT==2.7.0 > pyperclip==1.8.2 > python-subunit==1.4.2 > PyYAML==6.0.1 > requests==2.31.0 > requestsexceptions==1.4.0 > roman==3.3 > six==1.16.0 > stestr==4.0.1 > stevedore==5.1.0 > testtools==2.6.0 > urllib3==1.26.18 > voluptuous==0.12.2 > wcwidth==0.2.5 > wrapt==1.15.0 > zipp==1.0.0 > + exit 1 > make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1 The full build log is available from: http://qa-logs.debian.net/2023/12/12/python-monasca-statsd_2.7.0-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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.