Skip to content

Test failure: JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd #106675

Closed

Description

@v-wenyuxu

Failed in: runtime-coreclr outerloop 20240819.3

Failed tests:

R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.317.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.17-helix-amd64
    - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd

Error message:

 /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 327: -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll: No such file or directory
/root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 266:  7570 Killed                  $__Command

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
19:53:10
Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
-o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
-r:/root/helix/work/correlation/System.*.dll
-r:/root/helix/work/correlation/Microsoft.*.dll
-r:/root/helix/work/correlation/xunit.*.dll
-r:/root/helix/work/correlation/mscorlib.dll
--verify-type-and-field-layout
--method-layout:random
--targetarch:x64
--targetos:linux
Running CrossGen2:  dotnet /root/helix/work/correlation/crossgen2/crossgen2.dll @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp  
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
Error: System.BadImageFormatException: The file is not a ReadyToRun image
   at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 467
   at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
19:53:22
Crossgen2 failed with exitcode: 137
in ReleaseLock
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 8/19/2024 7:53:10 PM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 128
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Known Issue Error Message

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

{
  "ErrorMessage": "Error: System.BadImageFormatException: The file is not a ReadyToRun image",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎
Result validation: ⚠️ Provided build not found. Provide a valid build in the "Build: 🔎" line.
Validation performed at: 6/1/2025 9:40:33 PM UTC

Report

Build Definition Test Pull Request
1138670 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1137488 dotnet/runtime Methodical_d1.WorkItemExecution
1137310 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1127394 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1126886 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1125960 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1125225 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1123854 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1123880 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1123491 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1122107 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1121267 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
1119624 dotnet/runtime JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd

Summary

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

Activity

  1. added
    os-linuxLinux OS (any supported distro)
    blocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
    on Aug 20, 2024
  2. ivdiazsa commented on Aug 21, 2024

    @ivdiazsa
    Contributor

    This The file is not a ReadyToRun image error has been intermittently hitting on and off for a long time, with no apparent pattern. We have to investigate further to try to understand it. Setting it for .NET 10.

  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 21, 2024
  4. added this to the 10.0.0 milestone on Aug 21, 2024
  5. v-wenyuxu commented on Nov 27, 2024

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr outerloop 20241126.1

    Failed tests:

    R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.317.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.17-helix-amd64
        - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
    

    Error message:

     DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
    /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 270:  6532 Killed                  $__Command
    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
    Raw output:
    BEGIN EXECUTION
    in takeLock
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    10:56:30
    Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    -o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
    --targetarch:x64
    --targetos:linux
    --verify-type-and-field-layout
    --method-layout:random
    -r:/root/helix/work/correlation/System.*.dll
    -r:/root/helix/work/correlation/Microsoft.*.dll
    -r:/root/helix/work/correlation/xunit.*.dll
    -r:/root/helix/work/correlation/mscorlib.dll
    -r:/root/helix/work/correlation/netstandard.dll
    Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp   -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll
    Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
    Error: System.BadImageFormatException: The file is not a ReadyToRun image
       at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 467
       at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
    10:56:43
    Crossgen2 failed with exitcode: 137
    in ReleaseLock
    Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 11/26/2024 10:56:30 AM
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 123
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  6. v-wenyuxu commented on Dec 19, 2024

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr outerloop 20241218.4

    Failed tests:

    R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.321.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64
        - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
    

    Error message:

     DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
    /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 270:  6530 Killed                  $__Command
    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
    Raw output:
    BEGIN EXECUTION
    in takeLock
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    02:46:20
    Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    -o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
    --targetarch:x64
    --targetos:linux
    --verify-type-and-field-layout
    --method-layout:random
    -r:/root/helix/work/correlation/System.*.dll
    -r:/root/helix/work/correlation/Microsoft.*.dll
    -r:/root/helix/work/correlation/xunit.*.dll
    -r:/root/helix/work/correlation/mscorlib.dll
    -r:/root/helix/work/correlation/netstandard.dll
    Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp   -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll
    Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
    Error: System.BadImageFormatException: The file is not a ReadyToRun image
       at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 467
       at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
    02:47:39
    Crossgen2 failed with exitcode: 137
    in ReleaseLock
    Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 12/19/2024 2:46:20 AM
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 123
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  7. v-wenyuxu commented on Feb 12, 2025

    @v-wenyuxu
    Author

    Failed in: runtime-coreclr outerloop 20250211.8

    Failed tests:

    R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.321.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64
        - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
    

    Error message:

     DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
    /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 270:  7180 Killed                  $__Command
    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
    Raw output:
    BEGIN EXECUTION
    in takeLock
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    03:12:57
    Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    -o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
    --targetarch:x64
    --targetos:linux
    --verify-type-and-field-layout
    --method-layout:random
    -r:/root/helix/work/correlation/System.*.dll
    -r:/root/helix/work/correlation/Microsoft.*.dll
    -r:/root/helix/work/correlation/xunit.*.dll
    -r:/root/helix/work/correlation/mscorlib.dll
    -r:/root/helix/work/correlation/netstandard.dll
    Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp   -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll
    Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
    Error: System.BadImageFormatException: The file is not a ReadyToRun image
       at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 467
       at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
    03:17:28
    Crossgen2 failed with exitcode: 137
    in ReleaseLock
    Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 2/12/2025 3:12:57 AM
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  8. jkotas commented on Jun 1, 2025

    @jkotas
    Member

    Hit in #116096

  9. added
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Jun 1, 2025
  10. SakeTao commented on Jun 5, 2025

    @SakeTao

    Failed in: runtime-coreclr outerloop 20250604.1

    Failed tests:

    R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.321.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64
        - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
    

    Error message:

     DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
    /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 270:  7195 Killed                  $__Command
    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
    Raw output:
    BEGIN EXECUTION
    in takeLock
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    11:09:49
    Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    -o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
    --targetarch:x64
    --targetos:linux
    --verify-type-and-field-layout
    --method-layout:random
    -r:/root/helix/work/correlation/System.*.dll
    -r:/root/helix/work/correlation/Microsoft.*.dll
    -r:/root/helix/work/correlation/xunit.*.dll
    -r:/root/helix/work/correlation/mscorlib.dll
    -r:/root/helix/work/correlation/netstandard.dll
    Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp   -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll
    Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
    Error: System.BadImageFormatException: The file is not a ReadyToRun image
       at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 508
       at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
    11:10:02
    Crossgen2 failed with exitcode: 137
    in ReleaseLock
    Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 6/4/2025 11:09:49 AM
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  11. SakeTao commented on Jun 11, 2025

    @SakeTao

    Failed in: runtime-coreclr outerloop 20250610.6

    Failed tests:

    R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.321.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64
        - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
    

    Error message:

     DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
    /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 270:  7196 Killed                  $__Command
    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
    Raw output:
    BEGIN EXECUTION
    in takeLock
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    02:55:52
    Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    -o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
    --targetarch:x64
    --targetos:linux
    --verify-type-and-field-layout
    --method-layout:random
    -r:/root/helix/work/correlation/System.*.dll
    -r:/root/helix/work/correlation/Microsoft.*.dll
    -r:/root/helix/work/correlation/xunit.*.dll
    -r:/root/helix/work/correlation/mscorlib.dll
    -r:/root/helix/work/correlation/netstandard.dll
    Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp   -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll
    Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
    Error: System.BadImageFormatException: The file is not a ReadyToRun image
       at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 508
       at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
    03:00:02
    Crossgen2 failed with exitcode: 137
    in ReleaseLock
    Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 6/11/2025 2:55:52 AM
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  12. 27 remaining items

  13. EgorBo commented on Aug 15, 2025

    @EgorBo
    Member

    Thanks @kg for the analysis!

    Image
  14. EgorBo commented on Aug 15, 2025

    @EgorBo
    Member

    So looks like the problematic invocation is this one:

    // We may be inside an unnatural loop, so do the expensive check.
    if (m_comp->optReachable(m_finalBlock, m_startBlock, nullptr))
    {
    JITDUMP("Skipping if-conversion inside loop (via FG walk)\n");
    return false;
    }

    The most obvious fix is to never invoke this logic if a method is known to never have loops which we care about here.
    Although, I guess we should use this repro to just generally optimize this routine, as we can just wrap the entire thing into an unnatural loop.

  15. EgorBo commented on Aug 15, 2025

    @EgorBo
    Member

    So I presume we can use the reachability sets, but we'll have to compute them. We probably can do it only for methods with a lot of blocks.

  16. EgorBo commented on Aug 15, 2025

    @EgorBo
    Member

    @AndyAyersMS so if I calculate the reachability sets in the beginning of the optIfConversion phase (because at that point they're always null/invalid), it drops the time needed to compile the method from 60s to 30s which is still pretty bad. The problem that ReachabilitySets cosume O(n^2) memory (as stated in the comments) and it does show up, ~4GB (main) -> 6.5Gb(reachability set) for working set.

    In the ifConversionPhase that is block reached from A to B is used to detect whether the blocks we work with inside any kind of a loop (either natural or unnatural) so it doesn't have to be precise or even always invoked.

    I propose we drop the check for methods with lots of blocks. I guess this particular repro is not realistic, so in the real world we don't expect that to trigger too often.

  17. kg commented on Aug 15, 2025

    @kg
    Contributor

    The most likely real world scenario I can think of would be large IEnumerator/async state machines since their MoveNexts turn into switches, but they'd need to have a bunch of awaits to hit bblock counts that really inflate the memory usage and CPU time, yeah?

  18. AndyAyersMS commented on Aug 15, 2025

    @AndyAyersMS
    Member

    I propose we drop the check for methods with lots of blocks.

    That would probably be fine.

    What we really want to know is if this if conversion candidate is on the critical path of a short loop. A "local neighborhood" search to find the set of blocks reachable in 3 jumps or so might be enough. I think that would just require two bit vectors.

    We could also compute the SCCs which will be fairly fast. I could use this info during escape analysis to improve its cycle detection.

    The preferred method is still I think Tarjan's SCC though we'd want to have a non-recursive implementation. Kosaraju's is somewhat simpler and easily made non-recursive. #109656 has a reverse graph DFS you could steal.

  19. SakeTao commented on Aug 19, 2025

    @SakeTao

    Failed in: runtime-coreclr outerloop 20250818.3

    Failed tests:

    R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.322.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.22-helix-amd64
        - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
    

    Error message:

    DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
    /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 270:  7198 Killed                  $__Command
    Image file '/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll' information:
    Size: 815616 byte(s)
    MetadataSize: 1476 byte(s)
    SizeOfImage: 843776 byte(s)
    ImageBase: 0x400000
    FileAlignment: 0x200
    SectionAlignment: 0x2000
    CorHeader.Flags: ILOnly
    Sections:
      .text 8192 - 820764
      .rsrc 827392 - 828652
      .reloc 835584 - 835596
    HasExportTable: False
    ExportTableHeaderLength: 0
    _namedExportRva: 0 item(s)
    Image file '/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll' information:
    Size: 815616 byte(s)
    MetadataSize: 1476 byte(s)
    SizeOfImage: 843776 byte(s)
    ImageBase: 0x400000
    FileAlignment: 0x200
    SectionAlignment: 0x2000
    CorHeader.Flags: ILOnly
    Sections:
      .text 8192 - 820764
      .rsrc 827392 - 828652
      .reloc 835584 - 835596
    HasExportTable: False
    ExportTableHeaderLength: 0
    _namedExportRva: 0 item(s)
    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
    Raw output:
    BEGIN EXECUTION
    in takeLock
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    02:46:41
    Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    -o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
    -O
    --targetarch:x64
    --targetos:linux
    --verify-type-and-field-layout
    --method-layout:random
    -r:/root/helix/work/correlation/System.*.dll
    -r:/root/helix/work/correlation/Microsoft.*.dll
    -r:/root/helix/work/correlation/xunit.*.dll
    -r:/root/helix/work/correlation/mscorlib.dll
    -r:/root/helix/work/correlation/netstandard.dll
    Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp   -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll
    Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
    Error: System.BadImageFormatException: The file is not a ReadyToRun image
       at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 523
       at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
    02:46:56
    Crossgen2 failed with exitcode: 137
    in ReleaseLock
    Test failed. Trying to see if dump file was created in /datadisks/disk1/dumps since 08/19/2025 02:46:41
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  20. SakeTao commented on Aug 21, 2025

    @SakeTao

    Failed in: runtime-coreclr outerloop 20250820.1

    Failed tests:

    R2R-CG2 linux x64 Checked no_tiered_compilation @ (Alpine.322.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.22-helix-amd64
        - JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.cmd
    

    Error message:

    DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
    /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh: line 270:  7197 Killed                  $__Command
    Image file '/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll' information:
    Size: 815616 byte(s)
    MetadataSize: 1476 byte(s)
    SizeOfImage: 843776 byte(s)
    ImageBase: 0x400000
    FileAlignment: 0x200
    SectionAlignment: 0x2000
    CorHeader.Flags: ILOnly
    Sections:
      .text 8192 - 820764
      .rsrc 827392 - 828652
      .reloc 835584 - 835596
    HasExportTable: False
    ExportTableHeaderLength: 0
    _namedExportRva: 0 item(s)
    Image file '/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll' information:
    Size: 815616 byte(s)
    MetadataSize: 1476 byte(s)
    SizeOfImage: 843776 byte(s)
    ImageBase: 0x400000
    FileAlignment: 0x200
    SectionAlignment: 0x2000
    CorHeader.Flags: ILOnly
    Sections:
      .text 8192 - 820764
      .rsrc 827392 - 828652
      .reloc 835584 - 835596
    HasExportTable: False
    ExportTableHeaderLength: 0
    _namedExportRva: 0 item(s)
    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/JitBlue/DevDiv_255294/DevDiv_255294/output.txt
    Raw output:
    BEGIN EXECUTION
    in takeLock
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    10:35:04
    Response file: /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp
    /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/DevDiv_255294.dll
    -o:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll
    -O
    --targetarch:x64
    --targetos:linux
    --verify-type-and-field-layout
    --method-layout:random
    -r:/root/helix/work/correlation/System.*.dll
    -r:/root/helix/work/correlation/Microsoft.*.dll
    -r:/root/helix/work/correlation/xunit.*.dll
    -r:/root/helix/work/correlation/mscorlib.dll
    -r:/root/helix/work/correlation/netstandard.dll
    Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.rsp   -r:/root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/IL-CG2/*.dll
    Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll --out /root/helix/work/workitem/e/JIT/Regression/JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.dll.r2rdump --val
    Error: System.BadImageFormatException: The file is not a ReadyToRun image
       at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 523
       at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
    10:35:21
    Crossgen2 failed with exitcode: 137
    in ReleaseLock
    Test failed. Trying to see if dump file was created in /datadisks/disk1/dumps since 08/20/2025 10:35:04
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/JIT/Regression/Regression_3/../JitBlue/DevDiv_255294/DevDiv_255294/DevDiv_255294.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  21. kg commented on Sep 10, 2025

    @kg
    Contributor

    Test is now disabled on crossgen2 CI due to the oom killer

  22. reopened this on Sep 10, 2025
  23. jkotas commented on Sep 10, 2025

    @jkotas
    Member

    The test is disabled against #85663

    <Issue>https://github.com/dotnet/runtime/issues/85663</Issue>
    . Close this issue and leave the other one open?

  24. kg commented on Sep 10, 2025

    @kg
    Contributor

    Yeah, I'll close this and update the other one with details.

  25. locked and limited conversation to collaborators on Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarch-x64area-ReadyToRunblocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsos-linuxLinux OS (any supported distro)

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions