Diff of the two buildlogs: -- --- b1/build.log 2023-04-22 09:05:15.069819898 +0000 +++ b2/build.log 2023-04-22 09:09:03.879674903 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 24 03:24:04 -12 2024 -I: pbuilder-time-stamp: 1716564244 +I: Current time: Sat Apr 22 23:05:20 +14 2023 +I: pbuilder-time-stamp: 1682154320 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./prometheus-mqtt-exporter_0.1.7.orig.tar.gz] I: copying [./prometheus-mqtt-exporter_0.1.7-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Feb 1 15:34:43 2023 -12 +gpgv: Signature made Thu Feb 2 17:34:43 2023 +14 gpgv: using RSA key 303F687A4EFCB1AE7C1A35A3B700173FBB805A29 gpgv: issuer "dswarbrick@debian.org" gpgv: Can't check signature: No public key @@ -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/1395/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22434/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-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 Apr 22 23:05 /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/22434/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22434/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='1395' - PS1='# ' - PS2='> ' + 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=22434 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.W6cIaZxt/pbuilderrc_RrhK --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.W6cIaZxt/b1 --logfile b1/build.log prometheus-mqtt-exporter_0.1.7-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.W6cIaZxt/pbuilderrc_i1aA --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.W6cIaZxt/b2 --logfile b2/build.log --extrapackages usrmerge prometheus-mqtt-exporter_0.1.7-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink15-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 21 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1395/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/22434/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -269,7 +301,7 @@ Get: 137 http://deb.debian.org/debian bookworm/main arm64 golang-github-prometheus-exporter-toolkit-dev all 0.8.2-2 [48.2 kB] Get: 138 http://deb.debian.org/debian bookworm/main arm64 golang-github-thedevsaddam-gojsonq-dev all 2.5.2-4 [22.9 kB] Get: 139 http://deb.debian.org/debian bookworm/main arm64 golang-github-eclipse-paho.mqtt.golang-dev all 1.1.1-1.1 [41.2 kB] -Fetched 162 MB in 4s (43.7 MB/s) +Fetched 162 MB in 3s (58.5 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 ... 19616 files and directories currently installed.) @@ -839,8 +871,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/22434/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/22434/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -985,19 +1026,19 @@ CGO_FFLAGS="-g -O2 -ffile-prefix-map=/build/prometheus-mqtt-exporter-0.1.7=." CGO_LDFLAGS="-Wl,-z,relro" PKG_CONFIG="pkg-config" -GOGCCFLAGS="-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1117829434=/tmp/go-build -gno-record-gcc-switches" +GOGCCFLAGS="-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1788348247=/tmp/go-build -gno-record-gcc-switches" cd build && go install -trimpath -v -p 8 -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.19.8" github.com/hikhvar/mqtt2prometheus/cmd github.com/hikhvar/mqtt2prometheus/pkg/config github.com/hikhvar/mqtt2prometheus/pkg/metrics github.com/hikhvar/mqtt2prometheus/pkg/mqttclient internal/goarch internal/unsafeheader -internal/goos internal/goexperiment -internal/race internal/cpu +internal/goos +runtime/internal/syscall +internal/race +sync/atomic internal/abi runtime/internal/math -runtime/internal/syscall runtime/internal/sys -sync/atomic unicode unicode/utf8 container/list @@ -1005,10 +1046,10 @@ math/bits crypto/internal/subtle crypto/subtle -crypto/internal/boring/sig internal/bytealg -unicode/utf16 runtime/internal/atomic +crypto/internal/boring/sig +unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle @@ -1017,9 +1058,9 @@ google.golang.org/protobuf/internal/set math runtime -runtime/metrics -sync internal/reflectlite +sync +runtime/metrics internal/testlog internal/singleflight math/rand @@ -1027,117 +1068,118 @@ runtime/cgo errors sort -io internal/oserror strconv path internal/safefilepath +io crypto/internal/nistec/fiat -vendor/golang.org/x/net/dns/dnsmessage syscall +vendor/golang.org/x/net/dns/dnsmessage github.com/beorn7/perks/quantile +bytes hash strings -bytes crypto/internal/randutil hash/crc32 -hash/fnv -text/tabwriter -net/http/internal/ascii -bufio -vendor/golang.org/x/text/transform crypto reflect crypto/rc4 +hash/fnv +vendor/golang.org/x/text/transform +bufio +net/http/internal/ascii regexp/syntax github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg html +text/tabwriter golang.org/x/text/transform golang.org/x/crypto/blowfish +time internal/syscall/unix internal/syscall/execenv -time regexp context io/fs -go.uber.org/zap/buffer internal/poll +go.uber.org/zap/buffer github.com/jpillora/backoff go.uber.org/zap/internal/bufferpool embed os -internal/fmtsort encoding/binary -internal/godebug -path/filepath -io/ioutil -go.uber.org/zap/internal/exit -github.com/prometheus/procfs/internal/util -internal/intern -fmt -net/netip +internal/fmtsort crypto/cipher -crypto/internal/nistec crypto/md5 -encoding/base64 crypto/internal/edwards25519/field +encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field +crypto/internal/nistec encoding/pem -net github.com/cespare/xxhash +golang.org/x/sys/unix crypto/internal/edwards25519 crypto/internal/boring crypto/des -crypto/aes +vendor/golang.org/x/crypto/chacha20 +fmt crypto/sha512 +crypto/aes crypto/hmac -math/big crypto/sha1 crypto/sha256 -encoding/hex +internal/godebug +internal/intern +path/filepath +vendor/golang.org/x/crypto/chacha20poly1305 +net/netip +vendor/golang.org/x/crypto/hkdf +io/ioutil +go.uber.org/zap/internal/exit +google.golang.org/protobuf/internal/detrand +github.com/prometheus/procfs/internal/util net/url -vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/crypto/hkdf encoding/json +math/big flag +encoding/hex +net github.com/eclipse/paho.mqtt.golang/packets compress/flate -vendor/golang.org/x/crypto/chacha20poly1305 log vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/bidi +compress/gzip mime mime/quotedprintable -compress/gzip net/http/internal github.com/go-logfmt/logfmt go.uber.org/zap/internal/color -google.golang.org/protobuf/internal/detrand -go/token google.golang.org/protobuf/internal/errors -google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/version -vendor/golang.org/x/text/secure/bidirule -github.com/go-kit/kit/log +go/token go.uber.org/atomic +vendor/golang.org/x/text/secure/bidirule github.com/golang/protobuf/proto +github.com/go-kit/kit/log github.com/prometheus/common/model +google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/reflect/protoreflect +go.uber.org/multierr +google.golang.org/protobuf/internal/version +github.com/prometheus/procfs/internal/fs +go.uber.org/zap/zapcore crypto/elliptic +vendor/golang.org/x/net/idna crypto/internal/boring/bbig encoding/asn1 crypto/rand -crypto/dsa crypto/ed25519 crypto/rsa -vendor/golang.org/x/net/idna -go.uber.org/multierr -github.com/prometheus/procfs/internal/fs -golang.org/x/sys/unix -go.uber.org/zap/zapcore +crypto/dsa +runtime/debug google.golang.org/protobuf/internal/descfmt vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix @@ -1145,34 +1187,33 @@ google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/order -crypto/ecdsa +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface -runtime/debug gopkg.in/yaml.v2 -google.golang.org/protobuf/internal/encoding/defval encoding/gob -google.golang.org/protobuf/proto -github.com/thedevsaddam/gojsonq +crypto/ecdsa go.uber.org/zap/internal +github.com/thedevsaddam/gojsonq github.com/go-kit/log -github.com/go-kit/log/level -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/proto +google.golang.org/protobuf/internal/encoding/defval golang.org/x/net/internal/timeseries +github.com/go-kit/log/level text/template/parse golang.org/x/text/unicode/bidi +google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext github.com/golang/protobuf/ptypes/timestamp github.com/prometheus/client_model/go -github.com/prometheus/client_golang/prometheus/internal github.com/matttproud/golang_protobuf_extensions/pbutil github.com/patrickmn/go-cache -golang.org/x/text/unicode/norm -text/template golang.org/x/text/secure/bidirule +golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack +github.com/prometheus/client_golang/prometheus/internal +text/template golang.org/x/crypto/bcrypt golang.org/x/sync/errgroup google.golang.org/protobuf/internal/encoding/tag @@ -1180,9 +1221,9 @@ html/template golang.org/x/net/idna golang.org/x/net/internal/socks -net/textproto -vendor/golang.org/x/net/http/httpproxy crypto/x509 +vendor/golang.org/x/net/http/httpproxy +net/textproto github.com/prometheus/procfs golang.org/x/net/proxy vendor/golang.org/x/net/http/httpguts @@ -1195,23 +1236,23 @@ net/http/httptrace github.com/coreos/go-systemd/activation net/http -golang.org/x/net/websocket -go.uber.org/zap expvar +golang.org/x/net/websocket +golang.org/x/net/http2 github.com/prometheus/common/expfmt -golang.org/x/net/trace golang.org/x/net/context/ctxhttp -golang.org/x/net/http2 +golang.org/x/net/trace +go.uber.org/zap golang.org/x/oauth2/internal golang.org/x/oauth2 -golang.org/x/oauth2/clientcredentials github.com/eclipse/paho.mqtt.golang +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 @@ -1252,7 +1293,7 @@ --- PASS: TestRegexp_MarshalYAML/empty (0.00s) --- PASS: TestRegexp_MarshalYAML/with_pattern (0.00s) PASS -ok github.com/hikhvar/mqtt2prometheus/pkg/config 0.047s +ok github.com/hikhvar/mqtt2prometheus/pkg/config 0.083s === RUN TestNewJSONObjectExtractor_parseMetric === RUN TestNewJSONObjectExtractor_parseMetric/string_value === RUN TestNewJSONObjectExtractor_parseMetric/string_value_with_dots_in_path @@ -1296,9 +1337,9 @@ --- PASS: TestParser_parseMetric/metric_not_configured (0.00s) --- PASS: TestParser_parseMetric/unexpected_type (0.00s) PASS -ok github.com/hikhvar/mqtt2prometheus/pkg/metrics 0.121s +ok github.com/hikhvar/mqtt2prometheus/pkg/metrics 0.055s ? github.com/hikhvar/mqtt2prometheus/pkg/mqttclient [no test files] - rm -fr -- /tmp/dh-xdg-rundir-HvJZDtIm + rm -fr -- /tmp/dh-xdg-rundir-3svSUUUR create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang -O--builddirectory=/build/prometheus-mqtt-exporter-0.1.7/build dh_prep -O--buildsystem=golang -O--builddirectory=/build/prometheus-mqtt-exporter-0.1.7/build @@ -1439,12 +1480,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/22434/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22434/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/1395 and its subdirectories -I: Current time: Fri May 24 03:28:13 -12 2024 -I: pbuilder-time-stamp: 1716564493 +I: removing directory /srv/workspace/pbuilder/22434 and its subdirectories +I: Current time: Sat Apr 22 23:09:02 +14 2023 +I: pbuilder-time-stamp: 1682154542