Your message dated Fri, 01 Apr 2022 14:35:26 +0000
with message-id <[email protected]>
and subject line Bug#1008410: fixed in
golang-github-prometheus-exporter-toolkit 0.7.1-2
has caused the Debian Bug report #1008410,
regarding golang-github-prometheus-exporter-toolkit: FTBFS: 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
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1008410: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008410
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: golang-github-prometheus-exporter-toolkit
Version: 0.7.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220326 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/race
> internal/unsafeheader
> internal/goos
> internal/goexperiment
> internal/goarch
> internal/cpu
> runtime/internal/syscall
> runtime/internal/atomic
> sync/atomic
> runtime/internal/math
> internal/abi
> runtime/internal/sys
> unicode
> unicode/utf8
> container/list
> internal/itoa
> math/bits
> crypto/internal/subtle
> crypto/subtle
> unicode/utf16
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> internal/bytealg
> vendor/golang.org/x/crypto/internal/subtle
> encoding
> golang.org/x/sys/internal/unsafeheader
> math
> runtime
> internal/reflectlite
> sync
> internal/testlog
> internal/singleflight
> math/rand
> runtime/cgo
> errors
> sort
> internal/oserror
> io
> path
> strconv
> vendor/golang.org/x/net/dns/dnsmessage
> crypto/elliptic/internal/fiat
> syscall
> github.com/beorn7/perks/quantile
> hash
> bytes
> strings
> crypto/internal/randutil
> crypto/hmac
> crypto
> reflect
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> hash/crc32
> vendor/golang.org/x/text/transform
> text/tabwriter
> bufio
> regexp/syntax
> net/http/internal/ascii
> github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
> html
> golang.org/x/text/transform
> golang.org/x/crypto/blowfish
> crypto/elliptic/internal/nistec
> time
> internal/syscall/unix
> internal/syscall/execenv
> regexp
> context
> io/fs
> internal/poll
> github.com/jpillora/backoff
> embed
> internal/fmtsort
> encoding/binary
> os
> crypto/cipher
> crypto/sha512
> crypto/ed25519/internal/edwards25519/field
> crypto/md5
> crypto/sha1
> crypto/sha256
> encoding/base64
> encoding/pem
> vendor/golang.org/x/crypto/internal/poly1305
> vendor/golang.org/x/crypto/curve25519/internal/field
> github.com/cespare/xxhash
> crypto/ed25519/internal/edwards25519
> crypto/aes
> crypto/des
> vendor/golang.org/x/crypto/chacha20
> golang.org/x/sys/unix
> internal/godebug
> fmt
> path/filepath
> io/ioutil
> internal/intern
> vendor/golang.org/x/sys/cpu
> net/netip
> github.com/prometheus/procfs/internal/util
> internal/lazyregexp
> vendor/golang.org/x/crypto/chacha20poly1305
> net
> encoding/hex
> vendor/golang.org/x/crypto/curve25519
> net/url
> github.com/go-logfmt/logfmt
> encoding/json
> math/big
> log
> github.com/pkg/errors
> 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
> vendor/golang.org/x/text/secure/bidirule
> github.com/go-kit/log
> mime/quotedprintable
> net/http/internal
> github.com/golang/protobuf/proto
> github.com/prometheus/procfs/internal/fs
> github.com/prometheus/common/model
> github.com/go-kit/log/level
> runtime/debug
> golang.org/x/net/internal/timeseries
> text/template/parse
> vendor/golang.org/x/net/idna
> golang.org/x/text/unicode/bidi
> golang.org/x/text/unicode/norm
> golang.org/x/net/http2/hpack
> crypto/rand
> encoding/asn1
> crypto/elliptic
> crypto/ed25519
> crypto/rsa
> crypto/dsa
> text/template
> golang.org/x/text/secure/bidirule
> vendor/golang.org/x/crypto/cryptobyte
> crypto/x509/pkix
> gopkg.in/yaml.v2
> golang.org/x/crypto/bcrypt
> golang.org/x/net/idna
> github.com/alecthomas/units
> go/token
> crypto/ecdsa
> go/scanner
> html/template
> go/ast
> github.com/golang/protobuf/ptypes/duration
> github.com/golang/protobuf/ptypes/timestamp
> github.com/matttproud/golang_protobuf_extensions/pbutil
> github.com/golang/protobuf/ptypes/any
> github.com/golang/protobuf/ptypes
> github.com/prometheus/client_model/go
> github.com/prometheus/client_golang/prometheus/internal
> go/doc
> vendor/golang.org/x/net/http/httpproxy
> net/textproto
> crypto/x509
> github.com/prometheus/procfs
> mime/multipart
> golang.org/x/net/http/httpguts
> vendor/golang.org/x/net/http/httpguts
> gopkg.in/alecthomas/kingpin.v2
> crypto/tls
> github.com/prometheus/exporter-toolkit/web/kingpinflag
> net/http/httptrace
> net/http
> golang.org/x/net/trace
> github.com/prometheus/common/expfmt
> expvar
> 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
> 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.65s)
> === RUN TestBasicAuthWithFakepassword
> --- PASS: TestBasicAuthWithFakepassword (0.07s)
> === RUN TestHTTPHeaders
> --- PASS: TestHTTPHeaders (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.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
> 2022/03/26 18:48:04 http: TLS handshake error from [::1]:58214: remote error:
> tls: bad certificate
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> === RUN TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client
> tls_config_test.go:486: Expected error matching regular expression:
> protocol version not supported
> tls_config_test.go:487: Got: Get "https://localhost:34345": tls: no
> supported versions satisfy MinVersion and MaxVersion
> 2022/03/26 18:48:05 http: TLS handshake error from [::1]:58216: read tcp
> [::1]:34345->[::1]:58216: use of closed network connection
> === RUN TestServerBehaviour/valid_tls_config_yml_with_all_ciphers
> 2022/03/26 18:48:05 http: TLS handshake error from [::1]:58218: remote error:
> tls: bad certificate
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> === RUN TestServerBehaviour/valid_tls_config_yml_with_some_ciphers
> 2022/03/26 18:48:05 http: TLS handshake error from [::1]:58220: remote error:
> tls: bad certificate
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> === RUN TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher
> 2022/03/26 18:48:05 http: TLS handshake error from [::1]:58222: tls: no
> cipher suite supported by both client and server
> === RUN
> TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers
> 2022/03/26 18:48:06 http: TLS handshake error from [::1]:58224: remote error:
> tls: bad certificate
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> === RUN
> TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers,_client_chooses_cipher
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> 2022/03/26 18:48:06 http: TLS handshake error from [::1]:58226: remote error:
> tls: bad certificate
> === RUN TestServerBehaviour/valid_tls_config_yml_with_all_curves
> 2022/03/26 18:48:06 http: TLS handshake error from [::1]:58228: remote error:
> tls: bad certificate
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> === RUN TestServerBehaviour/valid_tls_config_yml_with_some_curves
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> 2022/03/26 18:48:06 http: TLS handshake error from [::1]:58230: remote error:
> tls: bad certificate
> === RUN TestServerBehaviour/valid_tls_config_yml_with_no_common_curves
> 2022/03/26 18:48:07 http: TLS handshake error from [::1]:58232: tls: no ECDHE
> curve supported by both client and server
> === RUN TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers
> 2022/03/26 18:48:07 http: TLS handshake error from [::1]:58234: remote error:
> tls: bad certificate
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> === RUN
> TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers_but_http2_enabled
> === RUN
> TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert
> 2022/03/26 18:48:07 http: TLS handshake error from [::1]:58236: remote error:
> tls: bad certificate
> tls_config_test.go:486: Expected error matching regular expression: bad
> certificate
> 2022/03/26 18:48:07 http: TLS handshake error from [::1]:58238: remote error:
> tls: bad certificate
> tls_config_test.go:487: Got: Get "https://localhost:34345": x509:
> certificate signed by unknown authority (possibly because of "x509: cannot
> verify signature: insecure algorithm SHA1-RSA (temporarily override with
> GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate
> "Prometheus TLS CA")
> === 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_overriden
> --- FAIL: TestServerBehaviour (4.06s)
> --- 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)
> --- FAIL: TestServerBehaviour/valid_tls_config_yml_and_tls_client (0.25s)
> --- FAIL: TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client
> (0.25s)
> --- FAIL: TestServerBehaviour/valid_tls_config_yml_with_all_ciphers
> (0.25s)
> --- FAIL: 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)
> --- FAIL:
> TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers,_client_chooses_cipher
> (0.25s)
> --- FAIL: TestServerBehaviour/valid_tls_config_yml_with_all_curves (0.25s)
> --- FAIL: TestServerBehaviour/valid_tls_config_yml_with_some_curves
> (0.27s)
> --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_curves
> (0.25s)
> --- FAIL: 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)
> --- FAIL:
> TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert
> (0.25s)
> --- 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_overriden
> (0.00s)
> === RUN TestConfigReloading
> 2022/03/26 18:48:08 http: TLS handshake error from [::1]:58242: remote error:
> tls: bad certificate
> tls_config_test.go:389: *** Failed test: TestConfigReloading ***
> Returned error: connection failed but should have been accepted
> 2022/03/26 18:48:08 http: TLS handshake error from [::1]:58250: remote error:
> tls: bad certificate
> --- FAIL: TestConfigReloading (0.51s)
> === RUN TestUsers
> === RUN TestUsers/without_basic_auth
> === RUN TestUsers/with_correct_basic_auth
> === RUN TestUsers/without_basic_auth_and_TLS
> tls_config_test.go:486: Expected error matching regular expression:
> Unauthorized
> 2022/03/26 18:48:09 http: TLS handshake error from [::1]:58256: remote error:
> tls: bad certificate
> tls_config_test.go:487: Got: Get "https://localhost:34345": x509:
> certificate signed by unknown authority (possibly because of "x509: cannot
> verify signature: insecure algorithm SHA1-RSA (temporarily override with
> GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate
> "Prometheus TLS CA")
> === RUN TestUsers/with_correct_basic_auth_and_TLS
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> 2022/03/26 18:48:09 http: TLS handshake error from [::1]:58258: remote error:
> tls: bad certificate
> === RUN TestUsers/with_another_correct_basic_auth_and_TLS
> 2022/03/26 18:48:09 http: TLS handshake error from [::1]:58260: remote error:
> tls: bad certificate
> tls_config_test.go:484: Expected no error, got error: Get
> "https://localhost:34345": x509: certificate signed by unknown authority
> (possibly because of "x509: cannot verify signature: insecure algorithm
> SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to
> verify candidate authority certificate "Prometheus TLS CA")
> === RUN TestUsers/with_bad_password_and_TLS
> 2022/03/26 18:48:09 http: TLS handshake error from [::1]:58262: remote error:
> tls: bad certificate
> tls_config_test.go:486: Expected error matching regular expression:
> Unauthorized
> tls_config_test.go:487: Got: Get "https://localhost:34345": x509:
> certificate signed by unknown authority (possibly because of "x509: cannot
> verify signature: insecure algorithm SHA1-RSA (temporarily override with
> GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate
> "Prometheus TLS CA")
> === RUN TestUsers/with_bad_username_and_TLS
> tls_config_test.go:486: Expected error matching regular expression:
> Unauthorized
> tls_config_test.go:487: Got: Get "https://localhost:34345": x509:
> certificate signed by unknown authority (possibly because of "x509: cannot
> verify signature: insecure algorithm SHA1-RSA (temporarily override with
> GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate
> "Prometheus TLS CA")
> 2022/03/26 18:48:10 http: TLS handshake error from [::1]:58264: read tcp
> [::1]:34345->[::1]:58264: use of closed network connection
> --- FAIL: TestUsers (1.84s)
> --- PASS: TestUsers/without_basic_auth (0.25s)
> --- PASS: TestUsers/with_correct_basic_auth (0.32s)
> --- FAIL: TestUsers/without_basic_auth_and_TLS (0.25s)
> --- FAIL: TestUsers/with_correct_basic_auth_and_TLS (0.25s)
> --- FAIL: TestUsers/with_another_correct_basic_auth_and_TLS (0.25s)
> --- FAIL: TestUsers/with_bad_password_and_TLS (0.25s)
> --- FAIL: TestUsers/with_bad_username_and_TLS (0.25s)
> FAIL
> FAIL github.com/prometheus/exporter-toolkit/web 7.391s
> ? 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/2022/03/26/golang-github-prometheus-exporter-toolkit_0.7.1-1_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.
--- End Message ---
--- Begin Message ---
Source: golang-github-prometheus-exporter-toolkit
Source-Version: 0.7.1-2
Done: Martina Ferrari <[email protected]>
We believe that the bug you reported is fixed in the latest version of
golang-github-prometheus-exporter-toolkit, which is due to be installed in the
Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martina Ferrari <[email protected]> (supplier of updated
golang-github-prometheus-exporter-toolkit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 01 Apr 2022 13:37:33 +0000
Source: golang-github-prometheus-exporter-toolkit
Binary: golang-github-prometheus-exporter-toolkit-dev
Architecture: source all
Version: 0.7.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Martina Ferrari <[email protected]>
Description:
golang-github-prometheus-exporter-toolkit-dev - Go library for Prometheus
exporters
Closes: 1008410
Changes:
golang-github-prometheus-exporter-toolkit (0.7.1-2) unstable; urgency=medium
.
* debian/patches: update patch to fix new breakage.
* debian/rules: Avoid test failures with new crypto/x509.
Closes: #1008410
* debian/control: Add myself to Uploaders.
Checksums-Sha1:
5cae369e72a54c670b33ada9a1d6325c9796ef57 2642
golang-github-prometheus-exporter-toolkit_0.7.1-2.dsc
aaebcbe91e99064a0317c384acb2c0db327c44bb 3448
golang-github-prometheus-exporter-toolkit_0.7.1-2.debian.tar.xz
c8e508889d634dd249bfcd1c3d6928367665172a 37640
golang-github-prometheus-exporter-toolkit-dev_0.7.1-2_all.deb
c90b92a69bff892520c28a2ea94e5e412d063113 8280
golang-github-prometheus-exporter-toolkit_0.7.1-2_amd64.buildinfo
Checksums-Sha256:
9ca4040f094ee41ba548ee4acb06aa453015b371c0c41b4034681b58487f65fa 2642
golang-github-prometheus-exporter-toolkit_0.7.1-2.dsc
f5022746578c1dc6be015a666f91b661012cf77a0982cbb425eea5545de6f9a8 3448
golang-github-prometheus-exporter-toolkit_0.7.1-2.debian.tar.xz
ed852f59b0d03e8338a2ba3b0198298eba773efbe49ce6a75c2f839f62a6906e 37640
golang-github-prometheus-exporter-toolkit-dev_0.7.1-2_all.deb
d56af6478596fe0a3e8bd52eb4e5737d58ab7b2025ed8042e5e08cef08f3c75c 8280
golang-github-prometheus-exporter-toolkit_0.7.1-2_amd64.buildinfo
Files:
ac4668cfd30337c05b1cfca9a65dede6 2642 devel optional
golang-github-prometheus-exporter-toolkit_0.7.1-2.dsc
f467e77dee727ac2d98207dd52476fdf 3448 devel optional
golang-github-prometheus-exporter-toolkit_0.7.1-2.debian.tar.xz
7914d5331e06a2eefacfb5b62690958e 37640 devel optional
golang-github-prometheus-exporter-toolkit-dev_0.7.1-2_all.deb
9e5df85d67d751a601d83f4758e5a55e 8280 devel optional
golang-github-prometheus-exporter-toolkit_0.7.1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE2qbv8cYn6hwmsaaSqiMPxF+MJ7EFAmJHAIQACgkQqiMPxF+M
J7F5Ew/+JhAMNy4XGH/d6bT1w5Kjz8zjsi9w8piHb6wMzKpRQaJXh2BvSBbZvUGz
6Z9y1gHUru0DDMVaQhPlP4VoPkx8QGCQ062pAhqQpI8u+E3JJM6FRI3UvRjnDt4R
U7RFT3SUnNDVR7JlEe4HXdXmQ1fE8jRultocdkZ/pK8meu2u28kJ2O3LhKpCJsYp
xO6BkmcgdC5zCaDF8LJTUwZNQB2AMkhe4RQSALzf78uAFr2qbjrRCsAi2ON21N+8
L3/N82cj/TZ8DJlk/n6rcsuG4ujpprk/epKskZqo6HOSWVJlecuzXF6Iay77HF1t
g6N6o0JXegcbHSV9pq9bQHnBwn+DWTj8IY+Mb+6I6gTWjCphXeyb2evSOE5yLW9M
Hc1TE0cj1uhSbZvQD/kV1i/G6NvAXUOdZYpqlRlYWr+oQSvWaHZBASgliO7ceppG
EzEkWIP9BdpnKBRG9bhfMraSZUhUW9lXyPVuvuA17gue/mFy0p5/qwl5smuZWfuM
o+SMOzSNGYJcwz9qOBNFADr5crAIqOX/DCXkCPJ07QU5eNPiQnogZHvBek+bMA8c
jq14vVieYv+lbz4fs2wGTn6Vv1NNWFjMZCGc/IEgvHHw1CfV6TWAyHHdMXAWlXkd
EcHidAPEslG8qhIzP78wAqpiA3EHx5/TwzWdN+ShnnEdm587JbQ=
=itVO
-----END PGP SIGNATURE-----
--- End Message ---