aspnet / HttpSysServer

[Archived] A web server for ASP.NET Core based on the Windows Http Server API. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
106 stars 39 forks source link

Flaky test: Caching_InvalidExpires_NotCached #441

Closed ryanbrandenburg closed 5 years ago

ryanbrandenburg commented 6 years ago

This test fails occasionally, seemingly specific to 2008.

System.Threading.Tasks.TaskCanceledException : A task was canceled.
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.ResponseCachingTests.SendRequestAsync(String uri) in C:\BuildAgent\work\33bdfc1cae7b2a38\modules\HttpSysServer\test\Microsoft.AspNetCore.Server.HttpSys.FunctionalTests\ResponseCachingTests.cs:line 217
   at Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.ResponseCachingTests.Caching_InvalidExpires_NotCached(String expiresValue) in C:\BuildAgent\work\33bdfc1cae7b2a38\modules\HttpSysServer\test\Microsoft.AspNetCore.Server.HttpSys.FunctionalTests\ResponseCachingTests.cs:line 169
--- End of stack trace from previous location where exception was thrown ---

Future instances of this failure will appear here.

ryanbrandenburg commented 6 years ago

This test appears to be skipped XPlat though it's unclear to me through what method.

Tratcher commented 6 years ago

See https://github.com/aspnet/HttpSysServer/blob/adbbbcf4deed896f8a828c46ea5ff932b532dd57/test/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests/Properties/AssemblyInfo.cs#L7-L8

ryanbrandenburg commented 6 years ago

Caching_InvalidExpires_NotCached failed again.

This comment was made automatically. If there is a problem contact @ryanbrandenburg.

ryanbrandenburg commented 6 years ago

Caching_InvalidExpires_NotCached failed again.

This comment was made automatically. If there is a problem contact @ryanbrandenburg.

ryanbrandenburg commented 6 years ago

Caching_InvalidExpires_NotCached failed again.

This comment was made automatically. If there is a problem contact @ryanbrandenburg.

ryanbrandenburg commented 6 years ago

Caching_InvalidExpires_NotCached failed with about the same error.

This comment was made automatically. If there is a problem contact @ryanbrandenburg.

ryanbrandenburg commented 6 years ago

Caching_InvalidExpires_NotCached failed with about the same error on master.

This comment was made automatically. If there is a problem contact ryanbrandenburg.

ryanbrandenburg commented 6 years ago

Caching_InvalidExpires_NotCached failed with about the same error on master. AuthTypes_AllowAnonymous_NoChallenge failed with about the same error on master.

This comment was made automatically. If there is a problem contact ryanbrandenburg.

ryanbrandenburg commented 6 years ago

AuthTypes_AllowAnonymous_NoChallenge failed with about the same error on master.

This comment was made automatically. If there is a problem contact ryanbrandenburg.

aspnet-hello commented 6 years ago

Caching_InvalidExpires_NotCached failed with about the same error on master.

This comment was made automatically. If there is a problem contact ryanbrandenburg.

aspnet-hello commented 6 years ago

This comment was made automatically. If there is a problem contact ryanbrandenburg.

There were 1 failures with about the same error on master at 1:52:06 AM:

aspnet-hello commented 6 years ago

This comment was made automatically. If there is a problem contact ryanbrandenburg.

There were 1 failures with about the same error on master at 8:53:27 AM: