Diff of the two buildlogs: -- --- b1/build.log 2025-03-19 05:47:08.599112348 +0000 +++ b2/build.log 2025-03-19 05:50:45.585319142 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 18 17:40:46 -12 2025 -I: pbuilder-time-stamp: 1742362846 +I: Current time: Wed Mar 19 19:47:35 +14 2025 +I: pbuilder-time-stamp: 1742363255 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying use-gopkg-kingpin-v2.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5927/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31676/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 19 05:47 /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/31676/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31676/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='c280639961a34212a63cd0a2e88ae19a' - 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='5927' - PS1='# ' - PS2='> ' + INVOCATION_ID=9c0f54d569114a5f880d9ef0830b7592 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=31676 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.apVQSYSF/pbuilderrc_0uo3 --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.apVQSYSF/b1 --logfile b1/build.log prometheus-pgbackrest-exporter_0.19.0+ds1-2.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.apVQSYSF/pbuilderrc_n89g --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.apVQSYSF/b2 --logfile b2/build.log prometheus-pgbackrest-exporter_0.19.0+ds1-2.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32c 6.1.0-32-armmp-lpae #1 SMP Debian 6.1.129-1 (2025-03-06) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5927/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/31676/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -227,7 +259,7 @@ Get: 104 http://deb.debian.org/debian trixie/main armhf libpq5 armhf 17.4-1+b1 [210 kB] Get: 105 http://deb.debian.org/debian trixie/main armhf libssh2-1t64 armhf 1.11.1-1 [227 kB] Get: 106 http://deb.debian.org/debian trixie/main armhf pgbackrest armhf 2.54.2-1 [454 kB] -Fetched 128 MB in 3s (41.3 MB/s) +Fetched 128 MB in 13s (10.0 MB/s) Preconfiguring packages ... Selecting previously unselected package libjson-perl. (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 ... 19510 files and directories currently installed.) @@ -673,7 +705,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-pgbackrest-exporter-0.19.0+ds1/ && 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-pgbackrest-exporter_0.19.0+ds1-2_source.changes +I: user script /srv/workspace/pbuilder/31676/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/31676/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-pgbackrest-exporter-0.19.0+ds1/ && 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-pgbackrest-exporter_0.19.0+ds1-2_source.changes dpkg-buildpackage: info: source package prometheus-pgbackrest-exporter dpkg-buildpackage: info: source version 0.19.0+ds1-2 dpkg-buildpackage: info: source distribution unstable @@ -693,17 +729,17 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/prometheus-pgbackrest-exporter-0.19.0+ds1' dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=0.19.0+ds1 -X github.com/prometheus/common/version.Revision=0.19.0+ds1-2 -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=20250228-22:00:05 -X github.com/prometheus/common/version.GoVersion=go1.24.1" - cd _build && go install -trimpath -v -p 3 -ldflags " -X github.com/prometheus/common/version.Version=0.19.0+ds1 -X github.com/prometheus/common/version.Revision=0.19.0+ds1-2 -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=20250228-22:00:05 -X github.com/prometheus/common/version.GoVersion=go1.24.1" github.com/woblerr/pgbackrest_exporter github.com/woblerr/pgbackrest_exporter/backrest -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 -ldflags " -X github.com/prometheus/common/version.Version=0.19.0+ds1 -X github.com/prometheus/common/version.Revision=0.19.0+ds1-2 -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=20250228-22:00:05 -X github.com/prometheus/common/version.GoVersion=go1.24.1" github.com/woblerr/pgbackrest_exporter github.com/woblerr/pgbackrest_exporter/backrest +internal/byteorder internal/goarch +internal/unsafeheader internal/cpu -internal/byteorder internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/chacha8rand internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic @@ -712,22 +748,21 @@ internal/runtime/math internal/runtime/sys internal/runtime/syscall -internal/runtime/exithook internal/stringslite sync/atomic +internal/runtime/exithook math/bits -internal/race -internal/runtime/maps unicode -internal/sync unicode/utf8 encoding cmp math internal/itoa unicode/utf16 +internal/race +internal/sync +internal/runtime/maps log/internal -runtime internal/nettrace container/list crypto/internal/fips140/alias @@ -740,55 +775,70 @@ google.golang.org/protobuf/internal/set log/slog/internal github.com/klauspost/compress -iter -sync -slices +runtime internal/reflectlite +sync +iter weak maps +slices crypto/internal/fips140/subtle crypto/subtle runtime/metrics -internal/bisect internal/testlog +internal/bisect internal/singleflight -unique errors -internal/godebug +sort +unique io strconv +bytes internal/oserror path -bytes +internal/godebug syscall strings reflect +vendor/golang.org/x/net/dns/dnsmessage bufio -sort +regexp/syntax +net/netip time internal/syscall/unix internal/syscall/execenv -regexp/syntax regexp +runtime/cgo io/fs internal/filepathlite internal/poll context +hash encoding/binary internal/fmtsort -vendor/golang.org/x/net/dns/dnsmessage os -encoding/base64 -net/netip -runtime/cgo -fmt -path/filepath -internal/lazyregexp -hash crypto crypto/internal/fips140deps/godebug crypto/internal/fips140 crypto/internal/fips140/sha256 +crypto/internal/fips140/sha3 +encoding/base64 +crypto/internal/fips140/sha512 +math/rand/v2 +crypto/internal/fips140/hmac +crypto/internal/fips140/check +crypto/internal/randutil +crypto/internal/fips140/aes +crypto/internal/fips140/nistec/fiat +fmt +path/filepath +internal/lazyregexp +crypto/internal/sysrand +net +crypto/internal/entropy +crypto/internal/fips140/drbg +crypto/internal/fips140/aes/gcm +crypto/internal/fips140only encoding/json github.com/go-logfmt/logfmt log @@ -796,182 +846,168 @@ github.com/alecthomas/units go/token go/scanner -github.com/go-kit/log go/ast -github.com/go-kit/log/level -github.com/prometheus/common/promlog go/doc/comment -net -go/doc +github.com/go-kit/log +github.com/go-kit/log/level net/url +github.com/prometheus/common/promlog text/template/parse -crypto/internal/fips140/sha3 -crypto/internal/fips140/sha512 -crypto/internal/fips140/hmac -crypto/internal/fips140/check -crypto/internal/fips140/aes -text/template -crypto/internal/sysrand -crypto/internal/entropy -math/rand/v2 -crypto/internal/randutil -crypto/internal/fips140/drbg -crypto/internal/fips140/aes/gcm -crypto/internal/fips140only -crypto/internal/fips140/nistec/fiat +go/doc crypto/cipher crypto/internal/boring crypto/aes crypto/des +crypto/internal/fips140/nistec +text/template crypto/internal/fips140/edwards25519/field math/rand math/big -crypto/internal/fips140/nistec -crypto/internal/boring/bbig crypto/internal/impl crypto/internal/fips140/bigmod crypto/sha3 crypto/internal/fips140hash crypto/sha512 -encoding/asn1 +crypto/internal/fips140/edwards25519 crypto/internal/fips140/ecdh -crypto/elliptic crypto/ecdh +crypto/elliptic +crypto/internal/boring/bbig crypto/internal/fips140/ecdsa -vendor/golang.org/x/crypto/cryptobyte +encoding/asn1 gopkg.in/alecthomas/kingpin.v2 -crypto/internal/fips140/edwards25519 -crypto/ecdsa crypto/internal/fips140/ed25519 crypto/rand crypto/hmac +crypto/ed25519 crypto/internal/fips140/hkdf crypto/internal/fips140/mlkem -crypto/ed25519 crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 +vendor/golang.org/x/crypto/cryptobyte vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 crypto/md5 vendor/golang.org/x/crypto/chacha20poly1305 -crypto/rc4 crypto/internal/hpke +crypto/ecdsa +crypto/rc4 crypto/internal/fips140/rsa -github.com/prometheus/common/promlog/flag crypto/sha1 crypto/sha256 crypto/tls/internal/fips140tls crypto/dsa crypto/x509/pkix -encoding/pem crypto/rsa +encoding/pem embed golang.org/x/net/bpf +crypto/x509 +github.com/prometheus/common/promlog/flag golang.org/x/sync/errgroup golang.org/x/sys/unix -crypto/x509 github.com/jpillora/backoff compress/flate hash/crc32 -compress/gzip vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule +compress/gzip vendor/golang.org/x/text/unicode/norm -crypto/tls -github.com/mdlayher/socket -vendor/golang.org/x/net/idna -github.com/mdlayher/vsock +vendor/golang.org/x/text/secure/bidirule net/textproto -vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/net/http/httpguts +crypto/tls mime +vendor/golang.org/x/net/idna +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy mime/quotedprintable net/http/internal +github.com/mdlayher/socket +mime/multipart net/http/internal/ascii github.com/beorn7/perks/quantile github.com/cespare/xxhash hash/fnv -google.golang.org/protobuf/internal/detrand -mime/multipart -google.golang.org/protobuf/internal/errors -google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/pragma -google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/internal/editiondefaults google.golang.org/protobuf/internal/version +github.com/mdlayher/vsock github.com/munnerz/goautoneg +google.golang.org/protobuf/internal/detrand github.com/prometheus/procfs/internal/fs +google.golang.org/protobuf/internal/errors github.com/prometheus/procfs/internal/util +google.golang.org/protobuf/encoding/protowire +runtime/debug +google.golang.org/protobuf/reflect/protoreflect github.com/prometheus/procfs -github.com/coreos/go-systemd/activation -net/http/httptrace +golang.org/x/net/internal/timeseries +html google.golang.org/protobuf/internal/descfmt -net/http google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/text -google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/runtime/protoiface +html/template google.golang.org/protobuf/proto +github.com/coreos/go-systemd/activation +net/http/httptrace google.golang.org/protobuf/internal/protolazy -runtime/debug -golang.org/x/net/internal/timeseries -google.golang.org/protobuf/encoding/prototext +net/http +text/tabwriter google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protodelim -html -html/template -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/internal/impl -text/tabwriter golang.org/x/text/transform golang.org/x/text/unicode/bidi -golang.org/x/text/secure/bidirule golang.org/x/text/unicode/norm -golang.org/x/net/idna -expvar -golang.org/x/net/trace -golang.org/x/net/http/httpproxy -golang.org/x/net/http/httpguts +golang.org/x/text/secure/bidirule golang.org/x/net/http2/hpack io/ioutil -golang.org/x/net/http2 -golang.org/x/oauth2/internal -golang.org/x/oauth2 -golang.org/x/oauth2/clientcredentials +google.golang.org/protobuf/internal/encoding/tag gopkg.in/yaml.v2 -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 +google.golang.org/protobuf/internal/impl +golang.org/x/net/idna +golang.org/x/net/http/httpproxy +golang.org/x/net/http/httpguts log/slog/internal/buffer log/slog -github.com/prometheus/common/model golang.org/x/crypto/blowfish golang.org/x/crypto/bcrypt github.com/klauspost/compress/fse github.com/prometheus/common/promslog -github.com/prometheus/client_golang/prometheus/internal -github.com/prometheus/common/expfmt github.com/klauspost/compress/internal/le -github.com/klauspost/compress/huff0 github.com/klauspost/compress/internal/snapref +os/exec +github.com/klauspost/compress/huff0 +os/signal +github.com/klauspost/compress/zstd +expvar +golang.org/x/net/trace +google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl +golang.org/x/net/http2 +golang.org/x/oauth2/internal +google.golang.org/protobuf/types/known/timestamppb github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +golang.org/x/oauth2 +github.com/prometheus/client_model/go github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil -os/exec +golang.org/x/oauth2/clientcredentials +github.com/prometheus/common/model +github.com/prometheus/client_golang/prometheus/internal +github.com/prometheus/common/expfmt github.com/prometheus/client_golang/prometheus -github.com/klauspost/compress/zstd -os/signal -github.com/mwitkow/go-conntrack github.com/prometheus/client_golang/prometheus/promauto -github.com/prometheus/common/config +github.com/mwitkow/go-conntrack github.com/prometheus/client_golang/prometheus/promhttp +github.com/prometheus/common/config github.com/prometheus/exporter-toolkit/web github.com/prometheus/exporter-toolkit/web/kingpinflag github.com/woblerr/pgbackrest_exporter/backrest @@ -983,41 +1019,41 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/prometheus-pgbackrest-exporter-0.19.0+ds1' TZ=UTC dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/woblerr/pgbackrest_exporter github.com/woblerr/pgbackrest_exporter/backrest + cd _build && go test -vet=off -v -p 4 github.com/woblerr/pgbackrest_exporter github.com/woblerr/pgbackrest_exporter/backrest === RUN TestMain -ts=2025-03-19T05:46:21.104Z caller=pgbackrest_exporter.go:97 level=info msg="Starting exporter" name=pgbackrest_exporter version=unknown -ts=2025-03-19T05:46:21.104Z caller=pgbackrest_exporter.go:154 level=info mgs="Use exporter parameters" endpoint=/metrics config.file= -ts=2025-03-19T05:46:21.106Z level=info caller=tls_config.go:353 msg="Listening on" address=[::]:50872 -ts=2025-03-19T05:46:21.106Z level=info caller=tls_config.go:356 msg="TLS is disabled." http2=false address=[::]:50872 -ts=2025-03-19T05:46:21.134Z caller=backrest_exporter.go:81 level=error msg="Get data from pgBackRest failed" err="exit status 41" -ts=2025-03-19T05:46:21.135Z caller=backrest_exporter.go:86 level=error msg="Parse JSON failed" err="unexpected end of JSON input" -ts=2025-03-19T05:46:21.135Z caller=backrest_exporter.go:89 level=warn msg="No backup data returned" ---- PASS: TestMain (1.02s) +ts=2025-03-19T05:50:18.529Z caller=pgbackrest_exporter.go:97 level=info msg="Starting exporter" name=pgbackrest_exporter version=unknown +ts=2025-03-19T05:50:18.529Z caller=pgbackrest_exporter.go:154 level=info mgs="Use exporter parameters" endpoint=/metrics config.file= +ts=2025-03-19T05:50:18.530Z level=info caller=tls_config.go:353 msg="Listening on" address=[::]:50087 +ts=2025-03-19T05:50:18.530Z level=info caller=tls_config.go:356 msg="TLS is disabled." http2=false address=[::]:50087 +ts=2025-03-19T05:50:18.545Z caller=backrest_exporter.go:81 level=error msg="Get data from pgBackRest failed" err="exit status 41" +ts=2025-03-19T05:50:18.545Z caller=backrest_exporter.go:86 level=error msg="Parse JSON failed" err="unexpected end of JSON input" +ts=2025-03-19T05:50:18.545Z caller=backrest_exporter.go:89 level=warn msg="No backup data returned" +--- PASS: TestMain (1.01s) PASS -ok github.com/woblerr/pgbackrest_exporter 1.053s +ok github.com/woblerr/pgbackrest_exporter 1.029s === RUN TestGetBackupMetrics === RUN TestGetBackupMetrics/getBackupMetrics -ts=2025-03-19T05:46:22.203Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-19T05:50:18.932Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " --- PASS: TestGetBackupMetrics (0.00s) --- PASS: TestGetBackupMetrics/getBackupMetrics (0.00s) === RUN TestGetRepoMapMetricsAbsent === RUN TestGetRepoMapMetricsAbsent/getBackupMetrics -ts=2025-03-19T05:46:22.205Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-19T05:50:18.933Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " --- PASS: TestGetRepoMapMetricsAbsent (0.00s) --- PASS: TestGetRepoMapMetricsAbsent/getBackupMetrics (0.00s) === RUN TestGetBackupMetricsDBsAbsent === RUN TestGetBackupMetricsDBsAbsent/getBackupMetrics -ts=2025-03-19T05:46:22.206Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-19T05:50:18.934Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " --- PASS: TestGetBackupMetricsDBsAbsent (0.00s) --- PASS: TestGetBackupMetricsDBsAbsent/getBackupMetrics (0.00s) === RUN TestGetBackupMetricsErrorAbsent === RUN TestGetBackupMetricsErrorAbsent/getBackupMetricsErrorAbsent -ts=2025-03-19T05:46:22.207Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-19T05:50:18.934Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " --- PASS: TestGetBackupMetricsErrorAbsent (0.00s) --- PASS: TestGetBackupMetricsErrorAbsent/getBackupMetricsErrorAbsent (0.00s) === RUN TestGetBackupMetricsRepoAbsent === RUN TestGetBackupMetricsRepoAbsent/getBackupMetricsRepoAbsent -ts=2025-03-19T05:46:22.209Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-19T05:50:18.935Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " --- PASS: TestGetBackupMetricsRepoAbsent (0.00s) --- PASS: TestGetBackupMetricsRepoAbsent/getBackupMetricsRepoAbsent (0.00s) === RUN TestGetBackupMetricsErrorsAndDebugs @@ -1091,26 +1127,26 @@ === RUN TestGetPgBackRestInfo/GetPgBackRestInfoZeroDataReturn === RUN TestGetPgBackRestInfo/GetPgBackRestInfoJsonUnmarshalFail === RUN TestGetPgBackRestInfo/GetPgBackRestInfoEqualIncludeExcludeLists ---- PASS: TestGetPgBackRestInfo (0.21s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoGoodDataReturn (0.07s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoGoodDataReturnWithWarn (0.07s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoBadDataReturn (0.02s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoZeroDataReturn (0.02s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoJsonUnmarshalFail (0.02s) +--- PASS: TestGetPgBackRestInfo (0.11s) + --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoGoodDataReturn (0.04s) + --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoGoodDataReturnWithWarn (0.04s) + --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoBadDataReturn (0.01s) + --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoZeroDataReturn (0.01s) + --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoJsonUnmarshalFail (0.01s) --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoEqualIncludeExcludeLists (0.00s) === RUN TestExecCommandHelper --- PASS: TestExecCommandHelper (0.00s) === RUN TestGetBackupLastMetrics === RUN TestGetBackupLastMetrics/getBackupLastMetrics -ts=2025-03-19T05:46:22.427Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-19T05:50:19.053Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " --- PASS: TestGetBackupLastMetrics (0.00s) --- PASS: TestGetBackupLastMetrics/getBackupLastMetrics (0.00s) === RUN TestGetBackupLastDBCountMetrics === RUN TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabases === RUN TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabasesAbsent ---- PASS: TestGetBackupLastDBCountMetrics (0.04s) - --- PASS: TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabases (0.02s) - --- PASS: TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabasesAbsent (0.02s) +--- PASS: TestGetBackupLastDBCountMetrics (0.03s) + --- PASS: TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabases (0.01s) + --- PASS: TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabasesAbsent (0.01s) === RUN TestGetPGVersion === RUN TestGetPGVersion/getPGVersionSame === RUN TestGetPGVersion/getPGVersionDiff @@ -1181,8 +1217,8 @@ --- PASS: TestStanzaNotInExclude/stanzaNotInExcludeStanzaInExcludeList (0.00s) === RUN TestGetParsedSpecificBackupInfoDataErrors === RUN TestGetParsedSpecificBackupInfoDataErrors/getParsedSpecificBackupInfoDataErrors ---- PASS: TestGetParsedSpecificBackupInfoDataErrors (0.02s) - --- PASS: TestGetParsedSpecificBackupInfoDataErrors/getParsedSpecificBackupInfoDataErrors (0.02s) +--- PASS: TestGetParsedSpecificBackupInfoDataErrors (0.01s) + --- PASS: TestGetParsedSpecificBackupInfoDataErrors/getParsedSpecificBackupInfoDataErrors (0.01s) === RUN TestGetBackupReferencesTotal === RUN TestGetBackupReferencesTotal/Empty_reference_list === RUN TestGetBackupReferencesTotal/Valid_references_1 @@ -1234,7 +1270,7 @@ --- PASS: TestGetWALMetricsErrorsAndDebugs/getMetricsVerboseTrueLogError (0.00s) --- PASS: TestGetWALMetricsErrorsAndDebugs/getMetricsWithoutWalLogError (0.00s) PASS -ok github.com/woblerr/pgbackrest_exporter/backrest 0.326s +ok github.com/woblerr/pgbackrest_exporter/backrest 0.182s make[1]: Leaving directory '/build/reproducible-path/prometheus-pgbackrest-exporter-0.19.0+ds1' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -1278,8 +1314,8 @@ dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'prometheus-pgbackrest-exporter-dbgsym' in '../prometheus-pgbackrest-exporter-dbgsym_0.19.0+ds1-2_armhf.deb'. dpkg-deb: building package 'prometheus-pgbackrest-exporter' in '../prometheus-pgbackrest-exporter_0.19.0+ds1-2_armhf.deb'. +dpkg-deb: building package 'prometheus-pgbackrest-exporter-dbgsym' in '../prometheus-pgbackrest-exporter-dbgsym_0.19.0+ds1-2_armhf.deb'. dpkg-genbuildinfo --build=binary -O../prometheus-pgbackrest-exporter_0.19.0+ds1-2_armhf.buildinfo dpkg-genchanges --build=binary -O../prometheus-pgbackrest-exporter_0.19.0+ds1-2_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1287,12 +1323,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/31676/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31676/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/5927 and its subdirectories -I: Current time: Tue Mar 18 17:47:04 -12 2025 -I: pbuilder-time-stamp: 1742363224 +I: removing directory /srv/workspace/pbuilder/31676 and its subdirectories +I: Current time: Wed Mar 19 19:50:42 +14 2025 +I: pbuilder-time-stamp: 1742363442