Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 15:09:41.813662769 +0000 +++ b2/build.log 2024-05-01 15:10:58.222405262 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 1 03:07:45 -12 2024 -I: pbuilder-time-stamp: 1714576065 +I: Current time: Wed Jun 4 11:32:44 +14 2025 +I: pbuilder-time-stamp: 1748986364 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking ruby-benchmark-memory_0.2.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/246862/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3056685/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Jun 3 21:32 /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/3056685/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3056685/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=20 ' - DISTRIBUTION='unstable' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(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=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='8bf84a4ad4e747af8a7d2dc9ce4d03a9' - 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='246862' - PS1='# ' - PS2='> ' + INVOCATION_ID=b4ef8966a3f8410f9139fd3c57072406 + 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=3056685 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.ltAJJdta/pbuilderrc_igHd --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.ltAJJdta/b1 --logfile b1/build.log ruby-benchmark-memory_0.2.0-2.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://46.16.76.132: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.ltAJJdta/pbuilderrc_tG3F --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.ltAJJdta/b2 --logfile b2/build.log ruby-benchmark-memory_0.2.0-2.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://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 1 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/246862/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 31 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3056685/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -249,7 +281,7 @@ Get: 133 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 134 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 135 http://deb.debian.org/debian unstable/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 47.3 MB in 14s (3494 kB/s) +Fetched 47.3 MB in 0s (131 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19694 files and directories currently installed.) @@ -698,8 +730,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 1 15:09:04 UTC 2024. -Universal Time is now: Wed May 1 15:09:04 UTC 2024. +Local time is now: Tue Jun 3 21:33:28 UTC 2025. +Universal Time is now: Tue Jun 3 21:33:28 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-method-source (1.0.0-2) ... @@ -823,7 +855,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-benchmark-memory-0.2.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 > ../ruby-benchmark-memory_0.2.0-2_source.changes +I: user script /srv/workspace/pbuilder/3056685/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3056685/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-benchmark-memory-0.2.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 > ../ruby-benchmark-memory_0.2.0-2_source.changes dpkg-buildpackage: info: source package ruby-benchmark-memory dpkg-buildpackage: info: source version 0.2.0-2 dpkg-buildpackage: info: source distribution unstable @@ -853,7 +889,7 @@ make[1]: Entering directory '/build/reproducible-path/ruby-benchmark-memory-0.2.0' dh_auto_install dh_ruby --install /build/reproducible-path/ruby-benchmark-memory-0.2.0/debian/ruby-benchmark-memory -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240501-266347-nwr0o3/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250604-3064698-z4e40k/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: description and summary are identical WARNING: See https://guides.rubygems.org/specification-reference/ for help @@ -861,7 +897,7 @@ Name: benchmark-memory Version: 0.2.0 File: benchmark-memory-0.2.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-benchmark-memory/usr/share/rubygems-integration/all /tmp/d20240501-266347-nwr0o3/benchmark-memory-0.2.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-benchmark-memory/usr/share/rubygems-integration/all /tmp/d20250604-3064698-z4e40k/benchmark-memory-0.2.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-benchmark-memory-0.2.0/debian/ruby-benchmark-memory/usr/share/rubygems-integration/all/gems/benchmark-memory-0.2.0/lib/benchmark-memory.rb /build/reproducible-path/ruby-benchmark-memory-0.2.0/debian/ruby-benchmark-memory/usr/share/rubygems-integration/all/gems/benchmark-memory-0.2.0/lib/benchmark/memory.rb @@ -925,60 +961,37 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 50015 +Randomized with seed 16554 -Benchmark::Memory::Job - #run_comparison - runs when there are entries and the job is configured to compare - does not run if there are no entries - #report - adds a task to the list of tasks in the job - raises an ArgumentError when no block is specified - #quiet? - prevents any output from being written - #run - adds an entry to the report for each task - holding - only executes one task for each call to run - -Benchmark::Memory::Job::IOOutput::ComparisonFormatter - #to_s - gives a multiplier when entries aren't equal - is blank when the comparison is not possible - says 'same' when entries are equal - outputs a comparison of the entries - -Benchmark::Memory::Report::Comparison - #entries - is sorted from smallest allocation to largest - -Benchmark::Memory::Measurement::Metric +Benchmark::Memory::HeldResults::EntrySerializer + .load + converts JSON documents into entries #to_s - is of consistent length - -Benchmark::Memory::Report - is initialized with a blank list of entries - #add_entry - adds an entry to the list of entries + converts the entry into a JSON document Benchmark::Memory::Report::Comparator .from_spec - accepts all different types of metrics + raises an error if given an invalid metric raises an error if given an invalid value raises an error if given more than one metric - raises an error if given an invalid metric + accepts all different types of metrics defaults to memory: :allocated when given nothing -Benchmark::Memory::Helpers - #scale - scales values into human terms +Benchmark::Memory::Job::IOOutput + #put_entry + outputs onto the passed IO + +Benchmark::Memory::Report + is initialized with a blank list of entries + #add_entry + adds an entry to the list of entries Benchmark::Memory has a version number exposes .memory on Benchmark .memory - raises an error when not given a block returns a report + raises an error when not given a block Benchmark::Memory::Job::Task #call @@ -986,20 +999,43 @@ .new raises an ArgumentError when the action is not a callable -Benchmark::Memory::Job::IOOutput - #put_entry - outputs onto the passed IO +Benchmark::Memory::Report::Comparison + #entries + is sorted from smallest allocation to largest -Benchmark::Memory::HeldResults::EntrySerializer - .load - converts JSON documents into entries +Benchmark::Memory::Helpers + #scale + scales values into human terms + +Benchmark::Memory::Job + #report + raises an ArgumentError when no block is specified + adds a task to the list of tasks in the job + #run + adds an entry to the report for each task + holding + only executes one task for each call to run + #quiet? + prevents any output from being written + #run_comparison + runs when there are entries and the job is configured to compare + does not run if there are no entries + +Benchmark::Memory::Job::IOOutput::ComparisonFormatter #to_s - converts the entry into a JSON document + gives a multiplier when entries aren't equal + outputs a comparison of the entries + is blank when the comparison is not possible + says 'same' when entries are equal + +Benchmark::Memory::Measurement::Metric + #to_s + is of consistent length -Finished in 1.75 seconds (files took 0.52482 seconds to load) +Finished in 0.78802 seconds (files took 0.58528 seconds to load) 30 examples, 0 failures -Randomized with seed 50015 +Randomized with seed 16554 mv ./.gem2deb.Gemfile.lock Gemfile.lock @@ -1033,12 +1069,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3056685/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3056685/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/246862 and its subdirectories -I: Current time: Wed May 1 03:09:40 -12 2024 -I: pbuilder-time-stamp: 1714576180 +I: removing directory /srv/workspace/pbuilder/3056685 and its subdirectories +I: Current time: Wed Jun 4 11:33:57 +14 2025 +I: pbuilder-time-stamp: 1748986437