Diff of the two buildlogs: -- --- b1/build.log 2023-04-09 17:01:26.437754352 +0000 +++ b2/build.log 2023-04-09 17:03:08.122360642 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 11 11:21:05 -12 2024 -I: pbuilder-time-stamp: 1715469665 +I: Current time: Mon Apr 10 07:01:30 +14 2023 +I: pbuilder-time-stamp: 1681059690 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 [./golang-github-micromdm-scep_2.1.0.orig.tar.gz] I: copying [./golang-github-micromdm-scep_2.1.0-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Nov 28 01:38:41 2022 -12 +gpgv: Signature made Tue Nov 29 03:38:41 2022 +14 gpgv: using EDDSA key B153481DB739CC87A3D65DCF062023CA3E06BDD5 gpgv: issuer "peymaneh@posteo.net" gpgv: Can't check signature: No public key @@ -29,11 +29,20 @@ dpkg-source: info: applying 0002-Fix-disfunctional-test.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/25828/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7721/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-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 +lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash +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/7721/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7721/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' + 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' @@ -43,38 +52,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='25828' + PPID='7721' PS1='# ' PS2='> ' 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.TcfWGnhB/pbuilderrc_Mwqb --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.TcfWGnhB/b1 --logfile b1/build.log golang-github-micromdm-scep_2.1.0-3.dsc' + 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.TcfWGnhB/pbuilderrc_zSN8 --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.TcfWGnhB/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-micromdm-scep_2.1.0-3.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink13-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 10 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/25828/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 9 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/7721/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -235,7 +244,7 @@ Get: 109 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-mod-dev all 0.7.0-1 [101 kB] Get: 110 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-tools-dev all 1:0.5.0+ds-1 [1469 kB] Get: 111 http://deb.debian.org/debian bookworm/main arm64 golang-github-go-kit-kit-dev all 0.10.0-1 [146 kB] -Fetched 148 MB in 6s (23.2 MB/s) +Fetched 148 MB in 2s (65.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19616 files and directories currently installed.) @@ -693,8 +702,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/golang-github-micromdm-scep-2.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 > ../golang-github-micromdm-scep_2.1.0-3_source.changes +I: user script /srv/workspace/pbuilder/7721/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/7721/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-micromdm-scep-2.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 > ../golang-github-micromdm-scep_2.1.0-3_source.changes dpkg-buildpackage: info: source package golang-github-micromdm-scep dpkg-buildpackage: info: source version 2.1.0-3 dpkg-buildpackage: info: source distribution unstable @@ -717,106 +735,106 @@ cd _build && go install -trimpath -v -p 8 -ldflags "-X \"main.version=2.1.0\"" github.com/micromdm/scep/challenge github.com/micromdm/scep/challenge/bolt github.com/micromdm/scep/client github.com/micromdm/scep/cmd/scepclient github.com/micromdm/scep/cmd/scepserver github.com/micromdm/scep/cryptoutil github.com/micromdm/scep/cryptoutil/x509util github.com/micromdm/scep/csrverifier github.com/micromdm/scep/csrverifier/executable github.com/micromdm/scep/depot github.com/micromdm/scep/depot/bolt github.com/micromdm/scep/depot/file github.com/micromdm/scep/scep github.com/micromdm/scep/server internal/goarch internal/unsafeheader -internal/goos internal/goexperiment +internal/goos internal/race +sync/atomic +runtime/internal/syscall internal/cpu +unicode/utf8 +unicode internal/abi -runtime/internal/syscall runtime/internal/math runtime/internal/sys -sync/atomic -unicode -unicode/utf8 math/bits crypto/internal/subtle crypto/subtle internal/itoa crypto/internal/boring/sig -unicode/utf16 internal/bytealg runtime/internal/atomic +unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace -encoding math +encoding container/list vendor/golang.org/x/crypto/internal/subtle runtime internal/reflectlite sync -math/rand -internal/singleflight internal/sysinfo +internal/singleflight internal/testlog +math/rand errors sort +internal/oserror +internal/safefilepath +path io vendor/golang.org/x/net/dns/dnsmessage crypto/internal/nistec/fiat -path -internal/safefilepath -internal/oserror strconv syscall -bytes -hash crypto/internal/randutil +hash +bytes strings -hash/fnv hash/crc32 -crypto -reflect -crypto/rc4 +hash/fnv vendor/golang.org/x/text/transform +net/http/internal/ascii bufio +crypto +reflect regexp/syntax -net/http/internal/ascii +crypto/rc4 +internal/syscall/execenv internal/syscall/unix time -internal/syscall/execenv regexp -internal/poll -io/fs context +io/fs +internal/poll github.com/go-kit/kit/endpoint embed -encoding/binary -internal/fmtsort os -crypto/cipher -crypto/internal/edwards25519/field +internal/fmtsort +encoding/binary crypto/md5 +crypto/internal/edwards25519/field +crypto/cipher crypto/sha1 -encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 +encoding/base64 crypto/internal/nistec encoding/pem vendor/golang.org/x/crypto/curve25519/internal/field -crypto/internal/edwards25519 -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 internal/godebug fmt +path/filepath +crypto/internal/edwards25519 internal/intern +crypto/internal/boring +crypto/des +net/netip crypto/aes crypto/sha512 crypto/sha256 -net/netip -path/filepath io/ioutil +os/exec crypto/hmac +vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/crypto/chacha20poly1305 os/signal -os/exec net +vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex net/url -encoding/json -github.com/go-logfmt/logfmt log +github.com/go-logfmt/logfmt +encoding/json math/big github.com/pkg/errors flag @@ -825,41 +843,41 @@ encoding/xml compress/flate vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/unicode/bidi testing compress/gzip -vendor/golang.org/x/text/secure/bidirule +github.com/go-kit/kit/log vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime -github.com/go-kit/kit/log -net/http/internal mime/quotedprintable +net/http/internal github.com/go-kit/kit/log/level github.com/go-kit/kit/transport github.com/boltdb/bolt -github.com/micromdm/scep/csrverifier/executable -vendor/golang.org/x/net/idna -crypto/elliptic +crypto/dsa crypto/internal/boring/bbig +crypto/elliptic encoding/asn1 -crypto/dsa crypto/rand +github.com/micromdm/scep/csrverifier/executable +vendor/golang.org/x/net/idna crypto/ed25519 crypto/rsa -github.com/micromdm/scep/challenge/bolt vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -vendor/golang.org/x/net/http/httpproxy net/textproto +github.com/micromdm/scep/challenge/bolt +vendor/golang.org/x/net/http/httpproxy crypto/ecdsa -github.com/micromdm/scep/cryptoutil -crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart -go.mozilla.org/pkcs7 -github.com/micromdm/scep/cryptoutil/x509util +github.com/micromdm/scep/cryptoutil +crypto/x509 github.com/micromdm/scep/depot/file +github.com/micromdm/scep/cryptoutil/x509util +go.mozilla.org/pkcs7 crypto/tls github.com/micromdm/scep/scep github.com/micromdm/scep/depot @@ -869,9 +887,9 @@ github.com/go-kit/kit/transport/http github.com/gorilla/mux github.com/micromdm/scep/server +github.com/micromdm/scep/challenge github.com/micromdm/scep/client github.com/micromdm/scep/csrverifier -github.com/micromdm/scep/challenge github.com/micromdm/scep/cmd/scepclient github.com/micromdm/scep/cmd/scepserver make[1]: Leaving directory '/build/golang-github-micromdm-scep-2.1.0' @@ -880,7 +898,7 @@ === RUN TestDynamicChallenge --- PASS: TestDynamicChallenge (0.00s) PASS -ok github.com/micromdm/scep/challenge 0.015s +ok github.com/micromdm/scep/challenge 0.005s ? github.com/micromdm/scep/challenge/bolt [no test files] ? github.com/micromdm/scep/client [no test files] ? github.com/micromdm/scep/cmd/scepclient [no test files] @@ -892,11 +910,11 @@ --- PASS: TestGenerateSubjectKeyID (0.00s) --- PASS: TestGenerateSubjectKeyID/RSA (0.00s) PASS -ok github.com/micromdm/scep/cryptoutil 0.031s +ok github.com/micromdm/scep/cryptoutil 0.004s === RUN TestCreateCertificateRequest ---- PASS: TestCreateCertificateRequest (0.63s) +--- PASS: TestCreateCertificateRequest (0.04s) PASS -ok github.com/micromdm/scep/cryptoutil/x509util 0.648s +ok github.com/micromdm/scep/cryptoutil/x509util 0.054s ? github.com/micromdm/scep/csrverifier [no test files] ? github.com/micromdm/scep/csrverifier/executable [no test files] ? github.com/micromdm/scep/depot [no test files] @@ -907,11 +925,11 @@ === RUN TestDepot_incrementSerial --- PASS: TestDepot_incrementSerial (0.00s) === RUN TestDepot_CreateOrLoadKey ---- PASS: TestDepot_CreateOrLoadKey (0.21s) +--- PASS: TestDepot_CreateOrLoadKey (0.04s) === RUN TestDepot_CreateOrLoadCA ---- PASS: TestDepot_CreateOrLoadCA (0.38s) +--- PASS: TestDepot_CreateOrLoadCA (0.04s) PASS -ok github.com/micromdm/scep/depot/bolt 0.636s +ok github.com/micromdm/scep/depot/bolt 0.100s ? github.com/micromdm/scep/depot/file [no test files] === RUN TestFingerprintCertsSelector === RUN TestFingerprintCertsSelector/null_SHA-256_hash @@ -950,11 +968,11 @@ === RUN TestParsePKIEnvelopeCert_MissingCertificatesForSigners --- PASS: TestParsePKIEnvelopeCert_MissingCertificatesForSigners (0.00s) === RUN TestDecryptPKIEnvelopeCSR ---- PASS: TestDecryptPKIEnvelopeCSR (0.07s) +--- PASS: TestDecryptPKIEnvelopeCSR (0.03s) === RUN TestDecryptPKIEnvelopeCert --- PASS: TestDecryptPKIEnvelopeCert (0.00s) === RUN TestSignCSR ---- PASS: TestSignCSR (0.37s) +--- PASS: TestSignCSR (0.11s) === RUN TestNewCSRRequest === RUN TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector === PAUSE TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector @@ -966,21 +984,21 @@ === PAUSE TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector === CONT TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector === CONT TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector -=== CONT TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector === CONT TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector +=== CONT TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector --- PASS: TestNewCSRRequest (0.00s) - --- PASS: TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector (2.83s) - --- PASS: TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector (3.12s) - --- PASS: TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector (3.56s) - --- PASS: TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector (4.36s) + --- PASS: TestNewCSRRequest/KeyEncipherment_is_set_with_Encipherment_certificates_selector (0.91s) + --- PASS: TestNewCSRRequest/KeyEncipherment_not_set_with_NOP_certificates_selector (1.19s) + --- PASS: TestNewCSRRequest/KeyEncipherment_not_set_with_Encipherment_certificates_selector (1.27s) + --- PASS: TestNewCSRRequest/KeyEncipherment_is_set_with_NOP_certificates_selector (2.05s) PASS -ok github.com/micromdm/scep/scep 4.846s +ok github.com/micromdm/scep/scep 2.210s === RUN TestChallengeMiddleware --- PASS: TestChallengeMiddleware (0.00s) === RUN TestCaCert ---- PASS: TestCaCert (1.42s) +--- PASS: TestCaCert (2.14s) === RUN TestCACaps ---- PASS: TestCACaps (0.01s) +--- PASS: TestCACaps (0.00s) === RUN TestEncodePKCSReq_Request === RUN TestEncodePKCSReq_Request/POST === RUN TestEncodePKCSReq_Request/GET @@ -990,11 +1008,11 @@ === RUN TestGetCACertMessage --- PASS: TestGetCACertMessage (0.00s) === RUN TestPKIOperation ---- PASS: TestPKIOperation (0.10s) +--- PASS: TestPKIOperation (0.07s) === RUN TestPKIOperationGET ---- PASS: TestPKIOperationGET (0.10s) +--- PASS: TestPKIOperationGET (0.07s) PASS -ok github.com/micromdm/scep/server 1.652s +ok github.com/micromdm/scep/server 2.282s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1033,8 +1051,8 @@ dpkg-gencontrol: warning: package scep: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'scep' in '../scep_2.1.0-3_arm64.deb'. dpkg-deb: building package 'golang-github-micromdm-scep-dev' in '../golang-github-micromdm-scep-dev_2.1.0-3_all.deb'. +dpkg-deb: building package 'scep' in '../scep_2.1.0-3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-micromdm-scep_2.1.0-3_arm64.buildinfo dpkg-genchanges --build=binary -O../golang-github-micromdm-scep_2.1.0-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1042,12 +1060,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/7721/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7721/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/25828 and its subdirectories -I: Current time: Sat May 11 11:24:25 -12 2024 -I: pbuilder-time-stamp: 1715469865 +I: removing directory /srv/workspace/pbuilder/7721 and its subdirectories +I: Current time: Mon Apr 10 07:03:07 +14 2023 +I: pbuilder-time-stamp: 1681059787