Diff of the two buildlogs: -- --- b1/build.log 2024-04-23 08:41:34.912820963 +0000 +++ b2/build.log 2024-04-23 08:42:27.538579393 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 22 20:40:54 -12 2024 -I: pbuilder-time-stamp: 1713861654 +I: Current time: Tue May 27 05:04:38 +14 2025 +I: pbuilder-time-stamp: 1748271878 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking itamae_1.14.1-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2014121/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/666165/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 May 26 15:04 /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/666165/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/666165/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-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=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='2815684216e041b8bd2b87a7171fd76c' - 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='2014121' - PS1='# ' - PS2='> ' + INVOCATION_ID=943afeb46f234178b7bfc35f5cb743a7 + 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=666165 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.Iq5dv9To/pbuilderrc_Iwtb --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.Iq5dv9To/b1 --logfile b1/build.log itamae_1.14.1-2.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.Iq5dv9To/pbuilderrc_Yvd4 --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.Iq5dv9To/b2 --logfile b2/build.log itamae_1.14.1-2.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-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2014121/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 24 13:38 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/666165/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -269,7 +301,7 @@ Get: 141 http://deb.debian.org/debian trixie/main arm64 ruby-schash all 0.1.2+gh-1 [6156 B] Get: 142 http://deb.debian.org/debian trixie/main arm64 ruby-specinfra all 2.89.0-1 [61.3 kB] Get: 143 http://deb.debian.org/debian trixie/main arm64 ruby-thor all 1.3.1-1 [49.2 kB] -Fetched 46.8 MB in 0s (119 MB/s) +Fetched 46.8 MB in 0s (127 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19930 files and directories currently installed.) @@ -740,8 +772,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Apr 23 08:41:15 UTC 2024. -Universal Time is now: Tue Apr 23 08:41:15 UTC 2024. +Local time is now: Mon May 26 15:05:03 UTC 2025. +Universal Time is now: Mon May 26 15:05:03 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -871,7 +903,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/itamae-1.14.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 > ../itamae_1.14.1-2_source.changes +I: user script /srv/workspace/pbuilder/666165/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/666165/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/itamae-1.14.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 > ../itamae_1.14.1-2_source.changes dpkg-buildpackage: info: source package itamae dpkg-buildpackage: info: source version 1.14.1-2 dpkg-buildpackage: info: source distribution unstable @@ -902,7 +938,7 @@ dh_auto_install --destdir=debian/itamae/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/itamae-1.14.1/debian/itamae rake -f debian/dh_ruby.rake install DESTDIR=debian/itamae -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240422-2029986-3jmsh5/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250527-715010-q308tg/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on thor (>= 1.0.0) is not recommended if thor is semantically versioned, use: @@ -927,7 +963,7 @@ Name: itamae Version: 1.14.1 File: itamae-1.14.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/itamae/usr/share/rubygems-integration/all /tmp/d20240422-2029986-3jmsh5/itamae-1.14.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/itamae/usr/share/rubygems-integration/all /tmp/d20250527-715010-q308tg/itamae-1.14.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/itamae-1.14.1/debian/itamae/usr/share/rubygems-integration/all/gems/itamae-1.14.1/bin/itamae /build/reproducible-path/itamae-1.14.1/debian/itamae/usr/share/rubygems-integration/all/gems/itamae-1.14.1/lib/itamae.rb @@ -1013,108 +1049,108 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 53736 +Randomized with seed 49327 Itamae::Node #reverse_merge merges a hash but the method receiver's value will be preferred -Itamae::Logger - #debug - `msg` is an Exception - indents the error message and the backtrace - `msg` is an Array - indents the message - `msg` is a String - indents the message +DefineAttributeTestResource + define_attribute + required + without setting required attribute + raises an error + falsey + returns the default value + default_name + without setting the value + returns the resource name + default + returns the default value + type + with incorrect type value + raises an error + with correct type value + returns the value Itamae::Handler::Base - when receiving recipe_failed event - pops the payload when receiving recipe_completed event pops the payload when receiving recipe_started event stores the payload + when receiving recipe_failed event + pops the payload -Itamae::Resource - .parse_description - with invalid description - raises an error - with valid description - returns type and name - -TestResource - #run - executes _action method - -Itamae::Backend::Base - .send_directory - the source directory exist, but it is not a directory - is expected to raise Itamae::Backend::SourceNotExistError with "'src' is not a directory." - the source directory is a directory - is expected not to raise Exception - the source directory doesn't exist - is expected to raise Itamae::Backend::SourceNotExistError with "The directory 'src' doesn't exist." - .send_file - the source file is a regular file - is expected not to raise Exception - the source file exist, but it is not a regular file - is expected to raise Itamae::Backend::SourceNotExistError with "'src' is not a file." - the source file doesn't exist - is expected to raise Itamae::Backend::SourceNotExistError with "The file 'src' doesn't exist." +Itamae::Logger + #debug + `msg` is an Array + indents the message + `msg` is a String + indents the message + `msg` is an Exception + indents the error message and the backtrace Itamae::Backend::Ssh #ssh_options - with host option - is expected to eq {:auth_methods=>["none", "publickey", "password", "keyboard-interactive"], :host_name=>"example.com", :user=>"pbuilder1"} with ssh_config option is expected to a hash including {:host_name => "example.com", :user => "myname", :port => 10022} + with host option + is expected to eq {:auth_methods=>["none", "publickey", "password", "keyboard-interactive"], :host_name=>"example.com", :user=>"pbuilder2"} #disable_sudo? - when sudo option is false - is expected to eq true when sudo option is true is expected to eq false + when sudo option is false + is expected to eq true -Itamae::Runner - .run - runs each recipe with the runner (PENDING: Rewrite later) - raises error for invalid recipes argument type - #initialize - with multiple node_json and node_yaml files - merges hashes and overwrites arrays - -DefineAttributeTestResource - define_attribute - default - returns the default value - default_name - without setting the value - returns the resource name - falsey - returns the default value - type - with correct type value - returns the value - with incorrect type value - raises an error - required - without setting required attribute - raises an error +TestResource + #run + executes _action method Itamae::HandlerProxy #event + without block + fires the event with block when the block completes fires *_started and *_completed events when the block fails fires *_started and *_failed events - without block - fires the event + +Itamae::Runner + #initialize + with multiple node_json and node_yaml files + merges hashes and overwrites arrays + .run + raises error for invalid recipes argument type + runs each recipe with the runner (PENDING: Rewrite later) + +Itamae::Resource + .parse_description + with invalid description + raises an error + with valid description + returns type and name Itamae::Handler .from_type returns handler class +Itamae::Backend::Base + .send_file + the source file doesn't exist + is expected to raise Itamae::Backend::SourceNotExistError with "The file 'src' doesn't exist." + the source file is a regular file + is expected not to raise Exception + the source file exist, but it is not a regular file + is expected to raise Itamae::Backend::SourceNotExistError with "'src' is not a file." + .send_directory + the source directory exist, but it is not a directory + is expected to raise Itamae::Backend::SourceNotExistError with "'src' is not a directory." + the source directory doesn't exist + is expected to raise Itamae::Backend::SourceNotExistError with "The directory 'src' doesn't exist." + the source directory is a directory + is expected not to raise Exception + Pending: (Failures listed here are expected and do not affect your suite's status) 1) Itamae::Runner.run runs each recipe with the runner @@ -1144,10 +1180,10 @@ # ./spec/unit/lib/itamae/runner_spec.rb:10:in `block (3 levels) in ' # ./spec/unit/lib/itamae/runner_spec.rb:9:in `block (2 levels) in ' -Finished in 0.06009 seconds (files took 0.6003 seconds to load) +Finished in 0.09215 seconds (files took 0.62495 seconds to load) 33 examples, 0 failures, 1 pending -Randomized with seed 53736 +Randomized with seed 49327 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1179,12 +1215,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/666165/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/666165/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/2014121 and its subdirectories -I: Current time: Mon Apr 22 20:41:33 -12 2024 -I: pbuilder-time-stamp: 1713861693 +I: removing directory /srv/workspace/pbuilder/666165 and its subdirectories +I: Current time: Tue May 27 05:05:26 +14 2025 +I: pbuilder-time-stamp: 1748271926