Package: src:prometheus-pushgateway
Version: 1.11.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 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=1.11.1 -X 
github.com/prometheus/common/version.Revision=1.11.1-1 -X 
github.com/prometheus/common/version.Branch=debian/sid -X 
github.com/prometheus/common/[email protected] 
-X github.com/prometheus/common/version.BuildDate=20250818-23:07:04 -X 
github.com/prometheus/common/version.GoVersion=go1.24.9"
        cd _build && go install -trimpath -v -p 2 -ldflags " -X 
github.com/prometheus/common/version.Version=1.11.1 -X 
github.com/prometheus/common/version.Revision=1.11.1-1 -X 
github.com/prometheus/common/version.Branch=debian/sid -X 
github.com/prometheus/common/[email protected] 
-X github.com/prometheus/common/version.BuildDate=20250818-23:07:04 -X 
github.com/prometheus/common/version.GoVersion=go1.24.9" 
github.com/prometheus/pushgateway github.com/prometheus/pushgateway/api/v1 
github.com/prometheus/pushgateway/handler 
github.com/prometheus/pushgateway/histogram 
github.com/prometheus/pushgateway/storage 
github.com/prometheus/pushgateway/testutil
internal/goarch
internal/unsafeheader
internal/cpu
internal/abi
internal/bytealg
internal/byteorder
internal/chacha8rand
internal/coverage/rtcov
internal/godebugs
internal/goexperiment
internal/goos
internal/profilerecord
internal/runtime/atomic
internal/asan
internal/msan
internal/race
internal/runtime/exithook
internal/runtime/math
internal/runtime/sys
internal/runtime/syscall
internal/stringslite
internal/runtime/maps
sync/atomic
internal/sync
math/bits
unicode
runtime
unicode/utf8
cmp
internal/itoa
math
encoding
unicode/utf16
log/internal
container/list
crypto/internal/fips140/alias
crypto/internal/fips140deps/byteorder
crypto/internal/fips140deps/cpu
crypto/internal/fips140/subtle
crypto/internal/boring/sig
vendor/golang.org/x/crypto/cryptobyte/asn1
vendor/golang.org/x/crypto/internal/alias
internal/nettrace
google.golang.org/protobuf/internal/flags
google.golang.org/protobuf/internal/set
log/slog/internal
internal/reflectlite
sync
errors
iter
io
strconv
bytes
strings
reflect
bufio
slices
internal/oserror
path
internal/bisect
internal/godebug
syscall
time
internal/fmtsort
internal/syscall/unix
internal/syscall/execenv
internal/testlog
sort
encoding/binary
io/fs
internal/filepathlite
internal/poll
hash
hash/crc32
context
os
github.com/golang/snappy
encoding/base64
crypto
crypto/internal/fips140deps/godebug
crypto/internal/fips140
crypto/internal/impl
crypto/internal/fips140/sha256
crypto/internal/fips140/sha3
crypto/internal/fips140/sha512
fmt
crypto/internal/fips140/hmac
crypto/internal/fips140/check
crypto/internal/fips140/aes
crypto/internal/sysrand
crypto/internal/entropy
math/rand/v2
crypto/internal/randutil
compress/flate
encoding/json
compress/gzip
log
crypto/internal/fips140/drbg
crypto/internal/fips140/aes/gcm
crypto/internal/fips140only
crypto/subtle
math/rand
crypto/cipher
crypto/internal/boring
math/big
crypto/aes
crypto/des
crypto/internal/fips140/nistec/fiat
crypto/internal/fips140/nistec
crypto/rand
crypto/internal/fips140/edwards25519/field
crypto/internal/boring/bbig
crypto/internal/fips140/bigmod
crypto/sha3
crypto/internal/fips140hash
crypto/sha512
internal/saferio
encoding/asn1
crypto/internal/fips140/ecdh
crypto/ecdh
crypto/elliptic
crypto/internal/fips140/ecdsa
vendor/golang.org/x/crypto/cryptobyte
crypto/internal/fips140/edwards25519
crypto/internal/fips140/ed25519
crypto/ecdsa
crypto/ed25519
crypto/hmac
crypto/internal/fips140/hkdf
crypto/internal/fips140/mlkem
crypto/internal/fips140/tls12
crypto/internal/fips140/tls13
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/internal/poly1305
vendor/golang.org/x/sys/cpu
crypto/md5
vendor/golang.org/x/crypto/chacha20poly1305
crypto/rc4
crypto/internal/fips140/rsa
crypto/internal/hpke
crypto/sha1
crypto/sha256
crypto/tls/internal/fips140tls
crypto/rsa
crypto/dsa
encoding/hex
crypto/x509/pkix
encoding/pem
maps
vendor/golang.org/x/net/dns/dnsmessage
internal/singleflight
weak
unique
runtime/cgo
net/netip
net/url
path/filepath
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
net
mime
mime/quotedprintable
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
embed
google.golang.org/protobuf/internal/editiondefaults
go/token
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/runtime/protoiface
google.golang.org/protobuf/proto
google.golang.org/protobuf/internal/filedesc
crypto/x509
net/textproto
vendor/golang.org/x/net/http/httpguts
vendor/golang.org/x/net/http/httpproxy
mime/multipart
google.golang.org/protobuf/encoding/prototext
google.golang.org/protobuf/internal/encoding/tag
google.golang.org/protobuf/internal/protolazy
google.golang.org/protobuf/internal/impl
crypto/tls
net/http/httptrace
net/http
google.golang.org/protobuf/internal/filetype
google.golang.org/protobuf/internal/version
google.golang.org/protobuf/runtime/protoimpl
google.golang.org/protobuf/types/known/timestamppb
github.com/prometheus/client_model/go
regexp/syntax
regexp
go.yaml.in/yaml/v2
github.com/prometheus/common/model
runtime/metrics
github.com/prometheus/client_golang/prometheus/internal
github.com/munnerz/goautoneg
google.golang.org/protobuf/encoding/protodelim
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
golang.org/x/sys/unix
expvar
github.com/prometheus/common/expfmt
runtime/debug
text/template/parse
github.com/prometheus/procfs
text/template
github.com/prometheus/common/version
github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header
github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil
github.com/prometheus/client_golang/prometheus/promhttp/internal
log/slog/internal/buffer
log/slog
github.com/prometheus/common/promslog
github.com/alecthomas/units
github.com/prometheus/client_golang/prometheus
go/scanner
go/ast
go/doc/comment
internal/lazyregexp
go/doc
github.com/prometheus/client_golang/prometheus/collectors/version
github.com/prometheus/client_golang/prometheus/promhttp
gopkg.in/alecthomas/kingpin.v2
github.com/julienschmidt/httprouter
github.com/prometheus/common/route
github.com/coreos/go-systemd/activation
github.com/go-logfmt/logfmt
github.com/prometheus/common/promslog/flag
github.com/go-kit/log
golang.org/x/net/bpf
golang.org/x/sync/errgroup
github.com/golang-jwt/jwt/v5
github.com/mdlayher/socket
github.com/mdlayher/vsock
database/sql/driver
github.com/jpillora/backoff
golang.org/x/net/internal/timeseries
github.com/google/uuid
html
text/tabwriter
html/template
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/trace
golang.org/x/net/idna
github.com/mwitkow/go-conntrack
golang.org/x/net/http2/hpack
golang.org/x/net/http/httpproxy
golang.org/x/net/http/httpguts
io/ioutil
golang.org/x/net/http2
golang.org/x/oauth2/internal
golang.org/x/oauth2
golang.org/x/oauth2/clientcredentials
golang.org/x/crypto/blowfish
golang.org/x/crypto/bcrypt
golang.org/x/time/rate
github.com/prometheus/client_golang/prometheus/promauto
github.com/prometheus/common/server
github.com/prometheus/prometheus/model/histogram
github.com/prometheus/pushgateway/histogram
encoding/gob
github.com/prometheus/common/config
github.com/prometheus/exporter-toolkit/web
google.golang.org/protobuf/types/descriptorpb
github.com/prometheus/exporter-toolkit/web/kingpinflag
internal/profile
google.golang.org/protobuf/internal/editionssupport
google.golang.org/protobuf/types/gofeaturespb
runtime/pprof
google.golang.org/protobuf/reflect/protodesc
github.com/golang/protobuf/proto
runtime/trace
net/http/pprof
os/signal
github.com/prometheus/pushgateway/storage
github.com/prometheus/pushgateway/testutil
github.com/prometheus/pushgateway/handler
github.com/prometheus/pushgateway/api/v1
github.com/prometheus/pushgateway
# Rename the binary to match the debian package.
mv -v _build/bin/pushgateway _build/bin/prometheus-pushgateway
renamed '_build/bin/pushgateway' -> '_build/bin/prometheus-pushgateway'
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/prometheus/pushgateway 
github.com/prometheus/pushgateway/api/v1 
github.com/prometheus/pushgateway/handler 
github.com/prometheus/pushgateway/histogram 
github.com/prometheus/pushgateway/storage 
github.com/prometheus/pushgateway/testutil
?       github.com/prometheus/pushgateway       [no test files]
=== RUN   TestStatusAPI
--- PASS: TestStatusAPI (0.00s)
=== RUN   TestMetricsAPI
--- PASS: TestMetricsAPI (0.00s)
PASS
ok      github.com/prometheus/pushgateway/api/v1        0.006s
=== RUN   TestHealthyReady
--- PASS: TestHealthyReady (0.00s)
=== RUN   TestPush
--- FAIL: TestPush (0.00s)
panic: Invalid name validation scheme requested: unset [recovered]
        panic: Invalid name validation scheme requested: unset

goroutine 25 [running]:
testing.tRunner.func1.2({0x932c40, 0xc000192eb0})
        /usr/lib/go-1.24/src/testing/testing.go:1734 +0x21c
testing.tRunner.func1()
        /usr/lib/go-1.24/src/testing/testing.go:1737 +0x35e
panic({0x932c40?, 0xc000192eb0?})
        /usr/lib/go-1.24/src/runtime/panic.go:792 +0x132
github.com/prometheus/common/model.ValidationScheme.IsValidMetricName(0x1?, 
{0xc0001a6160?, 0x9?})
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/common/model/metric.go:179 
+0xb9
github.com/prometheus/common/expfmt.(*TextParser).setOrCreateCurrentMF(0xc0001a2180)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/common/expfmt/text_parse.go:899
 +0x85
github.com/prometheus/common/expfmt.(*TextParser).readingMetricName(0xc0001a2180)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/common/expfmt/text_parse.go:295
 +0xaf
github.com/prometheus/common/expfmt.(*TextParser).TextToMetricFamilies(0xc0001a2180,
 {0x7f2cc3e33bd8?, 0xc000192e10?})
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/common/expfmt/text_parse.go:118
 +0x5f
github.com/prometheus/pushgateway/handler.Push.func1({0x7f2cc3e30ac0, 
0xc0001e0900}, 0xc0001d8500)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/pushgateway/handler/push.go:112
 +0xa93
net/http.HandlerFunc.ServeHTTP(0xe68c40?, {0x7f2cc3e30ac0?, 0xc0001e0900?}, 
0xc000192d10?)
        /usr/lib/go-1.24/src/net/http/server.go:2294 +0x29
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1({0xad7258?,
 0xc0001b3900?}, 0xc0001d8500)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go:147
 +0xc3
net/http.HandlerFunc.ServeHTTP(0x40f38e?, {0xad7258?, 0xc0001b3900?}, 0xa05a3f?)
        /usr/lib/go-1.24/src/net/http/server.go:2294 +0x29
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2({0xad7258,
 0xc0001b3900}, 0xc0001d8500)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go:109
 +0xc5
net/http.HandlerFunc.ServeHTTP(0x30?, {0xad7258?, 0xc0001b3900?}, 0xc0000df128?)
        /usr/lib/go-1.24/src/net/http/server.go:2294 +0x29
github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerRequestSize.func2({0xad7258?,
 0xc0001b3900?}, 0xc0001d8500)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go:255
 +0x7d
net/http.HandlerFunc.ServeHTTP(...)
        /usr/lib/go-1.24/src/net/http/server.go:2294
github.com/prometheus/pushgateway/handler.Push.func2({0xad7258?, 
0xc0001b3900?}, 0xa07e26?)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/pushgateway/handler/push.go:167
 +0x22
github.com/prometheus/pushgateway/handler.TestPush(0xc0001d2540)
        
/<<PKGBUILDDIR>>/_build/src/github.com/prometheus/pushgateway/handler/handler_test.go:172
 +0xcf8
testing.tRunner(0xc0001d2540, 0xa37be0)
        /usr/lib/go-1.24/src/testing/testing.go:1792 +0xf4
created by testing.(*T).Run in goroutine 1
        /usr/lib/go-1.24/src/testing/testing.go:1851 +0x413
FAIL    github.com/prometheus/pushgateway/handler       0.008s
?       github.com/prometheus/pushgateway/histogram     [no test files]
=== RUN   TestGetMetricFamilies
--- PASS: TestGetMetricFamilies (0.00s)
=== RUN   TestAddDeletePersistRestore
    diskmetricstore_test.go:713: Skipping flaky test.
--- SKIP: TestAddDeletePersistRestore (0.00s)
=== RUN   TestNoPersistence
    diskmetricstore_test.go:1017: Skipping flaky test.
--- SKIP: TestNoPersistence (0.00s)
=== RUN   TestRejectTimestamps
--- PASS: TestRejectTimestamps (0.00s)
=== RUN   TestRejectInconsistentPush
--- PASS: TestRejectInconsistentPush (0.00s)
=== RUN   TestSanitizeLabels
--- PASS: TestSanitizeLabels (0.00s)
=== RUN   TestReplace
--- PASS: TestReplace (0.00s)
=== RUN   TestGetMetricFamiliesMap
--- PASS: TestGetMetricFamiliesMap (0.00s)
=== RUN   TestHelpStringFix
--- PASS: TestHelpStringFix (0.00s)
=== RUN   TestGroupingKeyForLabels
--- PASS: TestGroupingKeyForLabels (0.00s)
PASS
ok      github.com/prometheus/pushgateway/storage       0.009s
?       github.com/prometheus/pushgateway/testutil      [no test files]
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 
github.com/prometheus/pushgateway github.com/prometheus/pushgateway/api/v1 
github.com/prometheus/pushgateway/handler 
github.com/prometheus/pushgateway/histogram 
github.com/prometheus/pushgateway/storage 
github.com/prometheus/pushgateway/testutil returned exit code 1
make: *** [debian/rules:27: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to