GitHub Actions / Test results for ./source/TestCommon/TestCommon.sln
failed
Jan 15, 2025 in 0s
1 fail, 151 pass in 6m 10s
Annotations
github-actions / Test results for ./source/TestCommon/TestCommon.sln
When_TableServiceClient_UsingHttpsAndTokenCredential_Then_CanCreateTable (Energinet.DataHub.Core.FunctionApp.TestCommon.Tests.Integration.Azurite.AzuriteManagerTests+Given_OAuthIsTrue) failed
source\TestCommon\source\FunctionApp.TestCommon.Tests\TestResults\testResults.trx [took 3s]
Raw output
Expected exception to be <null>, but found Azure.Identity.CredentialUnavailableException: AzureCliCredential authentication failed: Azure CLI authentication failed due to an unknown error. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/azclicredential/troubleshoot ERROR: AADSTS700024: Client assertion is not within its valid time range. Current time: 2025-01-15T12:19:00.9588305Z, assertion valid from 2025-01-15T12:08:15.0000000Z, expiry time of assertion 2025-01-15T12:13:15.0000000Z. Review the documentation at https://learn.microsoft.com/entra/identity-platform/certificate-credentials . Trace ID: 3f30f983-af00-4d64-9f61-72ddd4366600 Correlation ID: d833fe5f-fcd9-4ea0-bd19-f3bddaeda635 Timestamp: 2025-01-15 12:19:00Z
Interactive authentication is needed. Please run:
az login
---> Azure.Identity.CredentialUnavailableException: Azure CLI authentication failed due to an unknown error. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/azclicredential/troubleshoot ERROR: AADSTS700024: Client assertion is not within its valid time range. Current time: 2025-01-15T12:19:00.9588305Z, assertion valid from 2025-01-15T12:08:15.0000000Z, expiry time of assertion 2025-01-15T12:13:15.0000000Z. Review the documentation at https://learn.microsoft.com/entra/identity-platform/certificate-credentials . Trace ID: 3f30f983-af00-4d64-9f61-72ddd4366600 Correlation ID: d833fe5f-fcd9-4ea0-bd19-f3bddaeda635 Timestamp: 2025-01-15 12:19:00Z
Interactive authentication is needed. Please run:
az login
at Azure.Identity.AzureCliCredential.RequestCliAccessTokenAsync(Boolean async, TokenRequestContext context, CancellationToken cancellationToken)
at Azure.Identity.AzureCliCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage, Boolean isCredentialUnavailable)
at Azure.Identity.AzureCliCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.AzureCliCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.DefaultAzureCredential.GetTokenFromCredentialAsync(TokenCredential credential, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage, Boolean isCredentialUnavailable)
at Azure.Identity.DefaultAzureCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.DefaultAzureCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AccessTokenCache.SetResultOnTcsFromCredentialAsync(TokenRequestContext context, TaskCompletionSource`1 targetTcs, Boolean async, CancellationToken cancellationToken)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AccessTokenCache.GetAuthHeaderValueAsync(HttpMessage message, TokenRequestContext context, Boolean async)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AccessTokenCache.TokenRequestState.GetCurrentHeaderValue(Boolean async, Boolean checkForCompletion, CancellationToken cancellationToken)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AccessTokenCache.GetAuthHeaderValueAsync(HttpMessage message, TokenRequestContext context, Boolean async)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.AuthenticateAndAuthorizeRequestAsync(HttpMessage message, TokenRequestContext context)
at Azure.Data.Tables.TableBearerTokenChallengeAuthorizationPolicy.AuthorizeRequestInternal(HttpMessage message, Boolean async)
at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
at Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory`1 pipeline, Boolean async)
at Azure.Data.Tables.TableRestClient.CreateAsync(TableProperties tableProperties, Nullable`1 responsePreference, QueryOptions queryOptions, CancellationToken cancellationToken)
at Azure.Data.Tables.TableClient.CreateAsync(CancellationToken cancellationToken)
at Xunit.Record.ExceptionAsync(Func`1 testCode) in /_/src/xunit.core/Record.cs:line 76. at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Primitives.ReferenceTypeAssertions`2.BeNull(String because, Object[] becauseArgs)
at Energinet.DataHub.Core.FunctionApp.TestCommon.Tests.Integration.Azurite.AzuriteManagerTests.Given_OAuthIsTrue.When_TableServiceClient_UsingHttpsAndTokenCredential_Then_CanCreateTable() in D:\a\geh-core\geh-core\source\TestCommon\source\FunctionApp.TestCommon.Tests\Integration\Azurite\AzuriteManagerTests.cs:line 272
--- End of stack trace from previous location ---
Loading