Skip to content

[macOS-arm64] System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FAIL] on CoreCLR #49107

Open

Description

@sdmaclea

See https://dev.azure.com/dnceng/public/_build/results?buildId=1021947

----- start Wed Mar 3 17:35:59 PST 2021 =============== To repro directly: =====================================================
pushd .
/tmp/helix/working/C24F0A5F/p/dotnet exec --runtimeconfig System.Diagnostics.Process.Tests.runtimeconfig.json --depsfile System.Diagnostics.Process.Tests.deps.json xunit.console.dll System.Diagnostics.Process.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=failing 
popd
===========================================================================================================
/private/tmp/helix/working/C24F0A5F/w/A42D099B/e /private/tmp/helix/working/C24F0A5F/w/A42D099B/e
  Discovering: System.Diagnostics.Process.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Diagnostics.Process.Tests (found 247 of 310 test cases)
  Starting:    System.Diagnostics.Process.Tests (parallel test collections = on, max threads = 8)
    System.Diagnostics.Tests.ProcessStartInfoTests.ShellExecute_Nano_Fails_Start [SKIP]
      Condition(s) not met: "IsWindowsNanoServer"
    System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_OnWindows_OpenMissingFile_Throws [SKIP]
      Condition(s) not met: "HasWindowsShell"
Darwin
    System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_OnWindows_DoesNotThrow [SKIP]
      Condition(s) not met: "HasWindowsShell"
    System.Diagnostics.Tests.ProcessTests.TestProcessRecycledPid [SKIP]
      Condition(s) not met: "IsStressModeEnabledAndRemoteExecutorSupported"

Usage: dotnet [options]
Usage: dotnet [path-to-application]

Options:
  -h|--help         Display help.
  --info            Display .NET information.
  --list-sdks       Display the installed SDKs.
  --list-runtimes   Display the installed runtimes.

path-to-application:
  The path to an application .dll file to execute.
    System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FAIL]
      Assert.InRange() Failure
      Range:  (1 - 9223372036854775807)
      Actual: 0
      Stack Trace:
        /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs(742,0): at System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64()
in OSX, programToOpenWith is /usr/bin/open, while ProcessName is dotnet.
in OSX, programToOpenWith is /usr/bin/nano, while ProcessName is dotnet.
  Finished:    System.Diagnostics.Process.Tests
=== TEST EXECUTION SUMMARY ===
   System.Diagnostics.Process.Tests  Total: 307, Errors: 0, Failed: 1, Skipped: 4, Time: 17.581s
/private/tmp/helix/working/C24F0A5F/w/A42D099B/e
----- end Wed Mar 3 17:36:17 PST 2021 ----- exit code 1 ----------------------------------------------------------

/cc @sandreenko Might be an ABI issue ???

Activity

  1. added this to the 6.0.0 milestone on Mar 4, 2021
  2. ghost added
    untriaged
    on Mar 4, 2021
  3. self-assigned this
    on Mar 4, 2021
  4. sdmaclea commented on Mar 9, 2021

    @sdmaclea
    ContributorAuthor

    Seems to be possibly an intermittent failure. It didn't fail in one of my runs, but it did fail again in https://dev.azure.com/dnceng/public/_build/results?buildId=1028375

  5. added
    disabled-test
    on Apr 8, 2021
  6. sandreenko commented on Jun 5, 2021

    @sandreenko
    Contributor

    @sdmaclea I think it is the same intermittent failure that you are fighting with not related to JitStress but happening there oftener because of the longer runs. Feel free to assign it back if it stays after your fix.

  7. ghost added
    in-pr
    on Jun 6, 2021
  8. ghost removed
    in-pr
    on Jun 6, 2021
  9. sandreenko commented on Jun 6, 2021

    @sandreenko
    Contributor

    I left it running for a night yesterday (just the single test) and it shows some errors:

    hundreds of successful runs before
    
       System.Diagnostics.Process.Tests  Total: 1, Errors: 0, Failed: 0, Skipped: 0, Time: 0.404s
      Discovering: System.Diagnostics.Process.Tests (method display = ClassAndMethod, method display options = None)
      Discovered:  System.Diagnostics.Process.Tests (found 1 of 310 test case)
      Starting:    System.Diagnostics.Process.Tests (parallel test collections = on, max threads = 8)
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [STARTING]
    A fatal error occurred. The folder [/Users/seandree/git/runtime/artifacts/bin/testhost/net6.0-OSX-Release-arm64/shared/Microsoft.NETCore.App/6.0.0/host/fxr] does not exist
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FAIL]
          Assert.InRange() Failure
          Range:  (1 - 9223372036854775807)
          Actual: 0
          Stack Trace:
            /Users/seandree/git/runtime/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs(750,0): at System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64()
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FINISHED] Time: 0.1286223s
      Finished:    System.Diagnostics.Process.Tests
    === TEST EXECUTION SUMMARY ===
       System.Diagnostics.Process.Tests  Total: 1, Errors: 0, Failed: 1, Skipped: 0, Time: 0.607s
      Discovering: System.Diagnostics.Process.Tests (method display = ClassAndMethod, method display options = None)
      Discovered:  System.Diagnostics.Process.Tests (found 1 of 310 test case)
      Starting:    System.Diagnostics.Process.Tests (parallel test collections = on, max threads = 8)
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [STARTING]
    A fatal error occurred. The folder [/Users/seandree/git/runtime/artifacts/bin/testhost/net6.0-OSX-Release-arm64/shared/Microsoft.NETCore.App/6.0.0/host/fxr] does not exist
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FAIL]
          Assert.InRange() Failure
          Range:  (1 - 9223372036854775807)
          Actual: 0
          Stack Trace:
            /Users/seandree/git/runtime/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs(750,0): at System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64()
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FINISHED] Time: 0.1283732s
      Finished:    System.Diagnostics.Process.Tests
    === TEST EXECUTION SUMMARY ===
       System.Diagnostics.Process.Tests  Total: 1, Errors: 0, Failed: 1, Skipped: 0, Time: 0.516s
      Discovering: System.Diagnostics.Process.Tests (method display = ClassAndMethod, method display options = None)
      Discovered:  System.Diagnostics.Process.Tests (found 1 of 310 test case)
      Starting:    System.Diagnostics.Process.Tests (parallel test collections = on, max threads = 8)
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [STARTING]
    A fatal error occurred. The folder [/Users/seandree/git/runtime/artifacts/bin/testhost/net6.0-OSX-Release-arm64/shared/Microsoft.NETCore.App/6.0.0/host/fxr] does not exist
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FAIL]
          Assert.InRange() Failure
          Range:  (1 - 9223372036854775807)
          Actual: 0
          Stack Trace:
            /Users/seandree/git/runtime/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs(750,0): at System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64()
        System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FINISHED] Time: 0.1293544s
      Finished:    System.Diagnostics.Process.Tests
    
    hundreds of successful runs after
    
    

    looks like it still exists and my initial testing was not lucky to catch it. I will return the exclusion. It is suspicious that the failures happened one after each other and showed this The folder [/Users/seandree/git/runtime/artifacts/bin/testhost/net6.0-OSX-Release-arm64/shared/Microsoft.NETCore.App/6.0.0/host/fxr] does not exist, could it be an OS issue with a blocked file or something?

  10. removed their assignment
    on Jun 9, 2021
  11. removed
    untriaged
    on Jul 6, 2021
  12. danmoseley commented on Jul 29, 2021

    @danmoseley
    Contributor
  13. modified the milestones: 6.0.0, Future on Jul 29, 2021
  14. modified the milestones: Future, 7.0.0 on Jan 25, 2022
  15. ericstj commented on Jan 25, 2022

    @ericstj
    Member

    Can we take a closer look at this in 7.0? We'd like to remove test exceptions on Apple Silicon.

  16. modified the milestones: 7.0.0, Future on Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-arm64area-System.Diagnostics.Processdisabled-testos-macos-bigsur (macOS11)

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions