Skip to content

[android][arm64] System.Net.Sockets.Tests.SendTo_SyncForceNonBlocking.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint fails with NetworkUnreachable #120526

@kotlarmilos

Description

@kotlarmilos

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 Definition Step Name Console log Pull Request
1204538 dotnet/runtime Build product Log #121672
1204300 dotnet/runtime Send tests to Helix (Unix) Log
1203959 dotnet/runtime Build product Log #121456
1203745 dotnet/runtime Build product Log #121603
1203205 dotnet/runtime Build product Log #121621
1203164 dotnet/runtime Build product Log #121583
1203081 dotnet/runtime Build product Log #121610
1202970 dotnet/runtime Build product Log #121609
1202725 dotnet/runtime Send to Helix Log #121366
1202040 dotnet/runtime Build product Log #119575
1200107 dotnet/runtime Build product Log #121343
1199484 dotnet/runtime Build product Log #121343
1198375 dotnet/runtime Build product Log #121365
1198323 dotnet/runtime Send to Helix Log #121308
1198006 dotnet/runtime Build product Log #121180
1197746 dotnet/runtime Build product Log #117788
1197739 dotnet/runtime Build product Log #121458
1197737 dotnet/runtime Build product Log #121458
1197563 dotnet/runtime Build product Log #121458
1197557 dotnet/runtime Build product Log #117788
1197502 dotnet/runtime Build product Log #119432
1195440 dotnet/runtime Send to Helix Log #120634
1194116 dotnet/runtime Send to Helix Log #121366
1193540 dotnet/runtime Build product Log #121351
1193381 dotnet/runtime Build product Log #121308
1193338 dotnet/runtime Build product Log #121343
1193309 dotnet/runtime Build product Log #121341
1192704 dotnet/runtime Build product Log #120395
2830355 dotnet-runtime Build product (linux_musl_x64) Log
1191121 dotnet/runtime Build product Log #121158
1190757 dotnet/runtime Build product Log #120395
2827439 dotnet-runtime Build product (linux_musl_x64) Log
1187193 dotnet/runtime Build product Log #120395
1188156 dotnet/runtime Build product Log #121158
1187981 dotnet/runtime Build product Log #118371
1186688 dotnet/runtime Build product Log #121072
1186501 dotnet/runtime Build product Log #119996
1186170 dotnet/runtime Build product Log #121102
1185210 dotnet/runtime Build product Log #121072
1184288 dotnet/runtime Build product Log #121058
1184258 dotnet/runtime Send to Helix Log #120536
1184165 dotnet/runtime Build product Log #121058
1184167 dotnet/runtime Build product Log #121058
1181750 dotnet/runtime Build product Log #120964
1181692 dotnet/runtime Build product Log #120395
1181574 dotnet/runtime Build product Log #120957
1181539 dotnet/runtime Build product Log #120954
1181182 dotnet/runtime Send to Helix (Unix) Log #119935
1181169 dotnet/runtime Build product Log #120943
1180888 dotnet/runtime Build product Log #120906
1180919 dotnet/runtime Build Log #119996
1180918 dotnet/runtime Build product Log #119996
2821033 dotnet-runtime Build product Log
1178937 dotnet/runtime Build product Log #120775
Build Definition Test Pull Request
1204014 dotnet/runtime System.Runtime.InteropServices.Tests.WorkItemExecution #121650
1181871 dotnet/runtime System.IO.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 15 56

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions