Diff of the two buildlogs: -- --- b1/build.log 2025-02-05 16:06:17.612821537 +0000 +++ b2/build.log 2025-02-05 16:09:07.589159171 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 10 10:26:37 -12 2026 -I: pbuilder-time-stamp: 1773181597 +I: Current time: Thu Feb 6 06:06:21 +14 2025 +I: pbuilder-time-stamp: 1738771581 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking python-sh_2.2.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1738899/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3565401/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Feb 5 16:06 /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/3565401/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3565401/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='af2c99f421f3427f8e7733fe85f6a732' - 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='1738899' - PS1='# ' - PS2='> ' + INVOCATION_ID=28936ff3e2674748a32b1f34edef7d4d + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=3565401 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.0CUQD6wm/pbuilderrc_Fdjb --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0CUQD6wm/b1 --logfile b1/build.log python-sh_2.2.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.0CUQD6wm/pbuilderrc_0zJO --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0CUQD6wm/b2 --logfile b2/build.log python-sh_2.2.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1738899/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3565401/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -197,7 +229,7 @@ Get: 80 http://deb.debian.org/debian trixie/main arm64 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 81 http://deb.debian.org/debian trixie/main arm64 python3-poetry-core all 2.0.1-2 [225 kB] Get: 82 http://deb.debian.org/debian trixie/main arm64 python3-pytest all 8.3.4-1 [250 kB] -Fetched 34.3 MB in 0s (148 MB/s) +Fetched 34.3 MB in 0s (131 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:arm64. (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 ... 19957 files and directories currently installed.) @@ -478,8 +510,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Mar 10 22:26:55 UTC 2026. -Universal Time is now: Tue Mar 10 22:26:55 UTC 2026. +Local time is now: Wed Feb 5 16:06:39 UTC 2025. +Universal Time is now: Wed Feb 5 16:06:39 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -554,7 +586,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-sh-2.2.1/ && 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-sh_2.2.1-1_source.changes +I: user script /srv/workspace/pbuilder/3565401/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3565401/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-sh-2.2.1/ && 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-sh_2.2.1-1_source.changes dpkg-buildpackage: info: source package python-sh dpkg-buildpackage: info: source version 2.2.1-1 dpkg-buildpackage: info: source distribution unstable @@ -592,16 +628,12 @@ collected 181 items / 1 deselected / 180 selected tests/sh_test.py ....................................................... [ 30%] -........................................................................ [ 70%] -..............s.................s.................... [100%] +.......................s................................................ [ 70%] +....................................s................ [100%] =============================== warnings summary =============================== -tests/sh_test.py: 50 warnings - /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py:1983: DeprecationWarning: This process (pid=1747626) is multi-threaded, use of fork() may lead to deadlocks in the child. - self.pid = os.fork() - -tests/sh_test.py::FunctionalTests::test_signal_group - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1750114 +tests/sh_test.py::FunctionalTests::test_piped_exception2 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3576520 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -617,13 +649,11 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmpm03mcz62 + RAN: /usr/bin/python3.12 /tmp/tmpb3ps4uwf STDOUT: - 1750118 - 1750114 STDERR: @@ -631,11 +661,37 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_fg_env - :888: DeprecationWarning: This process (pid=1747626) is multi-threaded, use of fork() may lead to deadlocks in the child. +tests/sh_test.py: 77 warnings + /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py:1983: DeprecationWarning: This process (pid=3575919) is multi-threaded, use of fork() may lead to deadlocks in the child. + self.pid = os.fork() + +tests/sh_test.py::FunctionalTests::test_fg_alternative + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 3580028 + + 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-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 1642, in wrap + fn(*rgs, **kwargs) + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 2594, in input_thread + done = stdin.write() + ^^^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 2907, in write + chunk = self.get_chunk() + ^^^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 2848, in fn + chunk = stdin.read(bufsize) + ^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 209, in read + raise OSError( + OSError: pytest: reading from stdin while output is captured! Consider using `-s`. + + warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_sigpipe - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1750123 +tests/sh_test.py::FunctionalTests::test_piped_exception1 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3581066 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -651,13 +707,11 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmpm03mcz62 + RAN: /usr/bin/python3.12 /tmp/tmpreie423f STDOUT: - 1750138 - 1750123 STDERR: @@ -665,8 +719,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_stdout_callback_kill - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1750742 +tests/sh_test.py::FunctionalTests::test_signal_group + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3585138 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -684,9 +738,11 @@ raise exc sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 -u /tmp/tmp40fiio19 + RAN: /usr/bin/python3.12 /tmp/tmp_32p227f STDOUT: + 3585189 + 3585138 STDERR: @@ -694,8 +750,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1751475 +tests/sh_test.py::FunctionalTests::test_signal_exception + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3585288 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -711,9 +767,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.12 /tmp/tmp4l49mne2 + RAN: /usr/bin/python3.12 /tmp/tmpa73_tskj STDOUT: @@ -723,8 +779,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_done_cb_exc - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1752685 +tests/sh_test.py::FunctionalTests::test_bg_exit_code + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3585225 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -740,11 +796,13 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_1: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmp7lwz81wx + RAN: /usr/bin/python3.12 /tmp/tmp_32p227f STDOUT: + 3585264 + 3585225 STDERR: @@ -752,8 +810,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_piped_exception2 - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1754012 +tests/sh_test.py::FunctionalTests::test_stdout_callback_kill + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3585653 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -769,9 +827,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmprgm46_rw + RAN: /usr/bin/python3.12 -u /tmp/tmpu4ff41ag STDOUT: @@ -781,8 +839,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_signal_exception - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1754070 +tests/sh_test.py::FunctionalTests::test_done_cb_exc + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3586954 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -798,9 +856,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGTERM: + sh.ErrorReturnCode_1: - RAN: /usr/bin/python3.12 /tmp/tmpjylq0738 + RAN: /usr/bin/python3.12 /tmp/tmp9x7aee_g STDOUT: @@ -810,8 +868,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1754090 +tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3589455 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -827,9 +885,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGTERM: + sh.ErrorReturnCode_3: - RAN: /usr/bin/python3.12 -u /tmp/tmpl6p9kkln + RAN: /usr/bin/python3.12 /tmp/tmpqwtl1hpl STDOUT: @@ -839,8 +897,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_piped_exception1 - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1754695 +tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3591206 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -856,9 +914,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.12 /tmp/tmph4j5_g3n + RAN: /usr/bin/python3.12 -u /tmp/tmpdaw3e8yy STDOUT: @@ -868,8 +926,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1754700 +tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3591683 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -887,7 +945,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmpxyd_n8se + RAN: /usr/bin/python3.12 /tmp/tmp60jd72lh STDOUT: @@ -897,8 +955,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1755623 +tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3591930 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -914,9 +972,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_3: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmp1mp7ft9b + RAN: /usr/bin/python3.12 /tmp/tmp4ggqf_04 STDOUT: @@ -926,33 +984,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_fg_alternative - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 1755708 - - 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-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 1642, in wrap - fn(*rgs, **kwargs) - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 2594, in input_thread - done = stdin.write() - ^^^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 2907, in write - chunk = self.get_chunk() - ^^^^^^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py", line 2848, in fn - chunk = stdin.read(bufsize) - ^^^^^^^^^^^^^^^^^^^ - File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 209, in read - raise OSError( - OSError: pytest: reading from stdin while output is captured! Consider using `-s`. - - warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) - -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -========== 178 passed, 2 skipped, 1 deselected, 63 warnings in 59.06s ========== +========== 178 passed, 2 skipped, 1 deselected, 89 warnings in 59.17s ========== I: pybuild base:311: cd /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build; python3.13 -m pytest tests/sh_test.py -k 'not test_environment' ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 @@ -962,16 +995,16 @@ collected 181 items / 1 deselected / 180 selected tests/sh_test.py ....................................................... [ 30%] -...................................s.................................... [ 70%] -.......................................s............. [100%] +................................................................s....... [ 70%] +...............................s..................... [100%] =============================== warnings summary =============================== -tests/sh_test.py: 81 warnings - /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py:1983: DeprecationWarning: This process (pid=1756119) is multi-threaded, use of fork() may lead to deadlocks in the child. +tests/sh_test.py: 99 warnings + /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py:1983: DeprecationWarning: This process (pid=3593813) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1756121 +tests/sh_test.py::FunctionalTests::test_signal_exception + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3594033 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -991,9 +1024,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.13 /tmp/tmpmzlf41jd + RAN: /usr/bin/python3.13 /tmp/tmp2ms41nra STDOUT: @@ -1003,8 +1036,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_piped_exception2 - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1756143 +tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3594449 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1024,9 +1057,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.13 /tmp/tmppxzpbea4 + RAN: /usr/bin/python3.13 -u /tmp/tmpiuzlqbrb STDOUT: @@ -1036,8 +1069,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_stdout_callback_kill - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1756148 +tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3595089 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1057,9 +1090,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 -u /tmp/tmpck7a_q31 + RAN: /usr/bin/python3.13 /tmp/tmp3cop6jvz STDOUT: @@ -1069,8 +1102,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1758928 +tests/sh_test.py::FunctionalTests::test_signal_group + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3598048 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1090,11 +1123,13 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGTERM: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 -u /tmp/tmpr0wgcn1w + RAN: /usr/bin/python3.13 /tmp/tmpjlkjweyr STDOUT: + 3598135 + 3598048 STDERR: @@ -1102,8 +1137,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_signal_exception - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1760318 +tests/sh_test.py::FunctionalTests::test_stdin_unbuffered_bufsize + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3598201 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1123,11 +1158,13 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGTERM: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 /tmp/tmp66b_jsoo + RAN: /usr/bin/python3.13 /tmp/tmpjlkjweyr STDOUT: + 3598209 + 3598201 STDERR: @@ -1135,8 +1172,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_fg_alternative - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 1760536 +tests/sh_test.py::FunctionalTests::test_stdout_callback_kill + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3598444 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1148,22 +1185,37 @@ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2594, in input_thread - done = stdin.write() - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2907, in write - chunk = self.get_chunk() - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2848, in fn - chunk = stdin.read(bufsize) - File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 209, in read - raise OSError( - "pytest: reading from stdin while output is captured! Consider using `-s`." - ) - OSError: pytest: reading from stdin while output is captured! Consider using `-s`. + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2644, in background_thread + handle_exit_code(exit_code) + ~~~~~~~~~~~~~~~~^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2335, in fn + return self.command.handle_command_exit_code(exit_code) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code + raise exc + sh.SignalException_SIGKILL: + + RAN: /usr/bin/python3.13 -u /tmp/tmpnlj0jc4p + + STDOUT: + + + STDERR: + warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) +tests/sh_test.py::FunctionalTests::test_fg + :890: DeprecationWarning: This process (pid=3593813) is multi-threaded, use of fork() may lead to deadlocks in the child. + +tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr + /usr/lib/python3.13/traceback.py:863: ResourceWarning: unclosed file <_io.FileIO name='/tmp/tmpm0qt0q8c' mode='rb+' closefd=True> + def increment_until(lineno, col, stop): + Enable tracemalloc to get traceback where the object was allocated. + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. + tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1761114 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3598994 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1185,7 +1237,7 @@ raise exc sh.ErrorReturnCode_3: - RAN: /usr/bin/python3.13 /tmp/tmpdwd32hg_ + RAN: /usr/bin/python3.13 /tmp/tmpm0qt0q8c STDOUT: @@ -1195,8 +1247,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_signal_group - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1761318 +tests/sh_test.py::FunctionalTests::test_piped_exception1 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3599102 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1216,13 +1268,11 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpzechgtbc + RAN: /usr/bin/python3.13 /tmp/tmpig6ol6wv STDOUT: - 1761326 - 1761318 STDERR: @@ -1230,8 +1280,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_sigpipe - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1761331 +tests/sh_test.py::FunctionalTests::test_fg_alternative + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 3600211 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1243,30 +1293,22 @@ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 1642, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2644, in background_thread - handle_exit_code(exit_code) - ~~~~~~~~~~~~~~~~^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2335, in fn - return self.command.handle_command_exit_code(exit_code) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code - raise exc - sh.SignalException_SIGKILL: - - RAN: /usr/bin/python3.13 /tmp/tmpzechgtbc - - STDOUT: - 1761335 - 1761331 - - - STDERR: - + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2594, in input_thread + done = stdin.write() + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2907, in write + chunk = self.get_chunk() + File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 2848, in fn + chunk = stdin.read(bufsize) + File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 209, in read + raise OSError( + "pytest: reading from stdin while output is captured! Consider using `-s`." + ) + OSError: pytest: reading from stdin while output is captured! Consider using `-s`. warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_piped_exception1 - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1772615 +tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3600676 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1288,7 +1330,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpjo00yq_z + RAN: /usr/bin/python3.13 /tmp/tmpgggtkoq6 STDOUT: @@ -1298,8 +1340,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_done_cb_exc - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1772806 +tests/sh_test.py::FunctionalTests::test_piped_exception2 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3611418 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1319,9 +1361,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_1: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpp83uba2d + RAN: /usr/bin/python3.13 /tmp/tmp0zr7hrm9 STDOUT: @@ -1331,8 +1373,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 1773834 +tests/sh_test.py::FunctionalTests::test_done_cb_exc + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3611423 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1352,9 +1394,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py", line 823, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.ErrorReturnCode_1: - RAN: /usr/bin/python3.13 /tmp/tmp3_ww9rxy + RAN: /usr/bin/python3.13 /tmp/tmpvaour8s8 STDOUT: @@ -1365,7 +1407,7 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -========== 178 passed, 2 skipped, 1 deselected, 93 warnings in 59.66s ========== +========= 178 passed, 2 skipped, 1 deselected, 113 warnings in 59.73s ========== create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild @@ -1394,12 +1436,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3565401/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3565401/tmp/hooks/B01_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/1738899 and its subdirectories -I: Current time: Tue Mar 10 10:29:16 -12 2026 -I: pbuilder-time-stamp: 1773181756 +I: removing directory /srv/workspace/pbuilder/3565401 and its subdirectories +I: Current time: Thu Feb 6 06:09:06 +14 2025 +I: pbuilder-time-stamp: 1738771746