Diff of the two buildlogs: -- --- b1/build.log 2024-05-06 04:55:25.726699484 +0000 +++ b2/build.log 2024-05-06 04:56:50.503095073 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 5 16:53:24 -12 2024 -I: pbuilder-time-stamp: 1714971204 +I: Current time: Mon May 6 18:55:34 +14 2024 +I: pbuilder-time-stamp: 1714971334 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 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/31620/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/19865/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 6 04:55 /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/19865/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/19865/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='6239cd2fb1c6400485ff237f9d36c235' - 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='31620' - PS1='# ' - PS2='> ' + INVOCATION_ID=276b820448e541ed97ec26164bf6eaa4 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=19865 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.xc6Z1gxI/pbuilderrc_zMdq --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.xc6Z1gxI/b1 --logfile b1/build.log itamae_1.14.1-2.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.xc6Z1gxI/pbuilderrc_N4de --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.xc6Z1gxI/b2 --logfile b2/build.log itamae_1.14.1-2.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 5 07:44 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/31620/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/19865/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 unstable/main armhf ruby-schash all 0.1.2+gh-1 [6156 B] Get: 142 http://deb.debian.org/debian unstable/main armhf ruby-specinfra all 2.89.0-1 [61.3 kB] Get: 143 http://deb.debian.org/debian unstable/main armhf ruby-thor all 1.3.1-1 [49.2 kB] -Fetched 45.9 MB in 2s (27.1 MB/s) +Fetched 45.9 MB in 1s (65.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19445 files and directories currently installed.) @@ -745,8 +777,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon May 6 04:54:30 UTC 2024. -Universal Time is now: Mon May 6 04:54:30 UTC 2024. +Local time is now: Mon May 6 04:56:16 UTC 2024. +Universal Time is now: Mon May 6 04:56:16 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -875,7 +907,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/19865/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/19865/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 @@ -906,7 +942,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/d20240505-5578-3dcpmx/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240506-24726-x543vm/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: @@ -931,7 +967,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/d20240505-5578-3dcpmx/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/d20240506-24726-x543vm/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 @@ -1017,18 +1053,48 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 38006 +Randomized with seed 10929 -Itamae::Runner - #initialize - with multiple node_json and node_yaml files - merges hashes and overwrites arrays - .run - runs each recipe with the runner (PENDING: Rewrite later) - raises error for invalid recipes argument type +Itamae::Handler + .from_type + returns handler class + +Itamae::Node + #reverse_merge + merges a hash but the method receiver's value will be preferred + +Itamae::Backend::Ssh + #ssh_options + 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 true + is expected to eq false + when sudo option is false + is expected to eq true + +Itamae::Resource + .parse_description + with invalid description + raises an error + with valid description + returns type and name + +Itamae::Logger + #debug + `msg` is an Exception + indents the error message and the backtrace + `msg` is a String + indents the message + `msg` is an Array + indents the message DefineAttributeTestResource define_attribute + default + returns the default value falsey returns the default value required @@ -1039,66 +1105,29 @@ raises an error with correct type value returns the value - default - returns the default value default_name without setting the value returns the resource name -Itamae::Resource - .parse_description - with invalid description - raises an error - with valid description - returns type and name - Itamae::HandlerProxy #event without block fires the event with block - when the block fails - fires *_started and *_failed events when the block completes fires *_started and *_completed events + when the block fails + fires *_started and *_failed events -Itamae::Logger - #debug - `msg` is an Array - indents the message - `msg` is an Exception - indents the error message and the backtrace - `msg` is a String - indents the message - -Itamae::Handler::Base - when receiving recipe_started event - stores the payload - when receiving recipe_completed event - pops the payload - when receiving recipe_failed event - pops the payload - -Itamae::Backend::Ssh - #ssh_options - 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=>"pbuilder1"} - #disable_sudo? - when sudo option is false - is expected to eq true - when sudo option is true - is expected to eq false +Itamae::Runner + #initialize + with multiple node_json and node_yaml files + merges hashes and overwrites arrays + .run + runs each recipe with the runner (PENDING: Rewrite later) + raises error for invalid recipes argument type 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 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 .send_file the source file doesn't exist is expected to raise Itamae::Backend::SourceNotExistError with "The file 'src' doesn't exist." @@ -1106,19 +1135,26 @@ is expected to raise Itamae::Backend::SourceNotExistError with "'src' is not a file." the source file is a regular file is expected not to raise Exception - -Itamae::Handler - .from_type - returns handler class - -Itamae::Node - #reverse_merge - merges a hash but the method receiver's value will be preferred + .send_directory + the source directory doesn't exist + is expected to raise Itamae::Backend::SourceNotExistError with "The directory 'src' doesn't exist." + 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 TestResource #run executes _action method +Itamae::Handler::Base + when receiving recipe_started event + stores the payload + when receiving recipe_completed event + pops the payload + when receiving recipe_failed event + pops the payload + Pending: (Failures listed here are expected and do not affect your suite's status) 1) Itamae::Runner.run runs each recipe with the runner @@ -1148,10 +1184,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.27219 seconds (files took 2.12 seconds to load) +Finished in 0.14896 seconds (files took 1.25 seconds to load) 33 examples, 0 failures, 1 pending -Randomized with seed 38006 +Randomized with seed 10929 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1183,12 +1219,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/19865/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/19865/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/31620 and its subdirectories -I: Current time: Sun May 5 16:55:21 -12 2024 -I: pbuilder-time-stamp: 1714971321 +I: removing directory /srv/workspace/pbuilder/19865 and its subdirectories +I: Current time: Mon May 6 18:56:46 +14 2024 +I: pbuilder-time-stamp: 1714971406