Diff of the two buildlogs: -- --- b1/build.log 2025-02-24 13:11:40.348624690 +0000 +++ b2/build.log 2025-02-24 13:13:00.988992886 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Mar 29 07:33:31 -12 2026 -I: pbuilder-time-stamp: 1774812811 +I: Current time: Tue Feb 25 03:11:44 +14 2025 +I: pbuilder-time-stamp: 1740402704 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying 0002-skip-tests-that-access-homedir-and-internet.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/992828/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/952661/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-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 Feb 24 13:11 /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/952661/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/952661/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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + 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=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='b05c443687ef421190a0ecbd984087e1' - 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='992828' - PS1='# ' - PS2='> ' + INVOCATION_ID=7287eff35e0445068f4a68ca46b4fdd2 + 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=952661 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.P6qlkPk9/pbuilderrc_rKG3 --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.P6qlkPk9/b1 --logfile b1/build.log terraform-switcher_0.13.1308+ds-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.P6qlkPk9/pbuilderrc_JU6D --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.P6qlkPk9/b2 --logfile b2/build.log terraform-switcher_0.13.1308+ds-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 codethink03-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/992828/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/952661/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -220,7 +252,7 @@ Get: 92 http://deb.debian.org/debian trixie/main arm64 golang-github-subosito-gotenv-dev all 1.3.0-1 [9340 B] Get: 93 http://deb.debian.org/debian trixie/main arm64 golang-gopkg-ini.v1-dev all 1.67.0-1 [39.9 kB] Get: 94 http://deb.debian.org/debian trixie/main arm64 golang-github-spf13-viper-dev all 1.12.0-1 [68.9 kB] -Fetched 79.9 MB in 1s (138 MB/s) +Fetched 79.9 MB in 0s (214 MB/s) Preconfiguring packages ... Selecting previously unselected package tzdata. (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 ... 19916 files and directories currently installed.) @@ -542,8 +574,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Mar 29 19:33:53 UTC 2026. -Universal Time is now: Sun Mar 29 19:33:53 UTC 2026. +Local time is now: Mon Feb 24 13:12:05 UTC 2025. +Universal Time is now: Mon Feb 24 13:12:05 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-spf13-pflag-dev (1.0.6~git20210604-d5e0c0615ace-1) ... @@ -617,7 +649,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/terraform-switcher-0.13.1308+ds/ && 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 > ../terraform-switcher_0.13.1308+ds-1_source.changes +I: user script /srv/workspace/pbuilder/952661/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/952661/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/terraform-switcher-0.13.1308+ds/ && 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 > ../terraform-switcher_0.13.1308+ds-1_source.changes dpkg-buildpackage: info: source package terraform-switcher dpkg-buildpackage: info: source version 0.13.1308+ds-1 dpkg-buildpackage: info: source distribution unstable @@ -636,26 +672,26 @@ 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 12 github.com/warrensbox/terraform-switcher github.com/warrensbox/terraform-switcher/lib +internal/msan +internal/goarch +internal/byteorder internal/godebugs +internal/asan internal/coverage/rtcov -internal/byteorder -internal/goarch -internal/goexperiment -cmp internal/goos -internal/msan -internal/asan internal/unsafeheader +internal/runtime/syscall +internal/profilerecord internal/cpu -internal/itoa +internal/goexperiment +cmp +internal/abi internal/runtime/math -internal/runtime/syscall +internal/itoa unicode/utf8 math/bits sync/atomic -internal/profilerecord internal/chacha8rand -internal/abi unicode github.com/agext/levenshtein encoding @@ -668,90 +704,90 @@ crypto/internal/fips140deps/byteorder math crypto/internal/boring/sig -internal/bytealg -internal/runtime/atomic -crypto/internal/fips140deps/cpu +vendor/golang.org/x/crypto/internal/alias crypto/internal/fips140/subtle -internal/runtime/sys vendor/golang.org/x/crypto/cryptobyte/asn1 -vendor/golang.org/x/crypto/internal/alias github.com/pelletier/go-toml/v2/internal/characters -internal/runtime/exithook +internal/bytealg +crypto/internal/fips140deps/cpu +internal/runtime/atomic +internal/runtime/sys internal/stringslite +internal/runtime/exithook internal/race internal/sync internal/runtime/maps runtime -internal/reflectlite iter -sync weak crypto/subtle +internal/reflectlite +sync slices maps -sort errors +sort internal/bisect -internal/testlog internal/singleflight +internal/testlog unique github.com/spf13/viper/internal/encoding -runtime/cgo strconv io -vendor/golang.org/x/net/dns/dnsmessage -math/rand/v2 internal/oserror path github.com/hashicorp/hcl/hcl/strconv +vendor/golang.org/x/net/dns/dnsmessage +runtime/cgo syscall +math/rand/v2 internal/godebug -reflect bytes strings -crypto/internal/randutil -net/netip hash -crypto/internal/fips140deps/godebug -math/rand -github.com/mitchellh/go-wordwrap +crypto/internal/randutil golang.org/x/text/transform +reflect +github.com/mitchellh/go-wordwrap vendor/golang.org/x/text/transform +net/netip hash/crc32 hash/crc64 crypto +math/rand +crypto/internal/fips140deps/godebug regexp/syntax bufio -crypto/internal/fips140 -net/http/internal/ascii golang.org/x/text/runes +crypto/internal/fips140 crypto/internal/impl +net/http/internal/ascii html crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 crypto/tls/internal/fips140tls +github.com/apparentlymart/go-textseg/textseg +crypto/sha3 time internal/syscall/unix internal/syscall/execenv -github.com/apparentlymart/go-textseg/textseg crypto/internal/fips140/hmac -crypto/sha3 -crypto/internal/fips140/check crypto/internal/fips140hash +crypto/internal/fips140/check +regexp crypto/internal/fips140/aes -crypto/internal/fips140/nistec/fiat crypto/internal/fips140/edwards25519/field +crypto/internal/fips140/nistec/fiat crypto/internal/fips140/bigmod -crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 +crypto/internal/fips140/hkdf crypto/internal/fips140/tls13 -regexp crypto/internal/fips140/edwards25519 -io/fs internal/poll context github.com/google/go-cmp/cmp/internal/diff +io/fs internal/filepathlite github.com/spf13/afero/internal/common crypto/internal/fips140/nistec @@ -759,84 +795,81 @@ internal/fmtsort encoding/binary github.com/google/go-cmp/cmp/internal/function +encoding/base64 +golang.org/x/sys/unix +vendor/golang.org/x/crypto/internal/poly1305 +encoding/pem fmt path/filepath io/ioutil os/signal crypto/internal/sysrand -encoding/base64 -vendor/golang.org/x/crypto/internal/poly1305 -golang.org/x/sys/unix +net crypto/internal/entropy crypto/internal/fips140/drbg -encoding/pem -net github.com/spf13/afero/mem os/exec crypto/internal/fips140/aes/gcm -crypto/internal/fips140/ed25519 -crypto/internal/fips140/mlkem crypto/internal/fips140only -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa +crypto/internal/fips140/ed25519 crypto/internal/fips140/rsa +crypto/internal/fips140/mlkem crypto/md5 crypto/rc4 +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa +crypto/cipher github.com/hashicorp/go-version -github.com/zclconf/go-cty/cty/set encoding/json +github.com/zclconf/go-cty/cty/set golang.org/x/text/unicode/norm runtime/debug github.com/google/go-cmp/cmp/internal/value -encoding/csv math/big +encoding/csv github.com/hashicorp/hcl/hcl/token net/url +text/template/parse +github.com/manifoldco/promptui/list github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/token -text/template/parse -github.com/manifoldco/promptui/list github.com/google/go-cmp/cmp github.com/hashicorp/hcl/json/scanner github.com/manifoldco/promptui/screenbuf text/tabwriter -github.com/hashicorp/hcl/json/parser github.com/hashicorp/hcl/hcl/parser github.com/pborman/getopt log compress/flate -crypto/cipher -github.com/hashicorp/hcl -encoding/hex -vendor/golang.org/x/text/unicode/bidi +github.com/hashicorp/hcl/json/parser crypto/internal/boring +text/template crypto/des -vendor/golang.org/x/crypto/chacha20 crypto/aes +github.com/hashicorp/hcl crypto/ecdh -text/template crypto/sha512 +compress/gzip crypto/hmac +vendor/golang.org/x/crypto/chacha20 crypto/sha1 crypto/sha256 -compress/gzip -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/text/secure/bidirule +encoding/hex +vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack mime +vendor/golang.org/x/crypto/chacha20poly1305 mime/quotedprintable net/http/internal github.com/spf13/jwalterweatherman flag +vendor/golang.org/x/text/secure/bidirule github.com/subosito/gotenv github.com/hashicorp/hcl/hcl/printer gopkg.in/ini.v1 github.com/spf13/viper/internal/encoding/json -github.com/pelletier/go-toml/v2/internal/danger -gopkg.in/yaml.v3 -github.com/pelletier/go-toml/v2/unstable github.com/zclconf/go-cty/cty crypto/rand crypto/elliptic @@ -845,26 +878,29 @@ crypto/ed25519 crypto/internal/hpke crypto/rsa +github.com/fsnotify/fsnotify/internal crypto/dsa -vendor/golang.org/x/net/idna -html/template -github.com/spf13/viper/internal/encoding/hcl -github.com/pelletier/go-toml/v2/internal/tracker +github.com/pelletier/go-toml/v2/internal/danger +gopkg.in/yaml.v3 archive/zip +github.com/spf13/viper/internal/encoding/hcl +github.com/pelletier/go-toml/v2/unstable +github.com/fsnotify/fsnotify +html/template +vendor/golang.org/x/net/idna github.com/mitchellh/go-homedir -github.com/fsnotify/fsnotify/internal os/user -github.com/pelletier/go-toml/v2 vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -github.com/fsnotify/fsnotify +github.com/pelletier/go-toml/v2/internal/tracker +github.com/pelletier/go-toml/v2 crypto/ecdsa -github.com/spf13/cast github.com/zclconf/go-cty/cty/convert github.com/zclconf/go-cty/cty/function +github.com/spf13/viper/internal/encoding/toml +github.com/spf13/cast github.com/spf13/viper/internal/encoding/dotenv github.com/spf13/viper/internal/encoding/ini -github.com/spf13/viper/internal/encoding/toml github.com/hashicorp/hcl/v2 github.com/zclconf/go-cty/cty/gocty github.com/zclconf/go-cty/cty/json @@ -873,25 +909,25 @@ github.com/hashicorp/hcl/v2/ext/customdecode github.com/hashicorp/hcl/v2/hclsyntax github.com/mitchellh/mapstructure -github.com/chzyer/readline net/textproto -vendor/golang.org/x/net/http/httpproxy +github.com/chzyer/readline crypto/x509 +vendor/golang.org/x/net/http/httpproxy github.com/spf13/pflag vendor/golang.org/x/net/http/httpguts mime/multipart github.com/manifoldco/promptui +crypto/tls github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/json -crypto/tls github.com/hashicorp/hcl/v2/hclparse github.com/hashicorp/hcl/v2/gohcl github.com/hashicorp/terraform-config-inspect/tfconfig net/http/httptrace net/http -github.com/spf13/afero -github.com/magiconair/properties github.com/warrensbox/terraform-switcher/lib +github.com/magiconair/properties +github.com/spf13/afero github.com/spf13/viper/internal/encoding/javaproperties github.com/spf13/viper github.com/warrensbox/terraform-switcher @@ -899,11 +935,11 @@ cd _build && go test -vet=off -v -p 12 github.com/warrensbox/terraform-switcher github.com/warrensbox/terraform-switcher/lib === RUN TestMain === RUN TestMain/User_should_exist - main_test.go:19: Current user exist: /nonexistent/first-build [expected] + main_test.go:19: Current user exist: /nonexistent/second-build [expected] --- PASS: TestMain (0.00s) --- PASS: TestMain/User_should_exist (0.00s) PASS -ok github.com/warrensbox/terraform-switcher 0.017s +ok github.com/warrensbox/terraform-switcher 0.064s === RUN TestNewCommand command_test.go:17: Value returned is a pointer &{terraform} [expected] --- PASS: TestNewCommand (0.00s) @@ -951,12 +987,12 @@ === RUN TestConvertExecutableExt files_test.go:488: terraform converted to terraform on linux (expected) files_test.go:488: terraform.exe converted to terraform.exe on linux (expected) - files_test.go:488: /nonexistent/first-build/.terraform.versions_test/terraform converted to /nonexistent/first-build/.terraform.versions_test/terraform on linux (expected) - files_test.go:488: /nonexistent/first-build/.terraform.versions_test/terraform.exe converted to /nonexistent/first-build/.terraform.versions_test/terraform.exe on linux (expected) + files_test.go:488: /nonexistent/second-build/.terraform.versions_test/terraform converted to /nonexistent/second-build/.terraform.versions_test/terraform on linux (expected) + files_test.go:488: /nonexistent/second-build/.terraform.versions_test/terraform.exe converted to /nonexistent/second-build/.terraform.versions_test/terraform.exe on linux (expected) --- PASS: TestConvertExecutableExt (0.00s) === RUN TestInstall === RUN TestInstall/User_should_exist - install_test.go:34: Current user exist: /nonexistent/first-build [expected] + install_test.go:34: Current user exist: /nonexistent/second-build [expected] --- PASS: TestInstall (0.00s) --- PASS: TestInstall/User_should_exist (0.00s) === RUN TestGetTFList @@ -1005,7 +1041,7 @@ symlink_test.go:96: Debian package build disallows accessing $HOME --- SKIP: TestCheckSymlink (0.00s) PASS -ok github.com/warrensbox/terraform-switcher/lib 0.038s +ok github.com/warrensbox/terraform-switcher/lib 0.076s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1041,12 +1077,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/952661/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/952661/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/992828 and its subdirectories -I: Current time: Sun Mar 29 07:34:38 -12 2026 -I: pbuilder-time-stamp: 1774812878 +I: removing directory /srv/workspace/pbuilder/952661 and its subdirectories +I: Current time: Tue Feb 25 03:12:59 +14 2025 +I: pbuilder-time-stamp: 1740402779