Skip to content

ObjectStackAllocationTests are failing in r2r jobs #11462

@echesakov

Description

@echesakov

Caught in
https://ci.dot.net/job/dotnet_coreclr/job/master/job/x64_release_windows_nt_r2r_prtest/28/consoleText
but I don't think this is Windows/x64 specific

[D:\j\workspace\x64_release_w---f2b03790\bin\tests\Windows_NT.x64.Release\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\ObjectStackAllocationTests.cmd]: 

Return code:      1
Raw output file:      D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Reports\\JIT.opt\\ObjectStackAllocation\\ObjectStackAllocationTests\\ObjectStackAllocationTests.output.txt
Raw output:
BEGIN EXECUTION

        1 file(s) copied.

\" D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root\\crossgen.exe\" /Platform_Assemblies_Paths D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root;D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\JIT\\opt\\ObjectStackAllocation\\ObjectStackAllocationTests\\IL;D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\JIT\\opt\\ObjectStackAllocation\\ObjectStackAllocationTests /in ObjectStackAllocationTests.org /out ObjectStackAllocationTests.exe

Microsoft (R) CoreCLR Native Image Generator - Version 4.5.30319.0

Copyright (c) Microsoft Corporation.  All rights reserved.



Native image ObjectStackAllocationTests.exe generated successfully.

 \"D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root\\corerun.exe\" ObjectStackAllocationTests.exe 

FAILURE (AllocateSimpleClassAndAddFields): unexpected allocation of 24 bytes

FAILURE (AllocateSimpleClassesAndEQCompareThem): unexpected allocation of 48 bytes

FAILURE (AllocateSimpleClassesAndNECompareThem): unexpected allocation of 48 bytes

FAILURE (AllocateSimpleClassAndCheckType): unexpected allocation of 24 bytes

FAILURE (AllocateSimpleClassAndCast): unexpected allocation of 24 bytes

FAILURE (AllocateSimpleClassAndGetField): unexpected allocation of 24 bytes

FAILURE (AllocateClassWithNestedStructAndGetField): unexpected allocation of 32 bytes

FAILURE (AllocateClassWithNestedStructAndAddFields): unexpected allocation of 32 bytes

SUCCESS (AllocateSimpleClassWithGCFieldAndAddFields)

SUCCESS (AllocateSimpleClassAndAssignRefToAField)

SUCCESS (BoxSimpleStructAndAddFields)

Expected: 100

Actual: -1

END EXECUTION - FAILED

FAILED

Test Harness Exitcode is : 1


To run the test:
> set CORE_ROOT=D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root
> D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\JIT\\opt\\ObjectStackAllocation\\ObjectStackAllocationTests\\ObjectStackAllocationTests.cmd


Expected: True

Actual:   False


Return code:      1
Raw output file:      D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Reports\\JIT.opt\\ObjectStackAllocation\\ObjectStackAllocationTests\\ObjectStackAllocationTests.output.txt
Raw output:
BEGIN EXECUTION

        1 file(s) copied.

\" D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root\\crossgen.exe\" /Platform_Assemblies_Paths D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root;D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\JIT\\opt\\ObjectStackAllocation\\ObjectStackAllocationTests\\IL;D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\JIT\\opt\\ObjectStackAllocation\\ObjectStackAllocationTests /in ObjectStackAllocationTests.org /out ObjectStackAllocationTests.exe

Microsoft (R) CoreCLR Native Image Generator - Version 4.5.30319.0

Copyright (c) Microsoft Corporation.  All rights reserved.



Native image ObjectStackAllocationTests.exe generated successfully.

 \"D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root\\corerun.exe\" ObjectStackAllocationTests.exe 

FAILURE (AllocateSimpleClassAndAddFields): unexpected allocation of 24 bytes

FAILURE (AllocateSimpleClassesAndEQCompareThem): unexpected allocation of 48 bytes

FAILURE (AllocateSimpleClassesAndNECompareThem): unexpected allocation of 48 bytes

FAILURE (AllocateSimpleClassAndCheckType): unexpected allocation of 24 bytes

FAILURE (AllocateSimpleClassAndCast): unexpected allocation of 24 bytes

FAILURE (AllocateSimpleClassAndGetField): unexpected allocation of 24 bytes

FAILURE (AllocateClassWithNestedStructAndGetField): unexpected allocation of 32 bytes

FAILURE (AllocateClassWithNestedStructAndAddFields): unexpected allocation of 32 bytes

SUCCESS (AllocateSimpleClassWithGCFieldAndAddFields)

SUCCESS (AllocateSimpleClassAndAssignRefToAField)

SUCCESS (BoxSimpleStructAndAddFields)

Expected: 100

Actual: -1

END EXECUTION - FAILED

FAILED

Test Harness Exitcode is : 1


To run the test:
> set CORE_ROOT=D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\Tests\\Core_Root
> D:\\j\\workspace\\x64_release_w---f2b03790\\bin\\tests\\Windows_NT.x64.Release\\JIT\\opt\\ObjectStackAllocation\\ObjectStackAllocationTests\\ObjectStackAllocationTests.cmd


Expected: True

Actual:   False

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions