Diff of the two buildlogs: -- --- b1/build.log 2025-02-06 00:36:56.869653108 +0000 +++ b2/build.log 2025-02-06 00:40:43.763342696 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 5 12:33:07 -12 2025 -I: pbuilder-time-stamp: 1738801987 +I: Current time: Thu Feb 6 14:37:06 +14 2025 +I: pbuilder-time-stamp: 1738802226 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/13247/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11568/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +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 6 00:37 /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/11568/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11568/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='00b2d24198104a58ad95881fc020b1ce' - 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='13247' - PS1='# ' - PS2='> ' + INVOCATION_ID=921b8267d10849c089977277cd4a88b5 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=11568 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.mM8VZGhp/pbuilderrc_vQnJ --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.mM8VZGhp/b1 --logfile b1/build.log python-sh_2.2.1-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.mM8VZGhp/pbuilderrc_7Nxj --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.mM8VZGhp/b2 --logfile b2/build.log python-sh_2.2.1-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64b 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/13247/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/11568/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 armhf python3-pluggy all 1.5.0-1 [26.9 kB] Get: 81 http://deb.debian.org/debian trixie/main armhf python3-poetry-core all 2.0.1-2 [225 kB] Get: 82 http://deb.debian.org/debian trixie/main armhf python3-pytest all 8.3.4-1 [250 kB] -Fetched 33.5 MB in 1s (33.5 MB/s) +Fetched 33.5 MB in 3s (11.5 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19568 files and directories currently installed.) @@ -478,8 +510,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Feb 6 00:33:53 UTC 2025. -Universal Time is now: Thu Feb 6 00:33:53 UTC 2025. +Local time is now: Thu Feb 6 00:37:48 UTC 2025. +Universal Time is now: Thu Feb 6 00:37:48 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/11568/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/11568/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,12 +628,16 @@ 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::FunctionalTests::test_stdout_callback_kill - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 19632 +tests/sh_test.py: 70 warnings + /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py:1983: DeprecationWarning: This process (pid=13439) is multi-threaded, use of fork() may lead to deadlocks in the child. + self.pid = os.fork() + +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 13488 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -613,9 +653,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_2: - RAN: /usr/bin/python3.12 -u /tmp/tmp1vna91u5 + RAN: /usr/bin/python3.12 /tmp/tmphoo0t44r STDOUT: @@ -625,12 +665,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py: 59 warnings - /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.12_sh/build/sh.py:1983: DeprecationWarning: This process (pid=19612) is multi-threaded, use of fork() may lead to deadlocks in the child. - self.pid = os.fork() - -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 19851 +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 13590 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -646,9 +682,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.ErrorReturnCode_1: - RAN: /usr/bin/python3.12 /tmp/tmp_z79zb7f + RAN: /usr/bin/python3.12 /tmp/tmpqx69mgjc STDOUT: @@ -658,8 +694,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 20195 +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 13595 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -675,9 +711,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/tmpr3jf8mr3 + RAN: /usr/bin/python3.12 /tmp/tmp4_rz_v54 STDOUT: @@ -687,8 +723,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 20260 +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 13605 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -704,13 +740,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/tmpygfkntcd + RAN: /usr/bin/python3.12 /tmp/tmpdi6b2agp STDOUT: - 20282 - 20260 STDERR: @@ -718,8 +752,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_timeout_overstep - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 20287 +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 13793 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -735,13 +769,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/tmpygfkntcd + RAN: /usr/bin/python3.12 -u /tmp/tmpamtsywnf STDOUT: - 20321 - 20287 STDERR: @@ -749,8 +781,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 20574 +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 13909 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -766,11 +798,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_2: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmp1uvrd4zc + RAN: /usr/bin/python3.12 /tmp/tmpg8gs015b STDOUT: + 13913 + 13909 STDERR: @@ -778,8 +812,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 20579 +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 13918 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -795,11 +829,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/tmp74hrnz0j + RAN: /usr/bin/python3.12 /tmp/tmpg8gs015b STDOUT: + 13922 + 13918 STDERR: @@ -807,33 +843,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 20822 - - 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_done_cb_exc - /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 22563 +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 13980 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -849,9 +860,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_1: + sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.12 /tmp/tmpaf9iuvcw + RAN: /usr/bin/python3.12 -u /tmp/tmpv7uzq9jn STDOUT: @@ -861,8 +872,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 22891 +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 14137 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -878,9 +889,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/tmpb2wgp9mg + RAN: /usr/bin/python3.12 /tmp/tmpjdvsm0oz STDOUT: @@ -890,8 +901,36 @@ 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 23612 +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 14228 + + 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_fg + :888: DeprecationWarning: This process (pid=13439) is multi-threaded, use of fork() may lead to deadlocks in the child. + +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 14321 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -907,9 +946,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/tmp6sff3dpb + RAN: /usr/bin/python3.12 /tmp/tmpi1k1kqsy STDOUT: @@ -919,8 +958,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 23721 +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 14456 Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner @@ -936,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.ErrorReturnCode_2: + sh.ErrorReturnCode_3: - RAN: /usr/bin/python3.12 /tmp/tmpgu8yu84n + RAN: /usr/bin/python3.12 /tmp/tmpugqbzner STDOUT: @@ -949,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, 71 warnings in 62.24s (0:01:02) ===== +===== 178 passed, 2 skipped, 1 deselected, 83 warnings in 63.65s (0:01:03) ===== 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 @@ -960,15 +999,15 @@ tests/sh_test.py ....................................................... [ 30%] ........................................................................ [ 70%] -................s.................s.................. [100%] +.......s.................................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=24039) is multi-threaded, use of fork() may lead to deadlocks in the child. +tests/sh_test.py: 112 warnings + /build/reproducible-path/python-sh-2.2.1/.pybuild/cpython3_3.13_sh/build/sh.py:1983: DeprecationWarning: This process (pid=14646) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -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 24215 +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 14677 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -988,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_2: + sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.13 /tmp/tmpuwr5jxh6 + RAN: /usr/bin/python3.13 -u /tmp/tmpdd9hfftp STDOUT: @@ -1000,8 +1039,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 24246 +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 14785 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1021,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_3: + sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmptfivszkv + RAN: /usr/bin/python3.13 /tmp/tmps6hjncvt STDOUT: @@ -1033,8 +1072,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 24567 +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 14831 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1054,11 +1093,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/tmptrcui_cr + RAN: /usr/bin/python3.13 /tmp/tmpki0ob4rn STDOUT: + 14835 + 14831 STDERR: @@ -1066,8 +1107,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 25000 +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 14870 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1087,13 +1128,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/tmp_k0ls5p5 + RAN: /usr/bin/python3.13 /tmp/tmp10rn3p13 STDOUT: - 25004 - 25000 STDERR: @@ -1101,8 +1140,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 25009 +tests/sh_test.py::FunctionalTests::test_done_callback_no_deadlock + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 14840 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1124,11 +1163,11 @@ raise exc sh.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 /tmp/tmp_k0ls5p5 + RAN: /usr/bin/python3.13 /tmp/tmpki0ob4rn STDOUT: - 25017 - 25009 + 14844 + 14840 STDERR: @@ -1136,8 +1175,35 @@ 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 25876 +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 14948 + + 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.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`. + + 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 14960 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1159,7 +1225,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpnmb9zer0 + RAN: /usr/bin/python3.13 /tmp/tmpetqnewnp STDOUT: @@ -1169,8 +1235,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 25943 +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 15104 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1190,9 +1256,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_3: - RAN: /usr/bin/python3.13 -u /tmp/tmpsb5snh1j + RAN: /usr/bin/python3.13 /tmp/tmpedhp0yxc STDOUT: @@ -1202,38 +1268,8 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -tests/sh_test.py::FunctionalTests::test_fg_exc - :890: DeprecationWarning: This process (pid=24039) is multi-threaded, use of fork() may lead to deadlocks in the child. - -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 26625 - - 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.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`. - - 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 27240 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 15228 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1255,7 +1291,7 @@ raise exc sh.ErrorReturnCode_2: - RAN: /usr/bin/python3.13 /tmp/tmpdgktw9m9 + RAN: /usr/bin/python3.13 /tmp/tmp1b5ha2m9 STDOUT: @@ -1265,8 +1301,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 27259 +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 15249 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1286,9 +1322,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/tmpi7v0e2du + RAN: /usr/bin/python3.13 /tmp/tmpudan4m0k STDOUT: @@ -1298,8 +1334,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 27566 +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 15660 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1319,9 +1355,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.SignalException_SIGKILL: - RAN: /usr/bin/python3.13 /tmp/tmpfz6tparn + RAN: /usr/bin/python3.13 -u /tmp/tmpk6o672bc STDOUT: @@ -1331,8 +1367,11 @@ warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) +tests/sh_test.py::FunctionalTests::test_fg_env + :890: DeprecationWarning: This process (pid=14646) is multi-threaded, use of fork() may lead to deadlocks in the child. + 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 27705 + /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 15872 Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner @@ -1354,7 +1393,7 @@ raise exc sh.SignalException_SIGTERM: - RAN: /usr/bin/python3.13 /tmp/tmpvsru95up + RAN: /usr/bin/python3.13 /tmp/tmpk_ey89wo STDOUT: @@ -1365,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, 94 warnings in 62.35s (0:01:02) ===== +==== 178 passed, 2 skipped, 1 deselected, 125 warnings in 64.02s (0:01:04) ===== create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild @@ -1394,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/11568/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11568/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/13247 and its subdirectories -I: Current time: Wed Feb 5 12:36:52 -12 2025 -I: pbuilder-time-stamp: 1738802212 +I: removing directory /srv/workspace/pbuilder/11568 and its subdirectories +I: Current time: Thu Feb 6 14:40:40 +14 2025 +I: pbuilder-time-stamp: 1738802440