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 #140716

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

cloud/azure: TestAntagonisticAzureRead failed #140716

cockroach-teamcity opened this issue Feb 7, 2025 · 1 comment
Labels
A-disaster-recovery branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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-24.3 @ 66f5162f40854bc4b6f920dc6fce59b3fa1bfb20:

=== RUN   TestAntagonisticAzureRead
    cloud_test_helpers.go:495: 
        	Error Trace:	pkg/cloud/cloudtestutils/cloud_test_helpers.go:495
        	            				pkg/cloud/cloudtestutils/cloud_test_helpers.go:510
        	            				pkg/cloud/azure/azure_storage_test.go:192
        	Error:      	Received unexpected error:
        	            	closing object: ClientSecretCredential authentication failed
        	            	(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:495
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/cloudtestutils.CheckAntagonisticRead
        	            	  | 	pkg/cloud/cloudtestutils/cloud_test_helpers.go:510
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/azure.TestAntagonisticAzureRead
        	            	  | 	pkg/cloud/azure/azure_storage_test.go:192
        	            	  | testing.tRunner
        	            	  | 	GOROOT/src/testing/testing.go:1689
        	            	  | runtime.goexit
        	            	  | 	src/runtime/asm_amd64.s:1695
        	            	Wraps: (2) closing object
        	            	Wraps: (3) ClientSecretCredential authentication failed
        	            	  | 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: d5066d17-4896-486b-bc33-e4057e963100 Correlation ID: 9ff7f402-63d3-44ab-8493-ec2faf30d45d Timestamp: 2025-02-07 23:04:33Z",
        	            	  |   "error_codes": [
        	            	  |     7000222
        	            	  |   ],
        	            	  |   "timestamp": "2025-02-07 23:04:33Z",
        	            	  |   "trace_id": "d5066d17-4896-486b-bc33-e4057e963100",
        	            	  |   "correlation_id": "9ff7f402-63d3-44ab-8493-ec2faf30d45d",
        	            	  |   "error_uri": "https://login.microsoftonline.com/error?code=7000222"
        	            	  | }
        	            	  | --------------------------------------------------------------------------------
        	            	Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *azidentity.AuthenticationFailedError
        	Test:       	TestAntagonisticAzureRead
--- FAIL: TestAntagonisticAzureRead (6.12s)
Help

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

/cc @cockroachdb/disaster-recovery

This test on roachdash | Improve this report!

Jira issue: CRDB-47312

@cockroach-teamcity cockroach-teamcity added branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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-24.3 @ 303bfcd84f0820ab42ac5bc2384e93ad90160d57:

=== RUN   TestAntagonisticAzureRead
    cloud_test_helpers.go:495: 
        	Error Trace:	pkg/cloud/cloudtestutils/cloud_test_helpers.go:495
        	            				pkg/cloud/cloudtestutils/cloud_test_helpers.go:510
        	            				pkg/cloud/azure/azure_storage_test.go:192
        	Error:      	Received unexpected error:
        	            	closing object: ClientSecretCredential authentication failed
        	            	(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:495
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/cloudtestutils.CheckAntagonisticRead
        	            	  | 	pkg/cloud/cloudtestutils/cloud_test_helpers.go:510
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/azure.TestAntagonisticAzureRead
        	            	  | 	pkg/cloud/azure/azure_storage_test.go:192
        	            	  | testing.tRunner
        	            	  | 	GOROOT/src/testing/testing.go:1689
        	            	  | runtime.goexit
        	            	  | 	src/runtime/asm_amd64.s:1695
        	            	Wraps: (2) closing object
        	            	Wraps: (3) ClientSecretCredential authentication failed
        	            	  | 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: f09e04a2-26d0-4f47-a25f-eeffb7900e00 Correlation ID: 00b76fe2-bcdc-419b-9130-7b1c047ae94f Timestamp: 2025-02-08 23:04:46Z",
        	            	  |   "error_codes": [
        	            	  |     7000222
        	            	  |   ],
        	            	  |   "timestamp": "2025-02-08 23:04:46Z",
        	            	  |   "trace_id": "f09e04a2-26d0-4f47-a25f-eeffb7900e00",
        	            	  |   "correlation_id": "00b76fe2-bcdc-419b-9130-7b1c047ae94f",
        	            	  |   "error_uri": "https://login.microsoftonline.com/error?code=7000222"
        	            	  | }
        	            	  | --------------------------------------------------------------------------------
        	            	Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *azidentity.AuthenticationFailedError
        	Test:       	TestAntagonisticAzureRead
--- FAIL: TestAntagonisticAzureRead (5.23s)
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-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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