Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 14:39:09.299756779 +0000 +++ b2/build.log 2024-05-01 14:40:33.776167180 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 3 09:00:35 -12 2025 -I: pbuilder-time-stamp: 1748984435 +I: Current time: Thu May 2 04:39:12 +14 2024 +I: pbuilder-time-stamp: 1714574352 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0002-Support_newer_exporter-toolkit.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2640179/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4013328/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 May 1 14:39 /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/4013328/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4013328/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-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=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='5fdd7adb5c344edeb7dfb7a3e586d551' - 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='2640179' - PS1='# ' - PS2='> ' + INVOCATION_ID=ef0ec3df984549f8aaa2f8b7abfc8aaa + 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=4013328 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.02YFwQRj/pbuilderrc_tujW --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.02YFwQRj/b1 --logfile b1/build.log prometheus-mqtt-exporter_0.1.7-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.02YFwQRj/pbuilderrc_3ASL --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.02YFwQRj/b2 --logfile b2/build.log prometheus-mqtt-exporter_0.1.7-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-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:38 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2640179/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4013328/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -324,7 +356,7 @@ Get: 192 http://deb.debian.org/debian trixie/main arm64 golang-github-prometheus-exporter-toolkit-dev all 0.11.0-2 [33.0 kB] Get: 193 http://deb.debian.org/debian trixie/main arm64 golang-github-thedevsaddam-gojsonq-dev all 2.5.2-4 [22.9 kB] Get: 194 http://deb.debian.org/debian trixie/main arm64 golang-github-eclipse-paho.mqtt.golang-dev all 1.1.1-1.1 [41.2 kB] -Fetched 167 MB in 1s (121 MB/s) +Fetched 167 MB in 1s (177 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19941 files and directories currently installed.) @@ -1115,7 +1147,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-mqtt-exporter-0.1.7/ && 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-mqtt-exporter_0.1.7-1_source.changes +I: user script /srv/workspace/pbuilder/4013328/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4013328/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-mqtt-exporter-0.1.7/ && 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-mqtt-exporter_0.1.7-1_source.changes dpkg-buildpackage: info: source package prometheus-mqtt-exporter dpkg-buildpackage: info: source version 0.1.7-1 dpkg-buildpackage: info: source distribution unstable @@ -1301,141 +1337,141 @@ CGO_FFLAGS='-g -O2 -ffile-prefix-map=/build/reproducible-path/prometheus-mqtt-exporter-0.1.7=. -fstack-clash-protection -mbranch-protection=standard' CGO_LDFLAGS='-Wl,-z,relro' PKG_CONFIG='pkg-config' -GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build683179047=/tmp/go-build -gno-record-gcc-switches' +GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1156721153=/tmp/go-build -gno-record-gcc-switches' cd build && go install -trimpath -v -p 12 -tags -ldflags " -X main.Version=0.1.7 -X main.Revision=0.1.7-1 -X main.Branch=debian/sid -X main.BuildUser=team+pkg-go@tracker.debian.org -X main.BuildDate=20230202-03:32:51 -X main.GoVersion=go1.22.2" github.com/hikhvar/mqtt2prometheus/cmd github.com/hikhvar/mqtt2prometheus/pkg/config github.com/hikhvar/mqtt2prometheus/pkg/metrics github.com/hikhvar/mqtt2prometheus/pkg/mqttclient internal/coverage/rtcov -unicode/utf8 -internal/unsafeheader internal/goarch -internal/race internal/godebugs +internal/goos +internal/goexperiment +unicode/utf8 +internal/race +internal/unsafeheader unicode container/list internal/itoa +math/bits sync/atomic -internal/goexperiment +runtime/internal/syscall internal/cpu -internal/goos +crypto/internal/alias +crypto/subtle internal/abi -runtime/internal/syscall internal/chacha8rand runtime/internal/math -math/bits runtime/internal/sys -crypto/internal/alias -crypto/subtle crypto/internal/boring/sig cmp unicode/utf16 -math -slices vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias +math +slices encoding log/internal google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set -internal/bytealg runtime/internal/atomic +internal/bytealg runtime internal/reflectlite -sync runtime/metrics +sync internal/testlog -internal/singleflight internal/bisect -google.golang.org/protobuf/internal/pragma +internal/singleflight go.uber.org/zap/internal/pool +google.golang.org/protobuf/internal/pragma runtime/cgo -internal/godebug errors +internal/godebug sort -math/rand -internal/intern io internal/oserror +strconv +crypto/internal/nistec/fiat +path internal/safefilepath vendor/golang.org/x/net/dns/dnsmessage -path -crypto/internal/nistec/fiat -strconv +math/rand +internal/intern syscall -bytes +github.com/beorn7/perks/quantile hash +bytes crypto/internal/randutil internal/saferio -strings text/tabwriter -github.com/beorn7/perks/quantile +strings hash/crc32 hash/fnv crypto reflect crypto/rc4 -net/http/internal/ascii -golang.org/x/crypto/blowfish net/netip -bufio +golang.org/x/crypto/blowfish vendor/golang.org/x/text/transform -regexp/syntax +golang.org/x/text/transform +bufio +net/http/internal/ascii github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg +regexp/syntax html -golang.org/x/text/transform -time +regexp internal/syscall/execenv internal/syscall/unix -regexp +time context -internal/poll io/fs +internal/poll go.uber.org/zap/buffer github.com/jpillora/backoff go.uber.org/zap/internal/bufferpool go.uber.org/zap/internal/stacktrace embed -internal/fmtsort encoding/binary +internal/fmtsort google.golang.org/protobuf/internal/editiondefaults os crypto/cipher -crypto/internal/edwards25519/field -crypto/internal/nistec crypto/md5 +crypto/internal/nistec encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 +crypto/internal/edwards25519/field github.com/cespare/xxhash golang.org/x/sys/unix encoding/pem -crypto/internal/boring crypto/des +crypto/internal/boring vendor/golang.org/x/crypto/chacha20 crypto/internal/edwards25519 +crypto/aes crypto/hmac +crypto/sha1 crypto/sha512 crypto/sha256 -crypto/sha1 -crypto/aes +vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf fmt -net path/filepath -vendor/golang.org/x/crypto/chacha20poly1305 -io/ioutil go.uber.org/zap/internal/exit -crypto/ecdh +net +io/ioutil google.golang.org/protobuf/internal/detrand github.com/prometheus/procfs/internal/util -math/big +crypto/ecdh +encoding/hex net/url -encoding/json flag -github.com/eclipse/paho.mqtt.golang/packets +math/big +encoding/json compress/flate +vendor/golang.org/x/net/http2/hpack +github.com/eclipse/paho.mqtt.golang/packets log vendor/golang.org/x/text/unicode/norm -encoding/hex -vendor/golang.org/x/net/http2/hpack mime vendor/golang.org/x/text/unicode/bidi mime/quotedprintable @@ -1444,8 +1480,8 @@ go.uber.org/zap/internal/color google.golang.org/protobuf/internal/errors go/token -google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/version +google.golang.org/protobuf/encoding/protowire github.com/prometheus/procfs/internal/fs compress/gzip runtime/debug @@ -1457,86 +1493,86 @@ text/template/parse golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm +vendor/golang.org/x/net/idna golang.org/x/net/http2/hpack -golang.org/x/text/secure/bidirule github.com/go-kit/kit/log go.uber.org/atomic -github.com/thedevsaddam/gojsonq google.golang.org/protobuf/internal/descfmt -vendor/golang.org/x/net/idna google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs -go.uber.org/multierr google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/encoding/text -go.uber.org/zap/zapcore google.golang.org/protobuf/internal/order -google.golang.org/protobuf/reflect/protoregistry -google.golang.org/protobuf/runtime/protoiface +go.uber.org/multierr +google.golang.org/protobuf/internal/encoding/text crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand -crypto/ed25519 crypto/dsa -github.com/patrickmn/go-cache +go.uber.org/zap/zapcore +google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/runtime/protoiface +github.com/thedevsaddam/gojsonq +google.golang.org/protobuf/internal/encoding/defval github.com/go-kit/log +text/template +crypto/ed25519 crypto/rsa +github.com/patrickmn/go-cache +golang.org/x/text/secure/bidirule google.golang.org/protobuf/proto -text/template -google.golang.org/protobuf/internal/encoding/defval -golang.org/x/net/idna -golang.org/x/crypto/bcrypt -golang.org/x/sync/errgroup -github.com/go-kit/log/level vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +golang.org/x/crypto/bcrypt +github.com/go-kit/log/level +golang.org/x/net/idna +golang.org/x/sync/errgroup +crypto/ecdsa google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protodelim -go.uber.org/zap/internal -crypto/ecdsa html/template +go.uber.org/zap/internal google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl crypto/x509 golang.org/x/net/internal/socks net/textproto vendor/golang.org/x/net/http/httpproxy -github.com/prometheus/procfs golang.org/x/net/http/httpproxy +github.com/prometheus/procfs golang.org/x/net/proxy vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/http/httpguts -crypto/tls 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 +crypto/tls github.com/prometheus/common/model github.com/prometheus/client_golang/prometheus/internal net/http/httptrace github.com/coreos/go-systemd/activation net/http golang.org/x/net/websocket -go.uber.org/zap expvar -github.com/prometheus/common/expfmt golang.org/x/net/trace golang.org/x/net/http2 +github.com/prometheus/common/expfmt golang.org/x/oauth2/internal +go.uber.org/zap golang.org/x/oauth2 github.com/eclipse/paho.mqtt.golang -github.com/prometheus/client_golang/prometheus golang.org/x/oauth2/clientcredentials +github.com/prometheus/client_golang/prometheus github.com/go-kit/kit/log/zap github.com/hikhvar/mqtt2prometheus/pkg/mqttclient github.com/hikhvar/mqtt2prometheus/pkg/config -github.com/prometheus/client_golang/prometheus/promhttp github.com/mwitkow/go-conntrack +github.com/prometheus/client_golang/prometheus/promhttp github.com/hikhvar/mqtt2prometheus/pkg/metrics github.com/prometheus/common/config github.com/prometheus/exporter-toolkit/web @@ -1577,7 +1613,7 @@ --- PASS: TestRegexp_MarshalYAML/empty (0.00s) --- PASS: TestRegexp_MarshalYAML/with_pattern (0.00s) PASS -ok github.com/hikhvar/mqtt2prometheus/pkg/config 0.044s +ok github.com/hikhvar/mqtt2prometheus/pkg/config 0.015s ? github.com/hikhvar/mqtt2prometheus/pkg/mqttclient [no test files] === RUN TestNewJSONObjectExtractor_parseMetric === RUN TestNewJSONObjectExtractor_parseMetric/string_value @@ -1622,8 +1658,8 @@ --- PASS: TestParser_parseMetric/metric_not_configured (0.00s) --- PASS: TestParser_parseMetric/unexpected_type (0.00s) PASS -ok github.com/hikhvar/mqtt2prometheus/pkg/metrics 0.074s - rm -fr -- /tmp/dh-xdg-rundir-96OHQuMl +ok github.com/hikhvar/mqtt2prometheus/pkg/metrics 0.016s + rm -fr -- /tmp/dh-xdg-rundir-dUe0vo49 create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang -O--builddirectory=/build/reproducible-path/prometheus-mqtt-exporter-0.1.7/build dh_prep -O--buildsystem=golang -O--builddirectory=/build/reproducible-path/prometheus-mqtt-exporter-0.1.7/build @@ -1765,12 +1801,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/4013328/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4013328/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/2640179 and its subdirectories -I: Current time: Tue Jun 3 09:02:07 -12 2025 -I: pbuilder-time-stamp: 1748984527 +I: removing directory /srv/workspace/pbuilder/4013328 and its subdirectories +I: Current time: Thu May 2 04:40:32 +14 2024 +I: pbuilder-time-stamp: 1714574432