Diff of the two buildlogs: -- --- b1/build.log 2025-03-17 10:51:38.559936774 +0000 +++ b2/build.log 2025-03-17 10:55:34.909302245 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Mar 16 22:46:49 -12 2025 -I: pbuilder-time-stamp: 1742208409 +I: Current time: Tue Mar 18 00:52:03 +14 2025 +I: pbuilder-time-stamp: 1742208723 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/20279/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14469/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 17 10:52 /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/14469/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14469/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='bf36454d962b41df823df5899515b0b3' - 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='20279' - PS1='# ' - PS2='> ' + INVOCATION_ID=d8615dabae6f4ff68a7398c248b0cad1 + 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=14469 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.EPxNvsja/pbuilderrc_YOvQ --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.EPxNvsja/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.EPxNvsja/pbuilderrc_YqQs --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.EPxNvsja/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-31-armmp-lpae #1 SMP Debian 6.1.128-1 (2025-02-07) 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/20279/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/14469/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 unstable/main armhf libpq5 armhf 17.4-1+b1 [210 kB] Get: 105 http://deb.debian.org/debian unstable/main armhf libssh2-1t64 armhf 1.11.1-1 [227 kB] Get: 106 http://deb.debian.org/debian unstable/main armhf pgbackrest armhf 2.54.2-1 [454 kB] -Fetched 128 MB in 3s (39.9 MB/s) +Fetched 128 MB in 14s (9175 kB/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 ... 19509 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/14469/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/14469/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,43 +729,42 @@ 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/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs -internal/goos +internal/bytealg internal/goexperiment +internal/goos internal/profilerecord internal/runtime/atomic internal/asan internal/msan internal/runtime/math internal/runtime/sys -internal/runtime/exithook internal/runtime/syscall internal/stringslite sync/atomic +internal/runtime/exithook math/bits unicode -internal/race unicode/utf8 -internal/runtime/maps -internal/sync encoding cmp math internal/itoa unicode/utf16 +internal/race +internal/runtime/maps +internal/sync log/internal internal/nettrace container/list -runtime crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu @@ -740,49 +775,70 @@ google.golang.org/protobuf/internal/set log/slog/internal github.com/klauspost/compress -iter -sync +runtime internal/reflectlite -slices +sync +iter weak -maps crypto/internal/fips140/subtle +slices +maps crypto/subtle runtime/metrics -internal/bisect -internal/testlog errors sort +internal/testlog +internal/bisect io strconv -bytes internal/oserror path internal/godebug -reflect +bytes syscall strings +vendor/golang.org/x/net/dns/dnsmessage +reflect bufio regexp/syntax +internal/singleflight +unique time internal/syscall/unix internal/syscall/execenv regexp -encoding/binary -internal/fmtsort +net/netip io/fs -internal/poll +runtime/cgo internal/filepathlite +internal/fmtsort +encoding/binary +internal/poll context -encoding/base64 -vendor/golang.org/x/net/dns/dnsmessage +hash +crypto +crypto/internal/fips140deps/godebug os -internal/singleflight -unique -net/netip -runtime/cgo +crypto/internal/fips140 +encoding/base64 +crypto/internal/fips140/sha256 +crypto/internal/fips140/sha3 +crypto/internal/fips140/sha512 +math/rand/v2 +crypto/internal/fips140/hmac +crypto/internal/fips140/check +crypto/internal/fips140/aes +crypto/internal/randutil +crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/edwards25519/field +math/rand fmt path/filepath +internal/lazyregexp +net +crypto/internal/sysrand +crypto/internal/entropy +crypto/internal/fips140/drbg encoding/json github.com/go-logfmt/logfmt log @@ -790,186 +846,166 @@ github.com/alecthomas/units go/token go/scanner -github.com/go-kit/log go/doc/comment go/ast +github.com/go-kit/log +net/url github.com/go-kit/log/level github.com/prometheus/common/promlog -internal/lazyregexp -net -net/url text/template/parse -go/doc -text/template -hash -crypto -crypto/internal/fips140deps/godebug -crypto/internal/fips140 -crypto/internal/fips140/sha256 -crypto/internal/fips140/sha3 -crypto/internal/fips140/sha512 -crypto/internal/fips140/hmac -crypto/internal/fips140/check -crypto/internal/fips140/aes -crypto/internal/sysrand -crypto/internal/entropy -math/rand/v2 -crypto/internal/fips140/nistec/fiat -crypto/internal/randutil -crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm +go/doc crypto/internal/fips140only crypto/cipher crypto/internal/boring crypto/aes +text/template crypto/des -crypto/internal/fips140/edwards25519/field -math/rand -math/big crypto/internal/fips140/nistec -crypto/internal/boring/bbig +math/big crypto/internal/impl crypto/internal/fips140/bigmod crypto/sha3 crypto/internal/fips140hash crypto/sha512 -encoding/asn1 -gopkg.in/alecthomas/kingpin.v2 -vendor/golang.org/x/crypto/cryptobyte +crypto/internal/fips140/edwards25519 +crypto/internal/boring/bbig crypto/internal/fips140/ecdh crypto/elliptic -crypto/ecdh crypto/internal/fips140/ecdsa -crypto/internal/fips140/edwards25519 -crypto/ecdsa +crypto/ecdh +encoding/asn1 crypto/internal/fips140/ed25519 crypto/rand -github.com/prometheus/common/promlog/flag -crypto/ed25519 crypto/hmac +crypto/ed25519 crypto/internal/fips140/hkdf crypto/internal/fips140/mlkem 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 -crypto/rc4 vendor/golang.org/x/crypto/chacha20poly1305 +crypto/internal/hpke +crypto/rc4 crypto/internal/fips140/rsa +gopkg.in/alecthomas/kingpin.v2 +crypto/ecdsa crypto/sha1 -crypto/internal/hpke crypto/sha256 crypto/tls/internal/fips140tls crypto/dsa +crypto/rsa crypto/x509/pkix encoding/pem embed golang.org/x/net/bpf -crypto/rsa golang.org/x/sync/errgroup +crypto/x509 golang.org/x/sys/unix github.com/jpillora/backoff -crypto/x509 compress/flate hash/crc32 +github.com/prometheus/common/promlog/flag compress/gzip vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm crypto/tls -vendor/golang.org/x/net/idna -github.com/mdlayher/socket -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/http/httpguts vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/net/idna mime +github.com/mdlayher/socket +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy mime/quotedprintable net/http/internal +mime/multipart net/http/internal/ascii github.com/beorn7/perks/quantile +github.com/mdlayher/vsock github.com/cespare/xxhash -mime/multipart hash/fnv -google.golang.org/protobuf/internal/detrand -google.golang.org/protobuf/internal/errors google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/internal/editiondefaults -google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/version github.com/munnerz/goautoneg github.com/prometheus/procfs/internal/fs -google.golang.org/protobuf/reflect/protoreflect +google.golang.org/protobuf/internal/detrand github.com/prometheus/procfs/internal/util +runtime/debug +google.golang.org/protobuf/internal/errors +google.golang.org/protobuf/encoding/protowire github.com/prometheus/procfs +google.golang.org/protobuf/reflect/protoreflect +golang.org/x/net/internal/timeseries +html +html/template google.golang.org/protobuf/internal/descfmt -github.com/coreos/go-systemd/activation -net/http/httptrace google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs -net/http 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 +github.com/coreos/go-systemd/activation +net/http/httptrace google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/encoding/defval +net/http google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/protolazy -runtime/debug -google.golang.org/protobuf/proto -golang.org/x/net/internal/timeseries -html -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/encoding/protodelim -html/template -google.golang.org/protobuf/internal/encoding/tag text/tabwriter -google.golang.org/protobuf/internal/impl +google.golang.org/protobuf/proto 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/text/secure/bidirule +golang.org/x/net/http2/hpack +google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim golang.org/x/net/idna +io/ioutil +gopkg.in/yaml.v2 +google.golang.org/protobuf/internal/encoding/tag golang.org/x/net/http/httpproxy golang.org/x/net/http/httpguts -golang.org/x/net/http2/hpack +google.golang.org/protobuf/internal/impl +log/slog/internal/buffer +log/slog +github.com/prometheus/common/promslog +golang.org/x/crypto/blowfish +github.com/klauspost/compress/fse +golang.org/x/crypto/bcrypt +github.com/klauspost/compress/internal/le +github.com/klauspost/compress/internal/snapref +github.com/klauspost/compress/huff0 +os/exec +os/signal +github.com/klauspost/compress/zstd expvar golang.org/x/net/trace golang.org/x/net/http2 -io/ioutil golang.org/x/oauth2/internal +github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil golang.org/x/oauth2 golang.org/x/oauth2/clientcredentials -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 github.com/prometheus/common/model -log/slog/internal/buffer -log/slog -golang.org/x/crypto/blowfish -golang.org/x/crypto/bcrypt -github.com/klauspost/compress/fse 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/prometheus/common/promslog -github.com/klauspost/compress/internal/snapref -github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header -github.com/klauspost/compress/zstd -github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil -os/exec github.com/prometheus/client_golang/prometheus -os/signal -github.com/mwitkow/go-conntrack github.com/prometheus/client_golang/prometheus/promauto +github.com/mwitkow/go-conntrack github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/common/config github.com/prometheus/exporter-toolkit/web @@ -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-17T10:50:57.293Z caller=pgbackrest_exporter.go:97 level=info msg="Starting exporter" name=pgbackrest_exporter version=unknown -ts=2025-03-17T10:50:57.294Z caller=pgbackrest_exporter.go:154 level=info mgs="Use exporter parameters" endpoint=/metrics config.file= -ts=2025-03-17T10:50:57.296Z level=info caller=tls_config.go:353 msg="Listening on" address=[::]:50160 -ts=2025-03-17T10:50:57.297Z level=info caller=tls_config.go:356 msg="TLS is disabled." http2=false address=[::]:50160 -ts=2025-03-17T10:50:57.325Z caller=backrest_exporter.go:81 level=error msg="Get data from pgBackRest failed" err="exit status 41" -ts=2025-03-17T10:50:57.325Z caller=backrest_exporter.go:86 level=error msg="Parse JSON failed" err="unexpected end of JSON input" -ts=2025-03-17T10:50:57.325Z caller=backrest_exporter.go:89 level=warn msg="No backup data returned" +ts=2025-03-17T10:55:06.937Z caller=pgbackrest_exporter.go:97 level=info msg="Starting exporter" name=pgbackrest_exporter version=unknown +ts=2025-03-17T10:55:06.937Z caller=pgbackrest_exporter.go:154 level=info mgs="Use exporter parameters" endpoint=/metrics config.file= +ts=2025-03-17T10:55:06.940Z level=info caller=tls_config.go:353 msg="Listening on" address=[::]:50462 +ts=2025-03-17T10:55:06.941Z level=info caller=tls_config.go:356 msg="TLS is disabled." http2=false address=[::]:50462 +ts=2025-03-17T10:55:06.963Z caller=backrest_exporter.go:81 level=error msg="Get data from pgBackRest failed" err="exit status 41" +ts=2025-03-17T10:55:06.963Z caller=backrest_exporter.go:86 level=error msg="Parse JSON failed" err="unexpected end of JSON input" +ts=2025-03-17T10:55:06.963Z caller=backrest_exporter.go:89 level=warn msg="No backup data returned" --- PASS: TestMain (1.01s) PASS -ok github.com/woblerr/pgbackrest_exporter 1.056s +ok github.com/woblerr/pgbackrest_exporter 1.061s === RUN TestGetBackupMetrics === RUN TestGetBackupMetrics/getBackupMetrics -ts=2025-03-17T10:50:57.936Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-17T10:55:07.327Z 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-17T10:50:57.937Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-17T10:55:07.328Z 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-17T10:50:57.941Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-17T10:55:07.328Z 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-17T10:50:57.943Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-17T10:55:07.329Z 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-17T10:50:57.944Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-17T10:55:07.330Z 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.22s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoGoodDataReturn (0.07s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoGoodDataReturnWithWarn (0.08s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoBadDataReturn (0.02s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoZeroDataReturn (0.03s) - --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoJsonUnmarshalFail (0.02s) +--- PASS: TestGetPgBackRestInfo (0.14s) + --- PASS: TestGetPgBackRestInfo/GetPgBackRestInfoGoodDataReturn (0.06s) + --- 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-17T10:50:58.165Z caller=backrest_parser.go:412 level=error msg="failed to get backup references" reference= err="invalid backup name " +ts=2025-03-17T10:55:07.477Z 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.05s) - --- PASS: TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabases (0.02s) - --- PASS: TestGetBackupLastDBCountMetrics/getBackupLastMetricsDatabasesAbsent (0.03s) +--- PASS: TestGetBackupLastDBCountMetrics (0.02s) + --- 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.03s) - --- PASS: TestGetParsedSpecificBackupInfoDataErrors/getParsedSpecificBackupInfoDataErrors (0.03s) +--- 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.345s +ok github.com/woblerr/pgbackrest_exporter/backrest 0.216s 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/14469/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14469/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/20279 and its subdirectories -I: Current time: Sun Mar 16 22:51:34 -12 2025 -I: pbuilder-time-stamp: 1742208694 +I: removing directory /srv/workspace/pbuilder/14469 and its subdirectories +I: Current time: Tue Mar 18 00:55:31 +14 2025 +I: pbuilder-time-stamp: 1742208931