Diff of the two buildlogs: -- --- b1/build.log 2023-04-26 17:06:49.130433018 +0000 +++ b2/build.log 2023-04-26 17:09:38.194932252 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 26 05:04:59 -12 2023 -I: pbuilder-time-stamp: 1682528699 +I: Current time: Wed May 29 13:29:53 +14 2024 +I: pbuilder-time-stamp: 1716938993 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-juju-gomaasapi_2.0.0.orig.tar.gz] I: copying [./golang-github-juju-gomaasapi_2.0.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Aug 12 05:41:41 2022 -12 +gpgv: Signature made Sat Aug 13 07:41:41 2022 +14 gpgv: using RSA key D41A7AD07DF6C5FCA7489F1C29EEE2D6ECF442F9 gpgv: issuer "mathias@calenhad.com" gpgv: Can't check signature: No public key @@ -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/28655/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28484/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-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 May 29 13: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/28484/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28484/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' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='28655' - PS1='# ' - PS2='> ' + 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=28484 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.Y7KcBooh/pbuilderrc_mOx7 --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.Y7KcBooh/b1 --logfile b1/build.log golang-github-juju-gomaasapi_2.0.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.Y7KcBooh/pbuilderrc_OoG3 --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.Y7KcBooh/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-juju-gomaasapi_2.0.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink10-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 25 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28655/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 29 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/28484/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -189,7 +221,7 @@ Get: 58 http://deb.debian.org/debian bookworm/main arm64 golang-gopkg-mgo.v2-dev all 2016.08.01-7 [316 kB] Get: 59 http://deb.debian.org/debian bookworm/main arm64 golang-gopkg-yaml.v3-dev all 3.0.1-3 [74.3 kB] Get: 60 http://deb.debian.org/debian bookworm/main arm64 golang-github-juju-version-dev all 2.0.1-1 [14.7 kB] -Fetched 94.9 MB in 3s (36.3 MB/s) +Fetched 94.9 MB in 2s (56.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19616 files and directories currently installed.) @@ -443,8 +475,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-juju-gomaasapi-2.0.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.0.0-1_source.changes +I: user script /srv/workspace/pbuilder/28484/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/28484/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-juju-gomaasapi-2.0.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.0.0-1_source.changes dpkg-buildpackage: info: source package golang-github-juju-gomaasapi dpkg-buildpackage: info: source version 2.0.0-1 dpkg-buildpackage: info: source distribution unstable @@ -463,33 +504,33 @@ 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 8 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates -internal/unsafeheader internal/goarch -internal/race -internal/goexperiment +internal/unsafeheader internal/goos -runtime/internal/syscall +internal/goexperiment +internal/race internal/cpu -sync/atomic -unicode/utf8 -math/bits +runtime/internal/syscall runtime/internal/math -internal/abi +sync/atomic unicode runtime/internal/sys +unicode/utf8 +internal/abi +math/bits crypto/internal/subtle crypto/subtle -internal/bytealg internal/itoa -runtime/internal/atomic crypto/internal/boring/sig -math encoding unicode/utf16 internal/nettrace +internal/bytealg +runtime/internal/atomic container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle +math github.com/juju/gomaasapi/templates runtime internal/reflectlite @@ -500,102 +541,102 @@ runtime/cgo errors sort -io internal/oserror internal/safefilepath path vendor/golang.org/x/net/dns/dnsmessage strconv +io syscall crypto/internal/nistec/fiat github.com/juju/collections/set -strings bytes +strings hash crypto/internal/randutil hash/crc32 crypto reflect crypto/rc4 -vendor/golang.org/x/text/transform -bufio -regexp/syntax net/http/internal/ascii +regexp/syntax +bufio +vendor/golang.org/x/text/transform net/http/internal/testcert internal/syscall/unix internal/syscall/execenv time regexp io/fs -context internal/poll +context embed -internal/fmtsort -encoding/binary os +encoding/binary +internal/fmtsort +crypto/cipher encoding/base64 crypto/md5 -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/curve25519/internal/field -crypto/cipher crypto/internal/edwards25519/field +vendor/golang.org/x/crypto/internal/poly1305 crypto/internal/nistec +vendor/golang.org/x/crypto/curve25519/internal/field encoding/pem +fmt +path/filepath +io/ioutil +internal/godebug crypto/internal/edwards25519 crypto/internal/boring +internal/intern crypto/des -vendor/golang.org/x/crypto/chacha20 crypto/aes crypto/sha512 crypto/hmac -fmt -path/filepath -io/ioutil -internal/godebug -internal/intern +net/netip crypto/sha1 crypto/sha256 -vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/hkdf -net/netip -github.com/juju/loggo -encoding/hex +vendor/golang.org/x/crypto/chacha20poly1305 +net encoding/json -gopkg.in/mgo.v2/internal/json -math/big github.com/juju/errors net/url +encoding/hex +github.com/juju/loggo +gopkg.in/mgo.v2/internal/json +math/big mime mime/quotedprintable -net compress/flate -vendor/golang.org/x/crypto/curve25519 github.com/juju/schema +vendor/golang.org/x/crypto/curve25519 log vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/net/http2/hpack compress/gzip +vendor/golang.org/x/net/http2/hpack net/http/internal flag text/template/parse vendor/golang.org/x/text/secure/bidirule -crypto/internal/boring/bbig +vendor/golang.org/x/net/idna crypto/rand crypto/elliptic +crypto/internal/boring/bbig encoding/asn1 crypto/dsa -vendor/golang.org/x/net/idna -crypto/ed25519 gopkg.in/mgo.v2/bson crypto/rsa +crypto/ed25519 +text/template vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -text/template crypto/ecdsa github.com/juju/version -vendor/golang.org/x/net/http/httpproxy net/textproto +vendor/golang.org/x/net/http/httpproxy crypto/x509 mime/multipart vendor/golang.org/x/net/http/httpguts @@ -607,33 +648,33 @@ dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 8 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates === RUN Test -2023/04/26 05:06:36 http: panic serving 127.0.0.1:55804: invalid WriteHeader code 0 -goroutine 183 [running]: +2024/05/29 13:32:22 http: panic serving 127.0.0.1:36030: invalid WriteHeader code 0 +goroutine 221 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.19/src/net/http/server.go:1850 +0xb8 -panic({0x88ed80, 0x40002350c0}) +panic({0x88ed80, 0x40003181b0}) /usr/lib/go-1.19/src/runtime/panic.go:890 +0x260 net/http.checkWriteHeaderCode(...) /usr/lib/go-1.19/src/net/http/server.go:1116 -net/http.(*response).WriteHeader(0x40001b30a0, 0x0) +net/http.(*response).WriteHeader(0x40001b2ee0, 0x0) /usr/lib/go-1.19/src/net/http/server.go:1150 +0x8d0 -github.com/juju/gomaasapi.newSingleServingServer.func1({0xa23448, 0x40001b30a0}, 0x400026f200) +github.com/juju/gomaasapi.newSingleServingServer.func1({0xa23448, 0x40001b2ee0}, 0x400031e500) /build/golang-github-juju-gomaasapi-2.0.0/_build/src/github.com/juju/gomaasapi/testing.go:41 +0x1d0 -net/http.HandlerFunc.ServeHTTP(0x0?, {0xa23448?, 0x40001b30a0?}, 0x72e8f8?) +net/http.HandlerFunc.ServeHTTP(0x0?, {0xa23448?, 0x40001b2ee0?}, 0x72e8f8?) /usr/lib/go-1.19/src/net/http/server.go:2109 +0x38 -net/http.serverHandler.ServeHTTP({0x4000263b60?}, {0xa23448, 0x40001b30a0}, 0x400026f200) +net/http.serverHandler.ServeHTTP({0x4000302e40?}, {0xa23448, 0x40001b2ee0}, 0x400031e500) /usr/lib/go-1.19/src/net/http/server.go:2947 +0x2cc -net/http.(*conn).serve(0x400028e500, {0xa23a80, 0x4000263a40}) +net/http.(*conn).serve(0x40003b8280, {0xa23a80, 0x4000302d20}) /usr/lib/go-1.19/src/net/http/server.go:1991 +0x544 created by net/http.(*Server).Serve /usr/lib/go-1.19/src/net/http/server.go:3102 +0x43c OK: 383 passed ---- PASS: Test (2.99s) +--- PASS: Test (3.71s) PASS -ok github.com/juju/gomaasapi 3.008s +ok github.com/juju/gomaasapi 3.732s testing: warning: no tests to run PASS -ok github.com/juju/gomaasapi/templates 0.013s [no tests to run] +ok github.com/juju/gomaasapi/templates 0.042s [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 @@ -660,12 +701,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/28484/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28484/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/28655 and its subdirectories -I: Current time: Wed Apr 26 05:06:47 -12 2023 -I: pbuilder-time-stamp: 1682528807 +I: removing directory /srv/workspace/pbuilder/28484 and its subdirectories +I: Current time: Wed May 29 13:32:37 +14 2024 +I: pbuilder-time-stamp: 1716939157