Skip to content

Enable Moq HostTests on ios - #131919

Open
BrzVlad wants to merge 1 commit into
dotnet:mainfrom
BrzVlad:fix-moq-trimming
Open

Enable Moq HostTests on ios#131919
BrzVlad wants to merge 1 commit into
dotnet:mainfrom
BrzVlad:fix-moq-trimming

Enable Moq HostTests on ios

bbc558e
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Aug 6, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Test Failures (5 tests failed)

🔹 [All failing tests from runtime]

    System.Net.Http.Functional.Tests.NtAuthTests.Http2_SessionAuthChallenge_SubsequentRequestsUseHttp11 [Console] [Details] [Artifacts] [0.15% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configuration

    System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Cookies_Http3.GetAsyncWithRedirect_ReceiveSetCookie_CookieSent [Console] [Details] [Artifacts] [0.03% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    System.Net.Http.HttpRequestException : An error occurred while sending the request.
    CallStack
    at System.Net.Http.Http3Connection.SendAsync(HttpRequestMessage request, WaitForHttp3ConnectionActivity waitForConnectionActivity, Boolean streamAvailable, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs:line 349
       at System.Net.Http.Http3Connection.SendAsync(HttpRequestMessage request, WaitForHttp3ConnectionActivity waitForConnectionActivity, Boolean streamAvailable, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs:line 357
       at System.Net.Http.HttpConnectionPool.TrySendUsingHttp3Async(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectionPool/HttpConnectionPool.Http3.cs:line 107
       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectionPool/HttpConnectionPool.cs:line 437
       at System.Runtime.CompilerServices.RuntimeAsyncTaskContinuation.GetResult[T](Task task, Byte& result) in /_/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeAsyncTaskContinuation.cs:line 139
       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RedirectHandler.cs:line 87
       at System.Net.Http.HttpMessageHandlerStage.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpMessageHandlerStage.cs:line 21
       at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|119_0(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs:line 668
       at System.Runtime.CompilerServices.RuntimeAsyncTaskContinuation.GetResult[T](Task task, Byte& result) in /_/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeAsyncTaskContinuation.cs:line 139
       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs:line 544
       at System.Runtime.CompilerServices.RuntimeAsyncTaskContinuation.GetResult[T](Task task, Byte& result) in /_/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeAsyncTaskContinuation.cs:line 139
       at System.Net.Http.HttpClient.GetAsync(Uri requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs:line 387
       at System.Net.Http.HttpClient.GetAsync(Uri requestUri, HttpCompletionOption completionOption) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs:line 375
       at System.Net.Http.HttpClient.GetAsync(Uri requestUri) in /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs:line 369
       at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Cookies.<GetAsyncWithRedirect_ReceiveSetCookie_CookieSent>b__27_0(Uri url) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cookies.cs:line 620
       at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 119
    --- End of stack trace from previous location ---
       at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 89
       at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass6_0.<CreateClientAndServerAsync>b__0(GenericLoopbackServer server, Uri uri) in /_/src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs:line 44
       at System.Net.Test.Common.Http3LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout, GenericLoopbackOptions options) in /_/src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs:line 115
       at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Cookies.GetAsyncWithRedirect_ReceiveSetCookie_CookieSent() in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cookies.cs:line 611
    --- End of stack trace from previous location ---
    System.Net.Sockets.Tests.DualModeConnectionlessSendToSync.SendToV4IPEndPointToDualHost_Success [Console] [Details] [Artifacts] [0.01% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    System.TimeoutException : The operation has timed out.
    CallStack
    at System.Threading.Tasks.TaskTimeoutExtensions.<WaitAsync>d__7`1[[System.Int32, System.Private.CoreLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext() in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 48
       at System.Net.Sockets.Tests.DualModeConnectionlessSendToBase`1.<DualModeSendTo_IPEndPointToHost_Success_Helper>d__9[[System.Net.Sockets.Tests.SocketHelperArraySync, System.Net.Sockets.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs:line 914
    --- End of stack trace from previous location ---
    System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_Parallel_Fails [Console] [Details] [Artifacts] [0.12% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Completed did not get called in time
    CallStack
    at System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_Parallel_Fails() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketAsyncEventArgsTest.cs:line 1154
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) in /_/src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs:line 1187
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 37
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57
    System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck [Console] [Details] [Artifacts] [0.01% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Assert.Throws() Failure: Exception type was not an exact match\nExpected: typeof(System.Net.WebSockets.WebSocketException)\nActual:   typeof(System.TimeoutException)\n---- System.TimeoutException : The operation has timed out.
    CallStack
    at System.Runtime.CompilerServices.RuntimeAsyncTaskContinuation.GetResult[T](Task task, Byte& result) in /_/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeAsyncTaskContinuation.cs:line 139
       at System.Net.WebSockets.Tests.WebSocketTests.ReceiveAsync_WhenDisposedInParallel_DoesNotGetStuck() in /_/src/libraries/System.Net.WebSockets/tests/WebSocketTests.cs:line 230
    --- End of stack trace from previous location ---
    ----- Inner Stack Trace -----

Was this helpful? Yes No