Diff of the two buildlogs: -- --- b1/build.log 2025-01-10 22:46:42.999937045 +0000 +++ b2/build.log 2025-01-10 22:51:26.835010692 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jan 10 10:44:57 -12 2025 -I: pbuilder-time-stamp: 1736549097 +I: Current time: Fri Feb 13 19:09:45 +14 2026 +I: pbuilder-time-stamp: 1770959385 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-socks_2.6.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/159662/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1870160/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 13 05: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/1870160/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1870160/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='b7f6c26265e7408998b3e8467cbfd48f' - 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='159662' - PS1='# ' - PS2='> ' + INVOCATION_ID=78d7ee0b2ae24d7aa842432d6aa34b5a + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1870160 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.DNCasOLk/pbuilderrc_9X4B --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.DNCasOLk/b1 --logfile b1/build.log python-socks_2.6.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.DNCasOLk/pbuilderrc_KgJq --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.DNCasOLk/b2 --logfile b2/build.log python-socks_2.6.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/159662/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1870160/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -268,7 +300,7 @@ Get: 129 http://deb.debian.org/debian trixie/main arm64 python3-tiny-proxy all 0.2.1-1 [7936 B] Get: 130 http://deb.debian.org/debian trixie/main arm64 python3-trustme all 1.2.0-2 [12.2 kB] Get: 131 http://deb.debian.org/debian trixie/main arm64 python3-yarl arm64 1.13.1-1+b1 [106 kB] -Fetched 41.8 MB in 0s (185 MB/s) +Fetched 41.8 MB in 1s (68.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libjs-jquery. (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 ... 19969 files and directories currently installed.) @@ -696,8 +728,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jan 10 22:45:22 UTC 2025. -Universal Time is now: Fri Jan 10 22:45:22 UTC 2025. +Local time is now: Fri Feb 13 05:10:51 UTC 2026. +Universal Time is now: Fri Feb 13 05:10:51 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... @@ -828,7 +860,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-socks-2.6.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-socks_2.6.1-1_source.changes +I: user script /srv/workspace/pbuilder/1870160/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1870160/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-socks-2.6.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-socks_2.6.1-1_source.changes dpkg-buildpackage: info: source package python-socks dpkg-buildpackage: info: source version 2.6.1-1 dpkg-buildpackage: info: source distribution unstable @@ -1042,7 +1078,7 @@ Copying python_socks.egg-info to build/bdist.linux-aarch64/wheel/./python_socks-2.6.1.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/python_socks-2.6.1.dist-info/WHEEL -creating '/build/reproducible-path/python-socks-2.6.1/.pybuild/cpython3_3.13_python-socks/.tmp-1zztm0im/python_socks-2.6.1-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it +creating '/build/reproducible-path/python-socks-2.6.1/.pybuild/cpython3_3.13_python-socks/.tmp-gy082ov0/python_socks-2.6.1-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'python_socks/__init__.py' adding 'python_socks/_abc.py' adding 'python_socks/_errors.py' @@ -1231,7 +1267,7 @@ Copying python_socks.egg-info to build/bdist.linux-aarch64/wheel/./python_socks-2.6.1.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/python_socks-2.6.1.dist-info/WHEEL -creating '/build/reproducible-path/python-socks-2.6.1/.pybuild/cpython3_3.12_python-socks/.tmp-a0gzml2v/python_socks-2.6.1-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it +creating '/build/reproducible-path/python-socks-2.6.1/.pybuild/cpython3_3.12_python-socks/.tmp-mkkioszl/python_socks-2.6.1-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'python_socks/__init__.py' adding 'python_socks/_abc.py' adding 'python_socks/_errors.py' @@ -1336,10 +1372,37 @@ tests/test_proxy_async_trio.py ..................................... [ 62%] tests/test_proxy_async_trio_v2.py ...................................... [ 74%] . [ 75%] -tests/test_proxy_sync.py ................................... [ 86%] +tests/test_proxy_sync.py .............F..................... [ 86%] tests/test_proxy_sync_v2.py ..................................... [ 98%] tests/test_resolvers.py .....s [100%] +=================================== FAILURES =================================== +____________________ test_socks5_proxy_with_connect_timeout ____________________ + + def test_socks5_proxy_with_connect_timeout(): + proxy = Proxy.create( + proxy_type=ProxyType.SOCKS5, + host=PROXY_HOST_IPV4, + port=SOCKS5_PROXY_PORT, + username=LOGIN, + password=PASSWORD, + ) + with pytest.raises(ProxyTimeoutError): +> make_request(proxy=proxy, url=TEST_URL_IPV4, timeout=0.001) + +tests/test_proxy_sync.py:124: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +tests/test_proxy_sync.py:68: in make_request + status_code = read_status_code(sock) +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +sock = + + def read_status_code(sock: socket.socket) -> int: +> data = sock.recv(1024) +E TimeoutError: timed out + +tests/test_proxy_sync.py:33: TimeoutError =============================== warnings summary =============================== tests/test_proxy_async_aio.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] tests/test_proxy_async_aio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] @@ -1411,7 +1474,10 @@ curr_socket = proxies[length].connect( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -================= 312 passed, 2 skipped, 30 warnings in 10.38s ================= +=========================== short test summary info ============================ +FAILED tests/test_proxy_sync.py::test_socks5_proxy_with_connect_timeout - Tim... +============ 1 failed, 311 passed, 2 skipped, 30 warnings in 16.88s ============ +E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-socks-2.6.1/.pybuild/cpython3_3.13_python-socks/build; python3.13 -m pytest tests I: pybuild base:311: cd /build/reproducible-path/python-socks-2.6.1/.pybuild/cpython3_3.12_python-socks/build; python3.12 -m pytest tests /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" @@ -1510,43 +1576,22 @@ curr_socket = proxies[length].connect( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -================= 312 passed, 2 skipped, 30 warnings in 10.60s ================= - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - dh_auto_install --destdir=debian/python3-python-socks/ -O--buildsystem=pybuild -I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir -I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir - dh_installdocs -O--buildsystem=pybuild - dh_installchangelogs -O--buildsystem=pybuild - dh_python3 -O--buildsystem=pybuild -I: dh_python3 pydist:339: Ignoring complex environment marker: async_timeout>=4.0; python_version < "3.11" and extra == "asyncio" - dh_installsystemduser -O--buildsystem=pybuild - dh_perl -O--buildsystem=pybuild - dh_link -O--buildsystem=pybuild - dh_strip_nondeterminism -O--buildsystem=pybuild - dh_compress -O--buildsystem=pybuild - dh_fixperms -O--buildsystem=pybuild - dh_missing -O--buildsystem=pybuild - dh_installdeb -O--buildsystem=pybuild - dh_gencontrol -O--buildsystem=pybuild - dh_md5sums -O--buildsystem=pybuild - dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'python3-python-socks' in '../python3-python-socks_2.6.1-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../python-socks_2.6.1-1_arm64.buildinfo - dpkg-genchanges --build=binary -O../python-socks_2.6.1-1_arm64.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-source: info: using options from python-socks-2.6.1/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: including full source code in upload +================= 312 passed, 2 skipped, 30 warnings in 17.86s ================= +dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 +make: *** [debian/rules:5: binary] Error 25 +dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/1870160/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Fri Feb 13 05:14:23 UTC 2026 +Filesystem Size Used Avail Use% Mounted on +tmpfs 30G 0 30G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/1870160/tmp/hooks/C01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/159662 and its subdirectories -I: Current time: Fri Jan 10 10:46:41 -12 2025 -I: pbuilder-time-stamp: 1736549201 +I: removing directory /srv/workspace/pbuilder/1870160 and its subdirectories