Skip to content

Test failure GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd #74631

Closed

Description

@v-wenyuxu

Run: runtime-coreclr outerloop 20220825.6

Failed test:

coreclr windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open
- GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd

coreclr windows arm64 Checked @ Windows.10.Arm64v8.Open
- GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd

R2R-CG2 windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open
- GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd

R2R-CG2 windows arm64 Checked @ Windows.10.Arm64v8.Open
- GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd

Error message:

Return code:      1
Raw output file:      D:\h\w\AB9B09A4\w\A299098F\uploads\Reports\GC.API\GC\GetTotalPauseDuration\GetTotalPauseDuration.output.txt
Raw output:
BEGIN EXECUTION
GetTotalPauseDuration.dll
1 file(s) copied.
20:25:49.20
Response file: D:\h\w\AB9B09A4\w\A299098F\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll.rsp
D:\h\w\AB9B09A4\w\A299098F\e\GC\API\GC\GetTotalPauseDuration\IL-CG2\GetTotalPauseDuration.dll
-o:D:\h\w\AB9B09A4\w\A299098F\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll
--targetarch:arm64
--verify-type-and-field-layout
--method-layout:random
-r:D:\h\w\AB9B09A4\p\System..dll
-r:D:\h\w\AB9B09A4\p\Microsoft..dll
-r:D:\h\w\AB9B09A4\p\mscorlib.dll
-r:D:\h\w\AB9B09A4\p\netstandard.dll
-O
" "dotnet" "D:\h\w\AB9B09A4\p\crossgen2\crossgen2.dll" @"D:\h\w\AB9B09A4\w\A299098F\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll.rsp"   -r:D:\h\w\AB9B09A4\w\A299098F\e\GC\API\GC\GetTotalPauseDuration\IL-CG2*.dll"
Emitting R2R PE file: D:\h\w\AB9B09A4\w\A299098F\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll
20:25:51.37
"D:\h\w\AB9B09A4\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  GetTotalPauseDuration.dll
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=D:\h\w\AB9B09A4\p
D:\h\w\AB9B09A4\w\A299098F\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.cmd
Expected: True
Actual:   False


Stack trace
   at GC_API._GC_GetTotalPauseDuration_GetTotalPauseDuration_._GC_GetTotalPauseDuration_GetTotalPauseDuration_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Activity

  1. added
    blocking-outerloop
    on Aug 26, 2022
  2. ghost added
    untriaged
    on Aug 26, 2022
  3. removed
    untriaged
    on Aug 26, 2022
  4. added this to the 8.0.0 milestone on Aug 26, 2022
  5. AntonLapounov commented on Aug 26, 2022

    @AntonLapounov
    Contributor

    @cshung Please take a look.

  6. cshung commented on Sep 1, 2022

    @cshung
    Contributor

    I cannot reproduce the bug with a Windows arm64 virtual machine. For now, I added some more instrumentation to the test and see if we can obtain more information for debugging.

  7. added
    JitStress
    on Sep 2, 2022
  8. v-wenyuxu commented on Sep 2, 2022

    @v-wenyuxu
    Author

    Failed again in: runtime-coreclr jitstress 20220831.1

    Failed test:

    coreclr windows arm64 Checked jitstress1 @ Windows.10.Arm64v8.Open
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked jitstress1_tiered @ Windows.10.Arm64v8.Open
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked zapdisable @ Windows.10.Arm64v8.Open
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked tailcallstress @ Windows.10.Arm64v8.Open
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked jitstress2 @ Windows.10.Arm64v8.Open
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked jitstress2_tiered @ Windows.10.Arm64v8.Open
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked jitminopts @ Windows.10.Arm64v8.Open
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    

    Error message:

    Return code:      1
    Raw output file:      D:\h\w\B36D0987\w\AD9A094B\uploads\Reports\GC.API\GC\GetTotalPauseDuration\GetTotalPauseDuration.output.txt
    Raw output:
    BEGIN EXECUTION
    "D:\h\w\B36D0987\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  GetTotalPauseDuration.dll
    Expected: 100
    Actual: 101
    END EXECUTION - FAILED
    FAILED
    Test Harness Exitcode is : 1
    To run the test:
    
    set CORE_ROOT=D:\h\w\B36D0987\p
    D:\h\w\B36D0987\w\AD9A094B\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.cmd
    Expected: True
    Actual:   False
    
    
    Stack trace
       at GC_API._GC_GetTotalPauseDuration_GetTotalPauseDuration_._GC_GetTotalPauseDuration_GetTotalPauseDuration_cmd()
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
    
  9. jeffschwMSFT commented on Sep 6, 2022

    @jeffschwMSFT
    Member

    @cshung can we disable this test for .NET 7? (it has been consistently failing for over a week)

  10. v-wenyuxu commented on Sep 7, 2022

    @v-wenyuxu
    Author

    Failed again in: runtime-coreclr outerloop 20220906.3

    Failed test:

    R2R-CG2 windows arm64 Checked @ Windows.10.Arm64v8.Open
    
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    R2R-CG2 windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open
    
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open
    
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    
    coreclr windows arm64 Checked @ Windows.10.Arm64v8.Open
    
    - GC\\API\\GC\\GetTotalPauseDuration\\GetTotalPauseDuration.cmd
    

    Error message:

    Return code:      1
    Raw output file:      D:\h\w\B50A09A9\w\A0B408EB\uploads\Reports\GC.API\GC\GetTotalPauseDuration\GetTotalPauseDuration.output.txt
    Raw output:
    BEGIN EXECUTION
    GetTotalPauseDuration.dll
    1 file(s) copied.
    14:11:02.91
    Response file: D:\h\w\B50A09A9\w\A0B408EB\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll.rsp
    D:\h\w\B50A09A9\w\A0B408EB\e\GC\API\GC\GetTotalPauseDuration\IL-CG2\GetTotalPauseDuration.dll
    -o:D:\h\w\B50A09A9\w\A0B408EB\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll
    --targetarch:arm64
    --verify-type-and-field-layout
    --method-layout:random
    -r:D:\h\w\B50A09A9\p\System..dll
    -r:D:\h\w\B50A09A9\p\Microsoft..dll
    -r:D:\h\w\B50A09A9\p\mscorlib.dll
    -r:D:\h\w\B50A09A9\p\netstandard.dll
    -O
    " "dotnet" "D:\h\w\B50A09A9\p\crossgen2\crossgen2.dll" @"D:\h\w\B50A09A9\w\A0B408EB\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll.rsp"   -r:D:\h\w\B50A09A9\w\A0B408EB\e\GC\API\GC\GetTotalPauseDuration\IL-CG2*.dll"
    Emitting R2R PE file: D:\h\w\B50A09A9\w\A0B408EB\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.dll
    14:11:04.95
    "D:\h\w\B50A09A9\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  GetTotalPauseDuration.dll
    Expected: 100
    Actual: 101
    END EXECUTION - FAILED
    FAILED
    Test Harness Exitcode is : 1
    To run the test:
    
    set CORE_ROOT=D:\h\w\B50A09A9\p
    D:\h\w\B50A09A9\w\A0B408EB\e\GC\API\GC\GetTotalPauseDuration\GetTotalPauseDuration.cmd
    Expected: True
    Actual:   False
    
    
    Stack trace
       at GC_API._GC_GetTotalPauseDuration_GetTotalPauseDuration_._GC_GetTotalPauseDuration_GetTotalPauseDuration_cmd()
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
    
  11. removed
    blocking-outerloop
    on Sep 8, 2022
  12. mangod9 commented on Sep 8, 2022

    @mangod9
    Member

    Removing blocking-outerloop since the test has been disabled on arm64

  13. added
    disabled-test
    on Sep 8, 2022
  14. AndyAyersMS commented on Sep 11, 2022

    @AndyAyersMS
    Member
  15. mangod9 commented on Sep 12, 2022

    @mangod9
    Member

    hmm. perhaps excluding it via <ExcludeList Include="$(XunitTestBinBase)/GC/API/GC/GetTotalPauseDuration.csproj"> (notice csproj, rather than *. @trylek do you happen to know if individual tests can be disabled this way or only wildcards are supported?

  16. trylek commented on Sep 12, 2022

    @trylek
    Member

    There are two problems involved:

    • The exclusions refer to the generated cmd / sh scripts, not the primary ilproj / csproj files.
    • As the scripts are searched in test outputs, the project name emits another directory level.

    As a result, I would expect that the right exclusion syntax in this particular case is as follows:

    <ExcludeList Include="$(XUnitTestBinBase)/GC/API/GC/GetTotalPauseDuration/GetTotalPauseDuration$(ScriptExt)" />

  17. mangod9 commented on Sep 12, 2022

    @mangod9
    Member

    ah thanks, have updated it in this PR now: #75475

  18. linked a pull request that will close this issueInitialize Volatile value #74959on Sep 19, 2022
  19. ghost locked as resolved and limited conversation to collaborators on Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

JitStressarch-arm64area-ReadyToRundisabled-testos-windows

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions