Skip to content

Runtime_134605_Struct test fails with NativeAOT #134746

Closed

Description

@jkotas
/datadisks/disk1/work/B6F40978/p/nativeaottest.sh /datadisks/disk1/work/B6F40978/w/A9070925/e/JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/ Runtime_134605_Struct.dll ''
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 0
Actual:   80
   at Xunit.Assert.Equal[T](T, T, IEqualityComparer`1)
   at __GeneratedMainWrapper.Main()

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1613643
Build error leg or test failing: JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
Pull request: #133222

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage": "",
  "ErrorPattern": "Failed test: \\S*Runtime_134605",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1613643
Error message validated: [Runtime_134605_Struct]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/27/2026 3:00:13 PM UTC

Report

Build Repository Test Pull Request
1615919 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615728 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615610 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1615263 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614973 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614639 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614441 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614445 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614304 dotnet/runtime JIT/opt/GuardedDevirtualization/badinlinee/badinlinee.cmd
1614154 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614104 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614091 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1613974 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1613993 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613975 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613932 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613933 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613901 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613811 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613643 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd #133222

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 20 20

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1613643
Error message validated: [Failed test:.*Runtime_134605]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/29/2026 12:52:55 PM UTC

Report

Build Repository Test Pull Request
1615919 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615728 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615610 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1615263 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614973 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614639 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614441 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614445 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614304 dotnet/runtime JIT/opt/GuardedDevirtualization/badinlinee/badinlinee.cmd
1614154 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614104 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614091 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1613974 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1613993 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613975 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613932 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613933 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613901 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613811 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613643 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd #133222

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 20 20

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1613643
Error message validated: [Failed test: \S*Runtime_134605]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/29/2026 12:54:26 PM UTC

Report

Build Repository Test Pull Request
1615919 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615728 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615610 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1615263 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614973 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614639 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614441 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614445 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614304 dotnet/runtime JIT/opt/GuardedDevirtualization/badinlinee/badinlinee.cmd
1614154 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614104 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614091 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1613974 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1613993 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613975 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613932 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613933 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613901 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613811 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613643 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd #133222

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 20 20

Report

Build Repository Test Pull Request
1615918 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605\Runtime_134605.cmd
1615872 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605\Runtime_134605.cmd #134843
1615919 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615728 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1615610 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1615263 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614973 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614639 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614441 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1614445 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1614304 dotnet/runtime JIT/opt/GuardedDevirtualization/badinlinee/badinlinee.cmd
1614154 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614104 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1614091 dotnet/runtime JIT/opt/Vectorization/AvxState/AvxState.cmd
1613974 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd
1613993 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613975 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613932 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613933 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613901 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
1613811 dotnet/runtime JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
1613643 dotnet/runtime JIT\opt\ObjectStackAllocation\Runtime_134605_Struct\Runtime_134605_Struct.cmd #133222

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
7 22 22

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Sep 27, 2026
  2. jkotas commented on Sep 27, 2026

    @jkotas
    MemberAuthor

    New test introduced in #134658

  3. jkotas commented on Sep 27, 2026

    @jkotas
    MemberAuthor
  4. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Sep 27, 2026
  5. dotnet-policy-service commented on Sep 27, 2026

    @dotnet-policy-service
    Contributor

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

  6. dotnet-policy-service commented on Sep 27, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  7. dotnet-policy-service commented on Sep 27, 2026

    @dotnet-policy-service
    Contributor

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

  8. VincentBu commented on Sep 28, 2026

    @VincentBu
    Contributor

    Failed in: runtime-coreclr jitstress-isas-x86 20260926.1

    Failed tests:

    coreclr windows x86 Checked jitstress_isas_1_x86_evex @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_1_x86_noavx @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_1_x86_noavx2 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_1_x86_noavx512 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_1_x86_vectort128 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_1_x86_vectort512 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_1_x86_noavx512_vectort128 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_2_x86_evex @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_2_x86_noavx @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_2_x86_noavx2 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_2_x86_noavx512 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_2_x86_vectort128 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_2_x86_vectort512 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    coreclr windows x86 Checked jitstress_isas_2_x86_noavx512_vectort128 @ Windows.10.Amd64.Open
    - JIT/opt/ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    - JIT/opt/ObjectStackAllocation/Runtime_134605_Struct/Runtime_134605_Struct.cmd
    
    

    Error message:

    
    Return code:      1
    Raw output file:      C:hwCB820A7AwA93F08F3uploadsObjectStackAllocationRuntime_134605output.txt
    Raw output:
    BEGIN EXECUTION
     "C:hwCB820A7Apcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  Runtime_134605.dll 
    Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
    Expected: 0
    Actual:   48
       at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 102
       at Xunit.Assert.Equal[T](T expected, T actual) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 36
       at Runtime_134605.Test()
       at __GeneratedMainWrapper.Main()
    Expected: 100
    Actual: 101
    END EXECUTION - FAILED
    FAILED
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > C:hwCB820A7AwA93F08F3eJIToptJIT.opt../ObjectStackAllocation/Runtime_134605/Runtime_134605.cmd
    

    Stack trace:

       at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 117
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix) in /__w/1/s/src/tests/Common/CoreCLRTestLibrary/OutOfProcessTest.cs:line 197
       at Program.<>c__DisplayClass0_0.<<Main>$>g__TestExecutor507|508(StreamWriter tempLogSw, StreamWriter statsCsvSw, StreamWriter outOfProcessPlanWriter)
    
  9. BrzVlad commented on Sep 28, 2026

    @BrzVlad
    Member

    Also fails on interpreter pipelines

  10. MichalStrehovsky commented on Sep 29, 2026

    @MichalStrehovsky
    Member

    @AndyAyersMS would be nice to do something about this soon, the ErrorMessage pattern is folding unrelated test failures in the JIT/opt tree under this issue. I'm actually not sure how ErrorMessage should look like for a failure like this.

  11. self-assigned this
    on Sep 29, 2026
  12. removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 29, 2026
  13. added this to the 12.0.0 milestone on Sep 29, 2026
  14. jakobbotsch commented on Sep 29, 2026

    @jakobbotsch
    Member

    I opened #134861 to fix this since Andy is OOF. Also, I opened #134863 to track actually understanding whether or not we were expecting conditional escape analysis to be happening for NativeAOT in this test (that will have to wait for Andy to be back).

  15. locked and limited conversation to collaborators on Oct 30, 2026
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 tabarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions