dotnet / dotnet/aspnetcore

Quarantine Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests.DelegateAfterReceiverRestart

Open
#60,141 0 comments 0 reactions 0 assignees View on GitHub
area-networking test-failure
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

## Failing Test(s)

- Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests.DelegateAfterReceiverRestart

## Error Message

```text
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
```

## Stacktrace

```text
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests.SendRequestAsync(String uri) in /_/src/Servers/HttpSys/test/FunctionalTests/DelegateTests.cs:line 271
at Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests.DelegateAfterReceiverRestart() in /_/src/Servers/HttpSys/test/FunctionalTests/DelegateTests.cs:line 262
--- End of stack trace from previous location ---
```

## Logs

```text
[0.002s] [TestLifetime] [Information] Starting test DelegateAfterReceiverRestart at 2025-01-31T13:32:36
[0.004s] [Microsoft.AspNetCore.Server.HttpSys.HttpSysListener] [Debug] Listening on prefix: http://localhost:5273/
[0.005s] [Microsoft.AspNetCore.Server.HttpSys.HttpSysListener] [Debug] Listening on prefix: http://localhost:5274/
[0.006s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Information] Attached to an existing request queue 'c0337838-c4fd-4ce6-9755-865e6d73049b', some options do not apply.
[0.013s] [Microsoft.AspNetCore.Server.HttpSys.HttpSysListener] [Information] Stop listening on prefix: http://localhost:5273/
[0.017s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Warning] Overriding address(es) ''. Binding to endpoints added to UrlPrefixes instead.
[0.017s] [Microsoft.AspNetCore.Server.HttpSys.HttpSysListener] [Debug] Listening on prefix: http://localhost:5273/
[0.017s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.017s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.018s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.018s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.018s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.018s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.021s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.021s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.021s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.021s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.024s] [Microsoft.AspNetCore.Server.HttpSys.HttpSysListener] [Error] ProcessRequestAsync
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (6807): The object (file, stream, link) corresponding to the handle has been deleted by a Transaction Savepoint Rollback.
at Microsoft.AspNetCore.Server.HttpSys.RequestContext.Delegate(DelegationRule destination) in /_/src/Servers/HttpSys/src/RequestProcessing/RequestContext.cs:line 324
at Microsoft.AspNetCore.Server.HttpSys.RequestContext.DelegateRequest(DelegationRule destination) in /_/src/Servers/HttpSys/src/RequestProcessing/RequestContext.FeatureCollection.cs:line 744
at Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests.<>c__DisplayClass8_0.b__2(HttpContext httpContext) in /_/src/Servers/HttpSys/test/FunctionalTests/DelegateTests.cs:line 236
at Microsoft.AspNetCore.Server.HttpSys.DummyApplication.ProcessRequestAsync(HttpContext httpContext) in /_/src/Servers/HttpSys/test/FunctionalTests/DummyApplication.cs:line 35
at Microsoft.AspNetCore.Server.HttpSys.RequestContext`1.ExecuteAsync() in /_/src/Servers/HttpSys/src/RequestProcessing/RequestContextOfT.cs:line 51
at Microsoft.AspNetCore.Server.HttpSys.RequestContext`1.ExecuteAsync() in /_/src/Servers/HttpSys/src/RequestProcessing/RequestContextOfT.cs:line 56
[0.024s] [Microsoft.AspNetCore.Server.HttpSys.HttpSysListener] [Information] Stop listening on prefix: http://localhost:5273/
[0.024s] [Microsoft.AspNetCore.Server.HttpSys.HttpSysListener] [Information] Stop listening on prefix: http://localhost:5274/
[0.025s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.025s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.025s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.026s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.026s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.026s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.026s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.026s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.027s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.027s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.027s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.027s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.027s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.027s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.028s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.028s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.028s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.028s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.028s] [Microsoft.AspNetCore.Server.HttpSys.MessagePump] [Debug] Failed to accept a request, the server is stopping.
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (995): The I/O operation has been aborted because of either a thread exit or an application request.
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.IOCompleted(UInt32 errorCode, UInt32 numBytes, Boolean managed) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 69
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.HttpSys.AsyncAcceptContext.GetResult(Int16 token) in /_/src/Servers/HttpSys/src/AsyncAcceptContext.cs:line 275
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.AcceptLoop.ExecuteAsync() in /_/src/Servers/HttpSys/src/MessagePump.cs:line 256
[0.028s] [Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests] [Error] Test threw an exception.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests.SendRequestAsync(String uri) in /_/src/Servers/HttpSys/test/FunctionalTests/DelegateTests.cs:line 271
at Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.DelegateTests.DelegateAfterReceiverRestart() in /_/src/Servers/HttpSys/test/FunctionalTests/DelegateTests.cs:line 262
at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
--- End of stack trace from previous location ---
at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
[0.028s] [TestLifetime] [Information] Finished test DelegateAfterReceiverRestart in 0.0263112s
```

## Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=936134&view=ms.vss-test-web.build-test-results-tab&runId=24807480&resultId=114485&paneView=attachments

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.