Diff of the two buildlogs: -- --- b1/build.log 2025-03-16 05:59:47.186082235 +0000 +++ b2/build.log 2025-03-16 06:06:51.822939588 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 18 00:20:33 -12 2026 -I: pbuilder-time-stamp: 1776514833 +I: Current time: Sun Mar 16 19:59:50 +14 2025 +I: pbuilder-time-stamp: 1742104790 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.11.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1770630/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/343810/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 Mar 16 06:00 /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/343810/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/343810/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='835d9c56b3244d3cb19ab5e8d7d5f96d' - 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='1770630' - PS1='# ' - PS2='> ' + INVOCATION_ID=b8ae21d9630f4825b4beedb630c44772 + 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=343810 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.Xxawwjeb/pbuilderrc_HSoG --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.Xxawwjeb/b1 --logfile b1/build.log con-duct_0.11.0-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.Xxawwjeb/pbuilderrc_2fmA --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.Xxawwjeb/b2 --logfile b2/build.log con-duct_0.11.0-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.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1770630/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/343810/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -286,7 +318,7 @@ Get: 161 http://deb.debian.org/debian trixie/main amd64 python3-pytest all 8.3.4-1 [250 kB] Get: 162 http://deb.debian.org/debian trixie/main amd64 python3-pytest-cov all 5.0.0-1 [26.8 kB] Get: 163 http://deb.debian.org/debian trixie/main amd64 python3-yaml amd64 6.0.2-1+b2 [136 kB] -Fetched 114 MB in 12s (9128 kB/s) +Fetched 114 MB in 13s (8932 kB/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 ... 19803 files and directories currently installed.) @@ -822,8 +854,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Apr 18 12:21:31 UTC 2026. -Universal Time is now: Sat Apr 18 12:21:31 UTC 2026. +Local time is now: Sun Mar 16 06:02:18 UTC 2025. +Universal Time is now: Sun Mar 16 06:02:18 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up unicode-data (15.1.0-1) ... @@ -970,7 +1002,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/con-duct-0.11.0/ && 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.11.0-1_source.changes +I: user script /srv/workspace/pbuilder/343810/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/343810/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/con-duct-0.11.0/ && 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.11.0-1_source.changes dpkg-buildpackage: info: source package con-duct dpkg-buildpackage: info: source version 0.11.0-1 dpkg-buildpackage: info: source distribution unstable @@ -997,13 +1033,13 @@ running build_py creating build/lib/con_duct copying src/con_duct/__init__.py -> build/lib/con_duct -copying src/con_duct/utils.py -> build/lib/con_duct copying src/con_duct/__main__.py -> build/lib/con_duct +copying src/con_duct/utils.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 @@ -1025,19 +1061,19 @@ creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/con_duct copying build/lib/con_duct/__init__.py -> build/bdist.linux-x86_64/wheel/./con_duct -copying build/lib/con_duct/utils.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 +copying build/lib/con_duct/utils.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.11.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/con_duct-0.11.0.dist-info/WHEEL -creating '/build/reproducible-path/con-duct-0.11.0/.pybuild/cpython3_3.13_con-duct/.tmp-7g_mg9ph/con_duct-0.11.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it +creating '/build/reproducible-path/con-duct-0.11.0/.pybuild/cpython3_3.13_con-duct/.tmp-z7hgr6x4/con_duct-0.11.0-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' @@ -1061,13 +1097,13 @@ platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 rootdir: /build/reproducible-path/con-duct-0.11.0 configfile: tox.ini -plugins: typeguard-4.4.2, cov-5.0.0 +plugins: cov-5.0.0, typeguard-4.4.2 collected 209 items test/test_aggregation.py .............. [ 6%] test/test_arg_parsing.py ...... [ 9%] test/test_e2e.py .... [ 11%] -test/test_execution.py ................... [ 20%] +test/test_execution.py .F................. [ 20%] test/test_formatter.py .............................................. [ 42%] test/test_log_paths.py .............. [ 49%] test/test_ls.py ...... [ 52%] @@ -1079,68 +1115,62 @@ test/test_utils.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 13 98% -con_duct/suite/ls.py 111 14 87% -con_duct/suite/main.py 40 2 95% -con_duct/suite/plot.py 40 1 98% -con_duct/suite/pprint_json.py 15 0 100% -con_duct/utils.py 6 0 100% ---------------------------------------------------- -TOTAL 768 30 96% +=================================== FAILURES =================================== +____________________________ test_execution_summary ____________________________ +temp_output_dir = '/tmp/pytest-of-pbuilder2/pytest-0/test_execution_summary0/' -============================= 209 passed in 32.95s ============================= - 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.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.11.0' -: # 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.11.0' - 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.11.0-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../con-duct_0.11.0-1_amd64.buildinfo - dpkg-genchanges --build=binary -O../con-duct_0.11.0-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.11.0/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:1043 duct is executing 'sleep 0.1'... +INFO con-duct:__main__.py:1044 Log files will be written to /tmp/pytest-of-pbuilder2/pytest-0/test_execution_summary0/ +INFO con-duct:__main__.py:1112 Summary: +Exit Code: 0 +Command: sleep 0.1 +Log files location: /tmp/pytest-of-pbuilder2/pytest-0/test_execution_summary0/ +Wall Clock Time: 0.128 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, 208 passed in 87.33s (0:01:27) =================== +E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/con-duct-0.11.0/.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.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/343810/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Sun Mar 16 06:06:46 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 40G 0 40G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/343810/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/1770630 and its subdirectories -I: Current time: Sat Apr 18 00:22:46 -12 2026 -I: pbuilder-time-stamp: 1776514966 +I: removing directory /srv/workspace/pbuilder/343810 and its subdirectories