Skip to content

Test failure GC/API/GC/TotalMemory2/TotalMemory2.sh #63860

Closed

Description

@VincentBu

Run: runtime-coreclr gcstress-extra 20220115.1

Failed test:

CoreCLR Linux arm Checked gcstress0xc_tailcallstress @ (Ubuntu.1804.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
- GC/API/GC/TotalMemory2/TotalMemory2.sh

CoreCLR windows x86 Checked gcstress0xc_zapdisable_heapverify1 @ Windows.10.Amd64.Open
- GC\\API\\GC\\TotalMemory2\\TotalMemory2.cmd
- GC\\API\\GC\\TotalMemory\\TotalMemory.cmd

CoreCLR windows x86 Checked gcstress0xc_jitstress2 @ Windows.10.Amd64.Open
- GC\\API\\GC\\TotalMemory\\TotalMemory.cmd

CoreCLR windows x86 Checked gcstress0xc_zapdisable @ Windows.10.Amd64.Open
- GC\\API\\GC\\TotalMemory2\\TotalMemory2.cmd
- GC\\API\\GC\\TotalMemory\\TotalMemory.cmd

Error message:

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/Reports/GC.API/GC/TotalMemory2/TotalMemory2.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false TotalMemory2.dll ''
Total Memory: 1452764

Collections 1930
Total Memory: 989660

Collections 1941
Test for GC.TotalMemory failed!
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=/root/helix/work/correlation
/root/helix/work/workitem/e/GC/API/GC/TotalMemory2/TotalMemory2.sh
Expected: True
Actual:   False


Stack trace
   at GC_API._GC_TotalMemory2_TotalMemory2_._GC_TotalMemory2_TotalMemory2_sh()

Activity

  1. ghost added
    untriaged
    on Jan 17, 2022
  2. VincentBu commented on Jan 25, 2022

    @VincentBu
    ContributorAuthor

    Failed again in: runtime-coreclr gcstress-extra 20220123.1

    Failed test:

    CoreCLR Linux arm Checked gcstress0xc_zapdisable_jitstress2 @ (Ubuntu.1804.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
    
    - GC/API/GC/TotalMemory/TotalMemory.sh
    
    CoreCLR windows arm64 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Arm64v8.Open
    
    - GC\\API\\GC\\TotalMemory2\\TotalMemory2.cmd
    
    CoreCLR Linux arm Checked gcstress0xc_jitstress1 @ (Ubuntu.1804.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440
    
    - GC/API/GC/TotalMemory2/TotalMemory2.sh
    
    CoreCLR Linux arm64 Checked gcstress0xc_zapdisable_jitstress2 @ (Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652
    
    - GC/API/GC/TotalMemory/TotalMemory.sh
    
    CoreCLR OSX arm64 Checked gcstress0xc_jitstress2 @ OSX.1100.ARM64.Open
    
    - GC/API/GC/TotalMemory2/TotalMemory2.sh
    
    CoreCLR windows x64 Checked gcstress0xc_zapdisable_heapverify1 @ Windows.10.Amd64.Open
    
    - GC\\API\\GC\\TotalMemory\\TotalMemory.cmd
    - GC\\API\\GC\\TotalMemory2\\TotalMemory2.cmd
    
    CoreCLR windows x86 Checked gcstress0xc_zapdisable_heapverify1 @ Windows.10.Amd64.Open
    
    - GC\\API\\GC\\TotalMemory\\TotalMemory.cmd
    - GC\\API\\GC\\TotalMemory2\\TotalMemory2.cmd
    
    CoreCLR OSX arm64 Checked gcstress0xc_tailcallstress @ OSX.1100.ARM64.Open
    
    - GC/API/GC/TotalMemory/TotalMemory.sh
    - GC/API/GC/TotalMemory2/TotalMemory2.sh
    
    CoreCLR windows x64 Checked gcstress0xc_zapdisable_jitstress2 @ Windows.10.Amd64.Open
    
    - GC\\API\\GC\\TotalMemory\\TotalMemory.cmd
    
    CoreCLR windows x86 Checked gcstress0xc_zapdisable @ Windows.10.Amd64.Open
    
    - GC\\API\\GC\\TotalMemory2\\TotalMemory2.cmd
    - GC\\API\\GC\\TotalMemory\\TotalMemory.cmd
    
    CoreCLR OSX arm64 Checked gcstress0xc_jitminopts_heapverify1 @ OSX.1100.ARM64.Open
    
    - GC/API/GC/TotalMemory2/TotalMemory2.sh
    
    

    Error message:

    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/Reports/GC.API/GC/TotalMemory/TotalMemory.output.txt
    Raw output:
    BEGIN EXECUTION
    /root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false TotalMemory.dll ''
    Total Memory: 1266480
    Total Memory: 963532
    Test for GC.TotalMemory failed!
    Expected: 100
    Actual: 1
    END EXECUTION - FAILED
    Test Harness Exitcode is : 1
    To run the test:
    
    set CORE_ROOT=/root/helix/work/correlation
    /root/helix/work/workitem/e/GC/API/GC/TotalMemory/TotalMemory.sh
    Expected: True
    Actual:   False
    
    
    Stack trace
       at GC_API._GC_TotalMemory_TotalMemory_._GC_TotalMemory_TotalMemory_sh()
    
  3. am11 commented on Jan 30, 2022

    @am11
    Member

    This test is failing on multiple platforms / architectures.
    win-x86
    win-x64
    linux-arm32

    Related: #41927 (win-arm64)

    cc @jkotas, @mangod9

  4. BruceForstall commented on Feb 2, 2022

    @BruceForstall
    Contributor

    @mangod9 Anyone working on this? It's making the gcstress pipelines a mess.

  5. BruceForstall commented on Feb 2, 2022

    @BruceForstall
    Contributor

    @dotnet/gc PTAL

  6. mangod9 commented on Feb 2, 2022

    @mangod9
    Member

    we havent looked yet, trying to get regions enabled which might affect this as well. Is there a way to disable this for gcstress runs while we investigate?

  7. BruceForstall commented on Feb 2, 2022

    @BruceForstall
    Contributor

    Is there a way to disable this for gcstress runs while we investigate?

    Yes, e.g.

    <!-- This test is very slow under some GCStress variations, especially with COMPlus_HeapVerify=1, so disable it under GCStress to avoid test timeouts in the CI.
    Issue: https://github.com/dotnet/runtime/issues/39584
    -->
    <GCStressIncompatible>true</GCStressIncompatible>

  8. VincentBu commented on Feb 7, 2022

    @VincentBu
    ContributorAuthor

    Failed again in: runtime-coreclr gcstress0x3-gcstress0xc 20220206.1

    Failed test:

    CoreCLR Linux x64 Checked gcstress0x3 @ Ubuntu.1804.Amd64.Open
    
    - GC/API/GC/TotalMemory2/TotalMemory2.sh
    
    CoreCLR Linux arm64 Checked gcstress0x3 @ (Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652
    
    - GC/API/GC/TotalMemory/TotalMemory.sh
    - GC/API/GC/TotalMemory2/TotalMemory2.sh
    
    CoreCLR OSX arm64 Checked gcstress0xc @ OSX.1200.ARM64.Open
    
    - GC/API/GC/TotalMemory2/TotalMemory2.sh
    
    

    Error message:

    Return code:      1
    Raw output file:      /datadisks/disk1/work/AFEF0960/w/A56B0924/uploads/Reports/GC.API/GC/TotalMemory2/TotalMemory2.output.txt
    Raw output:
    BEGIN EXECUTION
    /datadisks/disk1/work/AFEF0960/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false TotalMemory2.dll ''
    Total Memory: 1347880
    
    Collections 4570
    Total Memory: 1186248
    
    Collections 4595
    Test for GC.TotalMemory failed!
    Expected: 100
    Actual: 1
    END EXECUTION - FAILED
    Test Harness Exitcode is : 1
    To run the test:
    
    set CORE_ROOT=/datadisks/disk1/work/AFEF0960/p
    /datadisks/disk1/work/AFEF0960/w/A56B0924/e/GC/API/GC/TotalMemory2/TotalMemory2.sh
    Expected: True
    Actual:   False
    
    
    Stack trace
       at GC_API._GC_TotalMemory2_TotalMemory2_._GC_TotalMemory2_TotalMemory2_sh()
    
  9. BruceForstall commented on Feb 8, 2022

    @BruceForstall
    Contributor

    @mangod9 If someone can't investigate, can your team at least disable this test?

  10. mangod9 commented on Feb 9, 2022

    @mangod9
    Member

    yeah will disable in the next day or so. Sorry for the delay.

  11. AaronRobinsonMSFT commented on Mar 4, 2022

    @AaronRobinsonMSFT
    Member

    I didn't debug this or look at logs but can confirm it repros immediately. The only two options that are needed are:

    DOTNET_GCStress=C
    DOTNET_ReadyToRun=0
    

    Take away either one and the test will pass. The DOTNET_ZapDisable=1 and DOTNET_TieredCompilation=0 don't seem to matter.

  12. Maoni0 commented on Mar 4, 2022

    @Maoni0
    Member

    that's interesting, if I set those 2 env vars, it simply runs for a very long time because we are triggering GCs left and right (by design). and if I run it in release, I can't get it to fail. I'm running on x64.

  13. AaronRobinsonMSFT commented on Mar 5, 2022

    @AaronRobinsonMSFT
    Member

    @Maoni0 Apologies, more details are needed here. My repro was for x86 Checked on Windows 11.

  14. Maoni0 commented on Mar 7, 2022

    @Maoni0
    Member

    @AaronRobinsonMSFT NP. I still cannot repro it with x86. however I am on windows 10.

    at this point, unless there's a repro that I can go run myself, it's simply not worth it to spend more time on this test with these configs. so it's fine to just disable the test.

  15. mangod9 commented on Jul 6, 2022

    @mangod9
    Member

    closing since the test is disabled for gcstress.

  16. ghost removed
    untriaged
    on Jul 6, 2022
  17. ghost locked as resolved and limited conversation to collaborators on Aug 5, 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions