Diff of the two buildlogs: -- --- b1/build.log 2024-04-21 11:21:24.318348009 +0000 +++ b2/build.log 2024-04-21 11:23:53.200011378 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 24 05:43:27 -12 2025 -I: pbuilder-time-stamp: 1748108607 +I: Current time: Mon Apr 22 01:21:27 +14 2024 +I: pbuilder-time-stamp: 1713698487 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ 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/4622/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26821/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 21 11:21 /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/26821/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26821/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='3e76c62615e5478fa38fdb57bdeb533f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='4622' - PS1='# ' - PS2='> ' + INVOCATION_ID=b56ccc69cea84126b458b6a7816ce00e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=26821 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.zyF4hVuR/pbuilderrc_XmR5 --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.zyF4hVuR/b1 --logfile b1/build.log golang-github-juju-gomaasapi_2.2.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.zyF4hVuR/pbuilderrc_ZLBG --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.zyF4hVuR/b2 --logfile b2/build.log golang-github-juju-gomaasapi_2.2.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4622/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:12 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/26821/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -201,7 +233,7 @@ Get: 67 http://deb.debian.org/debian trixie/main i386 golang-gopkg-mgo.v2-dev all 2016.08.01-7 [316 kB] Get: 68 http://deb.debian.org/debian trixie/main i386 golang-gopkg-yaml.v3-dev all 3.0.1-3 [74.3 kB] Get: 69 http://deb.debian.org/debian trixie/main i386 golang-github-juju-version-dev all 2.0.1-1 [14.7 kB] -Fetched 73.5 MB in 3s (28.4 MB/s) +Fetched 73.5 MB in 2s (48.3 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 ... 19874 files and directories currently installed.) @@ -492,7 +524,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/26821/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/26821/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 @@ -510,136 +546,136 @@ 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 22 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates -internal/race -container/list -internal/godebugs -internal/nettrace + cd _build && go install -trimpath -v -p 10 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates internal/goarch internal/coverage/rtcov +internal/unsafeheader internal/goos -internal/itoa -crypto/internal/alias -unicode/utf16 -cmp internal/goexperiment -encoding -math/bits -unicode/utf8 -internal/unsafeheader +internal/godebugs runtime/internal/syscall +internal/chacha8rand +sync/atomic +internal/abi +runtime/internal/math internal/cpu -vendor/golang.org/x/crypto/cryptobyte/asn1 runtime/internal/atomic +internal/race +runtime/internal/sys +unicode/utf8 unicode -sync/atomic +crypto/internal/alias +math/bits +internal/itoa crypto/internal/boring/sig -runtime/internal/math -runtime/internal/sys -log/internal +cmp +encoding +unicode/utf16 +internal/nettrace +container/list +vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias -internal/abi -internal/chacha8rand -github.com/juju/gomaasapi/templates +log/internal slices -math internal/bytealg +github.com/juju/gomaasapi/templates +math runtime -crypto/subtle internal/reflectlite +crypto/subtle sync internal/testlog -internal/singleflight internal/bisect -runtime/cgo +internal/singleflight errors -sort internal/godebug +sort +runtime/cgo +io internal/oserror internal/safefilepath -path -io vendor/golang.org/x/net/dns/dnsmessage +path strconv crypto/internal/nistec/fiat internal/intern -math/rand syscall +math/rand +strings hash -crypto/internal/randutil bytes -strings -github.com/juju/collections/set +crypto/internal/randutil hash/crc32 -net/http/internal/ascii -net/http/internal/testcert -vendor/golang.org/x/text/transform +github.com/juju/collections/set bufio -crypto +vendor/golang.org/x/text/transform crypto/rc4 -regexp/syntax net/netip +crypto +regexp/syntax reflect +net/http/internal/ascii +net/http/internal/testcert internal/syscall/execenv -internal/syscall/unix time -regexp +internal/syscall/unix crypto/internal/nistec +regexp context io/fs internal/poll +os internal/fmtsort encoding/binary -os encoding/base64 -crypto/md5 crypto/cipher vendor/golang.org/x/crypto/internal/poly1305 +crypto/md5 crypto/internal/edwards25519/field -encoding/pem +crypto/internal/boring +vendor/golang.org/x/crypto/chacha20 crypto/internal/edwards25519 crypto/des -vendor/golang.org/x/crypto/chacha20 -crypto/internal/boring -crypto/sha512 +encoding/pem crypto/ecdh -crypto/aes +crypto/sha512 crypto/hmac -crypto/sha256 +crypto/aes +fmt +path/filepath +io/ioutil crypto/sha1 +crypto/sha256 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf -io/ioutil -path/filepath -fmt net -encoding/hex net/url -github.com/juju/errors -log -net/http/internal -encoding/json -mime/quotedprintable -flag github.com/juju/loggo -gopkg.in/mgo.v2/internal/json -text/template/parse +mime/quotedprintable +encoding/hex +github.com/juju/errors mime -compress/flate +gopkg.in/mgo.v2/internal/json +encoding/json math/big -vendor/golang.org/x/net/http2/hpack +compress/flate +log vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/net/http2/hpack github.com/juju/schema +vendor/golang.org/x/text/unicode/bidi +net/http/internal compress/gzip -text/template +flag +text/template/parse vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna +text/template +crypto/internal/bigmod crypto/internal/boring/bbig -crypto/rand crypto/dsa -crypto/internal/bigmod crypto/elliptic +crypto/rand encoding/asn1 crypto/ed25519 gopkg.in/mgo.v2/bson @@ -648,8 +684,8 @@ vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa github.com/juju/version -vendor/golang.org/x/net/http/httpproxy net/textproto +vendor/golang.org/x/net/http/httpproxy crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart @@ -659,35 +695,35 @@ net/http/httptest github.com/juju/gomaasapi dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 22 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates + cd _build && go test -vet=off -v -p 10 github.com/juju/gomaasapi github.com/juju/gomaasapi/templates === RUN Test -2025/05/24 17:44:19 http: panic serving 127.0.0.1:39932: invalid WriteHeader code 0 -goroutine 203 [running]: +2024/04/21 11:23:37 http: panic serving 127.0.0.1:54256: invalid WriteHeader code 0 +goroutine 158 [running]: net/http.(*conn).serve.func1() /usr/lib/go-1.22/src/net/http/server.go:1898 +0xd6 -panic({0x8597b00, 0xa240648}) +panic({0x8597b00, 0x95d8388}) /usr/lib/go-1.22/src/runtime/panic.go:770 +0x103 net/http.checkWriteHeaderCode(...) /usr/lib/go-1.22/src/net/http/server.go:1126 -net/http.(*response).WriteHeader(0xa21c828, 0x0) +net/http.(*response).WriteHeader(0x95e4788, 0x0) /usr/lib/go-1.22/src/net/http/server.go:1160 +0x8b3 -github.com/juju/gomaasapi.newSingleServingServer.func1({0x86ed760, 0xa21c828}, 0xa214a08) +github.com/juju/gomaasapi.newSingleServingServer.func1({0x86ed760, 0x95e4788}, 0x95e46e8) /build/reproducible-path/golang-github-juju-gomaasapi-2.2.0/_build/src/github.com/juju/gomaasapi/testing.go:41 +0x26e -net/http.HandlerFunc.ServeHTTP(0xa23a8a0, {0x86ed760, 0xa21c828}, 0xa214a08) +net/http.HandlerFunc.ServeHTTP(0x9526b40, {0x86ed760, 0x95e4788}, 0x95e46e8) /usr/lib/go-1.22/src/net/http/server.go:2166 +0x34 -net/http.serverHandler.ServeHTTP({0xa3826e8}, {0x86ed760, 0xa21c828}, 0xa214a08) +net/http.serverHandler.ServeHTTP({0x958f2c8}, {0x86ed760, 0x95e4788}, 0x95e46e8) /usr/lib/go-1.22/src/net/http/server.go:3137 +0x99 -net/http.(*conn).serve(0xa000c60, {0x86ee068, 0xa1624c8}) +net/http.(*conn).serve(0x96ae720, {0x86ee068, 0x95229f0}) /usr/lib/go-1.22/src/net/http/server.go:2039 +0x62b -created by net/http.(*Server).Serve in goroutine 215 +created by net/http.(*Server).Serve in goroutine 193 /usr/lib/go-1.22/src/net/http/server.go:3285 +0x462 OK: 388 passed ---- PASS: Test (2.45s) +--- PASS: Test (5.04s) PASS -ok github.com/juju/gomaasapi 2.460s +ok github.com/juju/gomaasapi 5.056s testing: warning: no tests to run PASS -ok github.com/juju/gomaasapi/templates 0.003s [no tests to run] +ok github.com/juju/gomaasapi/templates 0.007s [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 @@ -714,12 +750,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/26821/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26821/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/4622 and its subdirectories -I: Current time: Sat May 24 05:44:23 -12 2025 -I: pbuilder-time-stamp: 1748108663 +I: removing directory /srv/workspace/pbuilder/26821 and its subdirectories +I: Current time: Mon Apr 22 01:23:52 +14 2024 +I: pbuilder-time-stamp: 1713698632