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
2937414 dotnet-runtime Upload build info file Log
1344156 dotnet/runtime Build product Log #125755
1344155 dotnet/runtime Build product Log #125755
2929919 dotnet-runtime Build product Log #59204
1341289 dotnet/runtime Build Log
1339821 dotnet/runtime Build product Log #125505
1339732 dotnet/runtime Build product Log #125670
1338428 dotnet/runtime Send to Helix Log #125251
1339640 dotnet/runtime Build product Log #123920
2928811 dotnet-runtime Send job to Helix (Unix) Log
1339396 dotnet/runtime Build Tests Log #125603
1339391 dotnet/runtime Build product Log #125604
1339388 dotnet/runtime Build product Log #124544
1339288 dotnet/runtime Build product Log #125505
1339171 dotnet/runtime Build product Log #125607
1338852 dotnet/runtime Build product Log #125512
1337873 dotnet/runtime Build product Log #125505
1337490 dotnet/runtime Build product Log #125610
1337454 dotnet/runtime Build product Log #122093
1336612 dotnet/runtime Send to Helix Log #125595
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
Build Definition Test Pull Request
1357328 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1356819 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1355466 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1353188 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1351548 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1351537 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1351200 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1349307 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1346796 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1346067 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1344840 dotnet/runtime System.Runtime.InteropServices.Tests.WorkItemExecution #125083
1344417 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1344071 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1342414 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1341633 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1339813 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1339128 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #125481
1338859 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1338630 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
1337995 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution
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

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 9 107

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions