Diff of the two buildlogs: -- --- b1/build.log 2024-05-02 21:03:52.216926083 +0000 +++ b2/build.log 2024-05-02 21:06:39.001826386 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 2 09:00:53 -12 2024 -I: pbuilder-time-stamp: 1714683653 +I: Current time: Fri May 3 11:04:02 +14 2024 +I: pbuilder-time-stamp: 1714683842 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 0004-Skip-test-that-fails-depending-on-the-local-timezone.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2068/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11339/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 2 21: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/11339/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11339/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='6016aa8d37444082b53c2cabfdcf28d5' - 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='2068' - PS1='# ' - PS2='> ' + INVOCATION_ID=db5024eb04a54a07853a6340c2d2c824 + 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=11339 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.yEfwrb2O/pbuilderrc_y7Uo --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.yEfwrb2O/b1 --logfile b1/build.log ruby-certificate-authority_1.1.0-1.dsc' - SUDO_GID='114' - SUDO_UID='108' - 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.yEfwrb2O/pbuilderrc_3zq2 --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.yEfwrb2O/b2 --logfile b2/build.log ruby-certificate-authority_1.1.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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 virt64a 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 1 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2068/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 2 07:44 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/11339/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -292,7 +324,7 @@ Get: 165 http://deb.debian.org/debian unstable/main armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 166 http://deb.debian.org/debian unstable/main armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 167 http://deb.debian.org/debian unstable/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 48.7 MB in 29s (1678 kB/s) +Fetched 48.7 MB in 1s (32.6 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 ... 19440 files and directories currently installed.) @@ -842,8 +874,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 2 21:02:54 UTC 2024. -Universal Time is now: Thu May 2 21:02:54 UTC 2024. +Local time is now: Thu May 2 21:05:06 UTC 2024. +Universal Time is now: Thu May 2 21:05:06 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-method-source (1.0.0-2) ... @@ -994,7 +1026,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-certificate-authority-1.1.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-certificate-authority_1.1.0-1_source.changes +I: user script /srv/workspace/pbuilder/11339/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/11339/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-certificate-authority-1.1.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-certificate-authority_1.1.0-1_source.changes dpkg-buildpackage: info: source package ruby-certificate-authority dpkg-buildpackage: info: source version 1.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1023,7 +1059,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-certificate-authority/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-certificate-authority-1.1.0/debian/ruby-certificate-authority -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240502-11274-5pfs3h/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240503-17979-qwymkd/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on coveralls (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' @@ -1040,7 +1076,7 @@ Name: certificate_authority Version: 1.1.0 File: certificate_authority-1.1.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-certificate-authority/usr/share/rubygems-integration/all /tmp/d20240502-11274-5pfs3h/certificate_authority-1.1.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-certificate-authority/usr/share/rubygems-integration/all /tmp/d20240503-17979-qwymkd/certificate_authority-1.1.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-certificate-authority-1.1.0/debian/ruby-certificate-authority/usr/share/rubygems-integration/all/gems/certificate_authority-1.1.0/lib/certificate_authority.rb /build/reproducible-path/ruby-certificate-authority-1.1.0/debian/ruby-certificate-authority/usr/share/rubygems-integration/all/gems/certificate_authority-1.1.0/lib/certificate_authority/certificate.rb @@ -1247,7 +1283,7 @@ CertificateAuthority::OCSPResponseBuilder should build from a OCSPRequestReader should build a response - should verify against the root + should verify against the root (FAILED - 1) should have a configurable nextUpdate verification mechanisms should support an everything's OK default (though somewhat useless) @@ -1380,47 +1416,42 @@ # ./spec/units/certificate_spec.rb:278:in `each' # ./spec/units/certificate_spec.rb:278:in `block (4 levels) in ' -Finished in 12.66 seconds (files took 2.2 seconds to load) -189 examples, 0 failures, 2 pending +Failures: -[Coveralls] Outside the CI environment, not sending data. -mv ./.gem2deb.Gemfile.lock Gemfile.lock + 1) CertificateAuthority::OCSPResponseBuilder should verify against the root + Failure/Error: expect(response.basic.verify([root_cert],store)).to be_truthy -┌──────────────────────────────────────────────────────────────────────────────┐ -│ dh_ruby --install finished │ -└──────────────────────────────────────────────────────────────────────────────┘ + expected: truthy value + got: false + # ./spec/units/ocsp_handler_spec.rb:79:in `block (2 levels) in ' + +Finished in 13 seconds (files took 2.76 seconds to load) +189 examples, 1 failure, 2 pending - dh_installdocs -O--buildsystem=ruby - dh_ruby_fixdocs -O--buildsystem=ruby - dh_installchangelogs -O--buildsystem=ruby - dh_installsystemduser -O--buildsystem=ruby - dh_perl -O--buildsystem=ruby - dh_link -O--buildsystem=ruby - dh_strip_nondeterminism -O--buildsystem=ruby - dh_compress -X.rb -O--buildsystem=ruby - dh_fixperms -O--buildsystem=ruby - dh_missing -O--buildsystem=ruby - dh_ruby_fixdepends -O--buildsystem=ruby - dh_installdeb -O--buildsystem=ruby - dh_gencontrol -O--buildsystem=ruby -dpkg-gencontrol: warning: Depends field of package ruby-certificate-authority: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: package ruby-certificate-authority: substitution variable ${ruby:Versions} used, but is not defined - dh_md5sums -O--buildsystem=ruby - dh_builddeb -O--buildsystem=ruby -dpkg-deb: building package 'ruby-certificate-authority' in '../ruby-certificate-authority_1.1.0-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../ruby-certificate-authority_1.1.0-1_armhf.buildinfo - dpkg-genchanges --build=binary -O../ruby-certificate-authority_1.1.0-1_armhf.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: including full source code in upload +Failed examples: + +rspec ./spec/units/ocsp_handler_spec.rb:74 # CertificateAuthority::OCSPResponseBuilder should verify against the root + +[Coveralls] Outside the CI environment, not sending data. +Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected +/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 --exclude-pattern ./spec/units/pkcs11_key_material_spec.rb --format documentation failed +mv ./.gem2deb.Gemfile.lock Gemfile.lock +ERROR: Test "ruby3.1" failed. Exiting. +dh_auto_install: error: dh_ruby --install /build/reproducible-path/ruby-certificate-authority-1.1.0/debian/ruby-certificate-authority returned exit code 1 +make: *** [debian/rules:7: binary] Error 25 +dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/11339/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Thu May 2 21:06:29 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 3.4G 0 3.4G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/11339/tmp/hooks/C01_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/2068 and its subdirectories -I: Current time: Thu May 2 09:03:47 -12 2024 -I: pbuilder-time-stamp: 1714683827 +I: removing directory /srv/workspace/pbuilder/11339 and its subdirectories