Source: golang-github-prometheus-exporter-toolkit Version: 0.8.2-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230216 ftbfs-bookworm
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/goarch > internal/goos > internal/unsafeheader > internal/goexperiment > internal/race > internal/cpu > runtime/internal/syscall > runtime/internal/atomic > sync/atomic > unicode > unicode/utf8 > internal/abi > runtime/internal/math > runtime/internal/sys > container/list > internal/itoa > internal/bytealg > math/bits > crypto/internal/subtle > crypto/subtle > crypto/internal/boring/sig > unicode/utf16 > vendor/golang.org/x/crypto/cryptobyte/asn1 > internal/nettrace > vendor/golang.org/x/crypto/internal/subtle > encoding > math > google.golang.org/protobuf/internal/flags > google.golang.org/protobuf/internal/set > runtime > runtime/metrics > sync > internal/reflectlite > internal/testlog > math/rand > internal/singleflight > google.golang.org/protobuf/internal/pragma > runtime/cgo > errors > sort > io > internal/oserror > strconv > path > internal/safefilepath > crypto/internal/nistec/fiat > syscall > vendor/golang.org/x/net/dns/dnsmessage > github.com/beorn7/perks/quantile > hash > bytes > strings > crypto/internal/randutil > hash/crc32 > vendor/golang.org/x/text/transform > hash/fnv > bufio > crypto > reflect > crypto/rc4 > 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 > os > internal/fmtsort > encoding/binary > crypto/cipher > crypto/internal/edwards25519/field > crypto/internal/nistec > crypto/md5 > encoding/base64 > vendor/golang.org/x/crypto/internal/poly1305 > vendor/golang.org/x/crypto/curve25519/internal/field > encoding/pem > fmt > internal/godebug > internal/intern > path/filepath > crypto/internal/boring > crypto/des > crypto/internal/edwards25519 > vendor/golang.org/x/crypto/chacha20 > crypto/aes > crypto/sha512 > crypto/hmac > crypto/sha1 > crypto/sha256 > net/netip > io/ioutil > vendor/golang.org/x/sys/cpu > vendor/golang.org/x/crypto/hkdf > github.com/cespare/xxhash > google.golang.org/protobuf/internal/detrand > github.com/prometheus/procfs/internal/util > golang.org/x/sys/unix > internal/lazyregexp > vendor/golang.org/x/crypto/chacha20poly1305 > net/url > encoding/hex > math/big > vendor/golang.org/x/crypto/curve25519 > encoding/json > github.com/go-logfmt/logfmt > log > net > compress/flate > vendor/golang.org/x/text/unicode/bidi > vendor/golang.org/x/text/unicode/norm > vendor/golang.org/x/net/http2/hpack > mime > compress/gzip > github.com/go-kit/log > vendor/golang.org/x/text/secure/bidirule > mime/quotedprintable > net/http/internal > github.com/golang/protobuf/proto > github.com/prometheus/common/model > google.golang.org/protobuf/internal/errors > github.com/go-kit/log/level > google.golang.org/protobuf/encoding/protowire > vendor/golang.org/x/net/idna > crypto/elliptic > crypto/internal/boring/bbig > encoding/asn1 > crypto/rand > crypto/dsa > google.golang.org/protobuf/reflect/protoreflect > crypto/ed25519 > crypto/rsa > go/token > google.golang.org/protobuf/internal/version > github.com/prometheus/procfs/internal/fs > runtime/debug > golang.org/x/net/internal/timeseries > 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/internal/descfmt > google.golang.org/protobuf/internal/descopts > google.golang.org/protobuf/internal/strs > crypto/ecdsa > google.golang.org/protobuf/internal/encoding/messageset > google.golang.org/protobuf/internal/encoding/text > google.golang.org/protobuf/internal/genid > google.golang.org/protobuf/internal/order > google.golang.org/protobuf/runtime/protoiface > google.golang.org/protobuf/reflect/protoregistry > golang.org/x/text/secure/bidirule > text/template > golang.org/x/net/http2/hpack > gopkg.in/yaml.v2 > google.golang.org/protobuf/internal/encoding/defval > google.golang.org/protobuf/proto > github.com/golang/protobuf/ptypes/timestamp > github.com/matttproud/golang_protobuf_extensions/pbutil > golang.org/x/crypto/bcrypt > github.com/prometheus/client_model/go > golang.org/x/sync/errgroup > github.com/alecthomas/units > go/scanner > golang.org/x/net/idna > github.com/prometheus/client_golang/prometheus/internal > go/doc/comment > go/ast > google.golang.org/protobuf/internal/filedesc > google.golang.org/protobuf/encoding/prototext > html/template > go/doc > net/textproto > vendor/golang.org/x/net/http/httpproxy > crypto/x509 > github.com/prometheus/procfs > mime/multipart > golang.org/x/net/http/httpguts > vendor/golang.org/x/net/http/httpguts > google.golang.org/protobuf/internal/encoding/tag > gopkg.in/alecthomas/kingpin.v2 > google.golang.org/protobuf/internal/impl > crypto/tls > github.com/coreos/go-systemd/activation > net/http/httptrace > net/http > google.golang.org/protobuf/internal/filetype > google.golang.org/protobuf/runtime/protoimpl > google.golang.org/protobuf/types/known/timestamppb > expvar > github.com/prometheus/common/expfmt > golang.org/x/net/trace > golang.org/x/net/context/ctxhttp > 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 > === RUN TestCacheSize > --- PASS: TestCacheSize (0.00s) > === RUN TestBasicAuthCache > --- PASS: TestBasicAuthCache (0.97s) > === RUN TestBasicAuthWithFakepassword > --- PASS: TestBasicAuthWithFakepassword (0.32s) > === RUN TestByPassBasicAuthVuln > handler_test.go:178: Get "http://localhost:44065": dial tcp > 127.0.0.1:44065: connect: connection refused > --- FAIL: TestByPassBasicAuthVuln (0.00s) > === RUN TestHTTPHeaders > --- PASS: TestHTTPHeaders (0.25s) > === 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/02/17 01:31:49 http: TLS handshake error from 127.0.0.1:38420: 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/02/17 01:31:50 http: TLS handshake error from 127.0.0.1:38426: 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/02/17 01:31:51 http: TLS handshake error from 127.0.0.1:38436: 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/02/17 01:31:52 http: TLS handshake error from 127.0.0.1:38440: tls: > client didn't provide a certificate > 2023/02/17 01:31:52 http: TLS handshake error from 127.0.0.1:38442: tls: > client didn't provide a certificate > === 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/02/17 01:31:52 http: TLS handshake error from 127.0.0.1:38454: tls: > client didn't provide a certificate > === 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/02/17 01:31:53 http: TLS handshake error from 127.0.0.1:38458: tls: > failed to verify client certificate: x509: certificate signed by unknown > authority > tls_config_test.go:534: Expected error matching regular expression: bad > certificate > tls_config_test.go:535: Got: Get "https://localhost:44065": write tcp > 127.0.0.1:38458->127.0.0.1:44065: write: connection reset by peer > --- FAIL: TestServerBehaviour (5.28s) > --- 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.27s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client > (0.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_ciphers > (0.28s) > --- 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.26s) > --- 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.26s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers_but_http2_enabled > (0.00s) > --- PASS: > 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.28s) > --- PASS: > 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) > === RUN TestConfigReloading > 2023/02/17 01:31:53 http: TLS handshake error from 127.0.0.1:38460: tls: > client didn't provide a certificate > --- PASS: TestConfigReloading (0.53s) > === 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.30s) > --- PASS: TestUsers/without_basic_auth (0.25s) > --- PASS: TestUsers/with_correct_basic_auth (0.35s) > --- PASS: TestUsers/without_basic_auth_and_TLS (0.27s) > --- PASS: TestUsers/with_correct_basic_auth_and_TLS (0.37s) > --- PASS: TestUsers/with_another_correct_basic_auth_and_TLS (0.36s) > --- PASS: TestUsers/with_bad_password_and_TLS (0.36s) > --- PASS: TestUsers/with_bad_username_and_TLS (0.34s) > FAIL > FAIL github.com/prometheus/exporter-toolkit/web 9.932s > ? github.com/prometheus/exporter-toolkit/web/kingpinflag [no test files] > 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/02/16/golang-github-prometheus-exporter-toolkit_0.8.2-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230216&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.