Diff of the two buildlogs: -- --- b1/build.log 2024-01-06 10:42:18.786718913 +0000 +++ b2/build.log 2024-01-06 10:43:35.431738902 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Feb 7 05:03:36 -12 2025 -I: pbuilder-time-stamp: 1738947816 +I: Current time: Sun Jan 7 00:42:22 +14 2024 +I: pbuilder-time-stamp: 1704537742 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./prometheus-mysqld-exporter_0.12.1+ds-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.fP9qIq80/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.CMqRFrix/trustedkeys.kbx': General error gpgv: Signature made Fri Jan 29 22:42:10 2021 gpgv: using RSA key 4F3E74F436050C10F5696574B972BF3EA4AE57A3 gpgv: Can't check signature: No public key @@ -30,49 +30,80 @@ dpkg-source: info: applying 02-Disable_test.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1993278/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3712934/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 Jan 6 10:42 /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/3712934/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3712934/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:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(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,-fixfilepath parallel=12 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='336fe830326a49038974c517884125dc' - 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='1993278' - PS1='# ' - PS2='> ' + INVOCATION_ID=83b842b6f9a04ccca8f1d4b335dc4bff + 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=3712934 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.RQM7NU1S/pbuilderrc_BkJa --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RQM7NU1S/b1 --logfile b1/build.log prometheus-mysqld-exporter_0.12.1+ds-3.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.104: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.RQM7NU1S/pbuilderrc_bUiO --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RQM7NU1S/b2 --logfile b2/build.log prometheus-mysqld-exporter_0.12.1+ds-3.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.104:3128 I: uname -a - Linux codethink01-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 5252 -rwxr-xr-x 1 root root 1282512 Mar 27 2022 bash @@ -132,7 +163,7 @@ -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jan 8 15:48 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 6 10:42 sh -> /bin/bash -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty -rwsr-xr-x 1 root root 67776 Jan 20 2022 su @@ -158,7 +189,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/1993278/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/3712934/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -327,7 +358,7 @@ Get: 101 http://deb.debian.org/debian bullseye/main arm64 golang-golang-x-tools-dev all 1:0.1.0+ds-1 [1626 kB] Get: 102 http://deb.debian.org/debian bullseye/main arm64 golang-github-smartystreets-goconvey-dev all 1.6.4+dfsg-1 [51.6 kB] Get: 103 http://deb.debian.org/debian bullseye/main arm64 golang-gopkg-ini.v1-dev all 1.57.0-1 [38.1 kB] -Fetched 93.7 MB in 2s (43.8 MB/s) +Fetched 93.7 MB in 1s (123 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 17734 files and directories currently installed.) @@ -755,7 +786,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-mysqld-exporter-0.12.1+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 > ../prometheus-mysqld-exporter_0.12.1+ds-3_source.changes +I: user script /srv/workspace/pbuilder/3712934/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3712934/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-mysqld-exporter-0.12.1+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 > ../prometheus-mysqld-exporter_0.12.1+ds-3_source.changes dpkg-buildpackage: info: source package prometheus-mysqld-exporter dpkg-buildpackage: info: source version 0.12.1+ds-3 dpkg-buildpackage: info: source distribution unstable @@ -778,24 +813,24 @@ make[1]: Entering directory '/build/reproducible-path/prometheus-mysqld-exporter-0.12.1+ds' dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=0.12.1+ds -X github.com/prometheus/common/version.Revision=0.12.1+ds-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=20210129-22:34:30 -X github.com/prometheus/common/version.GoVersion=go1.15.15" cd build && go install -trimpath -v -p 12 -ldflags " -X github.com/prometheus/common/version.Version=0.12.1+ds -X github.com/prometheus/common/version.Revision=0.12.1+ds-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=20210129-22:34:30 -X github.com/prometheus/common/version.GoVersion=go1.15.15" github.com/prometheus/mysqld_exporter github.com/prometheus/mysqld_exporter/collector -internal/cpu -internal/unsafeheader -internal/race runtime/internal/sys +internal/cpu +crypto/subtle +math/bits unicode -unicode/utf8 +internal/race container/list -math/bits +internal/unsafeheader crypto/internal/subtle -crypto/subtle runtime/internal/atomic -unicode/utf16 +unicode/utf8 sync/atomic runtime/internal/math -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/bytealg +unicode/utf16 internal/nettrace +vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle +internal/bytealg encoding golang.org/x/sys/internal/unsafeheader math @@ -804,80 +839,80 @@ runtime internal/reflectlite sync -math/rand internal/singleflight +math/rand errors sort internal/oserror +vendor/golang.org/x/net/dns/dnsmessage io strconv -vendor/golang.org/x/net/dns/dnsmessage -github.com/beorn7/perks/quantile syscall +github.com/beorn7/perks/quantile bytes -hash strings +hash crypto/internal/randutil crypto/hmac hash/crc32 -vendor/golang.org/x/text/transform vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/text/transform crypto -reflect crypto/rc4 +reflect bufio -path github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg regexp/syntax +path internal/syscall/execenv time internal/syscall/unix regexp -encoding/binary -internal/fmtsort context internal/poll -crypto/cipher -crypto/sha512 -crypto/ed25519/internal/edwards25519 -crypto/md5 -encoding/base64 +os +encoding/binary +internal/fmtsort crypto/sha1 +encoding/base64 +github.com/cespare/xxhash +crypto/md5 +crypto/sha512 +crypto/sha256 vendor/golang.org/x/crypto/poly1305 +crypto/cipher +crypto/ed25519/internal/edwards25519 golang.org/x/sys/unix -crypto/sha256 -github.com/cespare/xxhash -os -encoding/pem -crypto/aes -crypto/des -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/chacha20poly1305 fmt path/filepath -internal/lazyregexp net runtime/debug +internal/lazyregexp +encoding/pem +crypto/des +vendor/golang.org/x/crypto/chacha20 +crypto/aes io/ioutil -math/big +github.com/prometheus/procfs/internal/util +vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex net/url vendor/golang.org/x/crypto/curve25519 database/sql/driver -log -encoding/json -compress/flate vendor/golang.org/x/text/unicode/norm +math/big +encoding/json vendor/golang.org/x/net/http2/hpack +log +compress/flate +database/sql mime mime/quotedprintable net/http/internal -vendor/golang.org/x/text/unicode/bidi -database/sql github.com/prometheus/procfs/internal/fs -github.com/prometheus/procfs/internal/util -go/token +vendor/golang.org/x/text/unicode/bidi github.com/alecthomas/units +go/token text/template/parse gopkg.in/ini.v1 compress/gzip @@ -901,30 +936,30 @@ crypto/ecdsa github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration -github.com/matttproud/golang_protobuf_extensions/pbutil github.com/golang/protobuf/ptypes/timestamp -github.com/prometheus/client_model/go +github.com/matttproud/golang_protobuf_extensions/pbutil github.com/golang/protobuf/ptypes +github.com/prometheus/client_model/go github.com/prometheus/client_golang/prometheus/internal -crypto/x509 -net/textproto vendor/golang.org/x/net/http/httpproxy -github.com/prometheus/procfs -gopkg.in/alecthomas/kingpin.v2 +net/textproto log/syslog github.com/satori/go.uuid +crypto/x509 +gopkg.in/alecthomas/kingpin.v2 +github.com/prometheus/procfs vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls github.com/prometheus/common/log -github.com/go-sql-driver/mysql net/http/httptrace +github.com/go-sql-driver/mysql net/http expvar github.com/prometheus/common/expfmt github.com/prometheus/client_golang/prometheus -github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/common/version +github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/mysqld_exporter/collector github.com/prometheus/mysqld_exporter # Rename the binary to match the debian package. @@ -963,11 +998,11 @@ === RUN TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage === PAUSE TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage === CONT TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage ---- PASS: TestBin (3.84s) +--- PASS: TestBin (2.46s) --- PASS: TestBin/mysqld_exporter (0.00s) - --- PASS: TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage (1.04s) + --- PASS: TestBin/mysqld_exporter/github.com/prometheus/mysqld_exporter.testLandingPage (1.00s) PASS -ok github.com/prometheus/mysqld_exporter 3.928s +ok github.com/prometheus/mysqld_exporter 2.482s === RUN TestScrapeBinlogSize Metrics comparison ✔✔✔ @@ -1008,7 +1043,7 @@ 14 total assertions - Metrics collection time="2025-02-07T17:04:58Z" level=error msg="Error pinging mysqld: dial tcp 127.0.0.1:3306: connect: connection refused" source="exporter.go:146" + Metrics collection time="2024-01-06T10:43:21Z" level=error msg="Error pinging mysqld: dial tcp 127.0.0.1:3306: connect: connection refused" source="exporter.go:146" @@ -1171,7 +1206,7 @@ --- PASS: TestScrapeSlaveStatus (0.00s) PASS -ok github.com/prometheus/mysqld_exporter/collector 0.051s +ok github.com/prometheus/mysqld_exporter/collector 0.034s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang -O--builddirectory=build dh_prep -O--buildsystem=golang -O--builddirectory=build @@ -1213,12 +1248,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/3712934/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3712934/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/1993278 and its subdirectories -I: Current time: Fri Feb 7 05:05:17 -12 2025 -I: pbuilder-time-stamp: 1738947917 +I: removing directory /srv/workspace/pbuilder/3712934 and its subdirectories +I: Current time: Sun Jan 7 00:43:34 +14 2024 +I: pbuilder-time-stamp: 1704537814