Package: src:golang-github-zitadel-oidc
Version: 3.34.1-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
        cd _build && go install -trimpath -v -p 2 github.com/zitadel/oidc 
github.com/zitadel/oidc/internal/testutil github.com/zitadel/oidc/pkg/client 
github.com/zitadel/oidc/pkg/client/profile 
github.com/zitadel/oidc/pkg/client/rp github.com/zitadel/oidc/pkg/client/rp/cli 
github.com/zitadel/oidc/pkg/client/rs 
github.com/zitadel/oidc/pkg/client/tokenexchange 
github.com/zitadel/oidc/pkg/crypto github.com/zitadel/oidc/pkg/http 
github.com/zitadel/oidc/pkg/oidc github.com/zitadel/oidc/pkg/oidc/grants 
github.com/zitadel/oidc/pkg/oidc/grants/tokenexchange 
github.com/zitadel/oidc/pkg/op github.com/zitadel/oidc/pkg/op/mock 
github.com/zitadel/oidc/pkg/strings
internal/goarch
github.com/zitadel/oidc

[... snipped ...]

2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_refreshTokenHandler/refresh_token_missing
2025/02/21 21:21:45 WARN request error oidc_error.description="refresh_token 
missing" oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_refreshTokenHandler/unimplemented_RefreshToken_called
2025/02/21 21:21:45 WARN request error oidc_error.description="refresh_token 
not supported" oidc_error.type=unsupported_grant_type status_code=400
--- PASS: Test_webServer_refreshTokenHandler (0.00s)
    --- PASS: Test_webServer_refreshTokenHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_refreshTokenHandler/refresh_token_missing (0.00s)
    --- PASS: 
Test_webServer_refreshTokenHandler/unimplemented_RefreshToken_called (0.00s)
=== RUN   Test_webServer_tokenExchangeHandler
=== RUN   Test_webServer_tokenExchangeHandler/decoder_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_tokenExchangeHandler/subject_token_missing
2025/02/21 21:21:45 WARN request error oidc_error.description="subject_token 
missing" oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_tokenExchangeHandler/subject_token_type_missing
2025/02/21 21:21:45 WARN request error 
oidc_error.description="subject_token_type missing" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_tokenExchangeHandler/subject_token_type_unsupported
2025/02/21 21:21:45 WARN request error 
oidc_error.description="subject_token_type is not supported" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_tokenExchangeHandler/unsupported_requested_token_type
2025/02/21 21:21:45 WARN request error 
oidc_error.description="requested_token_type is not supported" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_tokenExchangeHandler/unsupported_actor_token_type
2025/02/21 21:21:45 WARN request error oidc_error.description="actor_token_type 
is not supported" oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_tokenExchangeHandler/unimplemented_TokenExchange_called
2025/02/21 21:21:45 WARN request error 
oidc_error.description="urn:ietf:params:oauth:grant-type:token-exchange not 
supported" oidc_error.type=unsupported_grant_type status_code=400
--- PASS: Test_webServer_tokenExchangeHandler (0.00s)
    --- PASS: Test_webServer_tokenExchangeHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_tokenExchangeHandler/subject_token_missing (0.00s)
    --- PASS: Test_webServer_tokenExchangeHandler/subject_token_type_missing 
(0.00s)
    --- PASS: 
Test_webServer_tokenExchangeHandler/subject_token_type_unsupported (0.00s)
    --- PASS: 
Test_webServer_tokenExchangeHandler/unsupported_requested_token_type (0.00s)
    --- PASS: Test_webServer_tokenExchangeHandler/unsupported_actor_token_type 
(0.00s)
    --- PASS: 
Test_webServer_tokenExchangeHandler/unimplemented_TokenExchange_called (0.00s)
=== RUN   Test_webServer_clientCredentialsHandler
=== RUN   Test_webServer_clientCredentialsHandler/decoder_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_clientCredentialsHandler/public_client
2025/02/21 21:21:45 WARN request error oidc_error.description="client must be 
authenticated" oidc_error.type=invalid_client status_code=400
=== RUN   
Test_webServer_clientCredentialsHandler/unimplemented_ClientCredentialsExchange_called
2025/02/21 21:21:45 WARN request error 
oidc_error.description="client_credentials not supported" 
oidc_error.type=unsupported_grant_type status_code=400
--- PASS: Test_webServer_clientCredentialsHandler (0.00s)
    --- PASS: Test_webServer_clientCredentialsHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_clientCredentialsHandler/public_client (0.00s)
    --- PASS: 
Test_webServer_clientCredentialsHandler/unimplemented_ClientCredentialsExchange_called
 (0.00s)
=== RUN   Test_webServer_deviceTokenHandler
=== RUN   Test_webServer_deviceTokenHandler/decoder_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_deviceTokenHandler/device_code_missing
2025/02/21 21:21:45 WARN request error oidc_error.description="device_code 
missing" oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_deviceTokenHandler/unimplemented_DeviceToken_called
2025/02/21 21:21:45 WARN request error 
oidc_error.description="urn:ietf:params:oauth:grant-type:device_code not 
supported" oidc_error.type=unsupported_grant_type status_code=400
--- PASS: Test_webServer_deviceTokenHandler (0.00s)
    --- PASS: Test_webServer_deviceTokenHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_deviceTokenHandler/device_code_missing (0.00s)
    --- PASS: 
Test_webServer_deviceTokenHandler/unimplemented_DeviceToken_called (0.00s)
=== RUN   Test_webServer_introspectionHandler
=== RUN   Test_webServer_introspectionHandler/decoder_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_introspectionHandler/public_client
2025/02/21 21:21:45 WARN request error oidc_error.description="client must be 
authenticated" oidc_error.type=invalid_client status_code=400
=== RUN   Test_webServer_introspectionHandler/token_missing
2025/02/21 21:21:45 WARN request error oidc_error.description="token missing" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_introspectionHandler/unimplemented_Introspect_called
2025/02/21 21:21:45 ERROR request error oidc_error.description="/ not 
implemented on this server" oidc_error.type=server_error status_code=404
--- PASS: Test_webServer_introspectionHandler (0.00s)
    --- PASS: Test_webServer_introspectionHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_introspectionHandler/public_client (0.00s)
    --- PASS: Test_webServer_introspectionHandler/token_missing (0.00s)
    --- PASS: 
Test_webServer_introspectionHandler/unimplemented_Introspect_called (0.00s)
=== RUN   Test_webServer_userInfoHandler
=== RUN   Test_webServer_userInfoHandler/decoder_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_userInfoHandler/access_token_missing
2025/02/21 21:21:45 WARN request error oidc_error.description="access token 
missing" oidc_error.type=invalid_request status_code=401
=== RUN   Test_webServer_userInfoHandler/unimplemented_UserInfo_called
2025/02/21 21:21:45 ERROR request error oidc_error.description="/ not 
implemented on this server" oidc_error.type=server_error status_code=404
=== RUN   Test_webServer_userInfoHandler/bearer
2025/02/21 21:21:45 ERROR request error oidc_error.description="/ not 
implemented on this server" oidc_error.type=server_error status_code=404
--- PASS: Test_webServer_userInfoHandler (0.00s)
    --- PASS: Test_webServer_userInfoHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_userInfoHandler/access_token_missing (0.00s)
    --- PASS: Test_webServer_userInfoHandler/unimplemented_UserInfo_called 
(0.00s)
    --- PASS: Test_webServer_userInfoHandler/bearer (0.00s)
=== RUN   Test_webServer_revocationHandler
=== RUN   Test_webServer_revocationHandler/decoder_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_revocationHandler/token_missing
2025/02/21 21:21:45 WARN request error oidc_error.description="token missing" 
oidc_error.type=invalid_request status_code=400
=== RUN   
Test_webServer_revocationHandler/unimplemented_Revocation_called,_confidential_client
2025/02/21 21:21:45 ERROR request error oidc_error.description="/ not 
implemented on this server" oidc_error.type=server_error status_code=404
=== RUN   
Test_webServer_revocationHandler/unimplemented_Revocation_called,_public_client
2025/02/21 21:21:45 ERROR request error oidc_error.description="/ not 
implemented on this server" oidc_error.type=server_error status_code=404
--- PASS: Test_webServer_revocationHandler (0.00s)
    --- PASS: Test_webServer_revocationHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_revocationHandler/token_missing (0.00s)
    --- PASS: 
Test_webServer_revocationHandler/unimplemented_Revocation_called,_confidential_client
 (0.00s)
    --- PASS: 
Test_webServer_revocationHandler/unimplemented_Revocation_called,_public_client 
(0.00s)
=== RUN   Test_webServer_endSessionHandler
=== RUN   Test_webServer_endSessionHandler/decoder_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="schema: invalid path 
\"foo\"" oidc_error.description="error decoding form" 
oidc_error.type=invalid_request status_code=400
=== RUN   Test_webServer_endSessionHandler/unimplemented_EndSession_called
2025/02/21 21:21:45 ERROR request error oidc_error.description="/ not 
implemented on this server" oidc_error.type=server_error status_code=404
--- PASS: Test_webServer_endSessionHandler (0.00s)
    --- PASS: Test_webServer_endSessionHandler/decoder_error (0.00s)
    --- PASS: Test_webServer_endSessionHandler/unimplemented_EndSession_called 
(0.00s)
=== RUN   Test_webServer_simpleHandler
=== RUN   Test_webServer_simpleHandler/parse_error
2025/02/21 21:21:45 WARN request error oidc_error.parent="http: POST too large" 
oidc_error.description="error parsing form" oidc_error.type=invalid_request 
status_code=400
=== RUN   Test_webServer_simpleHandler/method_error
2025/02/21 21:21:45 ERROR request error oidc_error.parent="io: read/write on 
closed pipe" oidc_error.description="io: read/write on closed pipe" 
oidc_error.type=server_error status_code=500
--- PASS: Test_webServer_simpleHandler (0.01s)
    --- PASS: Test_webServer_simpleHandler/parse_error (0.01s)
    --- PASS: Test_webServer_simpleHandler/method_error (0.00s)
=== RUN   Test_decodeRequest
=== RUN   Test_decodeRequest/parse_error
=== RUN   Test_decodeRequest/decode_error
=== RUN   Test_decodeRequest/success,_get
=== RUN   Test_decodeRequest/success,_post_only
=== RUN   Test_decodeRequest/success,_post_mixed
--- PASS: Test_decodeRequest (0.00s)
    --- PASS: Test_decodeRequest/parse_error (0.00s)
    --- PASS: Test_decodeRequest/decode_error (0.00s)
    --- PASS: Test_decodeRequest/success,_get (0.00s)
    --- PASS: Test_decodeRequest/success,_post_only (0.00s)
    --- PASS: Test_decodeRequest/success,_post_mixed (0.00s)
=== RUN   TestNewAccessTokenVerifier
=== RUN   TestNewAccessTokenVerifier/simple
=== RUN   TestNewAccessTokenVerifier/with_signature_algorithm
--- PASS: TestNewAccessTokenVerifier (0.00s)
    --- PASS: TestNewAccessTokenVerifier/simple (0.00s)
    --- PASS: TestNewAccessTokenVerifier/with_signature_algorithm (0.00s)
=== RUN   TestVerifyAccessToken
=== RUN   TestVerifyAccessToken/success
=== RUN   TestVerifyAccessToken/parse_err
=== RUN   TestVerifyAccessToken/invalid_signature
=== RUN   TestVerifyAccessToken/wrong_issuer
=== RUN   TestVerifyAccessToken/expired
--- PASS: TestVerifyAccessToken (0.00s)
    --- PASS: TestVerifyAccessToken/success (0.00s)
    --- PASS: TestVerifyAccessToken/parse_err (0.00s)
    --- PASS: TestVerifyAccessToken/invalid_signature (0.00s)
    --- PASS: TestVerifyAccessToken/wrong_issuer (0.00s)
    --- PASS: TestVerifyAccessToken/expired (0.00s)
=== RUN   TestNewIDTokenHintVerifier
=== RUN   TestNewIDTokenHintVerifier/simple
=== RUN   TestNewIDTokenHintVerifier/with_signature_algorithm
--- PASS: TestNewIDTokenHintVerifier (0.00s)
    --- PASS: TestNewIDTokenHintVerifier/simple (0.00s)
    --- PASS: TestNewIDTokenHintVerifier/with_signature_algorithm (0.00s)
=== RUN   Test_IDTokenHintExpiredError
--- PASS: Test_IDTokenHintExpiredError (0.00s)
=== RUN   TestVerifyIDTokenHint
=== RUN   TestVerifyIDTokenHint/success
=== RUN   TestVerifyIDTokenHint/parse_err
=== RUN   TestVerifyIDTokenHint/invalid_signature
=== RUN   TestVerifyIDTokenHint/wrong_issuer
=== RUN   TestVerifyIDTokenHint/wrong_acr
=== RUN   TestVerifyIDTokenHint/expired
=== RUN   TestVerifyIDTokenHint/IAT_too_old
=== RUN   TestVerifyIDTokenHint/expired_auth
--- PASS: TestVerifyIDTokenHint (0.01s)
    --- PASS: TestVerifyIDTokenHint/success (0.00s)
    --- PASS: TestVerifyIDTokenHint/parse_err (0.00s)
    --- PASS: TestVerifyIDTokenHint/invalid_signature (0.00s)
    --- PASS: TestVerifyIDTokenHint/wrong_issuer (0.00s)
    --- PASS: TestVerifyIDTokenHint/wrong_acr (0.00s)
    --- PASS: TestVerifyIDTokenHint/expired (0.00s)
    --- PASS: TestVerifyIDTokenHint/IAT_too_old (0.00s)
    --- PASS: TestVerifyIDTokenHint/expired_auth (0.00s)
=== RUN   TestAuthorize
=== RUN   TestAuthorize/parse_error
2025/02/21 21:21:45 WARN auth request oidc_error.parent="invalid semicolon 
separator in query" oidc_error.description="cannot parse form" 
oidc_error.type=invalid_request
--- PASS: TestAuthorize (0.00s)
    --- PASS: TestAuthorize/parse_error (0.00s)
=== RUN   TestParseAuthorizeRequest
=== RUN   TestParseAuthorizeRequest/parsing_form_error
=== RUN   TestParseAuthorizeRequest/decoding_error
=== RUN   TestParseAuthorizeRequest/parsing_ok
--- PASS: TestParseAuthorizeRequest (0.00s)
    --- PASS: TestParseAuthorizeRequest/parsing_form_error (0.00s)
    --- PASS: TestParseAuthorizeRequest/decoding_error (0.00s)
    --- PASS: TestParseAuthorizeRequest/parsing_ok (0.00s)
=== RUN   TestValidateAuthRequest
=== RUN   TestValidateAuthRequest/scope_missing_fails
=== RUN   TestValidateAuthRequest/response_type_missing_fails
=== RUN   TestValidateAuthRequest/client_id_missing_fails
=== RUN   TestValidateAuthRequest/redirect_uri_missing_fails
--- PASS: TestValidateAuthRequest (0.00s)
    --- PASS: TestValidateAuthRequest/scope_missing_fails (0.00s)
    --- PASS: TestValidateAuthRequest/response_type_missing_fails (0.00s)
    --- PASS: TestValidateAuthRequest/client_id_missing_fails (0.00s)
    --- PASS: TestValidateAuthRequest/redirect_uri_missing_fails (0.00s)
=== RUN   TestValidateAuthReqPrompt
=== RUN   TestValidateAuthReqPrompt/no_prompts_and_maxAge,_ok
=== RUN   TestValidateAuthReqPrompt/no_prompts_but_maxAge,_ok
=== RUN   TestValidateAuthReqPrompt/prompt_none,_ok
=== RUN   TestValidateAuthReqPrompt/prompt_none_with_others,_err
=== RUN   TestValidateAuthReqPrompt/prompt_login,_ok
=== RUN   TestValidateAuthReqPrompt/prompt_login_with_maxAge,_ok
--- PASS: TestValidateAuthReqPrompt (0.00s)
    --- PASS: TestValidateAuthReqPrompt/no_prompts_and_maxAge,_ok (0.00s)
    --- PASS: TestValidateAuthReqPrompt/no_prompts_but_maxAge,_ok (0.00s)
    --- PASS: TestValidateAuthReqPrompt/prompt_none,_ok (0.00s)
    --- PASS: TestValidateAuthReqPrompt/prompt_none_with_others,_err (0.00s)
    --- PASS: TestValidateAuthReqPrompt/prompt_login,_ok (0.00s)
    --- PASS: TestValidateAuthReqPrompt/prompt_login_with_maxAge,_ok (0.00s)
=== RUN   TestValidateAuthReqScopes
=== RUN   TestValidateAuthReqScopes/scopes_missing_fails
=== RUN   TestValidateAuthReqScopes/scope_ok
=== RUN   TestValidateAuthReqScopes/scope_with_drop_ok
--- PASS: TestValidateAuthReqScopes (0.00s)
    --- PASS: TestValidateAuthReqScopes/scopes_missing_fails (0.00s)
    --- PASS: TestValidateAuthReqScopes/scope_ok (0.00s)
    --- PASS: TestValidateAuthReqScopes/scope_with_drop_ok (0.00s)
=== RUN   TestValidateAuthReqRedirectURI
=== RUN   TestValidateAuthReqRedirectURI/empty_fails
=== RUN   TestValidateAuthReqRedirectURI/unregistered_https_fails
=== RUN   TestValidateAuthReqRedirectURI/unregistered_http_fails
=== RUN   TestValidateAuthReqRedirectURI/code_flow_registered_https_web_ok
=== RUN   TestValidateAuthReqRedirectURI/code_flow_registered_https_native_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_https_user_agent_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_http_confidential_(web)_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_http_not_confidential_(native)_fails
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_http_not_confidential_(user_agent)_fails
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_http_localhost_native_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_http_loopback_v4_native_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_http_loopback_v6_native_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_https_loopback_v4_native_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_https_loopback_v6_native_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_unregistered_http_native_fails
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_unregistered_custom_native_fails
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_unregistered_loopback_native_fails
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_custom_not_native_(web)_fails
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_registered_custom_not_native_(user_agent)_fails
=== RUN   TestValidateAuthReqRedirectURI/code_flow_registered_custom_native_ok
=== RUN   TestValidateAuthReqRedirectURI/code_flow_dev_mode_http_ok
=== RUN   TestValidateAuthReqRedirectURI/implicit_flow_registered_ok
=== RUN   TestValidateAuthReqRedirectURI/implicit_flow_unregistered_fails
=== RUN   
TestValidateAuthReqRedirectURI/implicit_flow_registered_http_localhost_native_ok
=== RUN   
TestValidateAuthReqRedirectURI/implicit_flow_registered_http_localhost_web_fails
=== RUN   
TestValidateAuthReqRedirectURI/implicit_flow_registered_http_localhost_user_agent_fails
=== RUN   TestValidateAuthReqRedirectURI/implicit_flow_http_non_localhost_fails
=== RUN   TestValidateAuthReqRedirectURI/implicit_flow_custom_fails
=== RUN   TestValidateAuthReqRedirectURI/implicit_flow_dev_mode_http_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_regular_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_wildcard_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_double_star_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_double_star_ok#01
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_IPv6_ok
=== RUN   
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_bad_pattern
--- PASS: TestValidateAuthReqRedirectURI (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/empty_fails (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/unregistered_https_fails (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/unregistered_http_fails (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/code_flow_registered_https_web_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_https_native_ok (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_https_user_agent_ok (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_http_confidential_(web)_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_http_not_confidential_(native)_fails
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_http_not_confidential_(user_agent)_fails
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_http_localhost_native_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_http_loopback_v4_native_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_http_loopback_v6_native_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_https_loopback_v4_native_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_https_loopback_v6_native_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_unregistered_http_native_fails (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_unregistered_custom_native_fails 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_unregistered_loopback_native_fails 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_custom_not_native_(web)_fails
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_custom_not_native_(user_agent)_fails
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_registered_custom_native_ok (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/code_flow_dev_mode_http_ok (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/implicit_flow_registered_ok (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/implicit_flow_unregistered_fails 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/implicit_flow_registered_http_localhost_native_ok
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/implicit_flow_registered_http_localhost_web_fails
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/implicit_flow_registered_http_localhost_user_agent_fails
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/implicit_flow_http_non_localhost_fails (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/implicit_flow_custom_fails (0.00s)
    --- PASS: TestValidateAuthReqRedirectURI/implicit_flow_dev_mode_http_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_regular_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_wildcard_ok
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_double_star_ok
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_double_star_ok#01
 (0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_IPv6_ok 
(0.00s)
    --- PASS: 
TestValidateAuthReqRedirectURI/code_flow_dev_mode_has_redirect_globs_bad_pattern
 (0.00s)
=== RUN   TestLoopbackOrLocalhost
=== RUN   TestLoopbackOrLocalhost/not_parsable,_false
=== RUN   TestLoopbackOrLocalhost/not_http,_false
=== RUN   TestLoopbackOrLocalhost/not_http,_false#01
=== RUN   TestLoopbackOrLocalhost/v4_no_port_ok
=== RUN   TestLoopbackOrLocalhost/v6_short_no_port_ok
=== RUN   TestLoopbackOrLocalhost/v6_long_no_port_ok
=== RUN   TestLoopbackOrLocalhost/locahost_no_port_ok
=== RUN   TestLoopbackOrLocalhost/v4_with_port_ok
=== RUN   TestLoopbackOrLocalhost/v6_short_with_port_ok
=== RUN   TestLoopbackOrLocalhost/v6_long_with_port_ok
=== RUN   TestLoopbackOrLocalhost/localhost_with_port_ok
--- PASS: TestLoopbackOrLocalhost (0.00s)
    --- PASS: TestLoopbackOrLocalhost/not_parsable,_false (0.00s)
    --- PASS: TestLoopbackOrLocalhost/not_http,_false (0.00s)
    --- PASS: TestLoopbackOrLocalhost/not_http,_false#01 (0.00s)
    --- PASS: TestLoopbackOrLocalhost/v4_no_port_ok (0.00s)
    --- PASS: TestLoopbackOrLocalhost/v6_short_no_port_ok (0.00s)
    --- PASS: TestLoopbackOrLocalhost/v6_long_no_port_ok (0.00s)
    --- PASS: TestLoopbackOrLocalhost/locahost_no_port_ok (0.00s)
    --- PASS: TestLoopbackOrLocalhost/v4_with_port_ok (0.00s)
    --- PASS: TestLoopbackOrLocalhost/v6_short_with_port_ok (0.00s)
    --- PASS: TestLoopbackOrLocalhost/v6_long_with_port_ok (0.00s)
    --- PASS: TestLoopbackOrLocalhost/localhost_with_port_ok (0.00s)
=== RUN   TestValidateAuthReqResponseType
=== RUN   TestValidateAuthReqResponseType/empty_response_type
=== RUN   TestValidateAuthReqResponseType/response_type_missing_in_client_config
=== RUN   TestValidateAuthReqResponseType/valid_response_type
--- PASS: TestValidateAuthReqResponseType (0.00s)
    --- PASS: TestValidateAuthReqResponseType/empty_response_type (0.00s)
    --- PASS: 
TestValidateAuthReqResponseType/response_type_missing_in_client_config (0.00s)
    --- PASS: TestValidateAuthReqResponseType/valid_response_type (0.00s)
=== RUN   TestRedirectToLogin
=== RUN   TestRedirectToLogin/redirect_ok
--- PASS: TestRedirectToLogin (0.00s)
    --- PASS: TestRedirectToLogin/redirect_ok (0.00s)
=== RUN   TestAuthResponseURL
=== RUN   TestAuthResponseURL/encoding_error
=== RUN   TestAuthResponseURL/response_mode_query
=== RUN   TestAuthResponseURL/response_mode_fragment
=== RUN   TestAuthResponseURL/response_type_code
=== RUN   TestAuthResponseURL/response_type_id_token
=== RUN   TestAuthResponseURL/with_query
=== RUN   TestAuthResponseURL/with_query_response_type_id_token
=== RUN   TestAuthResponseURL/with_existing_query
=== RUN   TestAuthResponseURL/with_existing_query_response_type_id_token
=== RUN   TestAuthResponseURL/with_existing_query_and_multiple_values
=== RUN   
TestAuthResponseURL/with_existing_query_and_multiple_values_response_type_id_token
--- PASS: TestAuthResponseURL (0.00s)
    --- PASS: TestAuthResponseURL/encoding_error (0.00s)
    --- PASS: TestAuthResponseURL/response_mode_query (0.00s)
    --- PASS: TestAuthResponseURL/response_mode_fragment (0.00s)
    --- PASS: TestAuthResponseURL/response_type_code (0.00s)
    --- PASS: TestAuthResponseURL/response_type_id_token (0.00s)
    --- PASS: TestAuthResponseURL/with_query (0.00s)
    --- PASS: TestAuthResponseURL/with_query_response_type_id_token (0.00s)
    --- PASS: TestAuthResponseURL/with_existing_query (0.00s)
    --- PASS: TestAuthResponseURL/with_existing_query_response_type_id_token 
(0.00s)
    --- PASS: TestAuthResponseURL/with_existing_query_and_multiple_values 
(0.00s)
    --- PASS: 
TestAuthResponseURL/with_existing_query_and_multiple_values_response_type_id_token
 (0.00s)
=== RUN   TestAuthResponseCode
=== RUN   TestAuthResponseCode/create_code_error
2025/02/21 21:21:45 ERROR auth request: not redirecting oidc_error.parent="io: 
read/write on closed pipe" oidc_error.description="io: read/write on closed 
pipe" oidc_error.type=server_error auth_request.id=id1 
auth_request.creation_date=0001-01-01T00:00:00.000Z auth_request.scopes=[] 
auth_request.response_type="" auth_request.app_id="" 
auth_request.callback_uri=""
=== RUN   TestAuthResponseCode/success_with_state
=== RUN   TestAuthResponseCode/success_without_state
=== RUN   TestAuthResponseCode/success_form_post
--- PASS: TestAuthResponseCode (0.00s)
    --- PASS: TestAuthResponseCode/create_code_error (0.00s)
    --- PASS: TestAuthResponseCode/success_with_state (0.00s)
    --- PASS: TestAuthResponseCode/success_without_state (0.00s)
    --- PASS: TestAuthResponseCode/success_form_post (0.00s)
=== RUN   Test_parseAuthorizeCallbackRequest
=== RUN   Test_parseAuthorizeCallbackRequest/parse_error
=== RUN   Test_parseAuthorizeCallbackRequest/missing_id
=== RUN   Test_parseAuthorizeCallbackRequest/ok
--- PASS: Test_parseAuthorizeCallbackRequest (0.00s)
    --- PASS: Test_parseAuthorizeCallbackRequest/parse_error (0.00s)
    --- PASS: Test_parseAuthorizeCallbackRequest/missing_id (0.00s)
    --- PASS: Test_parseAuthorizeCallbackRequest/ok (0.00s)
=== RUN   TestValidateAuthReqIDTokenHint
=== RUN   TestValidateAuthReqIDTokenHint/empty
=== RUN   TestValidateAuthReqIDTokenHint/verify_err
=== RUN   TestValidateAuthReqIDTokenHint/ok
--- PASS: TestValidateAuthReqIDTokenHint (0.00s)
    --- PASS: TestValidateAuthReqIDTokenHint/empty (0.00s)
    --- PASS: TestValidateAuthReqIDTokenHint/verify_err (0.00s)
    --- PASS: TestValidateAuthReqIDTokenHint/ok (0.00s)
=== RUN   TestClientJWTAuth
=== RUN   TestClientJWTAuth/empty_assertion
=== RUN   TestClientJWTAuth/verification_error
--- PASS: TestClientJWTAuth (0.00s)
    --- PASS: TestClientJWTAuth/empty_assertion (0.00s)
    --- PASS: TestClientJWTAuth/verification_error (0.00s)
=== RUN   TestClientBasicAuth
=== RUN   TestClientBasicAuth/no_args
=== RUN   TestClientBasicAuth/username_unescape_err
=== RUN   TestClientBasicAuth/password_unescape_err
=== RUN   TestClientBasicAuth/auth_error
=== RUN   TestClientBasicAuth/auth_error#01
--- PASS: TestClientBasicAuth (0.00s)
    --- PASS: TestClientBasicAuth/no_args (0.00s)
    --- PASS: TestClientBasicAuth/username_unescape_err (0.00s)
    --- PASS: TestClientBasicAuth/password_unescape_err (0.00s)
    --- PASS: TestClientBasicAuth/auth_error (0.00s)
    --- PASS: TestClientBasicAuth/auth_error#01 (0.00s)
=== RUN   TestClientIDFromRequest
=== RUN   TestClientIDFromRequest/parse_error
=== RUN   TestClientIDFromRequest/unauthenticated
=== RUN   TestClientIDFromRequest/authenticated
=== RUN   TestClientIDFromRequest/missing_client_id
--- PASS: TestClientIDFromRequest (0.00s)
    --- PASS: TestClientIDFromRequest/parse_error (0.00s)
    --- PASS: TestClientIDFromRequest/unauthenticated (0.00s)
    --- PASS: TestClientIDFromRequest/authenticated (0.00s)
    --- PASS: TestClientIDFromRequest/missing_client_id (0.00s)
=== RUN   Test_deviceAuthorizationHandler
=== RUN   Test_deviceAuthorizationHandler/UserFormURL
=== RUN   Test_deviceAuthorizationHandler/UserFormPath
--- PASS: Test_deviceAuthorizationHandler (0.44s)
    --- PASS: Test_deviceAuthorizationHandler/UserFormURL (0.22s)
    --- PASS: Test_deviceAuthorizationHandler/UserFormPath (0.22s)
=== RUN   TestParseDeviceCodeRequest
=== RUN   TestParseDeviceCodeRequest/empty_request
=== RUN   TestParseDeviceCodeRequest/missing_grant_type
=== RUN   TestParseDeviceCodeRequest/client_not_found
=== RUN   TestParseDeviceCodeRequest/success
--- PASS: TestParseDeviceCodeRequest (0.00s)
    --- PASS: TestParseDeviceCodeRequest/empty_request (0.00s)
    --- PASS: TestParseDeviceCodeRequest/missing_grant_type (0.00s)
    --- PASS: TestParseDeviceCodeRequest/client_not_found (0.00s)
    --- PASS: TestParseDeviceCodeRequest/success (0.00s)
=== RUN   TestNewDeviceCode
=== RUN   TestNewDeviceCode/reader_error
fatal error: crypto/rand: failed to read random data (see 
https://go.dev/issue/66821): multiple Read calls return no data or error

goroutine 14 [running]:
crypto/rand.fatal({0xc000151e00?, 0xa46d45?})
        /usr/lib/go-1.24/src/runtime/panic.go:1038 +0x18
crypto/rand.Read({0xc000254490?, 0x10, 0x54a32d?})
        /usr/lib/go-1.24/src/crypto/rand/rand.go:79 +0xfb
github.com/zitadel/oidc/pkg/op.NewDeviceCode(0x10)
        
/<<PKGBUILDDIR>>/_build/src/github.com/zitadel/oidc/pkg/op/device.go:168 +0x3b
github.com/zitadel/oidc/pkg/op_test.TestNewDeviceCode.func1.1()
        
/<<PKGBUILDDIR>>/_build/src/github.com/zitadel/oidc/pkg/op/device_test.go:150 
+0x25
github.com/zitadel/oidc/pkg/op_test.runWithRandReader({0xaf3c60?, 0xeec920?}, 
0xc00005af60?)
        
/<<PKGBUILDDIR>>/_build/src/github.com/zitadel/oidc/pkg/op/device_test.go:144 
+0x8d
github.com/zitadel/oidc/pkg/op_test.TestNewDeviceCode.func1(0xc00024aa80?)
        
/<<PKGBUILDDIR>>/_build/src/github.com/zitadel/oidc/pkg/op/device_test.go:149 
+0x37
testing.tRunner(0xc00024aa80, 0xa54930)
        /usr/lib/go-1.24/src/testing/testing.go:1792 +0xf4
created by testing.(*T).Run in goroutine 13
        /usr/lib/go-1.24/src/testing/testing.go:1851 +0x413

goroutine 1 [chan receive]:
testing.(*T).Run(0xc000102380, {0xa28d4d?, 0xc000043b30?}, 0xa54628)
        /usr/lib/go-1.24/src/testing/testing.go:1859 +0x431
testing.runTests.func1(0xc000102380)
        /usr/lib/go-1.24/src/testing/testing.go:2279 +0x37
testing.tRunner(0xc000102380, 0xc000043c70)
        /usr/lib/go-1.24/src/testing/testing.go:1792 +0xf4
testing.runTests(0xc000132960, {0xe77060, 0x56, 0x56}, {0xecd2e0?, 0x7?, 
0xecbc00?})
        /usr/lib/go-1.24/src/testing/testing.go:2277 +0x4b4
testing.(*M).Run(0xc00014ca00)
        /usr/lib/go-1.24/src/testing/testing.go:2142 +0x64a
main.main()
        _testmain.go:221 +0x9b

goroutine 13 [chan receive]:
testing.(*T).Run(0xc00024a8c0, {0xa25896?, 0x549ab3?}, 0xa54930)
        /usr/lib/go-1.24/src/testing/testing.go:1859 +0x431
github.com/zitadel/oidc/pkg/op_test.TestNewDeviceCode(0xc00024a8c0)
        
/<<PKGBUILDDIR>>/_build/src/github.com/zitadel/oidc/pkg/op/device_test.go:148 
+0x2b
testing.tRunner(0xc00024a8c0, 0xa54628)
        /usr/lib/go-1.24/src/testing/testing.go:1792 +0xf4
created by testing.(*T).Run in goroutine 1
        /usr/lib/go-1.24/src/testing/testing.go:1851 +0x413
FAIL    github.com/zitadel/oidc/pkg/op  0.597s
?       github.com/zitadel/oidc/pkg/op/mock     [no test files]
=== RUN   TestContains
=== RUN   TestContains/empty_list_false
=== RUN   TestContains/list_not_containing_false
=== RUN   TestContains/list_not_containing_empty_needle_false
=== RUN   TestContains/list_containing_true
=== RUN   TestContains/list_containing_empty_needle_true
--- PASS: TestContains (0.00s)
    --- PASS: TestContains/empty_list_false (0.00s)
    --- PASS: TestContains/list_not_containing_false (0.00s)
    --- PASS: TestContains/list_not_containing_empty_needle_false (0.00s)
    --- PASS: TestContains/list_containing_true (0.00s)
    --- PASS: TestContains/list_containing_empty_needle_true (0.00s)
PASS
ok      github.com/zitadel/oidc/pkg/strings     0.001s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 
github.com/zitadel/oidc github.com/zitadel/oidc/internal/testutil 
github.com/zitadel/oidc/pkg/client github.com/zitadel/oidc/pkg/client/profile 
github.com/zitadel/oidc/pkg/client/rp github.com/zitadel/oidc/pkg/client/rp/cli 
github.com/zitadel/oidc/pkg/client/rs 
github.com/zitadel/oidc/pkg/client/tokenexchange 
github.com/zitadel/oidc/pkg/crypto github.com/zitadel/oidc/pkg/http 
github.com/zitadel/oidc/pkg/oidc github.com/zitadel/oidc/pkg/oidc/grants 
github.com/zitadel/oidc/pkg/oidc/grants/tokenexchange 
github.com/zitadel/oidc/pkg/op github.com/zitadel/oidc/pkg/op/mock 
github.com/zitadel/oidc/pkg/strings returned exit code 1
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-github-zitadel-oidc, so that this is 
still
visible in the BTS web page for this package.

Thanks.

Reply via email to