Diff of the two buildlogs: -- --- b1/build.log 2024-12-20 04:22:47.517677653 +0000 +++ b2/build.log 2024-12-20 04:34:16.890233687 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 19 16:20:23 -12 2024 -I: pbuilder-time-stamp: 1734668423 +I: Current time: Fri Dec 20 18:22:59 +14 2024 +I: pbuilder-time-stamp: 1734668579 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying do-not-use-logging._aquirelock.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/9770/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 20 04:24 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='9d6c8c0466f8400cb3789dd5fac61af9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='9770' - PS1='# ' - PS2='> ' + INVOCATION_ID=37db2cbfad3449f9981b323c1277e930 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=18237 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.4Lqk5j4K/pbuilderrc_kI6g --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4Lqk5j4K/b1 --logfile b1/build.log python-logutils_0.3.5-5.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.4Lqk5j4K/pbuilderrc_EjIn --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4Lqk5j4K/b2 --logfile b2/build.log python-logutils_0.3.5-5.dsc' + SUDO_GID=114 + SUDO_UID=109 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/9770/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -242,7 +274,7 @@ Get: 112 http://deb.debian.org/debian unstable/main armhf python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 113 http://deb.debian.org/debian unstable/main armhf sphinx-common all 8.1.3-2 [616 kB] Get: 114 http://deb.debian.org/debian unstable/main armhf python3-sphinx all 8.1.3-2 [468 kB] -Fetched 46.9 MB in 4s (11.6 MB/s) +Fetched 46.9 MB in 5s (10.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19681 files and directories currently installed.) @@ -620,8 +652,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Dec 20 04:21:14 UTC 2024. -Universal Time is now: Fri Dec 20 04:21:14 UTC 2024. +Local time is now: Fri Dec 20 04:27:03 UTC 2024. +Universal Time is now: Fri Dec 20 04:27:03 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.1-2) ... @@ -745,7 +777,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/python-logutils-0.3.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../python-logutils_0.3.5-5_source.changes +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-logutils-0.3.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../python-logutils_0.3.5-5_source.changes dpkg-buildpackage: info: source package python-logutils dpkg-buildpackage: info: source version 0.3.5-5 dpkg-buildpackage: info: source distribution unstable @@ -790,7 +826,8 @@ python$pyvers -m pytest -v tests -k 'not test_hashandlers' ; \ done + set -e -+ python3.13 -m pytest -v tests -k not test_hashandlers ++ for pyvers in 3.13 3.12 ++ python3.13 -m pytest -v tests -k 'not test_hashandlers' ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.13 cachedir: .pytest_cache @@ -869,8 +906,9 @@ t.setDaemon(True) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -=========== 34 passed, 1 skipped, 1 deselected, 12 warnings in 0.36s =========== -+ python3.12 -m pytest -v tests -k not test_hashandlers +=========== 34 passed, 1 skipped, 1 deselected, 12 warnings in 2.28s =========== ++ for pyvers in 3.13 3.12 ++ python3.12 -m pytest -v tests -k 'not test_hashandlers' ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.12 cachedir: .pytest_cache @@ -908,12 +946,243 @@ tests/test_queue.py::QueueTest::test_partial PASSED [ 80%] tests/test_queue.py::QueueTest::test_simple PASSED [ 82%] tests/test_redis.py::RedisQueueTest::test_multiple PASSED [ 85%] -tests/test_redis.py::RedisQueueTest::test_partial PASSED [ 88%] +tests/test_redis.py::RedisQueueTest::test_partial FAILED [ 88%] tests/test_redis.py::RedisQueueTest::test_simple PASSED [ 91%] tests/test_testing.py::LoggingTest::test_multiple PASSED [ 94%] tests/test_testing.py::LoggingTest::test_partial PASSED [ 97%] tests/test_testing.py::LoggingTest::test_simple PASSED [100%] +=================================== FAILURES =================================== +_________________________ RedisQueueTest.test_partial __________________________ + +self = Connection + + def connect(self): + "Connects to the Redis server if not already connected" + if self._sock: + return + try: +> sock = self.retry.call_with_retry( + lambda: self._connect(), lambda error: self.disconnect(error) + ) + +/usr/lib/python3/dist-packages/redis/connection.py:611: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry + return do() +/usr/lib/python3/dist-packages/redis/connection.py:612: in + lambda: self._connect(), lambda error: self.disconnect(error) +/usr/lib/python3/dist-packages/redis/connection.py:677: in _connect + raise err +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = Connection + + def _connect(self): + "Create a TCP socket connection" + # we want to mimic what socket.create_connection does to support + # ipv4/ipv6, but we want to set options prior to calling + # socket.connect() + err = None + for res in socket.getaddrinfo( + self.host, self.port, self.socket_type, socket.SOCK_STREAM + ): + family, socktype, proto, canonname, socket_address = res + sock = None + try: + sock = socket.socket(family, socktype, proto) + # TCP_NODELAY + sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) + + # TCP_KEEPALIVE + if self.socket_keepalive: + sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) + for k, v in self.socket_keepalive_options.items(): + sock.setsockopt(socket.IPPROTO_TCP, k, v) + + # set the socket_connect_timeout before we connect + sock.settimeout(self.socket_connect_timeout) + + # connect +> sock.connect(socket_address) +E ConnectionRefusedError: [Errno 111] Connection refused + +/usr/lib/python3/dist-packages/redis/connection.py:665: ConnectionRefusedError + +During handling of the above exception, another exception occurred: + +self = + + def test_partial(self): + "Test of partial matching through queues." + # Just as a demo, let's log some messages. + # Only one should show up in the log. + self.logger.debug("This won't show up.") + self.logger.info("Neither will this.") + self.logger.warning("But this will.") +> self.ql.stop() #ensure all records have come through. + +tests/test_redis.py:74: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +logutils/queue.py:215: in stop + self.enqueue_sentinel() +logutils/redis.py:74: in enqueue_sentinel + self.queue.rpush(self.key, '') +/usr/lib/python3/dist-packages/redis/commands/core.py:2695: in rpush + return self.execute_command("RPUSH", name, *values) +/usr/lib/python3/dist-packages/redis/client.py:1235: in execute_command + conn = self.connection or pool.get_connection(command_name, **options) +/usr/lib/python3/dist-packages/redis/connection.py:1387: in get_connection + connection.connect() +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = Connection + + def connect(self): + "Connects to the Redis server if not already connected" + if self._sock: + return + try: + sock = self.retry.call_with_retry( + lambda: self._connect(), lambda error: self.disconnect(error) + ) + except socket.timeout: + raise TimeoutError("Timeout connecting to server") + except OSError as e: +> raise ConnectionError(self._error_message(e)) +E redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused. + +/usr/lib/python3/dist-packages/redis/connection.py:617: ConnectionError +----------------------------- Captured stderr call ----------------------------- +--- Logging error --- +Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/redis/connection.py", line 824, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/connection.py", line 318, in read_response + raw = self._buffer.readline() + ^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/connection.py", line 249, in readline + self._read_from_socket() + File "/usr/lib/python3/dist-packages/redis/connection.py", line 192, in _read_from_socket + data = self._sock.recv(socket_read_size) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +ConnectionResetError: [Errno 104] Connection reset by peer + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/build/reproducible-path/python-logutils-0.3.5/logutils/queue.py", line 94, in emit + self.enqueue(self.prepare(record)) + File "/build/reproducible-path/python-logutils-0.3.5/logutils/redis.py", line 37, in enqueue + self.queue.rpush(self.key, s) + File "/usr/lib/python3/dist-packages/redis/commands/core.py", line 2695, in rpush + return self.execute_command("RPUSH", name, *values) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1238, in execute_command + return conn.retry.call_with_retry( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/retry.py", line 49, in call_with_retry + fail(error) + File "/usr/lib/python3/dist-packages/redis/client.py", line 1242, in + lambda error: self._disconnect_raise(conn, error), + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1228, in _disconnect_raise + raise error + File "/usr/lib/python3/dist-packages/redis/retry.py", line 46, in call_with_retry + return do() + ^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1239, in + lambda: self._send_command_parse_response( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1215, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1254, in parse_response + response = connection.read_response() + ^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/connection.py", line 830, in read_response + raise ConnectionError(f"Error while reading from {hosterr}" f" : {e.args}") +redis.exceptions.ConnectionError: Error while reading from localhost:6379 : (104, 'Connection reset by peer') +Call stack: + File "", line 198, in _run_module_as_main + File "", line 88, in _run_code + File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in + raise SystemExit(pytest.console_main()) + File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main + code = main() + File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main + ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) + File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ + return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec + return self._inner_hookexec(hook_name, methods, kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall + res = hook_impl.function(*args) + File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330, in pytest_cmdline_main + return wrap_session(config, _main) + File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session + session.exitstatus = doit(config, session) or 0 + File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main + config.hook.pytest_runtestloop(session=session) + File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ + return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec + return self._inner_hookexec(hook_name, methods, kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall + res = hook_impl.function(*args) + File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop + item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) + File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ + return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec + return self._inner_hookexec(hook_name, methods, kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall + res = hook_impl.function(*args) + File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol + runtestprotocol(item, nextitem=nextitem) + File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132, in runtestprotocol + reports.append(call_and_report(item, "call", log)) + File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in call_and_report + call = CallInfo.from_call( + File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in from_call + result: TResult | None = func() + File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242, in + lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise + File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__ + return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec + return self._inner_hookexec(hook_name, methods, kwargs, firstresult) + File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall + res = hook_impl.function(*args) + File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174, in pytest_runtest_call + item.runtest() + File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 351, in runtest + testcase(result=self) + File "/usr/lib/python3.12/unittest/case.py", line 690, in __call__ + return self.run(*args, **kwds) + File "/usr/lib/python3.12/unittest/case.py", line 634, in run + self._callTestMethod(testMethod) + File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod + if method() is not None: + File "/build/reproducible-path/python-logutils-0.3.5/tests/test_redis.py", line 73, in test_partial + self.logger.warning("But this will.") + File "/usr/lib/python3.12/logging/__init__.py", line 1551, in warning + self._log(WARNING, msg, args, **kwargs) + File "/usr/lib/python3.12/logging/__init__.py", line 1684, in _log + self.handle(record) + File "/usr/lib/python3.12/logging/__init__.py", line 1700, in handle + self.callHandlers(record) + File "/usr/lib/python3.12/logging/__init__.py", line 1762, in callHandlers + hdlr.handle(record) + File "/usr/lib/python3.12/logging/__init__.py", line 1028, in handle + self.emit(record) + File "/build/reproducible-path/python-logutils-0.3.5/logutils/queue.py", line 98, in emit + self.handleError(record) +Message: 'But this will.' +Arguments: None +------------------------------ Captured log call ------------------------------- +WARNING root:test_redis.py:73 But this will. =============================== warnings summary =============================== logutils/testing.py:7 /build/reproducible-path/python-logutils-0.3.5/logutils/testing.py:7: PytestCollectionWarning: cannot collect test class 'TestHandler' because it has a __init__ constructor (from: tests/test_adapter.py) @@ -948,241 +1217,90 @@ /build/reproducible-path/python-logutils-0.3.5/logutils/queue.py:144: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead t.setDaemon(True) --- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -=========== 34 passed, 1 skipped, 1 deselected, 12 warnings in 0.38s =========== -make[1]: Leaving directory '/build/reproducible-path/python-logutils-0.3.5' - create-stamp debian/debhelper-build-stamp - fakeroot debian/rules binary -make: pyversions: No such file or directory -py3versions: no X-Python3-Version in control file, using supported versions -dh binary --buildsystem=pybuild --with python3,sphinxdoc - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - debian/rules override_dh_auto_install -make[1]: Entering directory '/build/reproducible-path/python-logutils-0.3.5' -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-logutils -+ echo python-logutils -+ sed s/python-// -+ PY_MODULE_NAME=logutils -+ py3versions -vr -+ PYTHON3S=3.13 3.12 -+ [ yes = yes ] -+ TARGET_DIR=tmp -+ pwd -+ python3.13 setup.py install --install-layout=deb --root /build/reproducible-path/python-logutils-0.3.5/debian/tmp -/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() -warning: no files found matching 'doc/*.html' -+ pwd -+ python3.12 setup.py install --install-layout=deb --root /build/reproducible-path/python-logutils-0.3.5/debian/tmp -/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() -warning: no files found matching 'doc/*.html' -+ pwd -+ rm -rf /build/reproducible-path/python-logutils-0.3.5/debian/python*/usr/lib/python*/dist-packages/*.pth -+ pwd -+ rm -rf /build/reproducible-path/python-logutils-0.3.5/debian/tmp/usr/lib/python*/dist-packages/*.pth -make[1]: Leaving directory '/build/reproducible-path/python-logutils-0.3.5' - dh_install -O--buildsystem=pybuild - dh_installdocs -O--buildsystem=pybuild - debian/rules override_dh_sphinxdoc -make[1]: Entering directory '/build/reproducible-path/python-logutils-0.3.5' -make[1]: pyversions: No such file or directory -py3versions: no X-Python3-Version in control file, using supported versions -python3 -m sphinx -b html doc debian/python-logutils-doc/usr/share/doc/python-logutils-doc/html -Running Sphinx v8.1.3 -loading translations [en]... done -making output directory... done -Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. -building [mo]: targets for 0 po files that are out of date -writing output... -building [html]: targets for 10 source files that are out of date -updating environment: [new config] 10 added, 0 changed, 0 removed -reading sources... [ 10%] adapter -reading sources... [ 20%] colorize -reading sources... [ 30%] dictconfig -reading sources... [ 40%] http -reading sources... [ 50%] index -reading sources... [ 60%] libraries -reading sources... [ 70%] queue -reading sources... [ 80%] redis -reading sources... [ 90%] testing -reading sources... [100%] whatsnew - -looking for now-outdated files... none found -pickling environment... done -checking consistency... done -preparing documents... done -copying assets... -copying static files... -Writing evaluated template result to /build/reproducible-path/python-logutils-0.3.5/debian/python-logutils-doc/usr/share/doc/python-logutils-doc/html/_static/documentation_options.js -Writing evaluated template result to /build/reproducible-path/python-logutils-0.3.5/debian/python-logutils-doc/usr/share/doc/python-logutils-doc/html/_static/basic.css -Writing evaluated template result to /build/reproducible-path/python-logutils-0.3.5/debian/python-logutils-doc/usr/share/doc/python-logutils-doc/html/_static/language_data.js -Writing evaluated template result to /build/reproducible-path/python-logutils-0.3.5/debian/python-logutils-doc/usr/share/doc/python-logutils-doc/html/_static/alabaster.css -copying static files: done -copying extra files... -copying extra files: done -copying assets: done -writing output... [ 10%] adapter -writing output... [ 20%] colorize -writing output... [ 30%] dictconfig -writing output... [ 40%] http -writing output... [ 50%] index -writing output... [ 60%] libraries -writing output... [ 70%] queue -writing output... [ 80%] redis -writing output... [ 90%] testing -writing output... [100%] whatsnew - -generating indices... genindex py-modindex done -writing additional pages... search done -dumping search index in English (code: en)... done -dumping object inventory... done -build succeeded. +tests/test_redis.py::RedisQueueTest::test_partial + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-5 (_monitor) + + Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/redis/connection.py", line 824, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/connection.py", line 318, in read_response + raw = self._buffer.readline() + ^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/connection.py", line 249, in readline + self._read_from_socket() + File "/usr/lib/python3/dist-packages/redis/connection.py", line 192, in _read_from_socket + data = self._sock.recv(socket_read_size) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ConnectionResetError: [Errno 104] Connection reset by peer + + During handling of the above exception, another exception occurred: + + Traceback (most recent call last): + File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner + self.run() + File "/usr/lib/python3.12/threading.py", line 1012, in run + self._target(*self._args, **self._kwargs) + File "/build/reproducible-path/python-logutils-0.3.5/logutils/queue.py", line 189, in _monitor + record = self.dequeue(True) + ^^^^^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-logutils-0.3.5/tests/test_redis.py", line 15, in dequeue + record = RedisQueueListener.dequeue(self, block) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-logutils-0.3.5/logutils/redis.py", line 64, in dequeue + s = self.queue.blpop(self.key)[1] + ^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/commands/core.py", line 2473, in blpop + return self.execute_command("BLPOP", *keys) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1238, in execute_command + return conn.retry.call_with_retry( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/retry.py", line 49, in call_with_retry + fail(error) + File "/usr/lib/python3/dist-packages/redis/client.py", line 1242, in + lambda error: self._disconnect_raise(conn, error), + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1228, in _disconnect_raise + raise error + File "/usr/lib/python3/dist-packages/redis/retry.py", line 46, in call_with_retry + return do() + ^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1239, in + lambda: self._send_command_parse_response( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1215, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/client.py", line 1254, in parse_response + response = connection.read_response() + ^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/redis/connection.py", line 830, in read_response + raise ConnectionError(f"Error while reading from {hosterr}" f" : {e.args}") + redis.exceptions.ConnectionError: Error while reading from localhost:6379 : (104, 'Connection reset by peer') + + warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -The HTML pages are in debian/python-logutils-doc/usr/share/doc/python-logutils-doc/html. -dh_sphinxdoc -make[1]: Leaving directory '/build/reproducible-path/python-logutils-0.3.5' - debian/rules override_dh_installchangelogs -make[1]: Entering directory '/build/reproducible-path/python-logutils-0.3.5' -make[1]: pyversions: No such file or directory -py3versions: no X-Python3-Version in control file, using supported versions -if [ -e /build/reproducible-path/python-logutils-0.3.5/debian/CHANGELOG ] ; then \ - dh_installchangelogs /build/reproducible-path/python-logutils-0.3.5/debian/CHANGELOG ; \ -else \ - dh_installchangelogs ; \ -fi -make[1]: Leaving directory '/build/reproducible-path/python-logutils-0.3.5' - dh_python3 -O--buildsystem=pybuild - debian/rules override_dh_installinit -make[1]: Entering directory '/build/reproducible-path/python-logutils-0.3.5' -make[1]: pyversions: No such file or directory -py3versions: no X-Python3-Version in control file, using supported versions -# Create the init scripts and systemd unit files from the template -set -e ; set -x ; for i in `ls -1 debian/*.init.in` ; do \ - MYINIT=`echo $i | sed s/.init.in//` ; \ - cp $i $MYINIT.init ; \ - cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ - pkgos-gen-systemd-unit $i ; \ -done -+ ls -1 debian/*.init.in -ls: cannot access 'debian/*.init.in': No such file or directory -# If there's a service.in file, use that one instead of the generated one -set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \ - MYPKG=`echo $i | sed s/.service.in//` ; \ - cp $MYPKG.service.in $MYPKG.service ; \ -done -+ ls -1 debian/*.service.in -ls: cannot access 'debian/*.service.in': No such file or directory -# Generate the systemd unit if there's no already existing .service.in -set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ - MYINIT=`echo $i | sed s/.init.in/.service.in/` ; \ - if ! [ -e $MYINIT ] ; then \ - pkgos-gen-systemd-unit $i ; \ - fi \ -done -+ ls debian/*.init.in -ls: cannot access 'debian/*.init.in': No such file or directory -dh_installinit --error-handler=true -make[1]: Leaving directory '/build/reproducible-path/python-logutils-0.3.5' - debian/rules override_dh_installsystemd -make[1]: Entering directory '/build/reproducible-path/python-logutils-0.3.5' -make[1]: pyversions: No such file or directory -py3versions: no X-Python3-Version in control file, using supported versions -# Create the init scripts and systemd unit files from the template -set -e ; set -x ; for i in `ls -1 debian/*.init.in` ; do \ - MYINIT=`echo $i | sed s/.init.in//` ; \ - cp $i $MYINIT.init ; \ - cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ - pkgos-gen-systemd-unit $i ; \ -done -+ ls -1 debian/*.init.in -ls: cannot access 'debian/*.init.in': No such file or directory -# If there's a service.in file, use that one instead of the generated one -set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \ - MYPKG=`echo $i | sed s/.service.in//` ; \ - cp $MYPKG.service.in $MYPKG.service ; \ -done -+ ls -1 debian/*.service.in -ls: cannot access 'debian/*.service.in': No such file or directory -# Generate the systemd unit if there's no already existing .service.in -set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ - MYINIT=`echo $i | sed s/.init.in/.service.in/` ; \ - if ! [ -e $MYINIT ] ; then \ - pkgos-gen-systemd-unit $i ; \ - fi \ -done -+ ls debian/*.init.in -ls: cannot access 'debian/*.init.in': No such file or directory -dh_installsystemd -make[1]: Leaving directory '/build/reproducible-path/python-logutils-0.3.5' - dh_perl -O--buildsystem=pybuild - dh_link -O--buildsystem=pybuild - dh_strip_nondeterminism -O--buildsystem=pybuild - dh_compress -O--buildsystem=pybuild - dh_fixperms -O--buildsystem=pybuild - dh_missing -O--buildsystem=pybuild - dh_installdeb -O--buildsystem=pybuild - debian/rules override_dh_gencontrol -make[1]: Entering directory '/build/reproducible-path/python-logutils-0.3.5' -make[1]: pyversions: No such file or directory -py3versions: no X-Python3-Version in control file, using supported versions -if dpkg-vendor --derives-from ubuntu ; then \ - dh_gencontrol -- -T/build/reproducible-path/python-logutils-0.3.5/debian/ubuntu_control_vars ; \ -else \ - dh_gencontrol -- -T/build/reproducible-path/python-logutils-0.3.5/debian/debian_control_vars ; \ -fi -dpkg-gencontrol: warning: package python-logutils-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html +=========================== short test summary info ============================ +FAILED tests/test_redis.py::RedisQueueTest::test_partial - redis.exceptions.C... +====== 1 failed, 33 passed, 1 skipped, 1 deselected, 13 warnings in 7.60s ====== +make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/reproducible-path/python-logutils-0.3.5' - dh_md5sums -O--buildsystem=pybuild - dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'python-logutils-doc' in '../python-logutils-doc_0.3.5-5_all.deb'. -dpkg-deb: building package 'python3-logutils' in '../python3-logutils_0.3.5-5_all.deb'. - dpkg-genbuildinfo --build=binary -O../python-logutils_0.3.5-5_armhf.buildinfo - dpkg-genchanges --build=binary -O../python-logutils_0.3.5-5_armhf.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: not including original source code in upload +make: *** [debian/rules:7: build] Error 2 +dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Fri Dec 20 04:34:02 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 1.9G 0 1.9G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/18237/tmp/hooks/C01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/9770 and its subdirectories -I: Current time: Thu Dec 19 16:22:43 -12 2024 -I: pbuilder-time-stamp: 1734668563 +I: removing directory /srv/workspace/pbuilder/18237 and its subdirectories