Diff of the two buildlogs: -- --- b1/build.log 2025-02-23 12:03:03.596059491 +0000 +++ b2/build.log 2025-02-23 12:06:16.407285486 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Feb 23 00:01:10 -12 2025 -I: pbuilder-time-stamp: 1740312070 +I: Current time: Sun Mar 29 08:26:06 +14 2026 +I: pbuilder-time-stamp: 1774722366 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,51 +24,83 @@ dpkg-source: info: applying 0001-Revert-alecthomas-kingpin-import-path.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3658603/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2776449/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +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 Mar 28 18:26 /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/2776449/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2776449/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='amd64' - 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='891dc6f4aad4417f9557770873dcf7d3' - 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='3658603' - PS1='# ' - PS2='> ' + INVOCATION_ID=c84419e0d0b94068a9197b5f42cda1b0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2776449 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.0Nrf6BWD/pbuilderrc_uWQQ --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.0Nrf6BWD/b1 --logfile b1/build.log prometheus-postgres-exporter_0.17.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' + 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.0Nrf6BWD/pbuilderrc_cQSF --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.0Nrf6BWD/b2 --logfile b2/build.log prometheus-postgres-exporter_0.17.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' I: uname -a - Linux infom01-amd64 6.1.0-31-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3658603/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2776449/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -236,7 +268,7 @@ Get: 102 http://deb.debian.org/debian unstable/main amd64 golang-github-smartystreets-assertions-dev all 1.10.1+ds-2 [52.9 kB] Get: 103 http://deb.debian.org/debian unstable/main amd64 golang-github-smartystreets-goconvey-dev all 1.6.4+dfsg-1 [51.6 kB] Get: 104 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-check.v1-dev all 0.0+git20200902.038fdea-1 [32.1 kB] -Fetched 129 MB in 1s (105 MB/s) +Fetched 129 MB in 2s (73.7 MB/s) Preconfiguring packages ... 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 ... 19775 files and directories currently installed.) @@ -667,7 +699,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-postgres-exporter-0.17.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 > ../prometheus-postgres-exporter_0.17.0-1_source.changes +I: user script /srv/workspace/pbuilder/2776449/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2776449/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-postgres-exporter-0.17.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 > ../prometheus-postgres-exporter_0.17.0-1_source.changes dpkg-buildpackage: info: source package prometheus-postgres-exporter dpkg-buildpackage: info: source version 0.17.0-1 dpkg-buildpackage: info: source distribution unstable @@ -688,28 +724,28 @@ make[1]: Entering directory '/build/reproducible-path/prometheus-postgres-exporter-0.17.0' dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=0.17.0 -X github.com/prometheus/common/version.Revision=0.17.0-1 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20250223-02:24:55 -X github.com/prometheus/common/version.GoVersion=go1.24.0" cd _build && go install -trimpath -v -p 12 -ldflags " -X github.com/prometheus/common/version.Version=0.17.0 -X github.com/prometheus/common/version.Revision=0.17.0-1 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20250223-02:24:55 -X github.com/prometheus/common/version.GoVersion=go1.24.0" github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter github.com/prometheus-community/postgres_exporter/collector github.com/prometheus-community/postgres_exporter/config -internal/unsafeheader -internal/coverage/rtcov +internal/profilerecord +internal/byteorder +internal/msan internal/godebugs +internal/coverage/rtcov internal/goarch -internal/msan internal/asan -internal/profilerecord internal/goos -internal/byteorder -internal/cpu internal/goexperiment -internal/runtime/atomic +internal/unsafeheader +internal/cpu internal/runtime/syscall sync/atomic math/bits -unicode/utf8 -unicode internal/runtime/math -internal/abi +unicode/utf8 +internal/runtime/atomic internal/runtime/sys -crypto/internal/fips140/alias +internal/abi +unicode internal/chacha8rand +crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/fips140/subtle internal/itoa @@ -720,17 +756,17 @@ container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias -internal/runtime/exithook internal/nettrace github.com/lib/pq/oid log/internal google.golang.org/protobuf/internal/flags +internal/runtime/exithook +internal/bytealg +crypto/internal/fips140deps/cpu google.golang.org/protobuf/internal/set +math log/slog/internal github.com/klauspost/compress/internal/cpuinfo -internal/bytealg -math -crypto/internal/fips140deps/cpu internal/stringslite internal/race internal/sync @@ -738,172 +774,161 @@ github.com/klauspost/compress runtime internal/reflectlite -iter -crypto/subtle weak -sync +iter runtime/metrics +sync +crypto/subtle slices maps internal/bisect -internal/testlog internal/singleflight -unique +internal/testlog google.golang.org/protobuf/internal/pragma log/slog/internal/buffer +unique errors sort runtime/cgo io -github.com/beorn7/perks/quantile internal/oserror -internal/godebug +path math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage -path strconv hash -bytes -strings +internal/godebug +syscall crypto/internal/randutil +github.com/beorn7/perks/quantile +strings +bytes hash/crc32 hash/fnv -syscall -crypto/internal/fips140deps/godebug -math/rand crypto -reflect net/netip +reflect golang.org/x/crypto/blowfish vendor/golang.org/x/text/transform golang.org/x/text/transform -crypto/internal/fips140 +crypto/internal/fips140deps/godebug +math/rand crypto/internal/impl bufio regexp/syntax net/http/internal/ascii github.com/munnerz/goautoneg +crypto/internal/fips140 html -crypto/internal/fips140/sha3 crypto/internal/fips140/sha256 +crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 crypto/tls/internal/fips140tls -crypto/internal/fips140/hmac +regexp +internal/syscall/execenv +time +internal/syscall/unix crypto/sha3 -crypto/internal/fips140/check +crypto/internal/fips140/hmac crypto/internal/fips140hash +crypto/internal/fips140/check crypto/internal/fips140/aes -crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/nistec/fiat crypto/internal/fips140/bigmod -crypto/internal/fips140/tls12 crypto/internal/fips140/hkdf -regexp -internal/syscall/unix -internal/syscall/execenv -time +crypto/internal/fips140/edwards25519/field +crypto/internal/fips140/tls12 +crypto/internal/fips140/nistec/fiat crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 -crypto/internal/fips140/nistec +io/fs context github.com/jpillora/backoff internal/poll -io/fs -internal/filepathlite -embed +crypto/internal/fips140/nistec internal/fmtsort encoding/binary +embed +internal/filepathlite google.golang.org/protobuf/internal/editiondefaults os encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 -golang.org/x/sys/unix github.com/cespare/xxhash github.com/klauspost/compress/internal/snapref +golang.org/x/sys/unix encoding/pem crypto/internal/sysrand fmt google.golang.org/protobuf/internal/detrand +path/filepath io/ioutil -github.com/prometheus/procfs/internal/util internal/lazyregexp -path/filepath +github.com/prometheus/procfs/internal/util vendor/golang.org/x/sys/cpu -net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only +crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdsa +crypto/internal/fips140/ecdh crypto/internal/fips140/mlkem crypto/internal/fips140/rsa -crypto/internal/fips140/ecdh crypto/internal/fips140/ed25519 -crypto/internal/fips140/aes/gcm crypto/md5 crypto/rc4 +net crypto/cipher -database/sql/driver -encoding/hex -encoding/json -log -math/big -os/user -net/url -vendor/golang.org/x/text/unicode/norm -compress/flate crypto/internal/boring crypto/des -crypto/sha256 +vendor/golang.org/x/crypto/chacha20 crypto/aes -database/sql crypto/ecdh +crypto/sha256 crypto/sha512 crypto/hmac -vendor/golang.org/x/crypto/chacha20 crypto/sha1 vendor/golang.org/x/crypto/chacha20poly1305 +database/sql/driver +encoding/json +encoding/hex +net/url +math/big +os/user +log +compress/flate +vendor/golang.org/x/text/unicode/norm +database/sql vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/net/http2/hpack -compress/gzip mime -github.com/blang/semver/v4 mime/quotedprintable -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -crypto/dsa net/http/internal google.golang.org/protobuf/internal/errors -crypto/ed25519 -crypto/internal/hpke -crypto/rsa -github.com/lib/pq/scram go/token google.golang.org/protobuf/internal/version google.golang.org/protobuf/encoding/protowire +compress/gzip github.com/prometheus/procfs/internal/fs +vendor/golang.org/x/text/secure/bidirule runtime/debug gopkg.in/yaml.v3 -log/slog -vendor/golang.org/x/text/secure/bidirule google.golang.org/protobuf/reflect/protoreflect github.com/alecthomas/units -go/doc/comment -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix go/scanner +go/doc/comment text/template/parse -vendor/golang.org/x/net/idna github.com/klauspost/compress/fse -github.com/go-logfmt/logfmt -go/ast -github.com/klauspost/compress/huff0 -crypto/ecdsa -golang.org/x/net/bpf -github.com/prometheus/common/promslog -golang.org/x/sync/errgroup -github.com/go-kit/log +vendor/golang.org/x/net/idna +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +github.com/blang/semver/v4 +crypto/dsa +crypto/ed25519 +crypto/internal/hpke +crypto/rsa +github.com/lib/pq/scram google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs @@ -911,56 +936,67 @@ google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/internal/encoding/text +log/slog google.golang.org/protobuf/reflect/protoregistry +go/ast text/template -github.com/mdlayher/socket +github.com/klauspost/compress/huff0 +github.com/go-logfmt/logfmt +golang.org/x/net/bpf +google.golang.org/protobuf/internal/encoding/text +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix +github.com/go-kit/log +golang.org/x/sync/errgroup +google.golang.org/protobuf/internal/encoding/defval golang.org/x/net/internal/timeseries +google.golang.org/protobuf/proto +github.com/mdlayher/socket text/tabwriter -go/doc -golang.org/x/text/unicode/bidi +crypto/ecdsa github.com/klauspost/compress/zstd +golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm +github.com/prometheus/common/promslog golang.org/x/net/http2/hpack -google.golang.org/protobuf/proto -gopkg.in/yaml.v2 -google.golang.org/protobuf/internal/encoding/defval -golang.org/x/crypto/bcrypt -golang.org/x/text/secure/bidirule +github.com/prometheus/common/version +html/template google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protodelim -github.com/prometheus/common/version -html/template +gopkg.in/yaml.v2 +go/doc +golang.org/x/crypto/bcrypt +golang.org/x/text/secure/bidirule golang.org/x/net/idna google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl +net/textproto vendor/golang.org/x/net/http/httpproxy -github.com/mdlayher/vsock crypto/x509 -golang.org/x/net/http/httpproxy +github.com/mdlayher/vsock gopkg.in/alecthomas/kingpin.v2 -net/textproto github.com/prometheus/procfs +golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts -mime/multipart golang.org/x/net/http/httpguts -github.com/prometheus/common/promslog/flag -crypto/tls +mime/multipart google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb github.com/prometheus/client_model/go github.com/prometheus/common/model +crypto/tls +github.com/prometheus/common/promslog/flag github.com/prometheus/client_golang/prometheus/internal net/http/httptrace github.com/coreos/go-systemd/activation github.com/lib/pq net/http expvar -github.com/prometheus/common/expfmt -golang.org/x/net/trace github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +golang.org/x/net/trace +github.com/prometheus/common/expfmt golang.org/x/oauth2/internal golang.org/x/net/http2 github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil @@ -987,7 +1023,7 @@ OK: 11 passed --- PASS: Test (0.00s) PASS -ok github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter 0.006s +ok github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter 0.011s === RUN TestPGDatabaseCollector Metrics comparison ✔✔ @@ -1277,7 +1313,7 @@ --- PASS: TestPGXlogLocationCollector (0.00s) PASS -ok github.com/prometheus-community/postgres_exporter/collector 0.017s +ok github.com/prometheus-community/postgres_exporter/collector 0.026s === RUN TestLoadConfig --- PASS: TestLoadConfig (0.00s) === RUN TestLoadBadConfigs @@ -1315,7 +1351,7 @@ --- PASS: Test_dsnFromString/Alternative_URL_prefix (0.00s) --- PASS: Test_dsnFromString/URL_with_user_and_password_in_query_string (0.00s) PASS -ok github.com/prometheus-community/postgres_exporter/config 0.004s +ok github.com/prometheus-community/postgres_exporter/config 0.010s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddir=_build -O--buildsystem=golang dh_prep -O--builddir=_build -O--buildsystem=golang @@ -1374,12 +1410,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/2776449/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2776449/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/3658603 and its subdirectories -I: Current time: Sun Feb 23 00:03:02 -12 2025 -I: pbuilder-time-stamp: 1740312182 +I: removing directory /srv/workspace/pbuilder/2776449 and its subdirectories +I: Current time: Sun Mar 29 08:29:14 +14 2026 +I: pbuilder-time-stamp: 1774722554