Diff of the two buildlogs: -- --- b1/build.log 2025-01-31 06:46:26.238600089 +0000 +++ b2/build.log 2025-01-31 06:49:06.347383169 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jan 30 18:43:18 -12 2025 -I: pbuilder-time-stamp: 1738305798 +I: Current time: Fri Mar 6 03:09:32 +14 2026 +I: pbuilder-time-stamp: 1772716172 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ 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/21525/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/89173/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Mar 5 13:09 /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/89173/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/89173/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='88f03893da514e11a920220c7e566b36' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='21525' - PS1='# ' - PS2='> ' + INVOCATION_ID=13f1690e94104438affc70c0682ad011 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=89173 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.p0RlIgRP/pbuilderrc_hAY8 --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.p0RlIgRP/b1 --logfile b1/build.log python-sh_2.2.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.p0RlIgRP/pbuilderrc_QbvH --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.p0RlIgRP/b2 --logfile b2/build.log python-sh_2.2.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21525/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/89173/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -200,7 +232,7 @@ Get: 80 http://deb.debian.org/debian unstable/main i386 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 81 http://deb.debian.org/debian unstable/main i386 python3-poetry-core all 2.0.1-2 [225 kB] Get: 82 http://deb.debian.org/debian unstable/main i386 python3-pytest all 8.3.4-1 [250 kB] -Fetched 35.9 MB in 0s (92.0 MB/s) +Fetched 35.9 MB in 1s (42.5 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (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 ... 19828 files and directories currently installed.) @@ -481,8 +513,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jan 31 06:43:51 UTC 2025. -Universal Time is now: Fri Jan 31 06:43:51 UTC 2025. +Local time is now: Thu Mar 5 13:09:58 UTC 2026. +Universal Time is now: Thu Mar 5 13:09:58 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -557,7 +589,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/89173/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/89173/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 @@ -595,12 +631,12 @@ 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::FunctionalTests::test_stdout_callback_kill - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 23807 +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 92493 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -616,9 +652,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_SIGKILL: + sh.ErrorReturnCode_1: - RAN: /usr/bin/python3.12 -u /tmp/tmpfrzqp8j4 + RAN: /usr/bin/python3.12 /tmp/tmpn_ulgi1e STDOUT: @@ -628,37 +664,12 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py: 49 warnings - /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py:1983: DeprecationWarning: This process (pid=23786) is multi-threaded, use of fork() may lead to deadlocks in the child. +tests/sh_test.py: 80 warnings + /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py:1983: DeprecationWarning: This process (pid=92409) 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 23975 - - 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_unchecked_producer_failure - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 23991 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 92851 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -676,7 +687,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmpwpq9cbjo + RAN: /usr/bin/python3.12 /tmp/tmp5oe9yjyx STDOUT: @@ -686,8 +697,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 24844 +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 92895 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -703,9 +714,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/tmp_qszaptn + RAN: /usr/bin/python3.12 -u /tmp/tmpz8oggapp STDOUT: @@ -715,8 +726,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 24864 +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 93225 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -734,7 +745,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmpqgl_59nh + RAN: /usr/bin/python3.12 /tmp/tmpt9q2galu STDOUT: @@ -744,8 +755,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 24924 +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 93272 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -761,13 +772,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_3: - RAN: /usr/bin/python3.12 /tmp/tmpgaxjidg8 + RAN: /usr/bin/python3.12 /tmp/tmpctlugj6p STDOUT: - 24928 - 24924 STDERR: @@ -775,8 +784,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_general_signal - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 24933 +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 93345 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -792,13 +801,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.SignalException_SIGTERM: - RAN: /usr/bin/python3.12 /tmp/tmpgaxjidg8 + RAN: /usr/bin/python3.12 /tmp/tmpyriiuhiq STDOUT: - 24937 - 24933 STDERR: @@ -806,8 +813,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 27147 +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 93656 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -823,9 +830,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/tmp2weqy5ch + RAN: /usr/bin/python3.12 -u /tmp/tmp_z8yopc_ STDOUT: @@ -835,8 +842,33 @@ 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 27630 +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 94312 + + 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_piped_exception1 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 94485 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -852,9 +884,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_2: - RAN: /usr/bin/python3.12 -u /tmp/tmpw90s6l49 + RAN: /usr/bin/python3.12 /tmp/tmp6mzd95y3 STDOUT: @@ -864,12 +896,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_fg_env -tests/sh_test.py::FunctionalTests::test_fg - :888: DeprecationWarning: This process (pid=23786) 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/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 28679 +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 94498 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -885,11 +913,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_3: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmpew0vk9o3 + RAN: /usr/bin/python3.12 /tmp/tmpdsvewart STDOUT: + 94504 + 94498 STDERR: @@ -897,8 +927,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 29659 +tests/sh_test.py::FunctionalTests::test_done_callback + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 94514 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -914,11 +944,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/tmp536g3zm9 + RAN: /usr/bin/python3.12 /tmp/tmpdsvewart STDOUT: + 94525 + 94514 STDERR: @@ -926,8 +958,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 29696 +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 95166 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -943,9 +975,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_2: - RAN: /usr/bin/python3.12 /tmp/tmpauy5iv4d + RAN: /usr/bin/python3.12 /tmp/tmp053tww9m STDOUT: @@ -956,7 +988,7 @@ 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 57.10s ========== +========== 178 passed, 2 skipped, 1 deselected, 92 warnings in 54.46s ========== 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 @@ -965,17 +997,17 @@ plugins: typeguard-4.4.1 collected 181 items / 1 deselected / 180 selected -tests/sh_test.py ....................................................... [ 30%] -...................................................s.................... [ 70%] -.......................................s............. [100%] +tests/sh_test.py ....................................s.................. [ 30%] +........................................................................ [ 70%] +........................................s............ [100%] =============================== warnings summary =============================== -tests/sh_test.py: 98 warnings - /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py:1983: DeprecationWarning: This process (pid=30663) is multi-threaded, use of fork() may lead to deadlocks in the child. +tests/sh_test.py: 37 warnings + /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py:1983: DeprecationWarning: This process (pid=95661) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -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 31977 +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 96103 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -995,9 +1027,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_3: + sh.ErrorReturnCode_1: - RAN: /usr/bin/python3.13 /tmp/tmpi8rvw9i9 + RAN: /usr/bin/python3.13 /tmp/tmpi13wefil STDOUT: @@ -1007,8 +1039,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 32510 +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 96116 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1028,9 +1060,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_3: - RAN: /usr/bin/python3.13 /tmp/tmpjrycte_k + RAN: /usr/bin/python3.13 /tmp/tmptsg7k2yy STDOUT: @@ -1040,8 +1072,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 41606 +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 96199 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1063,7 +1095,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpmu7w5lve + RAN: /usr/bin/python3.13 /tmp/tmpkh0rm_h6 STDOUT: @@ -1073,8 +1105,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 41693 +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 96727 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1086,28 +1118,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 -u /tmp/tmpzwa3l1fo - - STDOUT: - - - 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_done_cb_exc - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 43070 +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 96761 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1127,9 +1153,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/tmpezho180r + RAN: /usr/bin/python3.13 /tmp/tmptgocnn9p STDOUT: @@ -1140,7 +1166,7 @@ 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 43241 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 96771 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1162,7 +1188,7 @@ raise exc sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.13 -u /tmp/tmp7jjpp3ap + RAN: /usr/bin/python3.13 -u /tmp/tmpvf9dht06 STDOUT: @@ -1172,8 +1198,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 43855 +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 96990 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1185,22 +1211,28 @@ 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/tmpzidm0z2j + + STDOUT: + + + STDERR: + 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 44068 +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 97596 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1220,13 +1252,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/tmp41u0yrjl + RAN: /usr/bin/python3.13 /tmp/tmpote_pfj9 STDOUT: - 44130 - 44068 STDERR: @@ -1234,8 +1264,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_timeout_wait - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 44207 +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 97602 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1257,11 +1287,11 @@ raise exc sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 /tmp/tmp41u0yrjl + RAN: /usr/bin/python3.13 /tmp/tmp6ocx1ely STDOUT: - 44372 - 44207 + 97610 + 97602 STDERR: @@ -1269,12 +1299,11 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_fg -tests/sh_test.py::FunctionalTests::test_fg_env - :890: DeprecationWarning: This process (pid=30663) is multi-threaded, use of fork() may lead to deadlocks in the child. +tests/sh_test.py::FunctionalTests::test_fg_exc + :890: DeprecationWarning: This process (pid=95661) is multi-threaded, use of fork() may lead to deadlocks in the child. -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 45510 +tests/sh_test.py::FunctionalTests::test_general_signal + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 97622 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1294,11 +1323,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.ErrorReturnCode_2: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 /tmp/tmpfeyxedjr + RAN: /usr/bin/python3.13 /tmp/tmp6ocx1ely STDOUT: + 97630 + 97622 STDERR: @@ -1306,8 +1337,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 45573 +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 98288 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1327,9 +1358,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/tmpeda1umna + RAN: /usr/bin/python3.13 /tmp/tmp97ju6gfn STDOUT: @@ -1339,8 +1370,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 45740 +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 98721 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1360,9 +1391,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_SIGTERM: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpi3s471o5 + RAN: /usr/bin/python3.13 /tmp/tmp6au1ozor STDOUT: @@ -1373,7 +1404,7 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -==== 178 passed, 2 skipped, 1 deselected, 112 warnings in 62.73s (0:01:02) ===== +========== 178 passed, 2 skipped, 1 deselected, 50 warnings in 54.56s ========== create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild @@ -1402,12 +1433,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/89173/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/89173/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/21525 and its subdirectories -I: Current time: Thu Jan 30 18:46:24 -12 2025 -I: pbuilder-time-stamp: 1738305984 +I: removing directory /srv/workspace/pbuilder/89173 and its subdirectories +I: Current time: Fri Mar 6 03:12:05 +14 2026 +I: pbuilder-time-stamp: 1772716325