Repository navigation
[android][arm64] System.Net.Sockets.Tests.SendTo_SyncForceNonBlocking.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint fails with NetworkUnreachable #120526
Copy link
Copy link
Open
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-arm64area-System.Net.Socketsos-android
Milestone
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1167858&view=logs&j=11fc76eb-f2d5-5967-e9b4-f54329587f75&t=071fe9c1-8e24-5546-3854-e555c5768672
Build error leg or test failing: Datagram_UDP_ShouldImplicitlyBindLocalEndpoint
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Network is unreachable",
"BuildRetry": false,
"ExcludeConsoleLog": false
}The test fails only on Android arm/arm64, on Android x64 and other platforms it passes.
The detailed failure:
1) [FAIL] System.Net.Sockets.Tests.SendTo_SyncForceNonBlocking.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint Test name: System.Net.Sockets.Tests.SendTo_SyncForceNonBlocking.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint
Exception messages: System.Net.Sockets.SocketException : Network is unreachable Exception stack traces: at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
at System.Net.Sockets.Tests.SocketHelperArraySync.<>c__DisplayClass11_0.<SendToAsync>b__0()
at System.Threading.Tasks.Task`1[[System.Int32, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__288_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
2) [FAIL] System.Net.Sockets.Tests.SendTo_SyncForceNonBlocking.Datagram_UDP_AccessDenied_Throws_DoesNotBind Test name: System.Net.Sockets.Tests.SendTo_SyncForceNonBlocking.Datagram_UDP_AccessDenied_Throws_DoesNotBind
Exception messages: Assert.Equal() Failure: Values differ
Expected: AccessDenied
Actual: NetworkUnreachable Exception stack traces: at System.Net.Sockets.Tests.SendTo`1.<Datagram_UDP_AccessDenied_Throws_DoesNotBind>d__8[[System.Net.Sockets.Tests.SocketHelperSyncForceNonBlocking, System.Net.Sockets.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
3) [FAIL] System.Net.Sockets.Tests.SendTo_Apm.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint Test name: System.Net.Sockets.Tests.SendTo_Apm.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint
Exception messages: Assert.NotNull() Failure: Value is null Exception stack traces: at System.Net.Sockets.Tests.SendTo`1.<Datagram_UDP_ShouldImplicitlyBindLocalEndpoint>d__7[[System.Net.Sockets.Tests.SocketHelperApm, System.Net.Sockets.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
4) [FAIL] System.Net.Sockets.Tests.SendTo_Apm.Datagram_UDP_AccessDenied_Throws_DoesNotBind Test name: System.Net.Sockets.Tests.SendTo_Apm.Datagram_UDP_AccessDenied_Throws_DoesNotBind
Exception messages: Assert.Equal() Failure: Values differ
Expected: AccessDenied
Actual: NetworkUnreachable Exception stack traces: at System.Net.Sockets.Tests.SendTo`1.<Datagram_UDP_AccessDenied_Throws_DoesNotBind>d__8[[System.Net.Sockets.Tests.SocketHelperApm, System.Net.Sockets.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
5) [FAIL] System.Net.Sockets.Tests.SendTo_MemoryNativeTask.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint Test name: System.Net.Sockets.Tests.SendTo_MemoryNativeTask.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint
Exception messages: Assert.NotNull() Failure: Value is null Exception stack traces: at System.Net.Sockets.Tests.SendTo`1.<Datagram_UDP_ShouldImplicitlyBindLocalEndpoint>d__7[[System.Net.Sockets.Tests.SocketHelperMemoryNativeTask, System.Net.Sockets.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1167858
Error message validated: [Network is unreachable]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/8/2025 8:01:45 AM UTC
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1648254 | dotnet/runtime | System.Net.Sockets.Tests.SendReceiveMisc.SocketSendWouldBlock_ReturnsBytesSent | |
| 1644473 | dotnet/runtime | System.Net.Sockets.Tests.WorkItemExecution | |
| 1632672 | dotnet/runtime | System.Net.Sockets.Tests.WorkItemExecution | |
| 1632378 | dotnet/runtime | System.Net.Sockets.Tests.WorkItemExecution |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 4 |
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-arm64area-System.Net.Socketsos-android
Activity
dotnet-policy-service commentedon Oct 8, 2025
Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Oct 8, 2025
Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
MihuBot commentedon Oct 8, 2025
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
vitek-karas commentedon Oct 8, 2025
Likely related to #119851 and #119852 they all seem to have similar behavior. It's possibly underlying platform issue, not specified to the failing tests.
kotlarmilos commentedon Oct 8, 2025
It looks like the internet connection is blocked, or something similar. This reminds me of #114450.
dotnet-policy-service commentedon Oct 8, 2025
Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
liveans commentedon Oct 8, 2025
Interestingly, the failure seems like the same as #114450, was there any update on Android arm infra lately? My suspicion is that: This is related to environment itself (similar to privacy setting thingy in #114450).