Source: golang-github-prometheus-exporter-toolkit Version: 0.5.1-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ftbfs-20211023 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > dpkg-buildpackage > ----------------- > > Command: dpkg-buildpackage -us -uc -sa -rfakeroot > dpkg-buildpackage: info: source package > golang-github-prometheus-exporter-toolkit > dpkg-buildpackage: info: source version 0.5.1-2 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Benjamin Drung > <[email protected]> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean --buildsystem=golang --with=golang > dh_auto_clean -O--buildsystem=golang > dh_autoreconf_clean -O--buildsystem=golang > dh_clean -O--buildsystem=golang > dpkg-source -b . > dpkg-source: info: using source format '3.0 (quilt)' > dpkg-source: info: building golang-github-prometheus-exporter-toolkit using > existing ./golang-github-prometheus-exporter-toolkit_0.5.1.orig.tar.gz > dpkg-source: info: building golang-github-prometheus-exporter-toolkit in > golang-github-prometheus-exporter-toolkit_0.5.1-2.debian.tar.xz > dpkg-source: info: building golang-github-prometheus-exporter-toolkit in > golang-github-prometheus-exporter-toolkit_0.5.1-2.dsc > debian/rules binary > dh binary --buildsystem=golang --with=golang > dh_update_autotools_config -O--buildsystem=golang > dh_autoreconf -O--buildsystem=golang > dh_auto_configure -O--buildsystem=golang > dh_auto_build -O--buildsystem=golang > cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 > github.com/prometheus/exporter-toolkit/web > github.com/prometheus/exporter-toolkit/web/kingpinflag > internal/unsafeheader > internal/goexperiment > internal/abi > internal/cpu > runtime/internal/atomic > runtime/internal/sys > runtime/internal/math > internal/race > sync/atomic > unicode > unicode/utf8 > internal/bytealg > container/list > internal/itoa > math/bits > crypto/internal/subtle > crypto/subtle > math > unicode/utf16 > vendor/golang.org/x/crypto/cryptobyte/asn1 > runtime > internal/nettrace > vendor/golang.org/x/crypto/internal/subtle > encoding > golang.org/x/sys/internal/unsafeheader > internal/reflectlite > sync > internal/testlog > internal/singleflight > math/rand > runtime/cgo > errors > sort > internal/oserror > io > syscall > strconv > bytes > hash > crypto/elliptic/internal/fiat > crypto > reflect > path > strings > time > internal/syscall/unix > internal/syscall/execenv > crypto/internal/randutil > bufio > crypto/hmac > context > internal/poll > io/fs > crypto/rc4 > vendor/golang.org/x/net/dns/dnsmessage > vendor/golang.org/x/crypto/hkdf > os > regexp/syntax > encoding/binary > internal/fmtsort > crypto/cipher > crypto/sha512 > crypto/ed25519/internal/edwards25519/field > fmt > crypto/aes > crypto/des > crypto/ed25519/internal/edwards25519 > crypto/md5 > crypto/sha1 > crypto/sha256 > math/big > encoding/hex > encoding/base64 > net > encoding/pem > net/url > path/filepath > vendor/golang.org/x/crypto/chacha20 > vendor/golang.org/x/crypto/poly1305 > io/ioutil > vendor/golang.org/x/sys/cpu > vendor/golang.org/x/crypto/curve25519 > vendor/golang.org/x/crypto/chacha20poly1305 > encoding/json > github.com/go-logfmt/logfmt > crypto/elliptic > encoding/asn1 > crypto/rand > crypto/ed25519 > vendor/golang.org/x/crypto/cryptobyte > crypto/rsa > crypto/dsa > crypto/x509/pkix > github.com/go-stack/stack > crypto/ecdsa > log > regexp > github.com/pkg/errors > github.com/jpillora/backoff > compress/flate > hash/crc32 > vendor/golang.org/x/text/transform > compress/gzip > github.com/go-kit/kit/log > vendor/golang.org/x/text/unicode/bidi > vendor/golang.org/x/text/unicode/norm > github.com/go-kit/kit/log/level > vendor/golang.org/x/net/http2/hpack > vendor/golang.org/x/text/secure/bidirule > mime > mime/quotedprintable > net/http/internal > net/http/internal/ascii > github.com/beorn7/perks/quantile > github.com/cespare/xxhash > vendor/golang.org/x/net/idna > github.com/golang/protobuf/proto > github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg > github.com/prometheus/common/model > crypto/x509 > net/textproto > vendor/golang.org/x/net/http/httpguts > vendor/golang.org/x/net/http/httpproxy > mime/multipart > github.com/prometheus/procfs/internal/fs > github.com/prometheus/procfs/internal/util > golang.org/x/sys/unix > runtime/debug > crypto/tls > golang.org/x/net/internal/timeseries > html > text/template/parse > github.com/golang/protobuf/ptypes/any > github.com/golang/protobuf/ptypes/duration > github.com/golang/protobuf/ptypes/timestamp > github.com/golang/protobuf/ptypes > github.com/prometheus/client_model/go > github.com/matttproud/golang_protobuf_extensions/pbutil > github.com/prometheus/procfs > text/template > github.com/prometheus/client_golang/prometheus/internal > text/tabwriter > golang.org/x/text/transform > golang.org/x/text/unicode/bidi > net/http/httptrace > html/template > net/http > golang.org/x/text/secure/bidirule > golang.org/x/text/unicode/norm > golang.org/x/net/http2/hpack > gopkg.in/yaml.v2 > golang.org/x/crypto/blowfish > golang.org/x/net/idna > golang.org/x/crypto/bcrypt > github.com/alecthomas/units > go/token > golang.org/x/net/http/httpguts > go/scanner > internal/lazyregexp > go/ast > go/doc > gopkg.in/alecthomas/kingpin.v2 > github.com/prometheus/common/expfmt > golang.org/x/net/trace > expvar > golang.org/x/net/http2 > github.com/prometheus/exporter-toolkit/web/kingpinflag > github.com/prometheus/client_golang/prometheus > github.com/mwitkow/go-conntrack > github.com/prometheus/common/config > github.com/prometheus/exporter-toolkit/web > dh_auto_test -O--buildsystem=golang > cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 > github.com/prometheus/exporter-toolkit/web > github.com/prometheus/exporter-toolkit/web/kingpinflag > === RUN TestCacheSize > --- PASS: TestCacheSize (0.00s) > === 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.25s) > --- 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 > 2021/10/23 06:30:27 http: TLS handshake error from [::1]:49934: tls: client > offered only unsupported versions: [302 301] > === RUN TestServerBehaviour/valid_tls_config_yml_with_all_ciphers > tls_config_test.go:456: Expected no error, got error: unknown cipher: > TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA > === RUN TestServerBehaviour/valid_tls_config_yml_with_some_ciphers > === RUN TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher > 2021/10/23 06:30:27 http: TLS handshake error from [::1]:49940: tls: no > cipher suite supported by both client and server > === RUN > TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers > tls_config_test.go:456: Expected no error, got error: bad cipher suite > selected. Expected: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, got: > TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 > === 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 > 2021/10/23 06:30:29 http: TLS handshake error from [::1]:49950: 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 > --- FAIL: TestServerBehaviour (3.30s) > --- 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.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client > (0.25s) > --- FAIL: TestServerBehaviour/valid_tls_config_yml_with_all_ciphers > (0.00s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_ciphers > (0.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher > (0.25s) > --- FAIL: > TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers (0.25s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers,_client_chooses_cipher > (0.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_curves (0.25s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_curves > (0.26s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_curves > (0.26s) > --- PASS: TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers > (0.25s) > --- PASS: > TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers_but_http2_enabled > (0.00s) > === RUN TestConfigReloading > 2021/10/23 06:30:29 http: TLS handshake error from [::1]:49956: tls: client > didn't provide a certificate > 2021/10/23 06:30:29 http: TLS handshake error from [::1]:49954: tls: client > didn't provide a certificate > --- PASS: TestConfigReloading (0.51s) > === 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.11s) > --- PASS: TestUsers/without_basic_auth (0.25s) > --- PASS: TestUsers/with_correct_basic_auth (0.32s) > --- PASS: TestUsers/without_basic_auth_and_TLS (0.25s) > --- PASS: TestUsers/with_correct_basic_auth_and_TLS (0.32s) > --- PASS: TestUsers/with_another_correct_basic_auth_and_TLS (0.32s) > --- PASS: TestUsers/with_bad_password_and_TLS (0.32s) > --- PASS: TestUsers/with_bad_username_and_TLS (0.32s) > === RUN TestBasicAuthCache > --- PASS: TestBasicAuthCache (0.94s) > === RUN TestBasicAuthWithFakepassword > --- PASS: TestBasicAuthWithFakepassword (0.07s) > FAIL > FAIL github.com/prometheus/exporter-toolkit/web 7.188s > ? github.com/prometheus/exporter-toolkit/web/kingpinflag [no test files] > FAIL > dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 > 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/2021/10/23/golang-github-prometheus-exporter-toolkit_0.5.1-2_unstable.log 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 marking 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.

