Diff of the two buildlogs: -- --- b1/build.log 2024-01-07 06:40:14.022751472 +0000 +++ b2/build.log 2024-01-07 06:41:03.828587812 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 6 18:35:31 -12 2024 -I: pbuilder-time-stamp: 1704609331 +I: Current time: Sun Feb 9 03:03:20 +14 2025 +I: pbuilder-time-stamp: 1739019800 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./ruby-certificate-authority_0.2.0~434c15cd-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig._591Uszq/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.mqQHBexQ/trustedkeys.kbx': General error gpgv: Signature made Sun Feb 11 16:24:19 2018 gpgv: using RSA key 7E43E9ACBF727AB3CF0885338716CE4614A452D8 gpgv: Can't check signature: No public key @@ -31,49 +31,80 @@ dpkg-source: info: applying 0004-Let-ruby-find-certificate-authority-in-specs.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3633476/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2243909/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Feb 8 13:03 /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/2243909/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2243909/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d9dad70433c442a897f5d52647bc6bcd' - 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='3633476' - PS1='# ' - PS2='> ' + INVOCATION_ID=73ee6de594a6474c8ce333bc4864878d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=2243909 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.aPPUBgVH/pbuilderrc_WaZ2 --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.aPPUBgVH/b1 --logfile b1/build.log ruby-certificate-authority_0.2.0~434c15cd-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.aPPUBgVH/pbuilderrc_YlrO --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.aPPUBgVH/b2 --logfile b2/build.log ruby-certificate-authority_0.2.0~434c15cd-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash @@ -133,7 +164,7 @@ -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 7 09:24 sh -> dash + lrwxrwxrwx 1 root root 9 Feb 8 13:03 sh -> /bin/bash -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty -rwsr-xr-x 1 root root 71912 Jan 20 2022 su @@ -159,7 +190,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/3633476/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/2243909/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -359,7 +390,7 @@ Get: 154 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 155 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 156 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 46.0 MB in 4s (12.1 MB/s) +Fetched 46.0 MB in 1s (79.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 17743 files and directories currently installed.) @@ -870,8 +901,8 @@ Setting up tzdata (2021a-1+deb11u10) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Jan 7 06:37:43 UTC 2024. -Universal Time is now: Sun Jan 7 06:37:43 UTC 2024. +Local time is now: Sat Feb 8 13:03:49 UTC 2025. +Universal Time is now: Sat Feb 8 13:03:49 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.13.0-1) ... @@ -1019,7 +1050,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/ruby-certificate-authority-0.2.0~434c15cd/ && 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_0.2.0~434c15cd-1_source.changes +I: user script /srv/workspace/pbuilder/2243909/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/2243909/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-certificate-authority-0.2.0~434c15cd/ && 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_0.2.0~434c15cd-1_source.changes dpkg-buildpackage: info: source package ruby-certificate-authority dpkg-buildpackage: info: source version 0.2.0~434c15cd-1 dpkg-buildpackage: info: source distribution unstable @@ -1250,7 +1285,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) @@ -1396,49 +1431,41 @@ # Temporarily skipped with xit # ./spec/units/pkcs11_key_material_spec.rb:21 -Finished in 26.41 seconds (files took 4.38 seconds to load) -196 examples, 0 failures, 3 pending +Failures: -[Coveralls] Outside the CI environment, not sending data. + 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:81:in `block (2 levels) in ' + +Finished in 2.15 seconds (files took 0.56498 seconds to load) +196 examples, 1 failure, 3 pending - debian/rules override_dh_install -make[1]: Entering directory '/build/reproducible-path/ruby-certificate-authority-0.2.0~434c15cd' -dh_install -set -e && rm -rf /build/reproducible-path/ruby-certificate-authority-0.2.0~434c15cd/debian/ruby-certificate-authority/usr/lib/ruby/vendor_ruby/tasks -make[1]: Leaving directory '/build/reproducible-path/ruby-certificate-authority-0.2.0~434c15cd' - dh_installdocs -O--buildsystem=ruby - dh_ruby_fixdocs -O--buildsystem=ruby - dh_installchangelogs -O--buildsystem=ruby - dh_installinit -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_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 - dh_md5sums -O--buildsystem=ruby - dh_builddeb -O--buildsystem=ruby -dpkg-deb: building package 'ruby-certificate-authority' in '../ruby-certificate-authority_0.2.0~434c15cd-1_all.deb'. - dpkg-genbuildinfo --build=binary - dpkg-genchanges --build=binary >../ruby-certificate-authority_0.2.0~434c15cd-1_amd64.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:76 # 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/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed +ERROR: Test "ruby2.7" failed. Exiting. +dh_auto_install: error: dh_ruby --install /build/reproducible-path/ruby-certificate-authority-0.2.0\~434c15cd/debian/ruby-certificate-authority returned exit code 1 +make: *** [debian/rules:6: binary] Error 25 +dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/2243909/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Sat Feb 8 13:04:05 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 32G 0 32G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/2243909/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/3633476 and its subdirectories -I: Current time: Sat Jan 6 18:40:12 -12 2024 -I: pbuilder-time-stamp: 1704609612 +I: removing directory /srv/workspace/pbuilder/2243909 and its subdirectories