Skip to content

Conversation

@amcasey
Copy link
Member

@amcasey amcasey commented Sep 16, 2024

Just testing.

For #27157.

@amcasey amcasey added the * NO MERGE * Do not merge this PR as long as this label is present. label Sep 16, 2024
@ghost ghost added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Sep 16, 2024
@amcasey
Copy link
Member Author

amcasey commented Sep 17, 2024

Managed to repro the failure without getting any new information

[0.001s] TestLifetime Information: Starting test AppCanHandleClientAbortingConnectionMidRequest-PassThrough at 2024-09-16T21:05:17
[0.003s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting starting
[0.004s] Microsoft.Hosting.Lifetime Information: Now listening on: http://127.0.0.1:64872
[0.004s] Microsoft.AspNetCore.Hosting.Diagnostics Debug: Loaded hosting startup assembly Sockets.FunctionalTests
[0.004s] Microsoft.Hosting.Lifetime Information: Application started. Press Ctrl+C to shut down.
[0.004s] Microsoft.Hosting.Lifetime Information: Hosting environment: Production
[0.004s] Microsoft.Hosting.Lifetime Information: Content root path: /private/tmp/helix/working/BCCB09A1/w/A5EC08D5/e/
[0.004s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting started
[0.005s] Microsoft.AspNetCore.Server.Kestrel Debug: TestServer is listening on port 64872
[0.005s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSQ" accepted.
[0.005s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSQ" started.
[0.005s] Microsoft.AspNetCore.Hosting.Diagnostics Information: Request starting HTTP/1.1 POST http:/// - - 8192
[0.006s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HN6MID25DRSQ", Request id "0HN6MID25DRSQ:00000001": started reading request body.
[0.007s] Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets Debug: Connection id "0HN6MID25DRSQ" reset.
[0.007s] Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets Debug: Connection id "0HN6MID25DRSQ" sending FIN because: "The Socket transport's send loop completed gracefully."
[0.007s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSQ" disconnecting.
[0.007s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HN6MID25DRSQ", Request id "0HN6MID25DRSQ:00000001": The request was aborted by the client.
[0.007s] Microsoft.AspNetCore.Hosting.Diagnostics Information: Request finished HTTP/1.1 POST http:/// - 499 - - 2.2056ms
[0.008s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HN6MID25DRSQ", Request id "0HN6MID25DRSQ:00000001": done reading request body.
[0.008s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting stopping
[0.008s] Microsoft.Hosting.Lifetime Information: Application is shutting down...
[0.008s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSQ" stopped.
[0.008s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting stopped
[0.009s] TestLifetime Information: Finished test AppCanHandleClientAbortingConnectionMidRequest-PassThrough in 0.0075459s
[0.001s] TestLifetime Information: Starting test AppCanHandleClientAbortingConnectionMidRequest-PassThrough at 2024-09-16T21:05:18
[0.002s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting starting
[0.003s] Microsoft.Hosting.Lifetime Information: Now listening on: http://127.0.0.1:64874
[0.003s] Microsoft.AspNetCore.Hosting.Diagnostics Debug: Loaded hosting startup assembly Sockets.FunctionalTests
[0.003s] Microsoft.Hosting.Lifetime Information: Application started. Press Ctrl+C to shut down.
[0.003s] Microsoft.Hosting.Lifetime Information: Hosting environment: Production
[0.003s] Microsoft.Hosting.Lifetime Information: Content root path: /private/tmp/helix/working/BCCB09A1/w/A5EC08D5/e/
[0.003s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting started
[0.003s] Microsoft.AspNetCore.Server.Kestrel Debug: TestServer is listening on port 64874
[0.004s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSR" accepted.
[0.004s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSR" started.
[0.004s] Microsoft.AspNetCore.Hosting.Diagnostics Information: Request starting HTTP/1.1 POST http:/// - - 8192
[0.004s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HN6MID25DRSR", Request id "0HN6MID25DRSR:00000001": started reading request body.
[30.084s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting stopping
[30.084s] Microsoft.Hosting.Lifetime Information: Application is shutting down...
[60.097s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Some connections failed to close gracefully during server shutdown.
[60.097s] Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets Debug: Connection id "0HN6MID25DRSR" sending RST because: "The connection was aborted because the server is shutting down and request processing didn't complete within the time specified by HostOptions.ShutdownTimeout."
[60.097s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSR" disconnecting.
[60.098s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HN6MID25DRSR", Request id "0HN6MID25DRSR:00000001": The request was aborted by the client.
[60.098s] Microsoft.AspNetCore.Hosting.Diagnostics Information: Request finished HTTP/1.1 POST http:/// - 499 - - 60095.6130ms
[60.098s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HN6MID25DRSR", Request id "0HN6MID25DRSR:00000001": done reading request body.
[60.098s] Microsoft.AspNetCore.Server.Kestrel.Connections Debug: Connection id "0HN6MID25DRSR" stopped.
[60.098s] Microsoft.Extensions.Hosting.Internal.Host Debug: Hosting stopped
[60.099s] Microsoft.AspNetCore.Server.Kestrel.Sockets.FunctionalTests.RequestTests Error: Test threw an exception.
System.TimeoutException: The operation has timed out.
   at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88
   at Microsoft.AspNetCore.Server.Kestrel.Sockets.FunctionalTests.RequestTests.AppCanHandleClientAbortingConnectionMidRequest(String listenOptionsName) in /_/src/Servers/Kestrel/test/FunctionalTests/RequestTests.cs:line 1087
   at Microsoft.AspNetCore.Server.Kestrel.Sockets.FunctionalTests.RequestTests.AppCanHandleClientAbortingConnectionMidRequest(String listenOptionsName) in /_/src/Servers/Kestrel/test/FunctionalTests/RequestTests.cs:line 1087
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass46_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 253
--- 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
[60.100s] TestLifetime Information: Finished test AppCanHandleClientAbortingConnectionMidRequest-PassThrough in 60.1009209s

@amcasey
Copy link
Member Author

amcasey commented Sep 17, 2024

As usual, failure was on Mac.

@amcasey amcasey closed this Oct 9, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions * NO MERGE * Do not merge this PR as long as this label is present.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant