Skip to content

[Test Failure] System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync on OSX #113831

Open
@rzikm

Description

@rzikm

E.g. https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-fbc4041a426d40989e/System.Net.Ping.Functional.Tests/3/console.5322410f.log?helixlogtype=result

========================== End custom configuration settings ===============================
----- start Tue Mar 18 07:52:26 EDT 2025 =============== To repro directly: =====================================================
pushd .
/tmp/helix/working/AFB00977/p/dotnet exec --runtimeconfig System.Net.Ping.Functional.Tests.runtimeconfig.json --depsfile System.Net.Ping.Functional.Tests.deps.json xunit.console.dll System.Net.Ping.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing 
popd
===========================================================================================================
/private/tmp/helix/working/AFB00977/w/92400824/e /private/tmp/helix/working/AFB00977/w/92400824/e
  Discovering: System.Net.Ping.Functional.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Ping.Functional.Tests (found 6 of 52 test cases)
  Starting:    System.Net.Ping.Functional.Tests (parallel test collections = on [4 threads], stop on fail = off)
    System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync(useIPAddress: True, useCancellationToken: False) [FAIL]
      Assert.ThrowsAny() Failure: No exception was thrown
      Expected: typeof(System.OperationCanceledException)
      Stack Trace:
        /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs(711,0): at System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync(Boolean useIPAddress, Boolean useCancellationToken)
        --- End of stack trace from previous location ---
    System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_ElevatedUnix [SKIP]
      Condition(s) not met: "IsRemoteExecutorSupportedAndPrivilegedProcess"
  Finished:    System.Net.Ping.Functional.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Ping.Functional.Tests  Total: 9, Errors: 0, Failed: 1, Skipped: 1, Time: 15.494s

Build Information

Build: Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=984325
Build error leg or test failing: System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync
Pull request:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync(useIPAddress: True, useCancellationToken: False) [FAIL]",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
1040400 dotnet/runtime System.Net.NetworkInformation.Tests.PingTest.Ping_TimedOut_Sync_Success
1039435 dotnet/runtime System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync
1028245 dotnet/runtime System.Net.NetworkInformation.Tests.PingTest.Ping_TimedOut_Sync_Success
1026486 dotnet/runtime System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync
1022744 dotnet/runtime System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync
1022741 dotnet/runtime System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync
1021773 dotnet/runtime System.Net.NetworkInformation.Tests.PingTest.CancelSendPingAsync

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 7

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Netblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'disabled-testThe test is disabled in source code against the issueos-mac-os-xmacOS aka OSX

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions