Source: golang-github-prometheus-exporter-toolkit Version: 0.10.0-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230925 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --buildsystem=golang --builddirectory=_build > dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=_build > dh_autoreconf -O--buildsystem=golang -O--builddirectory=_build > dh_auto_configure -O--buildsystem=golang -O--builddirectory=_build > dh_auto_build -O--buildsystem=golang -O--builddirectory=_build > cd _build && go install -trimpath -v -p 8 > github.com/prometheus/exporter-toolkit/web > github.com/prometheus/exporter-toolkit/web/kingpinflag > internal/coverage/rtcov > internal/goarch > internal/godebugs > internal/goos > internal/goexperiment > internal/unsafeheader > runtime/internal/atomic > internal/cpu > internal/abi > runtime/internal/math > runtime/internal/sys > runtime/internal/syscall > internal/race > sync/atomic > unicode > unicode/utf8 > container/list > internal/itoa > math/bits > crypto/internal/alias > crypto/subtle > crypto/internal/boring/sig > unicode/utf16 > vendor/golang.org/x/crypto/cryptobyte/asn1 > internal/bytealg > internal/nettrace > vendor/golang.org/x/crypto/internal/alias > encoding > log/internal > google.golang.org/protobuf/internal/flags > math > google.golang.org/protobuf/internal/set > runtime > internal/reflectlite > runtime/metrics > sync > internal/testlog > internal/bisect > internal/singleflight > google.golang.org/protobuf/internal/pragma > runtime/cgo > internal/godebug > errors > math/rand > sort > internal/intern > internal/oserror > io > path > strconv > crypto/internal/nistec/fiat > syscall > internal/safefilepath > vendor/golang.org/x/net/dns/dnsmessage > github.com/beorn7/perks/quantile > hash > bytes > crypto/internal/randutil > strings > hash/crc32 > hash/fnv > vendor/golang.org/x/text/transform > crypto > reflect > crypto/rc4 > net/netip > bufio > regexp/syntax > net/http/internal/ascii > github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg > html > text/tabwriter > golang.org/x/text/transform > golang.org/x/crypto/blowfish > internal/syscall/execenv > internal/syscall/unix > time > regexp > context > io/fs > github.com/jpillora/backoff > internal/poll > embed > encoding/binary > internal/fmtsort > os > encoding/base64 > crypto/md5 > crypto/internal/edwards25519/field > crypto/cipher > github.com/cespare/xxhash > vendor/golang.org/x/crypto/internal/poly1305 > crypto/internal/nistec > encoding/pem > golang.org/x/sys/unix > crypto/internal/edwards25519 > crypto/internal/boring > vendor/golang.org/x/crypto/chacha20 > crypto/des > crypto/sha512 > crypto/aes > crypto/hmac > crypto/sha1 > crypto/sha256 > vendor/golang.org/x/crypto/hkdf > fmt > path/filepath > net > io/ioutil > google.golang.org/protobuf/internal/detrand > github.com/prometheus/procfs/internal/util > internal/lazyregexp > vendor/golang.org/x/sys/cpu > crypto/ecdh > vendor/golang.org/x/crypto/chacha20poly1305 > encoding/hex > net/url > log > github.com/go-logfmt/logfmt > encoding/json > math/big > compress/flate > vendor/golang.org/x/text/unicode/bidi > vendor/golang.org/x/text/unicode/norm > vendor/golang.org/x/net/http2/hpack > compress/gzip > mime > mime/quotedprintable > vendor/golang.org/x/text/secure/bidirule > net/http/internal > google.golang.org/protobuf/internal/errors > google.golang.org/protobuf/encoding/protowire > go/token > google.golang.org/protobuf/internal/version > github.com/go-kit/log > google.golang.org/protobuf/reflect/protoreflect > github.com/prometheus/common/model > github.com/prometheus/procfs/internal/fs > runtime/debug > golang.org/x/net/internal/timeseries > github.com/go-kit/log/level > crypto/elliptic > crypto/internal/bigmod > crypto/internal/boring/bbig > encoding/asn1 > crypto/rand > crypto/dsa > vendor/golang.org/x/net/idna > crypto/ed25519 > google.golang.org/protobuf/internal/descfmt > google.golang.org/protobuf/internal/descopts > google.golang.org/protobuf/internal/strs > google.golang.org/protobuf/internal/encoding/messageset > crypto/rsa > google.golang.org/protobuf/internal/encoding/text > google.golang.org/protobuf/internal/genid > google.golang.org/protobuf/internal/order > google.golang.org/protobuf/reflect/protoregistry > google.golang.org/protobuf/runtime/protoiface > text/template/parse > vendor/golang.org/x/crypto/cryptobyte > crypto/x509/pkix > golang.org/x/text/unicode/bidi > golang.org/x/text/unicode/norm > google.golang.org/protobuf/proto > google.golang.org/protobuf/internal/encoding/defval > golang.org/x/net/http2/hpack > gopkg.in/yaml.v2 > golang.org/x/crypto/bcrypt > crypto/ecdsa > text/template > golang.org/x/sync/errgroup > golang.org/x/text/secure/bidirule > github.com/alecthomas/units > go/scanner > go/doc/comment > google.golang.org/protobuf/internal/filedesc > google.golang.org/protobuf/encoding/prototext > go/ast > golang.org/x/net/idna > html/template > go/doc > google.golang.org/protobuf/internal/encoding/tag > google.golang.org/protobuf/internal/impl > vendor/golang.org/x/net/http/httpproxy > golang.org/x/net/http/httpproxy > net/textproto > gopkg.in/alecthomas/kingpin.v2 > crypto/x509 > github.com/prometheus/procfs > vendor/golang.org/x/net/http/httpguts > golang.org/x/net/http/httpguts > mime/multipart > crypto/tls > google.golang.org/protobuf/internal/filetype > google.golang.org/protobuf/runtime/protoimpl > google.golang.org/protobuf/types/known/timestamppb > google.golang.org/protobuf/types/descriptorpb > github.com/prometheus/client_model/go > github.com/prometheus/client_golang/prometheus/internal > google.golang.org/protobuf/reflect/protodesc > github.com/coreos/go-systemd/activation > net/http/httptrace > net/http > github.com/golang/protobuf/proto > github.com/matttproud/golang_protobuf_extensions/pbutil > expvar > golang.org/x/net/trace > golang.org/x/net/context/ctxhttp > github.com/prometheus/common/expfmt > golang.org/x/net/http2 > golang.org/x/oauth2/internal > golang.org/x/oauth2 > golang.org/x/oauth2/clientcredentials > github.com/prometheus/client_golang/prometheus > github.com/mwitkow/go-conntrack > github.com/prometheus/common/config > github.com/prometheus/exporter-toolkit/web > github.com/prometheus/exporter-toolkit/web/kingpinflag > dh_auto_test -O--buildsystem=golang -O--builddirectory=_build > cd _build && go test -vet=off -v -p 8 > github.com/prometheus/exporter-toolkit/web > github.com/prometheus/exporter-toolkit/web/kingpinflag > ? github.com/prometheus/exporter-toolkit/web/kingpinflag [no test files] > === RUN TestCacheSize > --- PASS: TestCacheSize (0.00s) > === RUN TestBasicAuthCache > --- PASS: TestBasicAuthCache (0.85s) > === RUN TestBasicAuthWithFakepassword > --- PASS: TestBasicAuthWithFakepassword (0.20s) > === RUN TestByPassBasicAuthVuln > --- PASS: TestByPassBasicAuthVuln (0.45s) > === RUN TestHTTPHeaders > --- PASS: TestHTTPHeaders (0.10s) > === RUN TestYAMLFiles > === RUN TestYAMLFiles/run/path_to_config_yml_invalid > === RUN TestYAMLFiles/validate/path_to_config_yml_invalid > === RUN TestYAMLFiles/run/empty_config_yml > === RUN TestYAMLFiles/validate/empty_config_yml > === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_structure) > === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_structure) > === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_key) > === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_key) > === RUN TestYAMLFiles/run/invalid_config_yml_(cert_path_empty) > === RUN TestYAMLFiles/validate/invalid_config_yml_(cert_path_empty) > === RUN TestYAMLFiles/run/invalid_config_yml_(key_path_empty) > === RUN TestYAMLFiles/validate/invalid_config_yml_(key_path_empty) > === RUN TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_empty) > === RUN > TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_empty) > === RUN TestYAMLFiles/run/invalid_config_yml_(cert_path_invalid) > === RUN TestYAMLFiles/validate/invalid_config_yml_(cert_path_invalid) > === RUN TestYAMLFiles/run/invalid_config_yml_(key_path_invalid) > === RUN TestYAMLFiles/validate/invalid_config_yml_(key_path_invalid) > === RUN > TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_invalid) > === RUN > TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_invalid) > === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_ClientAuth) > === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientAuth) > === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_ClientCAs_filepath) > === RUN > TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientCAs_filepath) > === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_user_list) > === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_user_list) > === RUN TestYAMLFiles/run/invalid_config_yml_(bad_cipher) > === RUN TestYAMLFiles/validate/invalid_config_yml_(bad_cipher) > === RUN TestYAMLFiles/run/invalid_config_yml_(bad_curves) > === RUN TestYAMLFiles/validate/invalid_config_yml_(bad_curves) > === RUN TestYAMLFiles/run/invalid_config_yml_(bad_TLS_version) > === RUN TestYAMLFiles/validate/invalid_config_yml_(bad_TLS_version) > --- PASS: TestYAMLFiles (0.26s) > --- PASS: TestYAMLFiles/run/path_to_config_yml_invalid (0.00s) > --- PASS: TestYAMLFiles/validate/path_to_config_yml_invalid (0.00s) > --- PASS: TestYAMLFiles/run/empty_config_yml (0.25s) > --- PASS: TestYAMLFiles/validate/empty_config_yml (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_structure) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_structure) > (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_key) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_key) (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(cert_path_empty) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(cert_path_empty) > (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(key_path_empty) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(key_path_empty) > (0.00s) > --- PASS: > TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_empty) (0.00s) > --- PASS: > TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_empty) > (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(cert_path_invalid) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(cert_path_invalid) > (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(key_path_invalid) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(key_path_invalid) > (0.00s) > --- PASS: > TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_invalid) (0.00s) > --- PASS: > TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_invalid) > (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_ClientAuth) > (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientAuth) > (0.00s) > --- PASS: > TestYAMLFiles/run/invalid_config_yml_(invalid_ClientCAs_filepath) (0.00s) > --- PASS: > TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientCAs_filepath) (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_user_list) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_user_list) > (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(bad_cipher) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(bad_cipher) (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(bad_curves) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(bad_curves) (0.00s) > --- PASS: TestYAMLFiles/run/invalid_config_yml_(bad_TLS_version) (0.00s) > --- PASS: TestYAMLFiles/validate/invalid_config_yml_(bad_TLS_version) > (0.00s) > === RUN TestServerBehaviour > === RUN TestServerBehaviour/empty_string_YAMLConfigPath_and_default_client > === RUN TestServerBehaviour/empty_string_YAMLConfigPath_and_TLS_client > === RUN TestServerBehaviour/valid_tls_config_yml_and_default_client > === RUN TestServerBehaviour/valid_tls_config_yml_and_tls_client > === RUN TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client > 2023/09/26 06:44:08 http: TLS handshake error from 127.0.0.1:47280: EOF > === RUN TestServerBehaviour/valid_tls_config_yml_with_all_ciphers > === RUN TestServerBehaviour/valid_tls_config_yml_with_some_ciphers > === RUN TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher > 2023/09/26 06:44:09 http: TLS handshake error from 127.0.0.1:47318: tls: no > cipher suite supported by both client and server > === RUN > TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers > === RUN > TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers,_client_chooses_cipher > === RUN TestServerBehaviour/valid_tls_config_yml_with_all_curves > === RUN TestServerBehaviour/valid_tls_config_yml_with_some_curves > === RUN TestServerBehaviour/valid_tls_config_yml_with_no_common_curves > 2023/09/26 06:44:10 http: TLS handshake error from 127.0.0.1:47362: tls: no > ECDHE curve supported by both client and server > === RUN TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers > === RUN > TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers_but_http2_enabled > === RUN > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert > 2023/09/26 06:44:10 http: TLS handshake error from 127.0.0.1:47380: tls: > client didn't provide a certificate > tls_config_test.go:549: Expected error matching regular expression: bad > certificate > tls_config_test.go:550: Got: Get "https://localhost:42483": remote error: > tls: certificate required > 2023/09/26 06:44:10 http: TLS handshake error from 127.0.0.1:47370: read tcp > 127.0.0.1:42483->127.0.0.1:47370: use of closed network connection > === RUN TestServerBehaviour/valid_headers_config > === RUN TestServerBehaviour/invalid_X-Content-Type-Options_headers_config > === RUN TestServerBehaviour/invalid_X-Frame-Options_headers_config > === RUN TestServerBehaviour/HTTP_header_that_can_not_be_overridden > === RUN > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert_(present_certificate) > === RUN > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAndVerifyClientCert > 2023/09/26 06:44:11 http: TLS handshake error from 127.0.0.1:47430: tls: > client didn't provide a certificate > tls_config_test.go:549: Expected error matching regular expression: bad > certificate > tls_config_test.go:550: Got: Get "https://localhost:42483": remote error: > tls: certificate required > === RUN > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAndVerifyClientCert_(present_certificate) > === RUN > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAndVerifyClientCert_(present_wrong_certificate) > 2023/09/26 06:44:12 http: TLS handshake error from 127.0.0.1:47458: tls: > failed to verify certificate: x509: certificate signed by unknown authority > tls_config_test.go:549: Expected error matching regular expression: bad > certificate > tls_config_test.go:550: Got: Get "https://localhost:42483": remote error: > tls: unknown certificate authority > === RUN > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_VerifyPeerCertificate_(present_good_SAN_DNS_entry) > === RUN > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_VerifyPeerCertificate_(present_invalid_SAN_DNS_entries) > 2023/09/26 06:44:12 http: TLS handshake error from 127.0.0.1:47484: could not > find allowed SANs in client cert, found: [bad] > --- FAIL: TestServerBehaviour (5.86s) > --- PASS: > TestServerBehaviour/empty_string_YAMLConfigPath_and_default_client (0.25s) > --- PASS: TestServerBehaviour/empty_string_YAMLConfigPath_and_TLS_client > (0.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_and_default_client > (0.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_and_tls_client (0.28s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client > (0.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_ciphers > (0.27s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_ciphers > (0.27s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher > (0.25s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers (0.27s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers,_client_chooses_cipher > (0.27s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_curves (0.27s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_curves > (0.29s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_curves > (0.26s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers > (0.28s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers_but_http2_enabled > (0.00s) > --- FAIL: > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert > (0.27s) > --- PASS: TestServerBehaviour/valid_headers_config (0.25s) > --- PASS: > TestServerBehaviour/invalid_X-Content-Type-Options_headers_config (0.00s) > --- PASS: TestServerBehaviour/invalid_X-Frame-Options_headers_config > (0.00s) > --- PASS: TestServerBehaviour/HTTP_header_that_can_not_be_overridden > (0.00s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert_(present_certificate) > (0.27s) > --- FAIL: > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAndVerifyClientCert > (0.27s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAndVerifyClientCert_(present_certificate) > (0.27s) > --- FAIL: > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAndVerifyClientCert_(present_wrong_certificate) > (0.27s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_VerifyPeerCertificate_(present_good_SAN_DNS_entry) > (0.27s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_VerifyPeerCertificate_(present_invalid_SAN_DNS_entries) > (0.27s) > === RUN TestConfigReloading > 2023/09/26 06:44:13 http: TLS handshake error from 127.0.0.1:47496: tls: > client didn't provide a certificate > --- PASS: TestConfigReloading (0.54s) > === RUN TestUsers > === RUN TestUsers/without_basic_auth > === RUN TestUsers/with_correct_basic_auth > === RUN TestUsers/without_basic_auth_and_TLS > === RUN TestUsers/with_correct_basic_auth_and_TLS > === RUN TestUsers/with_another_correct_basic_auth_and_TLS > === RUN TestUsers/with_bad_password_and_TLS > === RUN TestUsers/with_bad_username_and_TLS > --- PASS: TestUsers (2.24s) > --- PASS: TestUsers/without_basic_auth (0.25s) > --- PASS: TestUsers/with_correct_basic_auth (0.32s) > --- PASS: TestUsers/without_basic_auth_and_TLS (0.27s) > --- PASS: TestUsers/with_correct_basic_auth_and_TLS (0.35s) > --- PASS: TestUsers/with_another_correct_basic_auth_and_TLS (0.36s) > --- PASS: TestUsers/with_bad_password_and_TLS (0.34s) > --- PASS: TestUsers/with_bad_username_and_TLS (0.34s) > FAIL > FAIL github.com/prometheus/exporter-toolkit/web 10.520s > FAIL > dh_auto_test: error: cd _build && go test -vet=off -v -p 8 > github.com/prometheus/exporter-toolkit/web > github.com/prometheus/exporter-toolkit/web/kingpinflag returned exit code 1 The full build log is available from: http://qa-logs.debian.net/2023/09/25/golang-github-prometheus-exporter-toolkit_0.10.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.