Package: src:prometheus-dnsmasq-exporter
Version: 0.2.0+git20240425.03f84ed-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- -ldflags " -X 
github.com/prometheus/common/version.Version=0.2.0+git20240425.03f84ed -X 
github.com/prometheus/common/version.Revision=0.2.0+git20240425.03f84ed-1 -X 
github.com/prometheus/common/version.Branch=debian/sid -X 
github.com/prometheus/common/version.BuildUser=team+pkg...@tracker.debian.org -X 
github.com/prometheus/common/version.BuildDate=20240727-05:03:13 -X 
github.com/prometheus/common/version.GoVersion=go1.22.5"
        cd _build && go install -trimpath -v -p 2 -ldflags " -X 
github.com/prometheus/common/version.Version=0.2.0+git20240425.03f84ed -X 
github.com/prometheus/common/version.Revision=0.2.0+git20240425.03f84ed-1 -X 
github.com/prometheus/common/version.Branch=debian/sid -X 
github.com/prometheus/common/version.BuildUser=team+pkg...@tracker.debian.org -X 
github.com/prometheus/common/version.BuildDate=20240727-05:03:13 -X 
github.com/prometheus/common/version.GoVersion=go1.22.5" github.com/google/dnsmasq_exporter 
github.com/google/dnsmasq_exporter/collector
internal/goarch
encoding
internal/unsafeheader
internal/abi
internal/cpu
internal/bytealg
internal/chacha8rand
internal/coverage/rtcov
internal/godebugs
internal/goos
internal/goexperiment
runtime/internal/atomic
runtime/internal/math
runtime/internal/sys
runtime/internal/syscall
internal/itoa
runtime
math/bits
math
unicode/utf8
internal/race
sync/atomic
unicode
cmp
slices
crypto/internal/alias
crypto/subtle
crypto/internal/boring/sig
unicode/utf16
vendor/golang.org/x/crypto/cryptobyte/asn1
container/list
internal/nettrace
vendor/golang.org/x/crypto/internal/alias
golang.org/x/net/internal/iana
log/internal
google.golang.org/protobuf/internal/flags
google.golang.org/protobuf/internal/set
internal/reflectlite
sync
internal/testlog
internal/bisect
internal/godebug
errors
sort
strconv
io
reflect
internal/oserror
syscall
internal/syscall/unix
time
internal/fmtsort
internal/poll
internal/safefilepath
internal/syscall/execenv
path
io/fs
strings
os
bytes
bufio
fmt
context
hash
crypto
encoding/binary
flag
crypto/cipher
crypto/internal/boring
crypto/aes
crypto/internal/edwards25519/field
crypto/internal/nistec/fiat
embed
crypto/internal/randutil
math/rand
math/big
crypto/internal/nistec
crypto/ecdh
crypto/elliptic
crypto/internal/bigmod
crypto/internal/boring/bbig
crypto/sha512
encoding/asn1
crypto/internal/edwards25519
crypto/rand
crypto/ed25519
vendor/golang.org/x/crypto/cryptobyte
crypto/hmac
crypto/rsa
crypto/ecdsa
crypto/sha1
crypto/sha256
crypto/des
crypto/md5
crypto/rc4
crypto/dsa
encoding/hex
crypto/x509/pkix
encoding/base64
vendor/golang.org/x/net/dns/dnsmessage
encoding/pem
internal/singleflight
internal/intern
net/netip
runtime/cgo
net/url
path/filepath
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/internal/poly1305
vendor/golang.org/x/sys/cpu
vendor/golang.org/x/crypto/chacha20poly1305
vendor/golang.org/x/crypto/hkdf
encoding/base32
golang.org/x/net/bpf
golang.org/x/sys/unix
net
encoding/json
log
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
vendor/golang.org/x/text/unicode/norm
vendor/golang.org/x/net/idna
vendor/golang.org/x/net/http2/hpack
crypto/x509
golang.org/x/net/internal/socket
golang.org/x/net/ipv4
golang.org/x/net/ipv6
crypto/tls
net/textproto
vendor/golang.org/x/net/http/httpguts
vendor/golang.org/x/net/http/httpproxy
mime
mime/quotedprintable
mime/multipart
net/http/internal
net/http/internal/ascii
github.com/beorn7/perks/quantile
github.com/cespare/xxhash
hash/fnv
google.golang.org/protobuf/internal/detrand
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/descfmt
google.golang.org/protobuf/internal/descopts
google.golang.org/protobuf/internal/editiondefaults
go/token
google.golang.org/protobuf/internal/strs
google.golang.org/protobuf/internal/encoding/text
net/http/httptrace
github.com/miekg/dns
net/http
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/runtime/protoiface
google.golang.org/protobuf/proto
google.golang.org/protobuf/internal/filedesc
expvar
google.golang.org/protobuf/encoding/prototext
io/ioutil
google.golang.org/protobuf/internal/version
regexp/syntax
google.golang.org/protobuf/internal/encoding/tag
google.golang.org/protobuf/internal/impl
regexp
runtime/metrics
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
google.golang.org/protobuf/encoding/protodelim
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
github.com/prometheus/procfs
runtime/debug
golang.org/x/sync/errgroup
google.golang.org/protobuf/internal/filetype
text/template/parse
google.golang.org/protobuf/runtime/protoimpl
google.golang.org/protobuf/types/known/timestamppb
github.com/prometheus/client_model/go
github.com/prometheus/common/model
text/template
github.com/prometheus/client_golang/prometheus/internal
github.com/prometheus/common/expfmt
github.com/prometheus/common/version
github.com/prometheus/client_golang/prometheus
github.com/google/dnsmasq_exporter/collector
github.com/prometheus/client_golang/prometheus/collectors/version
github.com/prometheus/client_golang/prometheus/promhttp
github.com/google/dnsmasq_exporter
# Rename the binary to match the debian package.
mv -v _build/bin/dnsmasq_exporter _build/bin/prometheus-dnsmasq-exporter
renamed '_build/bin/dnsmasq_exporter' -> 
'_build/bin/prometheus-dnsmasq-exporter'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
        cd _build && go test -vet=off -v -p 2 
github.com/google/dnsmasq_exporter github.com/google/dnsmasq_exporter/collector
?       github.com/google/dnsmasq_exporter      [no test files]
=== RUN   TestDnsmasqExporter
starting [dnsmasq --port=35633 --no-daemon --cache-size=666 --bind-interfaces 
--interface=lo]
dnsmasq: started, version 2.90 cachesize 666
dnsmasq: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP 
DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect 
inotify dumpfile
dnsmasq: no servers found in /etc/resolv.conf, will retry
dnsmasq: read /etc/hosts - 5 names
=== RUN   TestDnsmasqExporter/first
=== RUN   TestDnsmasqExporter/second
=== RUN   TestDnsmasqExporter/after_query
    collector_test.go:141: metric "dnsmasq_hits": got "20", want "19"
    collector_test.go:141: metric "dnsmasq_misses": got "0", want "1"
=== RUN   TestDnsmasqExporter/should_not_expose_lease_information_when_disabled
=== RUN   TestDnsmasqExporter/with_high-cardinality_lease_metrics_enabled
    collector_test.go:169: metric "dnsmasq_hits": got "34", want "33"
    collector_test.go:169: metric "dnsmasq_misses": got "0", want "1"
=== RUN   TestDnsmasqExporter/without_leases_file
    collector_test.go:186: metric "dnsmasq_hits": got "41", want "40"
    collector_test.go:186: metric "dnsmasq_misses": got "0", want "1"
--- FAIL: TestDnsmasqExporter (0.02s)
    --- PASS: TestDnsmasqExporter/first (0.00s)
    --- PASS: TestDnsmasqExporter/second (0.00s)
    --- FAIL: TestDnsmasqExporter/after_query (0.00s)
    --- PASS: 
TestDnsmasqExporter/should_not_expose_lease_information_when_disabled (0.00s)
    --- FAIL: TestDnsmasqExporter/with_high-cardinality_lease_metrics_enabled 
(0.00s)
    --- FAIL: TestDnsmasqExporter/without_leases_file (0.00s)
FAIL
FAIL    github.com/google/dnsmasq_exporter/collector    0.025s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 
github.com/google/dnsmasq_exporter github.com/google/dnsmasq_exporter/collector 
returned exit code 1
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202407/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

This bug should be 100% reproducible if you use sbuild and
the unshare backend.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to