Repository navigation
[iOS][MacCatalyst] Invalid SocketOption in MulticastInterface on new macOS versions (14.7, 15.2) #113827
MulticastInterface on new macOS versions (14.7, 15.2)#113827Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=983276
Build error leg or test failing: System.Net.Sockets.Tests
Discovered in #113313 when trying to update dotnet/runtime apple mobile CI to newer macOS helix devices running with macOS 14/15.
Error:
[FAIL] System.Net.Sockets.Tests.SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds Test name: System.Net.Sockets.Tests.SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds
[09:32:16] dbug: 2025-03-17 09:32:16.239240-0400 System.Net.Sockets.Tests[41262:763854] Assembly: [System.Net.Sockets.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[09:32:16] dbug: 2025-03-17 09:32:16.239350-0400 System.Net.Sockets.Tests[41262:763854] Exception messages: System.Net.Sockets.SocketException : Invalid argument Exception stack traces: at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
[09:32:16] dbug: at System.Net.Sockets.Socket.UpdateStatusAfterSocketOptionErrorAndThrowException(SocketError error, String callerName)
[09:32:16] dbug: 2025-03-17 09:32:16.239449-0400 System.Net.Sockets.Tests[41262:763854] at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent)
[09:32:16] dbug: at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue)
[09:32:16] dbug: 2025-03-17 09:32:16.239544-0400 System.Net.Sockets.Tests[41262:763854] at System.Net.Sockets.Tests.SocketOptionNameTest.MulticastInterface_Set_Helper(Int32 interfaceIndex)
[09:32:16] dbug: at System.Net.Sockets.Tests.SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds()
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": [
"macOS",
"System.Net.Sockets.SocketException : Invalid argument",
"at System.Net.Sockets.Tests.SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds"
],
"BuildRetry": false,
"ExcludeConsoleLog": false
}Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=983276
Error message validated: [System.Net.Sockets.SocketException : Invalid argument Exception stack traces: at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 3/24/2025 9:33:00 AM UTC
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=983276
Error message validated: [macOS System.Net.Sockets.SocketException : Invalid argument System.Net.Sockets.Tests.SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 3/24/2025 9:59:49 AM UTC
Report
| Build | Definition | Test | Pull Request |
|---|---|---|---|
| 1119722 | dotnet/runtime | System.Net.Sockets.Tests.SocketOptionNameTest.MulticastInterface_Set_AnyInterface_Succeeds | #113399 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 1 |
Activity
dotnet-policy-service commentedon Mar 24, 2025
Tagging subscribers to 'os-maccatalyst': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Mar 24, 2025
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Mar 24, 2025
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Mar 24, 2025
Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
wfurt commentedon Mar 24, 2025
may be related to #53767
matouskozak commentedon Mar 24, 2025
On the current CI, with macOS 12.7.2 and XCode 13.1, the tests are not failing. Maybe @simonrozsival might know where the problem is coming from?
karelz commentedon Sep 9, 2025
Fixed by #119354