Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw an exception on id.get if session is not available #57902

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

throw an exception on id.get if session is not available

a03199a
Select commit
Loading
Failed to load commit list.
Open

throw an exception on id.get if session is not available #57902

throw an exception on id.get if session is not available
a03199a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-ci failed Sep 16, 2024 in 1h 57m 44s

Build #20240916.24 had test failures

Details

Tests

  • Failed: 117 (0.11%)
  • Passed: 102,428 (98.18%)
  • Other: 1,777 (1.70%)
  • Total: 104,322

Annotations

Check failure on line 91 in .packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L91

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Microsoft.AspNetCore.Session.Tests--net9.0 in job b57deafd-e671-442d-b9ba-f2c6bb047aeb has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/b57deafd-e671-442d-b9ba-f2c6bb047aeb/workitems/Microsoft.AspNetCore.Session.Tests--net9.0/console

Check failure on line 91 in .packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L91

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Microsoft.AspNetCore.Session.Tests--net9.0 in job a20928a9-e78f-4c69-ae68-82751afaf107 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/a20928a9-e78f-4c69-ae68-82751afaf107/workitems/Microsoft.AspNetCore.Session.Tests--net9.0/console

Check failure on line 91 in .packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L91

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item IIS.FunctionalTests--net9.0 in job 597993db-3755-47e6-a85e-398d82b9debe has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/597993db-3755-47e6-a85e-398d82b9debe/workitems/IIS.FunctionalTests--net9.0/console

Check failure on line 91 in .packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L91

.packages\microsoft.dotnet.helix.sdk\10.0.0-beta.24459.1\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item IIS.LongTests--net9.0 in job 597993db-3755-47e6-a85e-398d82b9debe has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/597993db-3755-47e6-a85e-398d82b9debe/workitems/IIS.LongTests--net9.0/console

Check failure on line 1 in Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheLoadAsyncException

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheLoadAsyncException

System.InvalidOperationException : Session not currently available
Raw output
   at Microsoft.AspNetCore.Session.DistributedSession.get_Id() in /_/src/Middleware/Session/src/DistributedSession.cs:line 101
   at Microsoft.AspNetCore.Session.SessionTests.<>c.<<SessionLogsCacheLoadAsyncException>b__13_3>d.MoveNext() in /_/src/Middleware/Session/test/SessionTests.cs:line 706
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) in /_/src/Middleware/Session/src/SessionMiddleware.cs:line 90
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) in /_/src/Middleware/Session/src/SessionMiddleware.cs:line 109
   at Microsoft.AspNetCore.TestHost.HttpContextBuilder.<>c__DisplayClass23_0.<<SendAsync>g__RunRequestAsync|0>d.MoveNext() in /_/src/Hosting/TestHost/src/HttpContextBuilder.cs:line 116
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.TestHost.ClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Hosting/TestHost/src/ClientHandler.cs:line 210
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheLoadAsyncException() in /_/src/Middleware/Session/test/SessionTests.cs:line 726
--- End of stack trace from previous location ---

Check failure on line 1 in Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheReadException

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheReadException

System.InvalidOperationException : Session not currently available
Raw output
   at Microsoft.AspNetCore.Session.DistributedSession.get_Id() in /_/src/Middleware/Session/src/DistributedSession.cs:line 101
   at Microsoft.AspNetCore.Session.SessionTests.<>c.<SessionLogsCacheReadException>b__12_3(HttpContext context) in /_/src/Middleware/Session/test/SessionTests.cs:line 656
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) in /_/src/Middleware/Session/src/SessionMiddleware.cs:line 90
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) in /_/src/Middleware/Session/src/SessionMiddleware.cs:line 109
   at Microsoft.AspNetCore.TestHost.HttpContextBuilder.<>c__DisplayClass23_0.<<SendAsync>g__RunRequestAsync|0>d.MoveNext() in /_/src/Hosting/TestHost/src/HttpContextBuilder.cs:line 116
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.TestHost.ClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Hosting/TestHost/src/ClientHandler.cs:line 210
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheReadException() in /_/src/Middleware/Session/test/SessionTests.cs:line 677
--- End of stack trace from previous location ---

Check failure on line 1 in Microsoft.AspNetCore.Session.Tests--net9.0.WorkItemExecution

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Session.Tests--net9.0.WorkItemExecution

The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.

Check failure on line 1 in Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheLoadAsyncException

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci

Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheLoadAsyncException

System.InvalidOperationException : Session not currently available
Raw output
   at Microsoft.AspNetCore.Session.DistributedSession.get_Id() in /_/src/Middleware/Session/src/DistributedSession.cs:line 101
   at Microsoft.AspNetCore.Session.SessionTests.<>c.<<SessionLogsCacheLoadAsyncException>b__13_3>d.MoveNext() in /_/src/Middleware/Session/test/SessionTests.cs:line 706
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) in /_/src/Middleware/Session/src/SessionMiddleware.cs:line 90
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) in /_/src/Middleware/Session/src/SessionMiddleware.cs:line 109
   at Microsoft.AspNetCore.TestHost.HttpContextBuilder.<>c__DisplayClass23_0.<<SendAsync>g__RunRequestAsync|0>d.MoveNext() in /_/src/Hosting/TestHost/src/HttpContextBuilder.cs:line 116
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.TestHost.ClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Hosting/TestHost/src/ClientHandler.cs:line 210
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Microsoft.AspNetCore.Session.SessionTests.SessionLogsCacheLoadAsyncException() in /_/src/Middleware/Session/test/SessionTests.cs:line 726
--- End of stack trace from previous location ---