Source: golang-github-prometheus-exporter-toolkit
Version: 0.7.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
>       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.72s)
> === RUN   TestBasicAuthWithFakepassword
>     handler_test.go:119: Get "http://localhost:39841": dial tcp 
> 127.0.0.1:39841: connect: connection refused
> --- FAIL: TestBasicAuthWithFakepassword (0.00s)
> === RUN   TestHTTPHeaders
>     handler_test.go:161: Get "http://localhost:39841": dial tcp 
> 127.0.0.1:39841: connect: connection refused
> --- FAIL: 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
> === RUN   TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client
> 2022/06/24 06:05:57 http: TLS handshake error from 127.0.0.1:42378: 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
> 2022/06/24 06:05:58 http: TLS handshake error from 127.0.0.1:42384: 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
> 2022/06/24 06:05:59 http: TLS handshake error from 127.0.0.1:42394: 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
> 2022/06/24 06:06:00 http: TLS handshake error from 127.0.0.1:42398: tls: 
> client didn't provide a certificate
> 2022/06/24 06:06:00 http: TLS handshake error from 127.0.0.1:42400: 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_overriden
> --- PASS: TestServerBehaviour (4.09s)
>     --- 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)
>     --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_ciphers 
> (0.25s)
>     --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_ciphers 
> (0.26s)
>     --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher 
> (0.25s)
>     --- PASS: 
> 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.26s)
>     --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_curves (0.25s)
>     --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_curves 
> (0.28s)
>     --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_curves 
> (0.25s)
>     --- 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.26s)
>     --- 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/06/24 06:06:00 http: TLS handshake error from 127.0.0.1:42410: 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.26s)
>     --- PASS: TestUsers/without_basic_auth (0.25s)
>     --- PASS: TestUsers/with_correct_basic_auth (0.38s)
>     --- PASS: TestUsers/without_basic_auth_and_TLS (0.25s)
>     --- PASS: TestUsers/with_correct_basic_auth_and_TLS (0.34s)
>     --- PASS: TestUsers/with_another_correct_basic_auth_and_TLS (0.34s)
>     --- PASS: TestUsers/with_bad_password_and_TLS (0.34s)
>     --- PASS: TestUsers/with_bad_username_and_TLS (0.35s)
> FAIL
> FAIL  github.com/prometheus/exporter-toolkit/web      7.841s
> ?     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/06/24/golang-github-prometheus-exporter-toolkit_0.7.1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&[email protected]&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 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.

Reply via email to