Diff of the two buildlogs: -- --- b1/build.log 2024-06-20 00:14:18.787186679 +0000 +++ b2/build.log 2024-06-20 00:17:09.287944475 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 19 12:11:11 -12 2024 -I: pbuilder-time-stamp: 1718842271 +I: Current time: Thu Jun 20 14:14:29 +14 2024 +I: pbuilder-time-stamp: 1718842469 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/21496/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1413/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 Jun 20 00:14 /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/1413/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1413/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='unstable' - 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='fe9b514e83c145d8a0787eff92e42be9' - 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='21496' - PS1='# ' - PS2='> ' + INVOCATION_ID=c139ed8395a74d16a6eb2d4d3246024c + 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=1413 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.GsqIDYJK/pbuilderrc_Ln6r --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GsqIDYJK/b1 --logfile b1/build.log golang-github-juju-gomaasapi_2.2.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.GsqIDYJK/pbuilderrc_O39C --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GsqIDYJK/b2 --logfile b2/build.log golang-github-juju-gomaasapi_2.2.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-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21496/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1413/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -197,7 +229,7 @@ Get: 66 http://deb.debian.org/debian unstable/main armhf golang-gopkg-mgo.v2-dev all 2016.08.01-7 [316 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf golang-gopkg-yaml.v3-dev all 3.0.1-3 [74.3 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf golang-github-juju-version-dev all 2.0.1-1 [14.7 kB] -Fetched 71.3 MB in 1s (53.6 MB/s) +Fetched 71.3 MB in 1s (81.2 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 ... 19419 files and directories currently installed.) @@ -484,7 +516,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/1413/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1413/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 @@ -502,19 +538,19 @@ 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/juju/gomaasapi github.com/juju/gomaasapi/templates -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates internal/goarch +internal/unsafeheader internal/cpu +internal/godebugs internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/godebugs internal/goexperiment internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race @@ -522,13 +558,13 @@ unicode unicode/utf8 math/bits -math -runtime crypto/internal/alias internal/itoa crypto/internal/boring/sig +math cmp slices +runtime encoding unicode/utf16 internal/nettrace @@ -540,146 +576,146 @@ crypto/subtle internal/reflectlite sync -internal/testlog -internal/bisect internal/singleflight +internal/bisect +internal/testlog runtime/cgo +internal/godebug errors -io sort +math/rand +io +internal/oserror +strconv +syscall bytes strings hash -strconv -bufio -crypto/internal/randutil -internal/oserror -syscall crypto +bufio reflect +crypto/internal/randutil internal/safefilepath path -internal/godebug +github.com/juju/collections/set +regexp/syntax internal/syscall/unix time internal/syscall/execenv -math/rand -github.com/juju/collections/set -regexp/syntax -encoding/binary -internal/fmtsort +regexp +vendor/golang.org/x/net/dns/dnsmessage +internal/intern internal/poll io/fs +encoding/binary +internal/fmtsort +context +os +net/netip +hash/crc32 crypto/cipher encoding/base64 crypto/internal/boring -regexp -os crypto/md5 -context -vendor/golang.org/x/net/dns/dnsmessage -internal/intern -net/netip +crypto/aes +crypto/des +crypto/internal/edwards25519/field +crypto/sha512 +crypto/internal/nistec/fiat +crypto/internal/edwards25519 +crypto/hmac fmt path/filepath io/ioutil net -hash/crc32 -crypto/aes -crypto/des -math/big +crypto/rc4 +crypto/sha1 encoding/json +math/big github.com/juju/errors github.com/juju/loggo -crypto/rand net/url +crypto/rand encoding/hex gopkg.in/mgo.v2/internal/json github.com/juju/schema mime mime/quotedprintable compress/flate -gopkg.in/mgo.v2/bson +crypto/internal/nistec compress/gzip -crypto/internal/edwards25519/field -crypto/internal/nistec/fiat -github.com/juju/version +gopkg.in/mgo.v2/bson crypto/internal/bigmod +crypto/ecdh +crypto/elliptic crypto/internal/boring/bbig -crypto/sha512 encoding/asn1 -vendor/golang.org/x/crypto/cryptobyte -crypto/internal/nistec -net/textproto -crypto/internal/edwards25519 -mime/multipart crypto/ed25519 -crypto/hmac -crypto/rc4 -crypto/ecdh -crypto/elliptic crypto/rsa -crypto/sha1 +vendor/golang.org/x/crypto/cryptobyte crypto/sha256 -crypto/ecdsa +github.com/juju/version crypto/dsa crypto/x509/pkix +crypto/ecdsa encoding/pem vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/transform -crypto/x509 log +vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule -vendor/golang.org/x/net/http2/hpack net/http/internal -vendor/golang.org/x/net/idna net/http/internal/ascii flag -crypto/tls +vendor/golang.org/x/text/secure/bidirule net/http/internal/testcert text/template/parse -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy +vendor/golang.org/x/net/idna +net/textproto +crypto/x509 text/template +vendor/golang.org/x/net/http/httpproxy +mime/multipart +vendor/golang.org/x/net/http/httpguts +crypto/tls net/http/httptrace net/http net/http/httptest github.com/juju/gomaasapi dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates + cd _build && go test -vet=off -v -p 4 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates === RUN Test -2024/06/20 00:14:02 http: panic serving 127.0.0.1:46804: invalid WriteHeader code 0 -goroutine 208 [running]: +2024/06/20 00:16:50 http: panic serving 127.0.0.1:60382: invalid WriteHeader code 0 +goroutine 219 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xe4 -panic({0x58af58, 0x1a70678}) +panic({0x58af58, 0x22de2e8}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0xfc net/http.checkWriteHeaderCode(...) /usr/lib/go-1.22/src/net/http/server.go:1126 -net/http.(*response).WriteHeader(0x1a92aa8, 0x0) +net/http.(*response).WriteHeader(0x219f228, 0x0) /usr/lib/go-1.22/src/net/http/server.go:1160 +0x838 -github.com/juju/gomaasapi.newSingleServingServer.func1({0x6d5b68, 0x1a92aa8}, 0x1a92a08) +github.com/juju/gomaasapi.newSingleServingServer.func1({0x6d5b68, 0x219f228}, 0x219f188) /build/reproducible-path/golang-github-juju-gomaasapi-2.2.0/_build/src/github.com/juju/gomaasapi/testing.go:41 +0x27c -net/http.HandlerFunc.ServeHTTP(0x19b15f0, {0x6d5b68, 0x1a92aa8}, 0x1a92a08) +net/http.HandlerFunc.ServeHTTP(0x2197050, {0x6d5b68, 0x219f228}, 0x219f188) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0x1ae41e8}, {0x6d5b68, 0x1a92aa8}, 0x1a92a08) +net/http.serverHandler.ServeHTTP({0x219efa8}, {0x6d5b68, 0x219f228}, 0x219f188) /usr/lib/go-1.22/src/net/http/server.go:3137 +0xe0 -net/http.(*conn).serve(0x1906a20, {0x6d6470, 0x18b4888}) +net/http.(*conn).serve(0x22ca5a0, {0x6d6470, 0x211ac30}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x61c -created by net/http.(*Server).Serve in goroutine 214 +created by net/http.(*Server).Serve in goroutine 216 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x468 OK: 388 passed ---- PASS: Test (3.09s) +--- PASS: Test (3.84s) PASS -ok github.com/juju/gomaasapi 3.104s +ok github.com/juju/gomaasapi 3.870s testing: warning: no tests to run PASS -ok github.com/juju/gomaasapi/templates 0.004s [no tests to run] +ok github.com/juju/gomaasapi/templates 0.009s [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 @@ -706,12 +742,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/1413/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1413/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/21496 and its subdirectories -I: Current time: Wed Jun 19 12:14:14 -12 2024 -I: pbuilder-time-stamp: 1718842454 +I: removing directory /srv/workspace/pbuilder/1413 and its subdirectories +I: Current time: Thu Jun 20 14:17:05 +14 2024 +I: pbuilder-time-stamp: 1718842625