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
1234737 dotnet/runtime Build product Log #122012
1234290 dotnet/runtime Build product Log #122449
1233680 dotnet/runtime Build product Log #122600
2861814 dotnet-runtime Build product Log
1232171 dotnet/runtime Build product Log #121412
1232022 dotnet/runtime Build product Log #118264
1231945 dotnet/runtime Build product Log #122533
1231927 dotnet/runtime Build product Log #122449
1231694 dotnet/runtime Build product Log #122533
1231692 dotnet/runtime Build product Log #122533
1231597 dotnet/runtime Build product Log #122283
1231598 dotnet/runtime Build product Log #122283
1231051 dotnet/runtime Build product Log #122533
1230893 dotnet/runtime Build product Log #122449
1230682 dotnet/runtime Build product Log #122525
1230669 dotnet/runtime Build product Log #122449
1230462 dotnet/runtime Build product Log #121679
1230187 dotnet/runtime Build product Log #122505
1230185 dotnet/runtime Build product Log #122505
1227383 dotnet/runtime Build product Log #114983
1228971 dotnet/runtime Send tests to Helix (Unix) Log #122469
1229038 dotnet/runtime Build Log #122471
1228955 dotnet/runtime Build product Log #122449
1228953 dotnet/runtime Build product Log #122449
1228856 dotnet/runtime Build product Log #122112
1228809 dotnet/runtime Build product Log #122467
1228725 dotnet/runtime Build product Log #122423
1224200 dotnet/runtime Build product Log #122308
2856591 dotnet-runtime Run performance job script Log
1223925 dotnet/runtime Build product Log #121412
1222097 dotnet/runtime Send to Helix Log
1220921 dotnet/runtime Build Log #122162
1220920 dotnet/runtime Build product Log #122162
1220420 dotnet/runtime Send to Helix Log #115502
1219957 dotnet/runtime Build product Log #121853
1219771 dotnet/runtime Send to Helix Log #121343
1219379 dotnet/runtime Build product Log #122154
1219106 dotnet/runtime Build product Log #121412
1217597 dotnet/runtime Build product Log #121412
1218111 dotnet/runtime Build product Log #121853
1217971 dotnet/runtime Build product Log #114983
1217940 dotnet/runtime Build product Log #121853
1217346 dotnet/runtime Build product Log #122098
1217255 dotnet/runtime Build product Log #122094
1216618 dotnet/runtime Send to Helix Log #119432
1215067 dotnet/runtime Build product Log #122032
1214285 dotnet/runtime Build product Log #122017
1213668 dotnet/runtime Build product Log #121666
1212985 dotnet/runtime Build Tests Log #121697
1211824 dotnet/runtime Build product Log #121943
1211450 dotnet/runtime Build product Log #119575
1210149 dotnet/runtime Build product Log #121343
1209838 dotnet/runtime Build product Log #107585
1209511 dotnet/runtime Build product Log #121072
1209249 dotnet/runtime Build product Log #121343
1209026 dotnet/runtime Build product Log #121343
1206977 dotnet/runtime Build product Log #121753
1206827 dotnet/runtime Build product Log #121679
Build Definition Test Pull Request
1235041 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1234598 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1233488 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1232841 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1225475 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1221896 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1214558 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1208373 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 31 66

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions