Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.09k stars 1.2k forks source link

[Attestation] Set Policy SGX - AAD Secured failing in nightly runs #29055

Open jerryshia opened 7 months ago

jerryshia commented 7 months ago

Attestation nightly test runs are failing with:

Stack trace: invalid_client: 7000215 - [2024-03-25 09:50:35Z]: 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: 82280d85-aabd-43f8-a774-6b8eebdb5e00 Correlation ID: 5e46b773-2edb-47fb-8be2-d1de5b46120d Timestamp: 2024-03-25 09:50:35Z - Correlation ID: 5e46b773-2edb-47fb-8be2-d1de5b46120d - Trace ID: 82280d85-aabd-43f8-a774-6b8eebdb5e00 AuthenticationRequiredError: invalid_client: 7000215 - [2024-03-25 09:50:35Z]: 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: 82280d85-aabd-43f8-a774-6b8eebdb5e00 Correlation ID: 5e46b773-2edb-47fb-8be2-d1de5b46120d Timestamp: 2024-03-25 09:50:35Z - Correlation ID: 5e46b773-2edb-47fb-8be2-d1de5b46120d - Trace ID: 82280d85-aabd-43f8-a774-6b8eebdb5e00 at MsalClientSecret.handleError (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/@azure+identity@4.0.1/node_modules/@azure/identity/src/msal/utils.ts:231:12) at MsalClientSecret.doGetToken (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/@azure+identity@4.0.1/node_modules/@azure/identity/src/msal/nodeFlows/msalClientSecret.ts:49:18) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.withSpan (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/@azure+core-tracing@1.1.1/node_modules/@azure/core-tracing/src/tracingClient.ts:70:22) at tryGetAccessToken (/Users/runner/work/1/s/sdk/core/core-rest-pipeline/src/util/tokenCycler.ts:71:26) at beginRefresh (/Users/runner/work/1/s/sdk/core/core-rest-pipeline/src/util/tokenCycler.ts:82:35) at Object.defaultAuthorizeRequest [as authorizeRequest] (/Users/runner/work/1/s/sdk/core/core-rest-pipeline/src/policies/bearerTokenAuthenticationPolicy.ts:114:23) at Object.sendRequest (/Users/runner/work/1/s/sdk/core/core-rest-pipeline/src/policies/bearerTokenAuthenticationPolicy.ts:179:7) at GeneratedClient.sendOperationRequest (/Users/runner/work/1/s/sdk/core/core-client/src/serviceClient.ts:207:27) at Object.withSpan (/Users/runner/work/1/s/sdk/core/core-tracing/src/tracingClient.ts:70:22) at /Users/runner/work/1/s/sdk/attestation/attestation/src/attestationAdministrationClient.ts:2:35 at Object.withSpan (/Users/runner/work/1/s/sdk/core/core-tracing/src/tracingClient.ts:70:22) at testSetPolicy (/Users/runner/work/1/s/sdk/attestation/attestation/test/public/policyGetSetTests.spec.ts:2:35) at Context. (/Users/runner/work/1/s/sdk/attestation/attestation/test/public/policyGetSetTests.spec.ts:2:35)

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

github-actions[bot] commented 7 months ago

@KarishmaGhiya @maorleger

github-actions[bot] commented 7 months ago

Thank you for your feedback. Tagging and routing to the team member best able to assist.

LarryOsterman commented 7 months ago

@anilba06 and the attestation team own the attestation SDK these days. I can help them figure out what's going on, but they are the primary owners.