Diff of the two buildlogs: -- --- b1/build.log 2024-05-16 23:18:59.142594056 +0000 +++ b2/build.log 2024-05-16 23:20:11.647512596 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 18 17:40:54 -12 2025 -I: pbuilder-time-stamp: 1750311654 +I: Current time: Thu Jun 19 19:42:01 +14 2025 +I: pbuilder-time-stamp: 1750311721 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying unshift-lib.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3783394/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1259799/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 Jun 19 05:42 /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/1259799/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1259799/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='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='68d088de8ede4305b4ca85ae067fdde0' - 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='3783394' - PS1='# ' - PS2='> ' + INVOCATION_ID=8dfe8f8747ac42a88152b71d2cb51bb9 + 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=1259799 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.4b4RqQnZ/pbuilderrc_t6dH --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.4b4RqQnZ/b1 --logfile b1/build.log ruby-devise-two-factor_4.0.2-1.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.4b4RqQnZ/pbuilderrc_CbyV --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.4b4RqQnZ/b2 --logfile b2/build.log ruby-devise-two-factor_4.0.2-1.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 codethink03-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 17 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3783394/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1259799/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -297,7 +329,7 @@ Get: 164 http://deb.debian.org/debian unstable/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 165 http://deb.debian.org/debian unstable/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 166 http://deb.debian.org/debian unstable/main arm64 ruby-timecop all 0.9.8-1 [11.1 kB] -Fetched 50.0 MB in 1s (95.2 MB/s) +Fetched 50.0 MB in 0s (174 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 ... 19746 files and directories currently installed.) @@ -843,8 +875,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Jun 19 05:41:17 UTC 2025. -Universal Time is now: Thu Jun 19 05:41:17 UTC 2025. +Local time is now: Thu Jun 19 05:42:25 UTC 2025. +Universal Time is now: Thu Jun 19 05:42:25 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-method-source (1.0.0-2) ... @@ -1000,7 +1032,11 @@ fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/ruby-devise-two-factor-4.0.2/ && 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-devise-two-factor_4.0.2-1_source.changes +I: user script /srv/workspace/pbuilder/1259799/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1259799/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-devise-two-factor-4.0.2/ && 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-devise-two-factor_4.0.2-1_source.changes dpkg-buildpackage: info: source package ruby-devise-two-factor dpkg-buildpackage: info: source version 4.0.2-1 dpkg-buildpackage: info: source distribution unstable @@ -1071,106 +1107,106 @@ RUBYLIB=/build/reproducible-path/ruby-devise-two-factor-4.0.2/debian/ruby-devise-two-factor/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-devise-two-factor-4.0.2/debian/ruby-devise-two-factor/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-devise-two-factor-4.0.2/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 41061 +Randomized with seed 53116 Devise::Models::TwoFactorAuthenticatable When included in a class behaves like two_factor_authenticatable - #otp_provisioning_uri - should return uri with issuer option - should return uri with specified account + #otp_secret + stores the encrypted otp_secret + stores an iv for otp_secret + should be of the configured length + stores a salt for otp_secret + required_fields + should have the attr_encrypted fields for otp_secret #validate_and_consume_otp! - validates a precisely correct OTP with whitespace - validates a precisely correct OTP - validates an OTP within the allowed drift fails a nil OTP value does not validate an OTP above the allowed drift does not validate an OTP below the allowed drift + validates a precisely correct OTP with whitespace + validates an OTP within the allowed drift + validates a precisely correct OTP with a stored consumed_timestep given a previously valid OTP within the allowed drift fails to validate + given a valid OTP used multiple times within the allowed drift + after the otp interval + fails to validate given a valid OTP used multiple times within the allowed drift after a subsequent login after the otp interval fails to validate given a precisely correct OTP fails to validate - given a valid OTP used multiple times within the allowed drift - after the otp interval - fails to validate - required_fields - should have the attr_encrypted fields for otp_secret - #otp_secret - stores the encrypted otp_secret - should be of the configured length - stores an iv for otp_secret - stores a salt for otp_secret - -Devise::Models::TwoFactorAuthenticatable - When clean_up_passwords is called - password_confirmation should be nill - otp_attempt should be nill + #otp_provisioning_uri + should return uri with specified account + should return uri with issuer option + otp_secret options + should be of the key + should be of the mode + should be of the mode Devise::Models::TwoFactorBackupable When included in a class behaves like two_factor_backupable #invalidate_otp_backup_code! given a valid recovery code - returns true - does not invalidate the other recovery codes invalidates that recovery code + does not invalidate the other recovery codes + returns true given an invalid recovery code returns false - required_fields - has the attr_encrypted fields for otp_backup_codes #generate_otp_backup_codes! - with existing recovery codes - invalidates the existing recovery codes with no existing recovery codes - generates recovery codes of the correct length stores the codes as BCrypt hashes - generates distinct recovery codes generates the correct number of new recovery codes + generates recovery codes of the correct length + generates distinct recovery codes + with existing recovery codes + invalidates the existing recovery codes + required_fields + has the attr_encrypted fields for otp_backup_codes Devise::Models::TwoFactorAuthenticatable When included in a class behaves like two_factor_authenticatable - #otp_provisioning_uri - should return uri with issuer option - should return uri with specified account - #otp_secret - stores a salt for otp_secret - stores the encrypted otp_secret - should be of the configured length - stores an iv for otp_secret - required_fields - should have the attr_encrypted fields for otp_secret #validate_and_consume_otp! - fails a nil OTP value validates a precisely correct OTP with whitespace + fails a nil OTP value validates an OTP within the allowed drift + does not validate an OTP below the allowed drift validates a precisely correct OTP does not validate an OTP above the allowed drift - does not validate an OTP below the allowed drift with a stored consumed_timestep - given a valid OTP used multiple times within the allowed drift - after the otp interval - fails to validate given a previously valid OTP within the allowed drift fails to validate + given a precisely correct OTP + fails to validate given a valid OTP used multiple times within the allowed drift after a subsequent login after the otp interval fails to validate - given a precisely correct OTP - fails to validate - otp_secret options - should be of the key - should be of the mode - should be of the mode + given a valid OTP used multiple times within the allowed drift + after the otp interval + fails to validate + #otp_secret + stores an iv for otp_secret + stores a salt for otp_secret + stores the encrypted otp_secret + should be of the configured length + required_fields + should have the attr_encrypted fields for otp_secret + #otp_provisioning_uri + should return uri with issuer option + should return uri with specified account + +Devise::Models::TwoFactorAuthenticatable + When clean_up_passwords is called + otp_attempt should be nill + password_confirmation should be nill -Finished in 19.34 seconds (files took 1.43 seconds to load) +Finished in 19.37 seconds (files took 1.3 seconds to load) 49 examples, 0 failures -Randomized with seed 41061 +Randomized with seed 53116 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1203,12 +1239,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/1259799/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1259799/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/3783394 and its subdirectories -I: Current time: Wed Jun 18 17:41:57 -12 2025 -I: pbuilder-time-stamp: 1750311717 +I: removing directory /srv/workspace/pbuilder/1259799 and its subdirectories +I: Current time: Thu Jun 19 19:43:09 +14 2025 +I: pbuilder-time-stamp: 1750311789