Diff of the two buildlogs: -- --- b1/build.log 2023-05-06 01:34:41.433760161 +0000 +++ b2/build.log 2023-05-06 01:35:51.190703840 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 6 19:56:10 -12 2024 -I: pbuilder-time-stamp: 1717746970 +I: Current time: Sat May 6 15:34:44 +14 2023 +I: pbuilder-time-stamp: 1683336884 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./itamae_1.14.1.orig.tar.gz] I: copying [./itamae_1.14.1-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Oct 9 04:54:23 2022 -12 +gpgv: Signature made Mon Oct 10 06:54:23 2022 +14 gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./itamae_1.14.1-1.dsc: no acceptable signature found @@ -25,52 +25,84 @@ dpkg-source: info: unpacking itamae_1.14.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/11113/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29470/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-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 6 15:34 /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/29470/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29470/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='11113' - PS1='# ' - PS2='> ' + 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=29470 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.6eKDbKGZ/pbuilderrc_QM9r --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6eKDbKGZ/b1 --logfile b1/build.log itamae_1.14.1-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.6eKDbKGZ/pbuilderrc_AtTW --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6eKDbKGZ/b2 --logfile b2/build.log --extrapackages usrmerge itamae_1.14.1-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink11-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 5 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/11113/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 4 00:26 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/29470/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -864,8 +896,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-1_source.changes +I: user script /srv/workspace/pbuilder/29470/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/29470/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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-1_source.changes dpkg-buildpackage: info: source package itamae dpkg-buildpackage: info: source version 1.14.1-1 dpkg-buildpackage: info: source distribution unstable @@ -897,7 +938,7 @@ dh_auto_install --destdir=debian/itamae/ -O--buildsystem=ruby dh_ruby --install /build/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/d20240606-18359-st7exp/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230506-2435-paxrep/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: @@ -922,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/d20240606-18359-st7exp/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/d20230506-2435-paxrep/itamae-1.14.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/itamae-1.14.1/debian/itamae/usr/share/rubygems-integration/all/gems/itamae-1.14.1/bin/itamae /build/itamae-1.14.1/debian/itamae/usr/share/rubygems-integration/all/gems/itamae-1.14.1/lib/itamae.rb @@ -1008,45 +1049,39 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 12550 - -DefineAttributeTestResource - define_attribute - default - returns the default value - default_name - without setting the value - returns the resource name - type - with correct type value - returns the value - with incorrect type value - raises an error - required - without setting required attribute - raises an error - falsey - returns the default value +Randomized with seed 54309 -TestResource - #run - executes _action method +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 false + is expected to eq true + when sudo option is true + is expected to eq false Itamae::Handler::Base - when receiving recipe_started event - stores the payload when receiving recipe_failed event pops the payload + when receiving recipe_started event + stores the payload when receiving recipe_completed event pops the payload +Itamae::Handler + .from_type + returns handler class + 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 + .run + runs each recipe with the runner (PENDING: Rewrite later) + raises error for invalid recipes argument type Itamae::Resource .parse_description @@ -1055,60 +1090,66 @@ with invalid description raises an error +TestResource + #run + executes _action method + Itamae::Logger #debug - `msg` is an Array + `msg` is a String indents the message `msg` is an Exception indents the error message and the backtrace - `msg` is a String + `msg` is an Array indents the message -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::Base + .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 is a directory + is expected not to raise Exception + the source directory exist, but it is not a directory + is expected to raise Itamae::Backend::SourceNotExistError with "'src' is not a directory." + .send_file + the source file is a regular file + is expected not to raise Exception + the source file doesn't exist + is expected to raise Itamae::Backend::SourceNotExistError with "The file 'src' doesn't exist." + the source file exist, but it is not a regular file + is expected to raise Itamae::Backend::SourceNotExistError with "'src' is not a file." 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 - without block - fires the event -Itamae::Backend::Ssh - #disable_sudo? - when sudo option is true - is expected to eq false - when sudo option is false - is expected to eq true - #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"} +DefineAttributeTestResource + define_attribute + default + returns the default value + type + with incorrect type value + raises an error + with correct type value + returns the value + required + without setting required attribute + raises an error + default_name + without setting the value + returns the resource name + falsey + returns the default value -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 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." - the source file is a regular file - is expected not to raise Exception +Itamae::Node + #reverse_merge + merges a hash but the method receiver's value will be preferred Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1139,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.27363 seconds (files took 1.94 seconds to load) +Finished in 0.20173 seconds (files took 1.74 seconds to load) 33 examples, 0 failures, 1 pending -Randomized with seed 12550 +Randomized with seed 54309 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1175,12 +1216,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/29470/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29470/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/11113 and its subdirectories -I: Current time: Thu Jun 6 19:57:39 -12 2024 -I: pbuilder-time-stamp: 1717747059 +I: removing directory /srv/workspace/pbuilder/29470 and its subdirectories +I: Current time: Sat May 6 15:35:50 +14 2023 +I: pbuilder-time-stamp: 1683336950