Diff of the two buildlogs: -- --- b1/build.log 2025-02-03 18:43:29.058478862 +0000 +++ b2/build.log 2025-02-03 18:46:30.706284827 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Feb 3 06:37:53 -12 2025 -I: pbuilder-time-stamp: 1738607873 +I: Current time: Tue Feb 4 08:43:38 +14 2025 +I: pbuilder-time-stamp: 1738608218 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking golang-github-kong-go-kong_0.15.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/18901/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11577/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +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 3 18:43 /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/11577/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11577/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='trixie' - 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]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8d0ca5c8b06743b9af9c1db3cb988d86' - 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='18901' - PS1='# ' - PS2='> ' + INVOCATION_ID=8ae90e30e63b4a0f952a04bce738f6e7 + 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=11577 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.aW2XfuhI/pbuilderrc_Wene --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.aW2XfuhI/b1 --logfile b1/build.log golang-github-kong-go-kong_0.15.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - 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.aW2XfuhI/pbuilderrc_qpvh --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.aW2XfuhI/b2 --logfile b2/build.log golang-github-kong-go-kong_0.15.0-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 virt64b 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/18901/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/11577/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -177,7 +209,7 @@ Get: 58 http://deb.debian.org/debian trixie/main armhf golang-github-stretchr-objx-dev all 0.5.2-1 [25.5 kB] Get: 59 http://deb.debian.org/debian trixie/main armhf golang-gopkg-yaml.v3-dev all 3.0.1-3 [74.3 kB] Get: 60 http://deb.debian.org/debian trixie/main armhf golang-github-stretchr-testify-dev all 1.9.0-1 [74.7 kB] -Fetched 72.0 MB in 10s (7273 kB/s) +Fetched 72.0 MB in 6s (11.6 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (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 ... 19569 files and directories currently installed.) @@ -432,7 +464,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-kong-go-kong-0.15.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-kong-go-kong_0.15.0-1_source.changes +I: user script /srv/workspace/pbuilder/11577/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/11577/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-kong-go-kong-0.15.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-kong-go-kong_0.15.0-1_source.changes dpkg-buildpackage: info: source package golang-github-kong-go-kong dpkg-buildpackage: info: source version 0.15.0-1 dpkg-buildpackage: info: source distribution unstable @@ -450,63 +486,64 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/kong/go-kong/kong github.com/kong/go-kong/kong/custom -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/kong/go-kong/kong github.com/kong/go-kong/kong/custom internal/goarch +internal/unsafeheader internal/byteorder -internal/cpu +internal/coverage/rtcov internal/abi +internal/cpu internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math -internal/runtime/exithook +internal/stringslite runtime/internal/sys internal/race +internal/runtime/exithook sync/atomic unicode unicode/utf8 internal/asan internal/itoa -runtime internal/msan cmp encoding math/bits -math unicode/utf16 container/list +math crypto/internal/alias crypto/internal/boring/sig +runtime vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias internal/nettrace log/internal -iter internal/reflectlite sync -slices crypto/subtle +iter internal/weak +slices maps +internal/singleflight internal/testlog internal/bisect -internal/singleflight +runtime/cgo errors sort io -internal/godebug internal/oserror +internal/godebug syscall -bytes strconv +bytes path strings reflect @@ -517,53 +554,58 @@ regexp github.com/kong/go-kong/kong/custom bufio +hash context io/fs internal/poll -internal/filepathlite -encoding/binary -internal/fmtsort -os -hash hash/crc32 crypto -encoding/base64 crypto/cipher +internal/filepathlite crypto/internal/randutil +os math/rand crypto/internal/boring crypto/aes crypto/des +encoding/binary +internal/fmtsort crypto/internal/edwards25519/field crypto/internal/nistec/fiat crypto/sha512 crypto/internal/edwards25519 +encoding/base64 fmt io/ioutil crypto/hmac vendor/golang.org/x/crypto/chacha20 -encoding/json -net/url -github.com/google/go-querystring/query -github.com/pkg/errors -compress/flate -compress/gzip -math/big -crypto/internal/nistec vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/sys/cpu -vendor/golang.org/x/crypto/sha3 -crypto/ecdh crypto/md5 +vendor/golang.org/x/crypto/sha3 crypto/rc4 crypto/sha1 crypto/sha256 +encoding/json +net/url +github.com/pkg/errors +compress/flate +github.com/google/go-querystring/query +math/big +compress/gzip +crypto/internal/nistec encoding/hex encoding/pem vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 +internal/concurrent +unique +crypto/ecdh +net/netip +path/filepath +vendor/golang.org/x/text/transform crypto/rand crypto/elliptic crypto/internal/bigmod @@ -574,29 +616,23 @@ crypto/internal/mlkem768 crypto/rsa crypto/dsa -internal/concurrent -runtime/cgo -unique -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -net/netip -crypto/ecdsa -path/filepath -vendor/golang.org/x/text/transform +net log vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/crypto/cryptobyte +crypto/ecdsa +crypto/x509/pkix vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack -net mime vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal net/http/internal/ascii net/textproto -crypto/x509 vendor/golang.org/x/net/http/httpproxy +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -607,7 +643,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-kong-go-kong-0.15.0' dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/kong/go-kong/kong github.com/kong/go-kong/kong/custom + cd _build && go test -vet=off -v -p 4 github.com/kong/go-kong/kong github.com/kong/go-kong/kong/custom === RUN TestACLGroupCreate acl_service_test.go:39: Error Trace: /build/reproducible-path/golang-github-kong-go-kong-0.15.0/_build/src/github.com/kong/go-kong/kong/acl_service_test.go:39 @@ -622,20 +658,20 @@ panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x355d64] -goroutine 22 [running]: +goroutine 7 [running]: testing.tRunner.func1.2({0x3c42a0, 0x6805a0}) /usr/lib/go-1.23/src/testing/testing.go:1632 +0x254 testing.tRunner.func1() /usr/lib/go-1.23/src/testing/testing.go:1635 +0x3d4 panic({0x3c42a0, 0x6805a0}) /usr/lib/go-1.23/src/runtime/panic.go:785 +0xfc -github.com/kong/go-kong/kong.TestACLGroupCreate(0x1902108) +github.com/kong/go-kong/kong.TestACLGroupCreate(0x1cc4108) /build/reproducible-path/golang-github-kong-go-kong-0.15.0/_build/src/github.com/kong/go-kong/kong/acl_service_test.go:45 +0x460 -testing.tRunner(0x1902108, 0x425c04) +testing.tRunner(0x1cc4108, 0x425c04) /usr/lib/go-1.23/src/testing/testing.go:1690 +0x124 created by testing.(*T).Run in goroutine 1 /usr/lib/go-1.23/src/testing/testing.go:1743 +0x3d4 -FAIL github.com/kong/go-kong/kong 0.014s +FAIL github.com/kong/go-kong/kong 0.032s === RUN TestRender --- PASS: TestRender (0.00s) === RUN TestEntityCRUDDefinition @@ -645,9 +681,9 @@ === RUN TestDefaultRegistry --- PASS: TestDefaultRegistry (0.00s) PASS -ok github.com/kong/go-kong/kong/custom 0.009s +ok github.com/kong/go-kong/kong/custom 0.027s FAIL -dh_auto_test: error: cd _build && go test -vet=off -v -p 3 github.com/kong/go-kong/kong github.com/kong/go-kong/kong/custom returned exit code 1 +dh_auto_test: error: cd _build && go test -vet=off -v -p 4 github.com/kong/go-kong/kong github.com/kong/go-kong/kong/custom returned exit code 1 make[1]: [debian/rules:9: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/golang-github-kong-go-kong-0.15.0' create-stamp debian/debhelper-build-stamp @@ -676,12 +712,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/11577/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11577/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/18901 and its subdirectories -I: Current time: Mon Feb 3 06:43:25 -12 2025 -I: pbuilder-time-stamp: 1738608205 +I: removing directory /srv/workspace/pbuilder/11577 and its subdirectories +I: Current time: Tue Feb 4 08:46:27 +14 2025 +I: pbuilder-time-stamp: 1738608387