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

Test failed: GC\LargeMemory\API\gc\gettotalmemory\gettotalmemory.cmd #68376

Closed
ViktorHofer opened this issue Apr 22, 2022 · 3 comments
Closed
Milestone

Comments

@ViktorHofer
Copy link
Member

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1731421&view=ms.vss-test-web.build-test-results-tab&runId=46913906&resultId=101789&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

Configuration: mono windows x64 Release @ Windows.10.Amd64.Open

  Discovered:  GC.LargeMemory.XUnitWrapper (found 3 test cases)
  Starting:    GC.LargeMemory.XUnitWrapper (parallel test collections = on, max threads = 4)
    GC\LargeMemory\API\gc\gettotalmemory\gettotalmemory.cmd [FAIL]
      
      Return code:      1
      Raw output file:      C:\h\w\9C5E08CA\w\B63209B2\uploads\Reports\GC.LargeMemory\API\gc\gettotalmemory\gettotalmemory.output.txt
      Raw output:
      BEGIN EXECUTION
       "C:\h\w\9C5E08CA\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  gettotalmemory.dll 2048 
      Large Memory Machine required
      Test failed
      Expected: 100
      Actual: 0
      END EXECUTION - FAILED
      FAILED
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=C:\h\w\9C5E08CA\p
      > C:\h\w\9C5E08CA\w\B63209B2\e\GC\LargeMemory\API\gc\gettotalmemory\gettotalmemory.cmd
      Expected: True
      Actual:   False
      Stack Trace:
           at GC_LargeMemory._API_gc_gettotalmemory_gettotalmemory_._API_gc_gettotalmemory_gettotalmemory_cmd()
      Output:
        
        Return code:      1
        Raw output file:      C:\h\w\9C5E08CA\w\B63209B2\uploads\Reports\GC.LargeMemory\API\gc\gettotalmemory\gettotalmemory.output.txt
        Raw output:
        BEGIN EXECUTION
         "C:\h\w\9C5E08CA\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  gettotalmemory.dll 2048 
        Large Memory Machine required
        Test failed
        Expected: 100
        Actual: 0
        END EXECUTION - FAILED
        FAILED
        Test Harness Exitcode is : 1
        To run the test:
        > set CORE_ROOT=C:\h\w\9C5E08CA\p
        > C:\h\w\9C5E08CA\w\B63209B2\e\GC\LargeMemory\API\gc\gettotalmemory\gettotalmemory.cmd
@dotnet-issue-labeler dotnet-issue-labeler bot added area-GC-coreclr untriaged New issue has not been triaged by the area owner labels Apr 22, 2022
@ghost
Copy link

ghost commented Apr 22, 2022

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

Issue Details

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1731421&view=ms.vss-test-web.build-test-results-tab&runId=46913906&resultId=101789&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

Configuration: mono windows x64 Release @ Windows.10.Amd64.Open

  Discovered:  GC.LargeMemory.XUnitWrapper (found 3 test cases)
  Starting:    GC.LargeMemory.XUnitWrapper (parallel test collections = on, max threads = 4)
    GC\LargeMemory\API\gc\gettotalmemory\gettotalmemory.cmd [FAIL]
      
      Return code:      1
      Raw output file:      C:\h\w\9C5E08CA\w\B63209B2\uploads\Reports\GC.LargeMemory\API\gc\gettotalmemory\gettotalmemory.output.txt
      Raw output:
      BEGIN EXECUTION
       "C:\h\w\9C5E08CA\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  gettotalmemory.dll 2048 
      Large Memory Machine required
      Test failed
      Expected: 100
      Actual: 0
      END EXECUTION - FAILED
      FAILED
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=C:\h\w\9C5E08CA\p
      > C:\h\w\9C5E08CA\w\B63209B2\e\GC\LargeMemory\API\gc\gettotalmemory\gettotalmemory.cmd
      Expected: True
      Actual:   False
      Stack Trace:
           at GC_LargeMemory._API_gc_gettotalmemory_gettotalmemory_._API_gc_gettotalmemory_gettotalmemory_cmd()
      Output:
        
        Return code:      1
        Raw output file:      C:\h\w\9C5E08CA\w\B63209B2\uploads\Reports\GC.LargeMemory\API\gc\gettotalmemory\gettotalmemory.output.txt
        Raw output:
        BEGIN EXECUTION
         "C:\h\w\9C5E08CA\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  gettotalmemory.dll 2048 
        Large Memory Machine required
        Test failed
        Expected: 100
        Actual: 0
        END EXECUTION - FAILED
        FAILED
        Test Harness Exitcode is : 1
        To run the test:
        > set CORE_ROOT=C:\h\w\9C5E08CA\p
        > C:\h\w\9C5E08CA\w\B63209B2\e\GC\LargeMemory\API\gc\gettotalmemory\gettotalmemory.cmd
Author: ViktorHofer
Assignees: -
Labels:

area-GC-coreclr, untriaged

Milestone: -

@mangod9
Copy link
Member

mangod9 commented Jul 7, 2022

This just appears to be a case of running on a machine with less memory available. @cshung, assume the test can be modified to not fail in such conditions?

@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Jul 7, 2022
@mangod9 mangod9 added this to the 7.0.0 milestone Jul 7, 2022
@AntonLapounov
Copy link
Member

Dup of #69113.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants