Diff of the two buildlogs: -- --- b1/build.log 2024-04-27 20:30:27.286000258 +0000 +++ b2/build.log 2024-04-27 20:32:51.871842094 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 30 14:51:33 -12 2025 -I: pbuilder-time-stamp: 1748659893 +I: Current time: Sun Apr 28 10:30:30 +14 2024 +I: pbuilder-time-stamp: 1714249830 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying 000-change-mgo-import.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2215953/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2452027/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 Apr 27 20:30 /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/2452027/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2452027/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='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='626809b62e1448ab80376942aa5cd648' - 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='2215953' - PS1='# ' - PS2='> ' + INVOCATION_ID=47d0483491764085bb06b66a9d94c56b + 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=2452027 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.b5fOGQSy/pbuilderrc_2Dyg --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.b5fOGQSy/b1 --logfile b1/build.log golang-github-juju-gomaasapi_2.2.0-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.b5fOGQSy/pbuilderrc_gSxb --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.b5fOGQSy/b2 --logfile b2/build.log golang-github-juju-gomaasapi_2.2.0-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 codethink01-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2215953/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2452027/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -228,7 +260,7 @@ Get: 68 http://deb.debian.org/debian trixie/main arm64 golang-gopkg-mgo.v2-dev all 2016.08.01-7 [316 kB] Get: 69 http://deb.debian.org/debian trixie/main arm64 golang-gopkg-yaml.v3-dev all 3.0.1-3 [74.3 kB] Get: 70 http://deb.debian.org/debian trixie/main arm64 golang-github-juju-version-dev all 2.0.1-1 [14.7 kB] -Fetched 74.5 MB in 1s (108 MB/s) +Fetched 74.5 MB in 1s (72.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). @@ -530,7 +562,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-juju-gomaasapi-2.2.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-juju-gomaasapi_2.2.0-1_source.changes +I: user script /srv/workspace/pbuilder/2452027/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2452027/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-juju-gomaasapi-2.2.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-juju-gomaasapi_2.2.0-1_source.changes dpkg-buildpackage: info: source package golang-github-juju-gomaasapi dpkg-buildpackage: info: source version 2.2.0-1 dpkg-buildpackage: info: source distribution unstable @@ -550,39 +586,39 @@ dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates internal/godebugs -internal/goos -internal/race +internal/goarch unicode -internal/unsafeheader unicode/utf8 internal/coverage/rtcov +internal/unsafeheader +internal/goos +internal/race math/bits -internal/goarch -runtime/internal/syscall -crypto/subtle -sync/atomic -crypto/internal/alias internal/goexperiment -internal/abi +crypto/internal/alias internal/cpu -internal/chacha8rand runtime/internal/math +sync/atomic runtime/internal/sys -math +crypto/subtle +runtime/internal/syscall +internal/chacha8rand +internal/abi internal/itoa crypto/internal/boring/sig cmp +math encoding unicode/utf16 slices internal/nettrace container/list -vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias -log/internal -github.com/juju/gomaasapi/templates +vendor/golang.org/x/crypto/cryptobyte/asn1 internal/bytealg runtime/internal/atomic +log/internal +github.com/juju/gomaasapi/templates runtime internal/reflectlite sync @@ -590,29 +626,29 @@ internal/bisect internal/singleflight runtime/cgo +internal/godebug errors sort -internal/godebug -io -internal/oserror +math/rand +internal/intern strconv +io bytes -crypto/internal/nistec/fiat +path strings +vendor/golang.org/x/net/dns/dnsmessage hash +internal/oserror crypto/internal/randutil -syscall -github.com/juju/collections/set internal/safefilepath -path -vendor/golang.org/x/net/dns/dnsmessage -math/rand +github.com/juju/collections/set +syscall +crypto/internal/nistec/fiat +hash/crc32 crypto reflect -internal/intern -hash/crc32 -crypto/rc4 net/netip +crypto/rc4 vendor/golang.org/x/text/transform bufio regexp/syntax @@ -622,54 +658,54 @@ internal/syscall/unix time internal/syscall/execenv -io/fs -internal/poll -context -embed encoding/binary internal/fmtsort -os crypto/cipher encoding/base64 crypto/md5 crypto/internal/edwards25519/field -crypto/internal/nistec vendor/golang.org/x/crypto/internal/poly1305 +encoding/pem crypto/internal/boring crypto/des -encoding/pem vendor/golang.org/x/crypto/chacha20 -crypto/aes +internal/poll +io/fs +context crypto/sha512 +crypto/aes +crypto/internal/edwards25519 crypto/hmac crypto/sha1 crypto/sha256 -crypto/internal/edwards25519 -fmt -path/filepath -io/ioutil vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 -net +embed +crypto/internal/nistec +os crypto/ecdh +path/filepath +fmt +io/ioutil +net math/big encoding/json github.com/juju/errors -net/url encoding/hex -mime -mime/quotedprintable compress/flate +mime +net/url log +mime/quotedprintable gopkg.in/mgo.v2/internal/json github.com/juju/loggo vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/text/unicode/bidi -github.com/juju/schema net/http/internal +vendor/golang.org/x/text/unicode/bidi flag text/template/parse +github.com/juju/schema compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna @@ -687,9 +723,9 @@ crypto/x509/pkix crypto/ecdsa github.com/juju/version +net/textproto crypto/x509 vendor/golang.org/x/net/http/httpproxy -net/textproto mime/multipart vendor/golang.org/x/net/http/httpguts crypto/tls @@ -700,33 +736,33 @@ dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 12 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates === RUN Test -2025/05/31 02:53:10 http: panic serving 127.0.0.1:37914: invalid WriteHeader code 0 -goroutine 210 [running]: +2024/04/27 20:32:39 http: panic serving 127.0.0.1:45640: invalid WriteHeader code 0 +goroutine 202 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xb0 -panic({0x8c1c80?, 0x400032e4a0?}) +panic({0x8c1c80?, 0x4000330490?}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x124 net/http.checkWriteHeaderCode(...) /usr/lib/go-1.22/src/net/http/server.go:1126 -net/http.(*response).WriteHeader(0x4000324620, 0x0) +net/http.(*response).WriteHeader(0x4000326620, 0x0) /usr/lib/go-1.22/src/net/http/server.go:1160 +0x7cc -github.com/juju/gomaasapi.newSingleServingServer.func1({0xa65fd0, 0x4000324620}, 0x4000313c20) +github.com/juju/gomaasapi.newSingleServingServer.func1({0xa65fd0, 0x4000326620}, 0x4000315b00) /build/reproducible-path/golang-github-juju-gomaasapi-2.2.0/_build/src/github.com/juju/gomaasapi/testing.go:41 +0x14c -net/http.HandlerFunc.ServeHTTP(0x0?, {0xa65fd0?, 0x4000324620?}, 0x4000082b50?) +net/http.HandlerFunc.ServeHTTP(0x0?, {0xa65fd0?, 0x4000326620?}, 0x4000085b50?) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x38 -net/http.serverHandler.ServeHTTP({0x4000327110?}, {0xa65fd0?, 0x4000324620?}, 0x6?) +net/http.serverHandler.ServeHTTP({0x4000329110?}, {0xa65fd0?, 0x4000326620?}, 0x6?) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xbc -net/http.(*conn).serve(0x4000315710, {0xa67268, 0x4000326ff0}) +net/http.(*conn).serve(0x4000313680, {0xa67268, 0x4000328ff0}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x508 -created by net/http.(*Server).Serve in goroutine 207 +created by net/http.(*Server).Serve in goroutine 199 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x3f0 OK: 388 passed ---- PASS: Test (8.81s) +--- PASS: Test (4.22s) PASS -ok github.com/juju/gomaasapi 8.880s +ok github.com/juju/gomaasapi 4.292s testing: warning: no tests to run PASS -ok github.com/juju/gomaasapi/templates 0.036s [no tests to run] +ok github.com/juju/gomaasapi/templates 0.048s [no tests to run] create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -753,12 +789,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/2452027/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2452027/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/2215953 and its subdirectories -I: Current time: Fri May 30 14:53:25 -12 2025 -I: pbuilder-time-stamp: 1748660005 +I: removing directory /srv/workspace/pbuilder/2452027 and its subdirectories +I: Current time: Sun Apr 28 10:32:50 +14 2024 +I: pbuilder-time-stamp: 1714249970