Skip to content
GitHub Actions / Test results for ./source/TestCommon/TestCommon.sln failed Jan 15, 2025 in 0s

1 fail, 151 pass in 6m 10s

  3 files  ±0    3 suites  ±0   6m 10s ⏱️ +10s
152 tests ±0  151 ✅ ±0  0 💤 ±0  1 ❌ ±0 
154 runs  ±0  153 ✅ ±0  0 💤 ±0  1 ❌ ±0 

Results for commit 4fc0844. ± Comparison against earlier commit efec202.

Annotations

Check warning on line 0 in Energinet.DataHub.Core.FunctionApp.TestCommon.Tests.Integration.Azurite.AzuriteManagerTests+Given_OAuthIsTrue

See this annotation in the file changed.

@github-actions 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 ---