Diff of the two buildlogs: -- --- b1/build.log 2025-02-21 07:03:35.824376352 +0000 +++ b2/build.log 2025-02-21 07:08:49.358150666 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Mar 26 01:19:32 -12 2026 -I: pbuilder-time-stamp: 1774531172 +I: Current time: Fri Feb 21 21:03:39 +14 2025 +I: pbuilder-time-stamp: 1740121419 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 con-duct_0.10.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/700695/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4013822/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 21 07:03 /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/4013822/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4013822/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='b9af1de3d1ab4e7881794b885a646185' - 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='700695' - PS1='# ' - PS2='> ' + INVOCATION_ID=7e3275fa46c54edf8f8ba67d2ec55011 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=4013822 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.UFEhVXBU/pbuilderrc_1aIW --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.UFEhVXBU/b1 --logfile b1/build.log con-duct_0.10.1-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - 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.UFEhVXBU/pbuilderrc_gzif --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.UFEhVXBU/b2 --logfile b2/build.log con-duct_0.10.1-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + 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 ionos5-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) 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/700695/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4013822/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -301,7 +333,7 @@ Get: 176 http://deb.debian.org/debian trixie/main amd64 python3-pytest all 8.3.4-1 [250 kB] Get: 177 http://deb.debian.org/debian trixie/main amd64 python3-pytest-cov all 5.0.0-1 [26.8 kB] Get: 178 http://deb.debian.org/debian trixie/main amd64 python3-yaml amd64 6.0.2-1+b1 [178 kB] -Fetched 107 MB in 6s (17.3 MB/s) +Fetched 107 MB in 3s (38.3 MB/s) Preconfiguring packages ... Selecting previously unselected package liblocale-gettext-perl. (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 ... 19809 files and directories currently installed.) @@ -889,8 +921,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Mar 26 13:21:53 UTC 2026. -Universal Time is now: Thu Mar 26 13:21:53 UTC 2026. +Local time is now: Fri Feb 21 07:05:07 UTC 2025. +Universal Time is now: Fri Feb 21 07:05:07 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up unicode-data (15.1.0-1) ... @@ -1047,7 +1079,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/con-duct-0.10.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 > ../con-duct_0.10.1-1_source.changes +I: user script /srv/workspace/pbuilder/4013822/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4013822/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/con-duct-0.10.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 > ../con-duct_0.10.1-1_source.changes dpkg-buildpackage: info: source package con-duct dpkg-buildpackage: info: source version 0.10.1-1 dpkg-buildpackage: info: source distribution unstable @@ -1076,10 +1112,10 @@ copying src/con_duct/__init__.py -> build/lib/con_duct copying src/con_duct/__main__.py -> build/lib/con_duct creating build/lib/con_duct/suite -copying src/con_duct/suite/pprint_json.py -> build/lib/con_duct/suite +copying src/con_duct/suite/plot.py -> build/lib/con_duct/suite copying src/con_duct/suite/ls.py -> build/lib/con_duct/suite copying src/con_duct/suite/main.py -> build/lib/con_duct/suite -copying src/con_duct/suite/plot.py -> build/lib/con_duct/suite +copying src/con_duct/suite/pprint_json.py -> build/lib/con_duct/suite running egg_info creating src/con_duct.egg-info writing src/con_duct.egg-info/PKG-INFO @@ -1103,16 +1139,16 @@ copying build/lib/con_duct/__init__.py -> build/bdist.linux-x86_64/wheel/./con_duct copying build/lib/con_duct/py.typed -> build/bdist.linux-x86_64/wheel/./con_duct creating build/bdist.linux-x86_64/wheel/con_duct/suite -copying build/lib/con_duct/suite/pprint_json.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite +copying build/lib/con_duct/suite/plot.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite copying build/lib/con_duct/suite/ls.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite copying build/lib/con_duct/suite/main.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite -copying build/lib/con_duct/suite/plot.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite +copying build/lib/con_duct/suite/pprint_json.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite copying build/lib/con_duct/__main__.py -> build/bdist.linux-x86_64/wheel/./con_duct running install_egg_info Copying src/con_duct.egg-info to build/bdist.linux-x86_64/wheel/./con_duct-0.10.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/con_duct-0.10.1.dist-info/WHEEL -creating '/build/reproducible-path/con-duct-0.10.1/.pybuild/cpython3_3.12_con-duct/.tmp-f564haah/con_duct-0.10.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it +creating '/build/reproducible-path/con-duct-0.10.1/.pybuild/cpython3_3.12_con-duct/.tmp-e7xg5kf6/con_duct-0.10.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'con_duct/__init__.py' adding 'con_duct/__main__.py' adding 'con_duct/py.typed' @@ -1155,16 +1191,16 @@ copying build/lib/con_duct/__init__.py -> build/bdist.linux-x86_64/wheel/./con_duct copying build/lib/con_duct/py.typed -> build/bdist.linux-x86_64/wheel/./con_duct creating build/bdist.linux-x86_64/wheel/con_duct/suite -copying build/lib/con_duct/suite/pprint_json.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite +copying build/lib/con_duct/suite/plot.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite copying build/lib/con_duct/suite/ls.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite copying build/lib/con_duct/suite/main.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite -copying build/lib/con_duct/suite/plot.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite +copying build/lib/con_duct/suite/pprint_json.py -> build/bdist.linux-x86_64/wheel/./con_duct/suite copying build/lib/con_duct/__main__.py -> build/bdist.linux-x86_64/wheel/./con_duct running install_egg_info Copying src/con_duct.egg-info to build/bdist.linux-x86_64/wheel/./con_duct-0.10.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/con_duct-0.10.1.dist-info/WHEEL -creating '/build/reproducible-path/con-duct-0.10.1/.pybuild/cpython3_3.13_con-duct/.tmp-6hfrcr_k/con_duct-0.10.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it +creating '/build/reproducible-path/con-duct-0.10.1/.pybuild/cpython3_3.13_con-duct/.tmp-52z8tomg/con_duct-0.10.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'con_duct/__init__.py' adding 'con_duct/__main__.py' adding 'con_duct/py.typed' @@ -1187,7 +1223,7 @@ platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 rootdir: /build/reproducible-path/con-duct-0.10.1 configfile: tox.ini -plugins: cov-5.0.0, typeguard-4.4.1 +plugins: typeguard-4.4.1, cov-5.0.0 collected 196 items test/test_aggregation.py .............. [ 7%] @@ -1216,19 +1252,19 @@ TOTAL 743 25 97% -============================= 196 passed in 49.60s ============================= +============================= 196 passed in 36.02s ============================= I: pybuild base:311: cd /build/reproducible-path/con-duct-0.10.1/.pybuild/cpython3_3.13_con-duct/build; python3.13 -m pytest test ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 rootdir: /build/reproducible-path/con-duct-0.10.1 configfile: tox.ini -plugins: cov-5.0.0, typeguard-4.4.1 +plugins: typeguard-4.4.1, cov-5.0.0 collected 196 items test/test_aggregation.py .............. [ 7%] test/test_arg_parsing.py ...... [ 10%] test/test_e2e.py .... [ 12%] -test/test_execution.py ................... [ 21%] +test/test_execution.py .F................. [ 21%] test/test_formatter.py .............................................. [ 45%] test/test_log_paths.py .............. [ 52%] test/test_ls.py ...... [ 55%] @@ -1238,68 +1274,62 @@ test/test_tailpipe.py ............... [ 93%] test/test_validation.py ............. [100%] ----------- coverage: platform linux, python 3.13.2-final-0 ----------- -Name Stmts Miss Cover ---------------------------------------------------- -con_duct/__init__.py 0 0 100% -con_duct/__main__.py 556 12 98% -con_duct/suite/ls.py 100 11 89% -con_duct/suite/main.py 32 1 97% -con_duct/suite/plot.py 40 1 98% -con_duct/suite/pprint_json.py 15 0 100% ---------------------------------------------------- -TOTAL 743 25 97% +=================================== FAILURES =================================== +____________________________ test_execution_summary ____________________________ +temp_output_dir = '/tmp/pytest-of-pbuilder2/pytest-1/test_execution_summary0/' -============================= 196 passed in 47.29s ============================= - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - dh_auto_install --destdir=debian/con-duct/ -O--buildsystem=pybuild -I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir -I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir - dh_installdocs -O--buildsystem=pybuild - dh_installchangelogs -O--buildsystem=pybuild - debian/rules override_dh_installman -make[1]: Entering directory '/build/reproducible-path/con-duct-0.10.1' -: # Generate a manpage using help2man -mkdir -p build -cp -p src/con_duct/__main__.py build/duct -help2man --no-info --no-discard-stderr \ - -n "lightweight wrapper that collects execution data for a command" \ - ./build/duct >| build/duct.1 -rm -f build/duct -: # Verify that manpage generated nicely -- no Errors reported -grep -q 'ImportError:' build/duct.1 && exit 1 || : -dh_installman -make[1]: Leaving directory '/build/reproducible-path/con-duct-0.10.1' - dh_python3 -O--buildsystem=pybuild - 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 'con-duct' in '../con-duct_0.10.1-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../con-duct_0.10.1-1_amd64.buildinfo - dpkg-genchanges --build=binary -O../con-duct_0.10.1-1_amd64.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-source: info: using options from con-duct-0.10.1/debian/source/options: --extend-diff-ignore=^[^/]+.(egg-info|dist-info)/ -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: including full source code in upload + def test_execution_summary(temp_output_dir: str) -> None: + args = Arguments.from_argv( + ["sleep", "0.1"], + sample_interval=0.05, # small enough to ensure we collect at least 1 sample + report_interval=0.1, + output_prefix=temp_output_dir, + ) + assert execute(args) == 0 + with open(os.path.join(temp_output_dir, SUFFIXES["info"])) as info: + info_dict = json.loads(info.read()) + execution_summary = info_dict["execution_summary"] + # Since resources used should be small lets make sure values are roughly sane +> assert execution_summary["average_pmem"] < 10 +E TypeError: '<' not supported between instances of 'NoneType' and 'int' + +test/test_execution.py:56: TypeError +------------------------------ Captured log call ------------------------------- +INFO con-duct:__main__.py:1042 duct is executing 'sleep 0.1'... +INFO con-duct:__main__.py:1043 Log files will be written to /tmp/pytest-of-pbuilder2/pytest-1/test_execution_summary0/ +INFO con-duct:__main__.py:1111 Summary: +Exit Code: 0 +Command: sleep 0.1 +Log files location: /tmp/pytest-of-pbuilder2/pytest-1/test_execution_summary0/ +Wall Clock Time: 0.112 sec +Memory Peak Usage (RSS): - +Memory Average Usage (RSS): - +Virtual Memory Peak Usage (VSZ): - +Virtual Memory Average Usage (VSZ): - +Memory Peak Percentage: -% +Memory Average Percentage: -% +CPU Peak Usage: -% +Average CPU Usage: -% +=========================== short test summary info ============================ +FAILED test/test_execution.py::test_execution_summary - TypeError: '<' not su... +======================== 1 failed, 195 passed in 33.16s ======================== +E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/con-duct-0.10.1/.pybuild/cpython3_3.13_con-duct/build; python3.13 -m pytest test +dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13 +make: *** [debian/rules:6: 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/4013822/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Fri Feb 21 07:08:45 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 40G 0 40G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/4013822/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/700695 and its subdirectories -I: Current time: Thu Mar 26 01:26:34 -12 2026 -I: pbuilder-time-stamp: 1774531594 +I: removing directory /srv/workspace/pbuilder/4013822 and its subdirectories