Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud/azure: TestAntagonisticAzureRead failed #140736

Open
cockroach-teamcity opened this issue Feb 7, 2025 · 1 comment
Open

cloud/azure: TestAntagonisticAzureRead failed #140736

cockroach-teamcity opened this issue Feb 7, 2025 · 1 comment
Labels
A-disaster-recovery branch-release-25.1 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-disaster-recovery

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Feb 7, 2025

cloud/azure.TestAntagonisticAzureRead failed with artifacts on release-25.1 @ 4245e394efda08522e3c158b2591b5720be70333:

=== RUN   TestAntagonisticAzureRead
    cloud_test_helpers.go:505: 
        	Error Trace:	pkg/cloud/cloudtestutils/cloud_test_helpers.go:505
        	            				pkg/cloud/cloudtestutils/cloud_test_helpers.go:520
        	            				pkg/cloud/azure/azure_storage_test.go:176
        	Error:      	Received unexpected error:
        	            	closing object: ClientSecretCredential authentication failed. FromClientSecret(): http call(https://login.microsoftonline.com/166ae090-e164-40b7-b4f0-763fba013597/oauth2/v2.0/token)(POST) error: reply status code was 401:
        	            	(1) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud.WriteFile
        	            	  | 	pkg/cloud/cloud_io.go:436
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/cloudtestutils.uploadData
        	            	  | 	pkg/cloud/cloudtestutils/cloud_test_helpers.go:505
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/cloudtestutils.CheckAntagonisticRead
        	            	  | 	pkg/cloud/cloudtestutils/cloud_test_helpers.go:520
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/azure.TestAntagonisticAzureRead
        	            	  | 	pkg/cloud/azure/azure_storage_test.go:176
        	            	  | testing.tRunner
        	            	  | 	GOROOT/src/testing/testing.go:1689
        	            	  | runtime.goexit
        	            	  | 	src/runtime/asm_amd64.s:1695
        	            	Wraps: (2) closing object
        	            	Wraps: (3)
        	            	Wraps: (4) ClientSecretCredential authentication failed. FromClientSecret(): http call(https://login.microsoftonline.com/166ae090-e164-40b7-b4f0-763fba013597/oauth2/v2.0/token)(POST) error: reply status code was 401:
        	            	  | {"error":"invalid_client","error_description":"AADSTS7000222: The provided client secret keys for app 'b25619ee-01af-4bd2-bc4c-9650ea365920' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: db1f376c-5e70-46f7-a6b4-539ffda82e00 Correlation ID: 8bea7998-4b4e-4cba-82e1-43945d5d7dd3 Timestamp: 2025-02-07 23:09:09Z","error_codes":[7000222],"timestamp":"2025-02-07 23:09:09Z","trace_id":"db1f376c-5e70-46f7-a6b4-539ffda82e00","correlation_id":"8bea7998-4b4e-4cba-82e1-43945d5d7dd3","error_uri":"https://login.microsoftonline.com/error?code=7000222"}
        	            	  | POST https://login.microsoftonline.com/166ae090-e164-40b7-b4f0-763fba013597/oauth2/v2.0/token
        	            	  | --------------------------------------------------------------------------------
        	            	  | RESPONSE 401 Unauthorized
        	            	  | --------------------------------------------------------------------------------
        	            	  | {
        	            	  |   "error": "invalid_client",
        	            	  |   "error_description": "AADSTS7000222: The provided client secret keys for app 'b25619ee-01af-4bd2-bc4c-9650ea365920' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: db1f376c-5e70-46f7-a6b4-539ffda82e00 Correlation ID: 8bea7998-4b4e-4cba-82e1-43945d5d7dd3 Timestamp: 2025-02-07 23:09:09Z",
        	            	  |   "error_codes": [
        	            	  |     7000222
        	            	  |   ],
        	            	  |   "timestamp": "2025-02-07 23:09:09Z",
        	            	  |   "trace_id": "db1f376c-5e70-46f7-a6b4-539ffda82e00",
        	            	  |   "correlation_id": "8bea7998-4b4e-4cba-82e1-43945d5d7dd3",
        	            	  |   "error_uri": "https://login.microsoftonline.com/error?code=7000222"
        	            	  | }
        	            	  | --------------------------------------------------------------------------------
        	            	  | To troubleshoot, visit https://aka.ms/azsdk/go/identity/troubleshoot#client-secret
        	            	Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errorinfo.nonRetriableError (4) *azidentity.AuthenticationFailedError
        	Test:       	TestAntagonisticAzureRead
--- FAIL: TestAntagonisticAzureRead (5.10s)
Help

See also: How To Investigate a Go Test Failure (internal)

Same failure on other branches

/cc @cockroachdb/disaster-recovery

This test on roachdash | Improve this report!

Jira issue: CRDB-47331

@cockroach-teamcity cockroach-teamcity added branch-release-25.1 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-disaster-recovery labels Feb 7, 2025
@cockroach-teamcity
Copy link
Member Author

cloud/azure.TestAntagonisticAzureRead failed with artifacts on release-25.1 @ a8c4645988555b91115e4fe57ebea5ca8a2269a5:

=== RUN   TestAntagonisticAzureRead
    cloud_test_helpers.go:505: 
        	Error Trace:	pkg/cloud/cloudtestutils/cloud_test_helpers.go:505
        	            				pkg/cloud/cloudtestutils/cloud_test_helpers.go:520
        	            				pkg/cloud/azure/azure_storage_test.go:176
        	Error:      	Received unexpected error:
        	            	closing object: ClientSecretCredential authentication failed. FromClientSecret(): http call(https://login.microsoftonline.com/166ae090-e164-40b7-b4f0-763fba013597/oauth2/v2.0/token)(POST) error: reply status code was 401:
        	            	(1) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud.WriteFile
        	            	  | 	pkg/cloud/cloud_io.go:436
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/cloudtestutils.uploadData
        	            	  | 	pkg/cloud/cloudtestutils/cloud_test_helpers.go:505
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/cloudtestutils.CheckAntagonisticRead
        	            	  | 	pkg/cloud/cloudtestutils/cloud_test_helpers.go:520
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/azure.TestAntagonisticAzureRead
        	            	  | 	pkg/cloud/azure/azure_storage_test.go:176
        	            	  | testing.tRunner
        	            	  | 	GOROOT/src/testing/testing.go:1689
        	            	  | runtime.goexit
        	            	  | 	src/runtime/asm_amd64.s:1695
        	            	Wraps: (2) closing object
        	            	Wraps: (3)
        	            	Wraps: (4) ClientSecretCredential authentication failed. FromClientSecret(): http call(https://login.microsoftonline.com/166ae090-e164-40b7-b4f0-763fba013597/oauth2/v2.0/token)(POST) error: reply status code was 401:
        	            	  | {"error":"invalid_client","error_description":"AADSTS7000222: The provided client secret keys for app 'b25619ee-01af-4bd2-bc4c-9650ea365920' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: c90ca6b2-d92a-46a3-9824-cedb269a0f00 Correlation ID: 8c596cec-c7da-4422-91be-e86ff5ee1d6c Timestamp: 2025-02-08 23:09:10Z","error_codes":[7000222],"timestamp":"2025-02-08 23:09:10Z","trace_id":"c90ca6b2-d92a-46a3-9824-cedb269a0f00","correlation_id":"8c596cec-c7da-4422-91be-e86ff5ee1d6c","error_uri":"https://login.microsoftonline.com/error?code=7000222"}
        	            	  | POST https://login.microsoftonline.com/166ae090-e164-40b7-b4f0-763fba013597/oauth2/v2.0/token
        	            	  | --------------------------------------------------------------------------------
        	            	  | RESPONSE 401 Unauthorized
        	            	  | --------------------------------------------------------------------------------
        	            	  | {
        	            	  |   "error": "invalid_client",
        	            	  |   "error_description": "AADSTS7000222: The provided client secret keys for app 'b25619ee-01af-4bd2-bc4c-9650ea365920' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: c90ca6b2-d92a-46a3-9824-cedb269a0f00 Correlation ID: 8c596cec-c7da-4422-91be-e86ff5ee1d6c Timestamp: 2025-02-08 23:09:10Z",
        	            	  |   "error_codes": [
        	            	  |     7000222
        	            	  |   ],
        	            	  |   "timestamp": "2025-02-08 23:09:10Z",
        	            	  |   "trace_id": "c90ca6b2-d92a-46a3-9824-cedb269a0f00",
        	            	  |   "correlation_id": "8c596cec-c7da-4422-91be-e86ff5ee1d6c",
        	            	  |   "error_uri": "https://login.microsoftonline.com/error?code=7000222"
        	            	  | }
        	            	  | --------------------------------------------------------------------------------
        	            	  | To troubleshoot, visit https://aka.ms/azsdk/go/identity/troubleshoot#client-secret
        	            	Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errorinfo.nonRetriableError (4) *azidentity.AuthenticationFailedError
        	Test:       	TestAntagonisticAzureRead
--- FAIL: TestAntagonisticAzureRead (5.60s)
Help

See also: How To Investigate a Go Test Failure (internal)

Same failure on other branches

This test on roachdash | Improve this report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-disaster-recovery branch-release-25.1 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-disaster-recovery
Projects
None yet
Development

No branches or pull requests

1 participant