Skip to content

[Digital Twins - Core] DigitalTwins Components - read, update and delete operations get component not existing failing in nightly runs #29056

Open

Description

Digital Twins - Core nightly test runs are failing with:

Stack trace:
AuthenticationError: invalid_client Status code: 401
More details:
AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app 'f850650c-1fcf-4489-b46f-71af2e30d360'. Trace ID: 785ccf2d-fdcd-4e15-abac-ac510d3f8100 Correlation ID: c7c26aea-a337-4388-9cbc-b3bee608b470 Timestamp: 2024-03-25 09:30:39Z
at IdentityClient.sendTokenRequest (../../../common/temp/node_modules/.pnpm/@Azure+identity@4.0.1/node_modules/@azure/identity/src/client/identityClient.ts:146:6 <- dist-test/index.browser.js:34812:29)
at async ../../../common/temp/node_modules/.pnpm/@Azure+identity@4.0.1/node_modules/@azure/identity/src/credentials/clientSecretCredential.browser.ts:116:7 <- dist-test/index.browser.js:35042:41
at async Object.withSpan (../../../common/temp/node_modules/.pnpm/@Azure+core-tracing@1.1.1/node_modules/@azure/core-tracing/src/tracingClient.ts:78:15 <- dist-test/index.browser.js:10676:30)
at async tryGetAccessToken (../../core/core-rest-pipeline/src/util/tokenCycler.ts:82:41 <- dist-test/index.browser.js:5012:34)
at async beginRefresh$1 (dist-test/index.browser.js:5020:19)
at async Object.defaultAuthorizeRequest$1 [as authorizeRequest] (../../core/core-rest-pipeline/src/policies/bearerTokenAuthenticationPolicy.ts:124:4 <- dist-test/index.browser.js:5145:27)
at async Object.sendRequest (../../core/core-rest-pipeline/src/policies/bearerTokenAuthenticationPolicy.ts:188:7 <- dist-test/index.browser.js:5200:15)
at async AzureDigitalTwinsAPI.sendOperationRequest (../../core/core-client/src/serviceClient.ts:217:23 <- dist-test/index.browser.js:6226:35)
at async Object.withSpan (../../core/core-tracing/src/tracingClient.ts:78:15 <- dist-test/index.browser.js:4331:30)
at async deleteModels (test/public/testComponents.spec.ts:95:9 <- dist-test/index.browser.js:50547:15)

For more details check here:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3633613&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Digital Twinstest-reliabilityIssue that causes tests to be unreliable

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions