Diff of the two buildlogs: -- --- b1/build.log 2024-12-04 11:15:59.056096091 +0000 +++ b2/build.log 2024-12-04 11:18:53.444221634 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Tue Jan 6 05:36:31 -12 2026 -I: pbuilder-time-stamp: 1767720991 +I: Current time: Thu Dec 5 01:16:01 +14 2024 +I: pbuilder-time-stamp: 1733310961 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,54 +28,85 @@ dpkg-source: info: unpacking python-sh_2.0.7-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/87028/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/38212/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-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 Dec 4 11:16 /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/38212/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/38212/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=22 ' - 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]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(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=10 ' + 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='b797b5c01dea4a669d36051f3c126e4a' - 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='87028' - PS1='# ' - PS2='> ' + 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=38212 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.PHMpqoRx/pbuilderrc_esEF --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.PHMpqoRx/b1 --logfile b1/build.log python-sh_2.0.7-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://213.165.73.152: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.PHMpqoRx/pbuilderrc_VkPA --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.PHMpqoRx/b2 --logfile b2/build.log python-sh_2.0.7-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://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/87028/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/38212/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -202,7 +234,7 @@ Get: 78 http://deb.debian.org/debian unstable/main i386 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 79 http://deb.debian.org/debian unstable/main i386 python3-poetry-core all 1.9.0-2 [210 kB] Get: 80 http://deb.debian.org/debian unstable/main i386 python3-pytest all 8.3.3-1 [249 kB] -Fetched 35.0 MB in 1s (45.8 MB/s) +Fetched 35.0 MB in 1s (57.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-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 ... 19955 files and directories currently installed.) @@ -476,8 +508,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Jan 6 17:36:50 UTC 2026. -Universal Time is now: Tue Jan 6 17:36:50 UTC 2026. +Local time is now: Wed Dec 4 11:16:26 UTC 2024. +Universal Time is now: Wed Dec 4 11:16:26 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:i386 (3.13.0-2) ... @@ -551,7 +583,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-sh-2.0.7/ && 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.0.7-1_source.changes +I: user script /srv/workspace/pbuilder/38212/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/38212/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-sh-2.0.7/ && 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.0.7-1_source.changes dpkg-buildpackage: info: source package python-sh dpkg-buildpackage: info: source version 2.0.7-1 dpkg-buildpackage: info: source distribution unstable @@ -589,16 +625,16 @@ collected 179 items / 1 deselected / 178 selected tests/sh_test.py ....................................................... [ 30%] -............................................s........................... [ 71%] -.....................................s............. [100%] +.................s...................................................... [ 71%] +.......................................s........... [100%] =============================== warnings summary =============================== -tests/sh_test.py: 92 warnings - /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py:1980: DeprecationWarning: This process (pid=96842) is multi-threaded, use of fork() may lead to deadlocks in the child. - self.pid = os.fork() +tests/sh_test.py::FunctionalTests::test_async_iter_exc + /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/tests/sh_test.py:1786: DeprecationWarning: There is no current event loop + loop = asyncio.get_event_loop() -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 96852 +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 43367 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -618,9 +654,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_3: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpfq_wv4kw + RAN: /usr/bin/python3.13 /tmp/tmp0nut5vqb STDOUT: @@ -630,8 +666,12 @@ 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 96877 +tests/sh_test.py: 45 warnings + /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py:1980: DeprecationWarning: This process (pid=43301) is multi-threaded, use of fork() may lead to deadlocks in the child. + self.pid = os.fork() + +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 43544 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -651,9 +691,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.13 /tmp/tmpqeg2ldx1 + RAN: /usr/bin/python3.13 /tmp/tmpj3m7u8th STDOUT: @@ -663,8 +703,11 @@ 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 97072 +tests/sh_test.py::FunctionalTests::test_fg + :890: DeprecationWarning: This process (pid=43301) 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 44836 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -684,9 +727,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.ErrorReturnCode_3: - RAN: /usr/bin/python3.13 /tmp/tmpa676skxe + RAN: /usr/bin/python3.13 /tmp/tmpivqgmab8 STDOUT: @@ -696,8 +739,35 @@ 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 97094 +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 46420 + + Traceback (most recent call last): + File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner + self.run() + ~~~~~~~~^^ + File "/usr/lib/python3.13/threading.py", line 992, in run + self._target(*self._args, **self._kwargs) + ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 1639, in wrap + fn(*rgs, **kwargs) + ~~^^^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2591, in input_thread + done = stdin.write() + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2904, in write + chunk = self.get_chunk() + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2845, 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_stdout_callback_terminate + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 46563 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -719,7 +789,7 @@ raise exc sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.13 /tmp/tmpecwqq2hy + RAN: /usr/bin/python3.13 -u /tmp/tmpypyfvln7 STDOUT: @@ -729,8 +799,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 97430 +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 47198 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -750,9 +820,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 /tmp/tmps_a_zqq5 + RAN: /usr/bin/python3.13 -u /tmp/tmph4iiko40 STDOUT: @@ -762,8 +832,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 98150 +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 47250 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -783,11 +853,13 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.SignalException_SIGTERM: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 -u /tmp/tmpxot68vgq + RAN: /usr/bin/python3.13 /tmp/tmpxlbalp_v STDOUT: + 47260 + 47250 STDERR: @@ -795,8 +867,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 98380 +tests/sh_test.py::FunctionalTests::test_multiple_pipes + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 47265 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -818,11 +890,11 @@ raise exc sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 /tmp/tmphvd5rj13 + RAN: /usr/bin/python3.13 /tmp/tmpxlbalp_v STDOUT: - 98418 - 98380 + 47269 + 47265 STDERR: @@ -830,8 +902,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 98524 +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 48659 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -851,9 +923,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.ErrorReturnCode_1: - RAN: /usr/bin/python3.13 -u /tmp/tmpzexm_0te + RAN: /usr/bin/python3.13 /tmp/tmprgwl3u7f STDOUT: @@ -864,7 +936,7 @@ 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 101077 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 48664 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -886,7 +958,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpp5hpmb00 + RAN: /usr/bin/python3.13 /tmp/tmpiut4uh9v STDOUT: @@ -896,15 +968,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_async - /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/tests/sh_test.py:1725: DeprecationWarning: There is no current event loop - loop = asyncio.get_event_loop() - -tests/sh_test.py::FunctionalTests::test_fg_exc - :890: DeprecationWarning: This process (pid=96842) is multi-threaded, use of fork() may lead to deadlocks in the child. - -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 102217 +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 48669 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -924,9 +989,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_1: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmp0mn5lo8p + RAN: /usr/bin/python3.13 /tmp/tmp27a1jetz STDOUT: @@ -936,8 +1001,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 102910 +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 48780 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -949,22 +1014,28 @@ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 1639, in wrap fn(*rgs, **kwargs) ~~^^^^^^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2591, in input_thread - done = stdin.write() - File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2904, in write - chunk = self.get_chunk() - File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2845, 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.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2641, in background_thread + handle_exit_code(exit_code) + ~~~~~~~~~~~~~~~~^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 2332, in fn + return self.command.handle_command_exit_code(exit_code) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.13_sh/build/sh.py", line 826, in handle_command_exit_code + raise exc + sh.ErrorReturnCode_2: + + RAN: /usr/bin/python3.13 /tmp/tmp0kpqiqzo + + STDOUT: + + + STDERR: + warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -========= 176 passed, 2 skipped, 1 deselected, 105 warnings in 54.51s ========== +========== 176 passed, 2 skipped, 1 deselected, 59 warnings in 57.52s ========== I: pybuild base:311: cd /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build; python3.12 -m pytest tests/sh_test.py -k 'not test_environment' ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 @@ -973,17 +1044,17 @@ plugins: typeguard-4.4.1 collected 179 items / 1 deselected / 178 selected -tests/sh_test.py ...............s....................................... [ 30%] -........................................................................ [ 71%] +tests/sh_test.py ....................................................... [ 30%] +..................s..................................................... [ 71%] ...................................s............... [100%] =============================== warnings summary =============================== -tests/sh_test.py: 66 warnings - /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py:1980: DeprecationWarning: This process (pid=106208) is multi-threaded, use of fork() may lead to deadlocks in the child. +tests/sh_test.py: 69 warnings + /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py:1980: DeprecationWarning: This process (pid=49261) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -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 107213 +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 50326 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -999,9 +1070,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_1: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmpd80_8vyj + RAN: /usr/bin/python3.12 -u /tmp/tmpzokkuqwe STDOUT: @@ -1011,8 +1082,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 107919 +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 50350 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1028,9 +1099,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.SignalException_SIGTERM: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 -u /tmp/tmpa91nw9mi + RAN: /usr/bin/python3.12 /tmp/tmpgo1uvgow STDOUT: @@ -1040,8 +1111,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 108701 +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 50499 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1057,9 +1128,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.12 -u /tmp/tmptmpzvw08 + RAN: /usr/bin/python3.12 /tmp/tmp89g74xgd STDOUT: @@ -1069,12 +1140,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_async_iter_exc - /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/tests/sh_test.py:1786: DeprecationWarning: There is no current event loop - loop = asyncio.get_event_loop() - 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 110350 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 50529 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1092,7 +1159,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmpnbdqt3t8 + RAN: /usr/bin/python3.12 /tmp/tmp1ps9jvdz STDOUT: @@ -1102,8 +1169,33 @@ 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 110374 +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 50821 + + 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.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 1639, in wrap + fn(*rgs, **kwargs) + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 2591, in input_thread + done = stdin.write() + ^^^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 2904, in write + chunk = self.get_chunk() + ^^^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 2845, 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_signal_group + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 51061 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1119,11 +1211,13 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_3: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmp_e46nvpf + RAN: /usr/bin/python3.12 /tmp/tmp6mw6flb9 STDOUT: + 51065 + 51061 STDERR: @@ -1131,8 +1225,12 @@ 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 110490 +tests/sh_test.py::FunctionalTests::test_async_iter_exc + /build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/tests/sh_test.py:1786: DeprecationWarning: There is no current event loop + loop = asyncio.get_event_loop() + +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 51070 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1148,11 +1246,13 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmp0bjhw_36 + RAN: /usr/bin/python3.12 /tmp/tmp6mw6flb9 STDOUT: + 51085 + 51070 STDERR: @@ -1160,8 +1260,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 110540 +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 52743 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1177,9 +1277,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.SignalException_SIGTERM: + sh.ErrorReturnCode_3: - RAN: /usr/bin/python3.12 /tmp/tmpmmpdk7ah + RAN: /usr/bin/python3.12 /tmp/tmpxbrxdm0x STDOUT: @@ -1189,33 +1289,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 110747 - - 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.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 1639, in wrap - fn(*rgs, **kwargs) - File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 2591, in input_thread - done = stdin.write() - ^^^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 2904, in write - chunk = self.get_chunk() - ^^^^^^^^^^^^^^^^ - File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 2845, 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_signal_group - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 110752 +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 52748 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1231,13 +1306,11 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmp_j4ke1tv + RAN: /usr/bin/python3.12 /tmp/tmphv58v305 STDOUT: - 110756 - 110752 STDERR: @@ -1246,7 +1319,7 @@ 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 110781 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 52778 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1264,7 +1337,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.12 /tmp/tmpwatk3j0d + RAN: /usr/bin/python3.12 /tmp/tmpk5pvb6oh STDOUT: @@ -1274,8 +1347,11 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_grandchild_no_sighup - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 110761 +tests/sh_test.py::FunctionalTests::test_fg + :888: DeprecationWarning: This process (pid=49261) is multi-threaded, use of fork() may lead to deadlocks in the child. + +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 53114 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1291,13 +1367,11 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.SignalException_SIGKILL: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.12 /tmp/tmp_j4ke1tv + RAN: /usr/bin/python3.12 -u /tmp/tmp9y1dnus5 STDOUT: - 110766 - 110761 STDERR: @@ -1305,8 +1379,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 110975 +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 53355 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -1322,9 +1396,9 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/python-sh-2.0.7/.pybuild/cpython3_3.12_sh/build/sh.py", line 826, in handle_command_exit_code raise exc - sh.ErrorReturnCode_2: + sh.ErrorReturnCode_1: - RAN: /usr/bin/python3.12 /tmp/tmpgqyb4qgs + RAN: /usr/bin/python3.12 /tmp/tmpk3zhtkc7 STDOUT: @@ -1335,7 +1409,7 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -========== 176 passed, 2 skipped, 1 deselected, 79 warnings in 54.33s ========== +========== 176 passed, 2 skipped, 1 deselected, 83 warnings in 57.16s ========== create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild @@ -1364,12 +1438,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/38212/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/38212/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/87028 and its subdirectories -I: Current time: Tue Jan 6 05:38:57 -12 2026 -I: pbuilder-time-stamp: 1767721137 +I: removing directory /srv/workspace/pbuilder/38212 and its subdirectories +I: Current time: Thu Dec 5 01:18:52 +14 2024 +I: pbuilder-time-stamp: 1733311132