Diff of the two buildlogs: -- --- b1/build.log 2024-05-28 12:06:34.601432805 +0000 +++ b2/build.log 2024-05-28 12:07:51.082179793 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 28 00:03:53 -12 2024 -I: pbuilder-time-stamp: 1716897833 +I: Current time: Tue Jul 1 08:29:34 +14 2025 +I: pbuilder-time-stamp: 1751308174 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0002-Support-prometheus-common-v0.50.0.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3647848/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1028549/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-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 Jun 30 18:29 /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/1028549/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1028549/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' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + 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='eb57554ed0524ccd80e522287f00c44b' - 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='3647848' - PS1='# ' - PS2='> ' + INVOCATION_ID=4d63b626703b42809c65a17a07c17e57 + 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=1028549 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.CipBmipn/pbuilderrc_15uY --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.CipBmipn/b1 --logfile b1/build.log prometheus-postgres-exporter_0.15.0-3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.CipBmipn/pbuilderrc_13C5 --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.CipBmipn/b2 --logfile b2/build.log prometheus-postgres-exporter_0.15.0-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 27 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3647848/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 29 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1028549/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: 94 http://deb.debian.org/debian unstable/main amd64 golang-github-smartystreets-assertions-dev all 1.10.1+ds-2 [52.9 kB] Get: 95 http://deb.debian.org/debian unstable/main amd64 golang-github-smartystreets-goconvey-dev all 1.6.4+dfsg-1 [51.6 kB] Get: 96 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-check.v1-dev all 0.0+git20200902.038fdea-1 [32.1 kB] -Fetched 88.3 MB in 9s (9943 kB/s) +Fetched 88.3 MB in 1s (76.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 ... 19717 files and directories currently installed.) @@ -635,7 +667,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-postgres-exporter-0.15.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.15.0-3_source.changes +I: user script /srv/workspace/pbuilder/1028549/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1028549/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-postgres-exporter-0.15.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.15.0-3_source.changes dpkg-buildpackage: info: source package prometheus-postgres-exporter dpkg-buildpackage: info: source version 0.15.0-3 dpkg-buildpackage: info: source distribution unstable @@ -655,83 +691,83 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/prometheus-postgres-exporter-0.15.0' dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=0.15.0 -X github.com/prometheus/common/version.Revision=0.15.0-3 -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=20240507-19:18:24 -X github.com/prometheus/common/version.GoVersion=go1.22.3" - cd _build && go install -trimpath -v -p 20 -ldflags " -X github.com/prometheus/common/version.Version=0.15.0 -X github.com/prometheus/common/version.Revision=0.15.0-3 -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=20240507-19:18:24 -X github.com/prometheus/common/version.GoVersion=go1.22.3" github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter github.com/prometheus-community/postgres_exporter/collector github.com/prometheus-community/postgres_exporter/config -crypto/internal/alias -cmp -encoding -internal/unsafeheader -internal/itoa -internal/cpu -runtime/internal/syscall -runtime/internal/atomic -math/bits -unicode -internal/goexperiment + cd _build && go install -trimpath -v -p 42 -ldflags " -X github.com/prometheus/common/version.Version=0.15.0 -X github.com/prometheus/common/version.Revision=0.15.0-3 -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=20240507-19:18:24 -X github.com/prometheus/common/version.GoVersion=go1.22.3" github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter github.com/prometheus-community/postgres_exporter/collector github.com/prometheus-community/postgres_exporter/config +vendor/golang.org/x/crypto/internal/alias internal/goarch -internal/goos internal/godebugs -internal/race internal/coverage/rtcov +internal/goexperiment +google.golang.org/protobuf/internal/flags +internal/nettrace +log/internal +internal/goos +internal/race +cmp +runtime/internal/atomic +encoding +github.com/lib/pq/oid +runtime/internal/syscall +crypto/internal/alias sync/atomic -unicode/utf8 -crypto/internal/boring/sig -crypto/subtle unicode/utf16 -log/internal container/list +math/bits +crypto/subtle +internal/unsafeheader +unicode/utf8 +internal/itoa vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/abi -internal/chacha8rand +crypto/internal/boring/sig +internal/cpu +unicode runtime/internal/math -internal/bytealg +internal/chacha8rand runtime/internal/sys -internal/nettrace -math -slices -vendor/golang.org/x/crypto/internal/alias -github.com/lib/pq/oid -google.golang.org/protobuf/internal/flags +internal/abi google.golang.org/protobuf/internal/set +slices +internal/bytealg +math runtime internal/reflectlite runtime/metrics sync internal/testlog -google.golang.org/protobuf/internal/pragma internal/bisect internal/singleflight +google.golang.org/protobuf/internal/pragma runtime/cgo errors sort -internal/oserror +internal/godebug io -internal/safefilepath path -strconv -internal/godebug +internal/safefilepath +internal/oserror vendor/golang.org/x/net/dns/dnsmessage +strconv crypto/internal/nistec/fiat +internal/intern math/rand syscall -internal/intern github.com/beorn7/perks/quantile hash -bytes crypto/internal/randutil text/tabwriter +bytes strings -hash/crc32 hash/fnv +hash/crc32 +vendor/golang.org/x/text/transform +golang.org/x/text/transform +crypto crypto/rc4 -reflect -net/netip golang.org/x/crypto/blowfish -crypto -golang.org/x/text/transform -vendor/golang.org/x/text/transform +net/netip +reflect bufio -net/http/internal/ascii github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg +net/http/internal/ascii regexp/syntax html regexp @@ -742,148 +778,148 @@ github.com/jpillora/backoff io/fs internal/poll -internal/fmtsort -encoding/binary embed google.golang.org/protobuf/internal/editiondefaults -crypto/cipher +internal/fmtsort +encoding/binary +os encoding/base64 crypto/md5 +crypto/internal/edwards25519/field vendor/golang.org/x/crypto/internal/poly1305 github.com/cespare/xxhash -crypto/internal/edwards25519/field crypto/internal/nistec -os +crypto/cipher golang.org/x/sys/unix encoding/pem crypto/internal/edwards25519 +crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -crypto/internal/boring -crypto/sha256 -crypto/sha512 crypto/hmac +crypto/sha512 crypto/sha1 +crypto/sha256 crypto/aes vendor/golang.org/x/crypto/hkdf -crypto/ecdh -fmt -path/filepath -vendor/golang.org/x/sys/cpu io/ioutil -google.golang.org/protobuf/internal/detrand internal/lazyregexp +google.golang.org/protobuf/internal/detrand github.com/prometheus/procfs/internal/util +fmt +path/filepath +vendor/golang.org/x/sys/cpu net +crypto/ecdh vendor/golang.org/x/crypto/chacha20poly1305 -database/sql/driver -encoding/json log encoding/hex net/url +github.com/alecthomas/units +text/template/parse os/user -vendor/golang.org/x/net/http2/hpack -github.com/go-logfmt/logfmt -vendor/golang.org/x/text/unicode/norm compress/flate -google.golang.org/protobuf/internal/version -go/token -github.com/prometheus/procfs/internal/fs +golang.org/x/net/http2/hpack +database/sql/driver +golang.org/x/sync/errgroup mime -mime/quotedprintable -net/http/internal +gopkg.in/yaml.v3 +github.com/prometheus/procfs/internal/fs math/big +gopkg.in/yaml.v2 +go/doc/comment +vendor/golang.org/x/text/unicode/norm +net/http/internal google.golang.org/protobuf/internal/errors +github.com/go-logfmt/logfmt +encoding/json +google.golang.org/protobuf/internal/version +vendor/golang.org/x/net/http2/hpack runtime/debug -gopkg.in/yaml.v3 -vendor/golang.org/x/text/unicode/bidi +golang.org/x/text/unicode/norm +mime/quotedprintable +go/token google.golang.org/protobuf/encoding/protowire -github.com/alecthomas/units -database/sql -go/doc/comment -text/template/parse +google.golang.org/protobuf/reflect/protoreflect +vendor/golang.org/x/text/unicode/bidi golang.org/x/net/internal/timeseries go/scanner golang.org/x/text/unicode/bidi -google.golang.org/protobuf/reflect/protoreflect -golang.org/x/text/unicode/norm +database/sql compress/gzip -golang.org/x/net/http2/hpack -gopkg.in/yaml.v2 -golang.org/x/sync/errgroup go/ast -vendor/golang.org/x/text/secure/bidirule -golang.org/x/text/secure/bidirule text/template +golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/secure/bidirule google.golang.org/protobuf/internal/descfmt -github.com/blang/semver/v4 -google.golang.org/protobuf/internal/descopts -github.com/go-kit/log google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/genid +google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/internal/descopts golang.org/x/net/idna vendor/golang.org/x/net/idna -go/doc google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/internal/encoding/text +github.com/blang/semver/v4 +github.com/go-kit/log github.com/go-kit/log/level -github.com/prometheus/common/promlog +go/doc +google.golang.org/protobuf/proto crypto/elliptic -crypto/internal/boring/bbig +crypto/dsa crypto/internal/bigmod -encoding/asn1 +crypto/internal/boring/bbig crypto/rand -crypto/dsa -google.golang.org/protobuf/proto +encoding/asn1 +github.com/prometheus/common/promlog google.golang.org/protobuf/internal/encoding/defval crypto/ed25519 github.com/lib/pq/scram golang.org/x/crypto/bcrypt +crypto/rsa github.com/prometheus/common/version html/template -crypto/rsa -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protodelim -vendor/golang.org/x/crypto/cryptobyte +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl -net/textproto -crypto/x509 -vendor/golang.org/x/net/http/httpproxy golang.org/x/net/http/httpproxy +vendor/golang.org/x/net/http/httpproxy +net/textproto gopkg.in/alecthomas/kingpin.v2 +crypto/x509 github.com/prometheus/procfs +google.golang.org/protobuf/internal/filetype +golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpguts mime/multipart -golang.org/x/net/http/httpguts -google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb -crypto/tls github.com/prometheus/client_model/go github.com/prometheus/common/model -github.com/prometheus/common/promlog/flag +crypto/tls github.com/prometheus/client_golang/prometheus/internal +github.com/prometheus/common/promlog/flag net/http/httptrace -github.com/lib/pq github.com/coreos/go-systemd/activation +github.com/lib/pq net/http expvar -github.com/prometheus/common/expfmt -golang.org/x/net/trace golang.org/x/oauth2/internal +golang.org/x/net/trace +github.com/prometheus/common/expfmt golang.org/x/net/http2 golang.org/x/oauth2 golang.org/x/oauth2/clientcredentials github.com/prometheus/client_golang/prometheus -github.com/prometheus/client_golang/prometheus/promauto github.com/prometheus/client_golang/prometheus/collectors/version +github.com/prometheus/client_golang/prometheus/promauto github.com/mwitkow/go-conntrack github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus-community/postgres_exporter/config @@ -897,12 +933,12 @@ renamed '_build/bin/postgres_exporter' -> '_build/bin/prometheus-postgres-exporter' make[1]: Leaving directory '/build/reproducible-path/prometheus-postgres-exporter-0.15.0' dh_auto_test -O--builddir=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 20 github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter github.com/prometheus-community/postgres_exporter/collector github.com/prometheus-community/postgres_exporter/config + cd _build && go test -vet=off -v -p 42 github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter github.com/prometheus-community/postgres_exporter/collector github.com/prometheus-community/postgres_exporter/config === RUN Test OK: 11 passed ---- PASS: Test (0.02s) +--- PASS: Test (0.00s) PASS -ok github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter 0.035s +ok github.com/prometheus-community/postgres_exporter/cmd/postgres_exporter 0.009s === RUN TestPGDatabaseCollector Metrics comparison ✔ @@ -1160,7 +1196,7 @@ --- PASS: TestPGXlogLocationCollector (0.00s) PASS -ok github.com/prometheus-community/postgres_exporter/collector 0.044s +ok github.com/prometheus-community/postgres_exporter/collector 0.022s === RUN TestLoadConfig --- PASS: TestLoadConfig (0.00s) === RUN TestLoadBadConfigs @@ -1198,7 +1234,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.021s +ok github.com/prometheus-community/postgres_exporter/config 0.007s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddir=_build -O--buildsystem=golang dh_prep -O--builddir=_build -O--buildsystem=golang @@ -1257,12 +1293,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1028549/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1028549/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/3647848 and its subdirectories -I: Current time: Tue May 28 00:06:33 -12 2024 -I: pbuilder-time-stamp: 1716897993 +I: removing directory /srv/workspace/pbuilder/1028549 and its subdirectories +I: Current time: Tue Jul 1 08:30:47 +14 2025 +I: pbuilder-time-stamp: 1751308247