Closed
Description
Error Blob
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "System\.PlatformNotSupportedException ?: Blocking wait is not supported on the JS interop threads",
"ExcludeConsoleLog": false
}
Reproduction Steps
Log
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=574940
[22:24:46] info: [FAIL] System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandlerTest.ReadAsStreamAsync_EmptyResponseBody_HandlerProducesWellBehavedResponseStream
[22:24:46] info: System.PlatformNotSupportedException : Blocking wait is not supported on the JS interop threads.
[22:24:46] info: at System.Threading.Thread.AssureBlockingPossible()
[22:24:46] info: at System.Threading.SemaphoreSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
[22:24:46] info: at System.Threading.SemaphoreSlim.Wait()
[22:24:46] info: at System.IO.Stream.BeginReadInternal(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state, Boolean serializeAsynchronously, Boolean apm)
[22:24:46] info: at System.IO.Stream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
[22:24:46] info: at System.Threading.Tasks.TaskFactory`1[[System.Int32, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].FromAsyncImpl[Byte[],Int32,Int32](Func`6 beginMethod, Func`2 endFunction, Action`1 endAction, Byte[] arg1, Int32 arg2, Int32 arg3, Object state, TaskCreationOptions creationOptions)
[22:24:46] info: at System.Threading.Tasks.TaskFactory.FromAsync[Byte[],Int32,Int32,Int32](Func`6 beginMethod, Func`2 endMethod, Byte[] arg1, Int32 arg2, Int32 arg3, Object state)
[22:24:46] info: at System.Net.Http.Functional.Tests.HttpClientHandlerTest.<ReadAsStreamAsync_EmptyResponseBody_HandlerProducesWellBehavedResponseStream>b__29_0(Uri uri)
[22:24:46] info: at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
[22:24:46] info: --- End of stack trace from previous location ---
[22:24:46] info: at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
[22:24:46] info: at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass6_0.<<CreateClientAndServerAsync>b__0>d.MoveNext()
[22:24:46] info: --- End of stack trace from previous location ---
[22:24:46] info: at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
[22:24:46] info: at System.Net.Http.Functional.Tests.HttpClientHandlerTest.ReadAsStreamAsync_EmptyResponseBody_HandlerProducesWellBehavedResponseStream()
[22:24:46] info: --- End of stack trace from previous location ---
Known issue validation
Build: 🔎
Result validation:
Validation performed at: 4/15/2024 7:27:53 PM UTC
Report
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
0 | 7 | 7 |
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}