Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Net.Ping.Functional.Tests Fails on iOS, tvOS #51395

Closed
mdh1418 opened this issue Apr 16, 2021 · 2 comments · Fixed by #52240
Closed

System.Net.Ping.Functional.Tests Fails on iOS, tvOS #51395

mdh1418 opened this issue Apr 16, 2021 · 2 comments · Fixed by #52240
Labels
Milestone

Comments

@mdh1418
Copy link
Member

mdh1418 commented Apr 16, 2021

System.Net.Ping.Functional.Tests
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHost
System.Net.NetworkInformation.Tests.PingTest.Sends_ReuseInstance_Hostname
System.Net.NetworkInformation.Tests.PingTest.SendPings_ReuseInstance_Hostname
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHost
System.Net.NetworkInformation.Tests.PingTest.SendAsyncs_ReuseInstance_Hostname
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeout
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.PingAsync_DisposeAfterSend_Success
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress_AddressAsString
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTtlAndFragmentPingOptions
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeout
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBufferAndPingOptions_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeout
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeout
System.Net.NetworkInformation.Tests.PingTest.Ping_DisposeAfterSend_Success
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBufferAndPingOptions_Unix

System.Net.Ping.Functional.Tests.dll   Failed: 35

Test collection for System.Net.NetworkInformation.Tests.UnixPingUtilityTests
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 1500)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 1000)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 0)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 100)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 0)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 50)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 1000)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 1)
    System.PlatformNotSupportedException : Operation is not supported on this platform.

Test collection for System.Net.NetworkInformation.Tests.PingTest
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHost
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.Sends_ReuseInstance_Hostname
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPings_ReuseInstance_Hostname
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetwork)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.Net.Sockets.SocketException : Operation not supported
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHost
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendAsyncs_ReuseInstance_Hostname
    System.NullReferenceException : Object reference not set to an instance of an object
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetwork)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.Net.Sockets.SocketException : Operation not supported
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.PingAsync_DisposeAfterSend_Success
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress_AddressAsString
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTtlAndFragmentPingOptions(fragment: False)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTtlAndFragmentPingOptions(fragment: True)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBufferAndPingOptions_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.Ping_DisposeAfterSend_Success
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBufferAndPingOptions_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
@mdh1418 mdh1418 added os-ios Apple iOS os-tvos Apple tvOS labels Apr 16, 2021
@mdh1418 mdh1418 added this to the 6.0.0 milestone Apr 16, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Net untriaged New issue has not been triaged by the area owner labels Apr 16, 2021
@ghost
Copy link

ghost commented Apr 16, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

System.Net.Ping.Functional.Tests
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHost
System.Net.NetworkInformation.Tests.PingTest.Sends_ReuseInstance_Hostname
System.Net.NetworkInformation.Tests.PingTest.SendPings_ReuseInstance_Hostname
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHost
System.Net.NetworkInformation.Tests.PingTest.SendAsyncs_ReuseInstance_Hostname
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeout
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.PingAsync_DisposeAfterSend_Success
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress_AddressAsString
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTtlAndFragmentPingOptions
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeout
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBufferAndPingOptions_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBuffer_Unix
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeout
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeout
System.Net.NetworkInformation.Tests.PingTest.Ping_DisposeAfterSend_Success
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBufferAndPingOptions_Unix

System.Net.Ping.Functional.Tests.dll   Failed: 35

Test collection for System.Net.NetworkInformation.Tests.UnixPingUtilityTests
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 1500)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 1000)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 0)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.TimeoutIsRespected(timeout: 100)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 0)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 50)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 1000)
    System.PlatformNotSupportedException : Operation is not supported on this platform.
System.Net.NetworkInformation.Tests.UnixPingUtilityTests.PacketSizeIsRespected(payloadSize: 1)
    System.PlatformNotSupportedException : Operation is not supported on this platform.

Test collection for System.Net.NetworkInformation.Tests.PingTest
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHost
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.Sends_ReuseInstance_Hostname
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPings_ReuseInstance_Hostname
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetwork)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.Net.Sockets.SocketException : Operation not supported
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHost
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendAsyncs_ReuseInstance_Hostname
    System.NullReferenceException : Object reference not set to an instance of an object
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetwork)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.Net.Sockets.SocketException : Operation not supported
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.PingAsync_DisposeAfterSend_Success
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress_AddressAsString
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTtlAndFragmentPingOptions(fragment: False)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTtlAndFragmentPingOptions(fragment: True)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeoutAndBufferAndPingOptions_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBuffer_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString(addressFamily: InterNetworkV6)
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingWithHostAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeout
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.Ping_DisposeAfterSend_Success
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.
System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithHostAndTimeoutAndBufferAndPingOptions_Unix
    System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.\n---- System.PlatformNotSupportedException : This platform does not support packet information for dual-mode sockets.  If packet information is not required, use Socket.Receive.  If packet information is required set Socket.DualMode to false.


<table>
  <tr>
    <th align="left">Author:</th>
    <td>mdh1418</td>
  </tr>
  <tr>
    <th align="left">Assignees:</th>
    <td>-</td>
  </tr>
  <tr>
    <th align="left">Labels:</th>
    <td>

`area-System.Net`, `os-ios`, `os-tvos`, `untriaged`

</td>
  </tr>
  <tr>
    <th align="left">Milestone:</th>
    <td>6.0.0</td>
  </tr>
</table>
</details>

@karelz karelz removed the untriaged New issue has not been triaged by the area owner label Apr 20, 2021
@wfurt
Copy link
Member

wfurt commented Apr 20, 2021

seems like (more specific) dup of #36941

@mdh1418 mdh1418 changed the title System.Net.Ping.Functional.Tests Fails on iOS crashes on tvOS System.Net.Ping.Functional.Tests Fails on iOS, tvOS Apr 29, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label May 4, 2021
akoeplinger pushed a commit that referenced this issue May 7, 2021
…52240)

Revival of #42006 with some feedback incorporated.

This improves Ping behavior on macOS/iOS family. For unprivileged users, it allows to send/receive buffer with custom content and removes craft around spawning new process. (uses [this example](https://developer.apple.com/library/archive/samplecode/SimplePing/Introduction/Intro.html)).

It adds new macOS/iOS/tvOS targets for the assembly that exclude the process creation code.

Fixes #36941
Fixes #51395

Co-authored-by: Tomas Weinfurt <[email protected]>
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label May 7, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants