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
1266758 dotnet/runtime Build product Log #123611
1265813 dotnet/runtime Send tests to Helix (Unix) Log #123576
1264868 dotnet/runtime Build product Log #123557
1264574 dotnet/runtime Build product Log #123545
1264480 dotnet/runtime Build product Log #123252
1264063 dotnet/runtime Build product Log #123514
1263877 dotnet/runtime Send to Helix Log #122947
1262910 dotnet/runtime Send to Helix Log #123483
1262634 dotnet/runtime Build product Log #123478
1262623 dotnet/runtime Build product Log #118207
1262575 dotnet/runtime Build product Log
1262093 dotnet/runtime Build product Log #123454
1261065 dotnet/runtime Build product Log #123350
1260584 dotnet/runtime Build product Log #120688
1260254 dotnet/runtime Build product Log #123407
1259759 dotnet/runtime Build product Log #123329
1259351 dotnet/runtime Send to Helix Log #123076
1258958 dotnet/runtime Build product Log
1258621 dotnet/runtime Build product Log #119575
1258442 dotnet/runtime Build product Log #123354
1258348 dotnet/runtime Build product Log #123322
1258106 dotnet/runtime Build product Log #123145
1257708 dotnet/runtime Build product Log #123248
1257400 dotnet/runtime Build product Log #123322
1257359 dotnet/runtime Build product Log #123322
1257063 dotnet/runtime Build product Log #123314
1256406 dotnet/runtime Build product Log #120306
1256212 dotnet/runtime Build product Log #123090
1255963 dotnet/runtime Build product Log #123109
1255690 dotnet/runtime Send to Helix Log
1254380 dotnet/runtime Build product Log #123215
1253682 dotnet/runtime Build product Log #122878
1253462 dotnet/runtime Build product Log #118264
1253357 dotnet/runtime Build product Log #123182
1252817 dotnet/runtime Build product Log #122093
1252312 dotnet/runtime Build product Log #122878
1251999 dotnet/runtime Build product Log #123101
1251997 dotnet/runtime Build product Log #123101
2878059 dotnet-runtime Build product Log
1251527 dotnet/runtime Build product Log #122970
1250598 dotnet/runtime Build product Log #123099
1248806 dotnet/runtime Build product Log #118415
1248634 dotnet/runtime Build product Log #123047
1248487 dotnet/runtime Build product Log #122938
1248430 dotnet/runtime Build product Log #122911
1247417 dotnet/runtime Build product Log #122722
2874990 dotnet-runtime Install workload using artifacts Log
1247153 dotnet/runtime Build Log #122216
1244275 dotnet/runtime Build product Log #121367
2872299 dotnet-runtime Run performance job script Log
1243266 dotnet/runtime Build product Log #122878
1243264 dotnet/runtime Build product Log #122878
1242112 dotnet/runtime Build product Log #122449
2870772 dotnet-runtime Install workload using artifacts Log
1241377 dotnet/runtime Build product Log #122791
1240284 dotnet/runtime Build product Log #122774
2868620 dotnet-runtime Install workload using artifacts Log
1239783 dotnet/runtime Build product Log #122758
1239565 dotnet/runtime Build coreclr/libs components needed by test build Log #122723
Build Definition Test Pull Request
1266509 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1265579 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #123248
1264815 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122373
1264235 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1263719 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1263219 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122373
1262577 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1261127 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122556
1260702 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1259961 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1259547 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #119575
1259210 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1259471 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1258627 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1256821 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1256398 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122371
1256394 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1253335 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122556
1252794 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1252238 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1251868 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122371
1251824 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1251385 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #119575
1251042 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1250596 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1250229 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #123055
1249941 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #123083
1249502 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1249332 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1249204 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1248652 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122371
1247588 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1247349 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122371
1246694 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1246186 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1246177 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122371
1244945 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1243545 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1243308 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1242941 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1242801 dotnet/runtime System.Net.NameResolution.Pal.Tests.WorkItemExecution
1242709 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1242569 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1242422 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1242332 dotnet/runtime System.Net.Mail.Functional.Tests.WorkItemExecution #122824
1242257 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1242064 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #121956
1241915 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1241816 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1241708 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1241533 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1241252 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1241084 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1240743 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1240601 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1240503 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1240479 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1240232 dotnet/runtime System.Net.NameResolution.Pal.Tests.WorkItemExecution
1239959 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1239805 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1239671 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1239576 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 36 121

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions