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.07k
stars
1.19k
forks
source link
[Event Hubs] AmqpAnnotatedMessage > round-tripping AMQP encoding/decoding > data (useBatch: true) failing in nightly runs #30473
Error message:
Error 0: AggregateAuthenticationError: ChainedTokenCredential authentication failed. CredentialUnavailableError: Error: Unable to parse the output of PowerShell. Received output: [33;1mWARNING: INITIALIZATION: Token cache encryption is not supported in current environment and token cache will be fallen back as plain text.[0m { "Token": "**", "ExpiresOn": "2024-07-19T20:13:06+00:00", "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "UserId": "f850650c-1fcf-4489-b46f-71af2e30d360", "Type": "Bearer" } . To troubleshoot, visit https://aka.ms/azsdk/js/identity/powershellcredential/troubleshoot. CredentialUnavailableError: Please run 'az login' from a command prompt to authenticate before using this credential. CredentialUnavailableError: Azure Developer CLI couldn't be found. To mitigate this issue, see the troubleshooting guidelines at https://aka.ms/azsdk/js/identity/azdevclicredential/troubleshoot. CredentialUnavailableError: EnvironmentCredential is unavailable. No underlying credential could be used. To troubleshoot, visit https://aka.ms/azsdk/js/identity/environmentcredential/troubleshoot.
Stack trace:
AggregateAuthenticationError: Error 0: AggregateAuthenticationError: ChainedTokenCredential authentication failed.
CredentialUnavailableError: Error: Unable to parse the output of PowerShell. Received output: WARNING: INITIALIZATION: Token cache encryption is not supported in current environment and token cache will be fallen back as plain text.
{
"Token": "*****",
"ExpiresOn": "2024-07-19T20:13:06+00:00",
"TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"UserId": "f850650c-1fcf-4489-b46f-71af2e30d360",
"Type": "Bearer"
}
. To troubleshoot, visit https://aka.ms/azsdk/js/identity/powershellcredential/troubleshoot.
CredentialUnavailableError: Please run 'az login' from a command prompt to authenticate before using this credential.
CredentialUnavailableError: Azure Developer CLI couldn't be found. To mitigate this issue, see the troubleshooting guidelines at https://aka.ms/azsdk/js/identity/azdevclicredential/troubleshoot.
CredentialUnavailableError: EnvironmentCredential is unavailable. No underlying credential could be used. To troubleshoot, visit https://aka.ms/azsdk/js/identity/environmentcredential/troubleshoot.
❯ ../../../common/temp/node_modules/.pnpm/@azure+identity@4.3.0/node_modules/@azure/identity/src/credentials/chainedTokenCredential.ts:85:23
❯ Object.withSpan ../../../common/temp/node_modules/.pnpm/@azure+core-tracing@1.1.2/node_modules/@azure/core-tracing/src/tracingClient.ts:70:22
❯ ChainedTokenCredential.getToken ../../../common/temp/node_modules/.pnpm/@azure+identity@4.3.0/node_modules/@azure/identity/src/credentials/chainedTokenCredential.ts:51:23
❯ getAadToken src/withAuth.ts:96:17
❯ Module.withAuth src/withAuth.ts:39:16
❯ Object.connect src/partitionReceiver.ts:166:26
❯ Module.retry ../../../common/temp/node_modules/.pnpm/@azure+core-amqp@4.4.0-beta.1/node_modules/@azure/core-amqp/src/retry.ts:213:16
❯ PartitionPump._receiveEvents src/partitionPump.ts:113:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'CredentialUnavailableError: Error: Unable to parse the output of PowerShell. Received output: \u001b[33;1mWARNING: INITIALIZATION: Token cache encryption is not supported in current environment and token cache will be fallen back as plain text.\u001b[0m\n{\n "Token": "*****
Event Hubs nightly test runs are failing with:
For more details check here: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3975105&view=results