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
1308580 dotnet/runtime Build product Log #124836
1307919 dotnet/runtime Build product Log #124804
1307121 dotnet/runtime Build product Log #124663
1306660 dotnet/runtime Build product Log #124664
1305957 dotnet/runtime Build product Log #124326
1304911 dotnet/runtime Build product Log #117261
1304367 dotnet/runtime Build product Log #124374
1303113 dotnet/runtime Send tests to Helix (Unix) Log #124667
1303144 dotnet/runtime Build product Log #123920
1302601 dotnet/runtime Build product Log #124646
1302597 dotnet/runtime Build product Log #124646
1301374 dotnet/runtime Build product Log #124374
1301130 dotnet/runtime Build product Log #124003
1299330 dotnet/runtime Build product Log #124561
1298611 dotnet/runtime Send to Helix Log #124165
1298071 dotnet/runtime Build product Log #124352
1296465 dotnet/runtime Build product Log #124374
1294675 dotnet/runtime Build product Log #124407
1294677 dotnet/runtime Build product Log #124407
1294467 dotnet/runtime Build product Log #124407
1294403 dotnet/runtime Build product Log #124352
1294313 dotnet/runtime Build product Log #124407
1293283 dotnet/runtime Build product Log #123145
1293284 dotnet/runtime Build Log #123145
1293186 dotnet/runtime Build product Log #122093
1292248 dotnet/runtime Build product Log #122526
1292091 dotnet/runtime Build product Log #124303
1291645 dotnet/runtime Build product Log #123145
1290817 dotnet/runtime Build product Log #119109
1289349 dotnet/runtime Build product Log #124258
1289191 dotnet/runtime Build product Log #123145
1289126 dotnet/runtime Build product Log #124258
1288977 dotnet/runtime Build product Log #119432
1287365 dotnet/runtime Build product Log #124107
1287065 dotnet/runtime Build product Log #123614
1286241 dotnet/runtime Build product Log #124173
1285664 dotnet/runtime Build product Log #123145
1285486 dotnet/runtime Build product Log #124003
1284706 dotnet/runtime Build product Log #124077
1283872 dotnet/runtime Build Tests Log #123469
1283800 dotnet/runtime Build product Log #124106
1283229 dotnet/runtime Build product Log #124077
1283134 dotnet/runtime Build product Log #123292
1282624 dotnet/runtime Build product Log #124081
1282295 dotnet/runtime Build product Log #122056
1282104 dotnet/runtime Build product Log #123611
1281922 dotnet/runtime Build product Log #124019
1281890 dotnet/runtime Build product Log #121906
1279744 dotnet/runtime Build product Log #124003
1279260 dotnet/runtime Build product Log #121906
1278201 dotnet/runtime Build Tests Log #123377
2894058 dotnet-runtime Build SuperPMI Log
1277226 dotnet/runtime Build product Log #123920
1277263 dotnet/runtime Build product Log #123926
1275085 dotnet/runtime Build product Log #122449
1275040 dotnet/runtime Build product Log #123727
1274884 dotnet/runtime Build product Log #123838
1274479 dotnet/runtime Build product Log #123826
1273873 dotnet/runtime Build product Log #123727
1273035 dotnet/runtime Build product Log #123780
1271352 dotnet/runtime Build product Log #123738
1271354 dotnet/runtime Build product Log #123738
1270685 dotnet/runtime Build product Log #123460
1270602 dotnet/runtime Build product Log #123716
1269967 dotnet/runtime Build product Log #122533
1269562 dotnet/runtime Build product Log #123588
1269227 dotnet/runtime Build product Log #122533
1269230 dotnet/runtime Build product Log #122449
1269064 dotnet/runtime Build product Log #123669
1268886 dotnet/runtime Send to Helix Log #123584
1268379 dotnet/runtime Send to Helix Log #122556
1268236 dotnet/runtime Send to Helix Log #123022
1268160 dotnet/runtime Send tests to Helix (Unix) Log #122386
1268051 dotnet/runtime Send tests to Helix (Unix) Log #123640
1267956 dotnet/runtime Send tests to Helix (Unix) Log
1267897 dotnet/runtime Send to Helix Log #123629
1267148 dotnet/runtime Send to Helix Log
1267177 dotnet/runtime Send to Helix Log #121007
Build Definition Test Pull Request
1304943 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1304312 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1301202 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1299943 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #124582
1298482 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #124220
1298564 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #124265
1298194 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1297926 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #111514
1297008 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1296880 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1296448 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1295158 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1292862 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1292161 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #124271
1291214 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1291195 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1291006 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1289925 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1288471 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1287831 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1287531 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1286065 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1284924 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1284564 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1284330 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1283968 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1283474 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1282804 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #124000
1281396 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #124000
1281149 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1280696 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1280629 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1280344 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1280330 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1279683 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1278595 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1278248 dotnet/runtime System.Net.Sockets.Tests.SendTo_Eap.Datagram_UDP_ShouldImplicitlyBindLocalEndpoint #122556
1276232 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1276267 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1275948 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1272660 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1272086 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1271766 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1271202 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1271108 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1270642 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122373

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 22 124

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions