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: TestAzureFileCredential failed #140757

Open
cockroach-teamcity opened this issue Feb 8, 2025 · 0 comments
Open

cloud/azure: TestAzureFileCredential failed #140757

cockroach-teamcity opened this issue Feb 8, 2025 · 0 comments
Labels
A-disaster-recovery branch-master Failures and bugs on the master branch. 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 8, 2025

cloud/azure.TestAzureFileCredential failed with artifacts on master @ 0d284cc52708504d8c71c4358041f45fcf792a52:

        	            	  | github.com/cockroachdb/cockroach/pkg/cloud.(*esWrapper).List
        	            	  | 	pkg/cloud/impl_registry.go:420
        	            	  | github.com/cockroachdb/cockroach/pkg/cloud/azure.TestAzureFileCredential.func5.2
        	            	  | 	pkg/cloud/azure/azure_file_credentials_test.go:207
        	            	  | testing.tRunner
        	            	  | 	GOROOT/src/testing/testing.go:1689
        	            	  | runtime.goexit
        	            	  | 	src/runtime/asm_amd64.s:1695
        	            	Wraps: (2) unable to list files for specified blob
        	            	Wraps: (3)
        	            	Wraps: (4) ChainedTokenCredential authentication failed. failed to acquire a token.
        	            	  | Attempted credentials:
        	            	  | 	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: 230d19fc-6e01-4bdc-9d1d-a0e854fd3700 Correlation ID: de8e945c-18eb-46ec-9b4f-7d7af89afbb7 Timestamp: 2025-02-08 00:04:38Z","error_codes":[7000222],"timestamp":"2025-02-08 00:04:38Z","trace_id":"230d19fc-6e01-4bdc-9d1d-a0e854fd3700","correlation_id":"de8e945c-18eb-46ec-9b4f-7d7af89afbb7","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: 230d19fc-6e01-4bdc-9d1d-a0e854fd3700 Correlation ID: de8e945c-18eb-46ec-9b4f-7d7af89afbb7 Timestamp: 2025-02-08 00:04:38Z",
        	            	  |   "error_codes": [
        	            	  |     7000222
        	            	  |   ],
        	            	  |   "timestamp": "2025-02-08 00:04:38Z",
        	            	  |   "trace_id": "230d19fc-6e01-4bdc-9d1d-a0e854fd3700",
        	            	  |   "correlation_id": "de8e945c-18eb-46ec-9b4f-7d7af89afbb7",
        	            	  |   "error_uri": "https://login.microsoftonline.com/error?code=7000222"
        	            	  | }
        	            	  | --------------------------------------------------------------------------------
        	            	  | To troubleshoot, visit https://aka.ms/azsdk/go/identity/troubleshoot#client-secret
        	            	  | 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: 230d19fc-6e01-4bdc-9d1d-a0e854fd3700 Correlation ID: de8e945c-18eb-46ec-9b4f-7d7af89afbb7 Timestamp: 2025-02-08 00:04:38Z",
        	            	  |   "error_codes": [
        	            	  |     7000222
        	            	  |   ],
        	            	  |   "timestamp": "2025-02-08 00:04:38Z",
        	            	  |   "trace_id": "230d19fc-6e01-4bdc-9d1d-a0e854fd3700",
        	            	  |   "correlation_id": "de8e945c-18eb-46ec-9b4f-7d7af89afbb7",
        	            	  |   "error_uri": "https://login.microsoftonline.com/error?code=7000222"
        	            	  | }
        	            	  | --------------------------------------------------------------------------------
        	            	Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errorinfo.nonRetriableError (4) *azidentity.AuthenticationFailedError
        	Test:       	TestAzureFileCredential/reload-on-error/valid-on-reload
        --- FAIL: TestAzureFileCredential/reload-on-error/valid-on-reload (0.64s)
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-47346

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. 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 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-disaster-recovery branch-master Failures and bugs on the master branch. 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