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
1335407 dotnet/runtime Build product Log #125554
1335388 dotnet/runtime Send to Helix Log
1334986 dotnet/runtime Build product Log #125542
1334932 dotnet/runtime Build product Log #125505
1334816 dotnet/runtime Build product Log #124801
1334568 dotnet/runtime Build product Log #124352
1333584 dotnet/runtime Build product Log #125422
2925315 dotnet-runtime Generate test wrappers Log
1331716 dotnet/runtime Build product Log #125470
2924652 dotnet-runtime Restore and Build Product Log #58444
1331289 dotnet/runtime Build product Log #125075
1331520 dotnet/runtime Build product Log #125470
1331477 dotnet/runtime Build product Log #124611
1331362 dotnet/runtime Build product Log #125406
1331320 dotnet/runtime Build product Log #124544
1328825 dotnet/runtime Build product Log #125397
1328822 dotnet/runtime Build product Log #125352
1327792 dotnet/runtime Build product Log #125365
1327790 dotnet/runtime Build product Log #125365
1327196 dotnet/runtime Build product Log #125019
1327161 dotnet/runtime Build product Log #125352
1327159 dotnet/runtime Build product Log #125352
1327030 dotnet/runtime Build product Log #125196
1326698 dotnet/runtime Build product Log #115996
1326264 dotnet/runtime Build product Log #115996
2921780 dotnet-runtime Build product Log #58741
1325328 dotnet/runtime Build product Log #125298
1324464 dotnet/runtime Build product Log #125019
2920182 dotnet-runtime Restore and Build Product Log #58444
1322160 dotnet/runtime Send tests to Helix (Unix) Log #125226
1321541 dotnet/runtime Build product Log #124990
1321228 dotnet/runtime Build product Log #124405
1321061 dotnet/runtime Build coreclr/libs components needed by test build Log #125196
1320659 dotnet/runtime Build product Log #124561
1320253 dotnet/runtime Build product Log #124544
1319119 dotnet/runtime Send tests to Helix (Unix) Log #124756
1318840 dotnet/runtime Build product Log #125075
1317304 dotnet/runtime Send to Helix Log #125097
1316872 dotnet/runtime Send to Helix (Unix) Log #124854
1316833 dotnet/runtime Build product Log #125075
1315417 dotnet/runtime Build product Log #124125
2916155 dotnet-runtime Restore and Build Product Log #58444
2916110 dotnet-runtime Build product Log #57892
1315660 dotnet/runtime Build product Log #125019
1315349 dotnet/runtime Build product Log #125019
1315005 dotnet/runtime Send to Helix Log
1314837 dotnet/runtime Build product Log #124940
1314296 dotnet/runtime Build product Log #124842
1313871 dotnet/runtime Build product Log #117584
1313455 dotnet/runtime Build product Log #124959
1313500 dotnet/runtime Build product Log #124979
1313107 dotnet/runtime Build product Log #124939
1312635 dotnet/runtime Build product Log #124927
1312419 dotnet/runtime Build product Log #124926
1312305 dotnet/runtime Build product Log #124203
1311693 dotnet/runtime Build product Log #124921
1311691 dotnet/runtime Build product Log #124921
1310563 dotnet/runtime Send tests to Helix (Unix) Log
1310325 dotnet/runtime Build product Log #124875
1310144 dotnet/runtime Build product Log #124870
1310007 dotnet/runtime Send to Helix Log #124822
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
Build Definition Test Pull Request
1335226 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1333905 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #125478
1333513 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1332663 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1332305 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1331251 dotnet/runtime System.Runtime.Tests.WorkItemExecution #125350
1331642 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1331090 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1329452 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #125354
1329675 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1327708 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #125354
1327554 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1325841 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1325417 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1324517 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1321402 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1319267 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1319233 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1318408 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1315468 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #124801
1314142 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1311815 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1311672 dotnet/runtime System.Runtime.InteropServices.Tests.WorkItemExecution #124920
1310547 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
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

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 41 114

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions