Skip to content

Test failure: readytorun/coreroot_determinism/coreroot_determinism/coreroot_determinism.sh #45326

Description

@v-haren

failed in job: https://dev.azure.com/dnceng/public/_build/results?buildId=901492&view=ms.vss-test-web.build-test-results-tab&runId=28795396&resultId=106816&paneView=debug

CoreCLR Linux x64 Checked jitstress1_tiered @ Ubuntu.1804.Amd64.Open

Error message

1 / 1 (100%, 1 failed): failed in 15981 msecs, exit code 134, expected 0: corerun /home/helixbot/work/A64D08B1/p/crossgen2/crossgen2.dll @/home/helixbot/work/A64D08B1/w/A68C0979/e/readytorun/coreroot_determinism/coreroot_determinism/seed1/CPAOT-ret.out/System.Private.CoreLib.dll.rsp\n\nReturn code:      1
Raw output file:      /home/helixbot/work/A64D08B1/w/A68C0979/e/readytorun/coreroot_determinism/Reports/readytorun.coreroot_determinism/coreroot_determinism/coreroot_determinism.output.txt
Raw output:
BEGIN EXECUTION
/home/helixbot/work/A64D08B1/p/corerun coreroot_determinism.dll ''
================================== Compiling with seed 1 ==================================
Locating output folder /home/helixbot/work/A64D08B1/w/A68C0979/e/readytorun/coreroot_determinism/coreroot_determinism/seed1
Deleting 0 output folders
Successfully deleted 0 output folders in 60 msecs
Using dotnet: /home/helixbot/work/A64D08B1/p/corerun
1 / 1 (0%, 0 failed): launching: /home/helixbot/work/A64D08B1/p/corerun /home/helixbot/work/A64D08B1/p/crossgen2/crossgen2.dll @/home/helixbot/work/A64D08B1/w/A68C0979/e/readytorun/coreroot_determinism/coreroot_determinism/seed1/CPAOT-ret.out/System.Private.CoreLib.dll.rsp
Compilation failed. /home/helixbot/work/A64D08B1/p/corerun /home/helixbot/work/A64D08B1/p/R2RTest/R2RTest.dll compile-directory -cr /home/helixbot/work/A64D08B1/p -in TestAssemblies --nojit --noexe --large-bubble --release --nocleanup -out seed1 failed with exit code 1
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/home/helixbot/work/A64D08B1/p
> /home/helixbot/work/A64D08B1/w/A68C0979/e/readytorun/coreroot_determinism/coreroot_determinism/coreroot_determinism.sh
Expected: True
Actual:   False

Stack trace
   at readytorun_coreroot_determinism._coreroot_determinism_coreroot_determinism_._coreroot_determinism_coreroot_determinism_sh() in /__w/1/s/artifacts/tests/coreclr/Linux.x64.Checked/TestWrappers/readytorun.coreroot_determinism/readytorun.coreroot_determinism.XUnitWrapper.cs:line 153

Runfo Tracking Issue: coreroot_determinism.cmd

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1079379 runtime PR 50922 CoreCLR windows x86 Checked @ Windows.10.Amd64.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows arm64 Checked @ Windows.10.Arm64v8.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows x64 Checked @ Windows.10.Amd64.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows x86 Checked @ Windows.10.Amd64.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows arm64 Checked @ Windows.10.Arm64v8.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows x64 Checked @ Windows.10.Amd64.Open console.log runclient.py
1079379 runtime PR 50922 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1078291 runtime PR 50922 CoreCLR windows x64 Checked @ Windows.10.Amd64.Open console.log runclient.py
1078291 runtime PR 50922 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1078291 runtime PR 50922 CoreCLR windows arm64 Checked @ Windows.10.Arm64v8.Open console.log runclient.py
1078291 runtime PR 50922 CoreCLR windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open console.log runclient.py
1059736 runtime PR 50232 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1059736 runtime PR 50232 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1059736 runtime PR 50232 CoreCLR windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open console.log
1057171 runtime PR 50082 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1057171 runtime PR 50082 CoreCLR windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open console.log runclient.py
1057171 runtime PR 50082 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1037848 runtime PR 49576 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1028832 runtime PR 49295 CoreCLR windows arm64 Checked no_tiered_compilation @ Windows.10.Arm64v8.Open console.log
1028832 runtime PR 49295 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log
1028832 runtime PR 49295 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log
1027318 runtime PR 47901 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1025677 runtime PR 49257 CoreCLR windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log
1025113 runtime PR 49183 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1023780 runtime PR 48936 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1023759 runtime PR 49178 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1023260 runtime PR 49066 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1022125 runtime PR 48936 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1021719 runtime PR 49093 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1021643 runtime PR 48589 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1021240 runtime PR 49074 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1020340 runtime PR 48589 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1019099 runtime PR 49021 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1017879 runtime PR 48923 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1017716 runtime PR 45058 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1017614 runtime PR 48923 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1013297 runtime Rolling CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1013095 runtime PR 48677 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1012960 runtime PR 48171 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1012535 runtime PR 48536 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1011419 runtime PR 48746 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1011339 runtime PR 48601 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1010968 runtime PR 48731 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1010324 runtime PR 48435 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1009843 runtime PR 47639 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1009838 runtime PR 48698 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1009500 runtime PR 48691 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1007749 runtime PR 44905 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py
1007653 runtime PR 48642 CoreCLR windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 2 4

Activity

  1. added
    blocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
    on Dec 17, 2020
  2. sandreenko commented on Dec 17, 2020

    @sandreenko
    Contributor

    PTAL @dotnet/crossgen-contrib

  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Dec 17, 2020
  4. added this to the 6.0.0 milestone on Dec 17, 2020
  5. sandreenko commented on Dec 23, 2020

    @sandreenko
    Contributor

    disabled in #46350

  6. briansull commented on Feb 23, 2021

    @briansull
    Contributor

    Seeing this test fail:
    CoreCLR Pri0 Runtime Tests Run windows x86 checked failed
    https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-48503-merge-207a8f793fe04202a9/PayloadGroup0/console.ea9e278d.log?sv=2019-07-07&se=2021-03-14T23%3A17%3A41Z&sr=c&sp=rl&sig=7xSihSCdtFD9g58mtQMlPSn4DnFqJJMa6iU9JSiVyhM%3D

        readytorun\coreroot_determinism\coreroot_determinism\coreroot_determinism.cmd [FAIL]
          1 / 1 (100%, 1 failed): failed in 34712 msecs, exit code -1073740286 = 0xC0000602, expected 0: corerun.exe C:\h\w\ACFF09DC\p\crossgen2\crossgen2.dll @C:\h\w\ACFF09DC\w\A4000920\e\readytorun\coreroot_determinism\coreroot_determinism\seed2\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
          !! Assert failure(PID 7736 [0x00001e38], Thread: 7740 [0x1e3c]): CONTRACT VIOLATION by Thread::SetFrame at "D:\workspace\_work\1\s\src\coreclr\vm\threads.cpp" @ 212
          !! MODE_COOPERATIVE encountered while thread is in preemptive state.
          !!                         CONTRACT in Thread::SetFrame at "D:\workspace\_work\1\s\src\coreclr\vm\threads.cpp" @ 212
          !!                         CONTRACT in HijackFrame::HijackFrame at "D:\workspace\_work\1\s\src\coreclr\vm\threadsuspend.cpp" @ 4970
          !!                         CONTRACT in OnHijackWorker at "D:\workspace\_work\1\s\src\coreclr\vm\threadsuspend.cpp" @ 4984
          !!                         CONTRACT in MethodDescCallSite::CallTargetWorker at "D:\workspace\_work\1\s\src\coreclr\vm\callhelpers.cpp" @ 287
          !!                         GCX_COOP in Assembly::ExecuteMainMethod at "D:\workspace\_work\1\s\src\coreclr\vm\assembly.cpp" @ 1670
          !!                         CONTRACT in Assembly::ExecuteMainMethod at "D:\workspace\_work\1\s\src\coreclr\vm\assembly.cpp" @ 1654
          !!                         GCX_COOP in CorHost2::ExecuteAssembly at "D:\workspace\_work\1\s\src\coreclr\vm\corhost.cpp" @ 357
          !!                         CONTRACT in CorHost2::ExecuteAssembly at "D:\workspace\_work\1\s\src\coreclr\vm\corhost.cpp" @ 306
          !! We can't find the violated contract. Look for an old-style non-holder-based contract.
          !! CORECLR! CONTRACT_ASSERT + 0x2C8 (0x70164cf9)
          !! CORECLR! EEContract::DoChecks + 0x144 (0x70403d0e)
          !! CORECLR! Thread::SetFrame + 0x208 (0x70378430)
          !! CORECLR! HijackFrame::HijackFrame + 0xD8 (0x70552d09)
          !! CORECLR! OnHijackWorker + 0xBF (0x7055b34e)
          !! CORECLR! OnHijackTripThread + 0x11 (0x7069b9ee)
          !! CLRJIT_WIN_X86_X86! Compiler::eeGetMethodName + 0x102 (0x6f1fa356)
          !! CLRJIT_WIN_X86_X86! Compiler::compCompile + 0x3F5 (0x6f1f30bb)
          !! CLRJIT_WIN_X86_X86! ``jitNativeCode'::`8'::__Body::Run'::`5'::__Body::Run + 0xC5 (0x6f1f1c08)
          !! CLRJIT_WIN_X86_X86! `jitNativeCode'::`8'::__Body::Run + 0x38 (0x6f1f1c48)
          !!     File: D:\workspace\_work\1\s\src\coreclr\vm\threads.cpp Line: 212
          !!     Image: C:\h\w\ACFF09DC\p\corerun.exe
    
  7. trylek commented on Feb 23, 2021

    @trylek
    Member

    I'm afraid that the only person capable of understanding all the gory details of this issue - JanV - is right now busy celebrating the birth of his sixth baby ;-).

  8. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Feb 24, 2021
  9. BruceForstall commented on Mar 2, 2021

    @BruceForstall
    Contributor

    @trylek : @sandreenko disabled this in #46350 but just for jitstress. Can we just disable it for all runs for now?

  10. jkotas commented on Mar 2, 2021

    @jkotas
    Member

    The x86 SetFrame crash is regression introduced by #46238.

    The problem is that EECodeManager::GetReturnAddressHijackInfo is missing return false for reverse PInvoke methods on x86.

    @jkoritzinsky Could you please take a look?

  11. jkoritzinsky commented on Mar 2, 2021

    @jkoritzinsky
    Member

    I'll take a look tomorrow.

  12. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Mar 3, 2021
  13. 5 remaining items

  14. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Mar 5, 2021
  15. jkotas commented on Mar 5, 2021

    @jkotas
    Member

    #49066 fixed the x86-specific failure. The test is still disabled for JitStress against this issue.

  16. reopened this on Mar 5, 2021
  17. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    blocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
    on Mar 5, 2021
  18. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Apr 3, 2021
  19. ghost closed this as completedin #50676on Apr 3, 2021
  20. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Apr 3, 2021
  21. ghost locked as resolved and limited conversation to collaborators on May 12, 2021
  22. VincentBu commented on Jun 25, 2021

    @VincentBu
    Contributor

    Failed again in runtime-coreclr jitstress 20210623.2

    Failed test:

    CoreCLR windows x86 Checked jitstress1 @ Windows.10.Amd64.Open
    
    - readytorun\\coreroot_determinism\\coreroot_determinism\\coreroot_determinism.cmd
    
    

    Error message:

    1 / 1 (100%, 1 failed): failed in 51020 msecs, exit code -1073740286 = 0xC0000602, expected 0: corerun.exe C:\h\w\B28D0968\p\crossgen2\crossgen2.dll @C:\h\w\B28D0968\w\BFBC0A5A\e\readytorun\coreroot_determinism\coreroot_determinism\seed2\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
    !! Assert failure(PID 6716 [0x00001a3c], Thread: 7148 [0x1bec]): !PreemptiveGCDisabled()
    !! CORECLR! Thread::DetachThread + 0xCF (0x70699d7d)
    !! CORECLR! TlsDestructionMonitor::~TlsDestructionMonitor + 0x8A (0x70b37920)
    !! CORECLR! _dyn_tls_dtor + 0x86 (0x70b496e6)
    !! NTDLL! RtlDecompressBuffer + 0xDE (0x7763ea4e)
    !! NTDLL! LdrShutdownThread + 0x386 (0x7760eea6)
    !! NTDLL! LdrSetAppCompatDllRedirectionCallback + 0x1052A (0x77663c5a)
    !! NTDLL! LdrShutdownProcess + 0x15F (0x77622d7f)
    !! NTDLL! RtlExitUserProcess + 0x96 (0x77623886)
    !! KERNEL32! ExitProcess + 0x13 (0x7747b3e3)
    !! CORECLR! exit_or_terminate_process + 0x38 (0x70b7f0e8)
    !!     File: D:\workspace_work\1\s\src\coreclr\vm\threads.cpp Line: 981
    !!     Image: C:\h\w\B28D0968\p\corerun.exe
    
    Return code:      1
    Raw output file:      C:\h\w\B28D0968\w\BFBC0A5A\uploads\Reports\readytorun.coreroot_determinism\coreroot_determinism\coreroot_determinism.output.txt
    Raw output:
    BEGIN EXECUTION
    "C:\h\w\B28D0968\p\corerun.exe"  coreroot_determinism.dll
    ================================== Compiling with seed 1 ==================================
    Locating output folder C:\h\w\B28D0968\w\BFBC0A5A\e\readytorun\coreroot_determinism\coreroot_determinism\seed1
    Deleting 0 output folders
    Successfully deleted 0 output folders in 164 msecs
    Using dotnet: C:\h\w\B28D0968\p\corerun.exe
    1 / 1 (0%, 0 failed): launching: C:\h\w\B28D0968\p\corerun.exe C:\h\w\B28D0968\p\crossgen2\crossgen2.dll @C:\h\w\B28D0968\w\BFBC0A5A\e\readytorun\coreroot_determinism\coreroot_determinism\seed1\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
    1 / 1 (100%, 0 failed): succeeded in 51009 msecs: corerun.exe C:\h\w\B28D0968\p\crossgen2\crossgen2.dll @C:\h\w\B28D0968\w\BFBC0A5A\e\readytorun\coreroot_determinism\coreroot_determinism\seed1\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
    ================================== Compiling with seed 2 ==================================
    Locating output folder C:\h\w\B28D0968\w\BFBC0A5A\e\readytorun\coreroot_determinism\coreroot_determinism\seed2
    Deleting 0 output folders
    Successfully deleted 0 output folders in 181 msecs
    Using dotnet: C:\h\w\B28D0968\p\corerun.exe
    1 / 1 (0%, 0 failed): launching: C:\h\w\B28D0968\p\corerun.exe C:\h\w\B28D0968\p\crossgen2\crossgen2.dll @C:\h\w\B28D0968\w\BFBC0A5A\e\readytorun\coreroot_determinism\coreroot_determinism\seed2\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
    Compilation failed. C:\h\w\B28D0968\p\corerun.exe C:\h\w\B28D0968\p\R2RTest\R2RTest.dll compile-directory -cr C:\h\w\B28D0968\p -in TestAssemblies --nojit --noexe --large-bubble --release --nocleanup -out seed2 failed with exit code 1
    Expected: 100
    Actual: 1
    END EXECUTION - FAILED
    FAILED
    Test Harness Exitcode is : 1
    To run the test:
    
    set CORE_ROOT=C:\h\w\B28D0968\p
    C:\h\w\B28D0968\w\BFBC0A5A\e\readytorun\coreroot_determinism\coreroot_determinism\coreroot_determinism.cmd
    Expected: True
    Actual:   False
    
    
    Stack trace
       at readytorun_coreroot_determinism._coreroot_determinism_coreroot_determinism_._coreroot_determinism_coreroot_determinism_cmd() in readytorun.coreroot_determinism.XUnitWrapper.dll:token 0x6000004+0x284
    
  23. davidwrighton commented on Jul 1, 2021

    @davidwrighton
    Member

    I've identified the Windows X86 assert here. It is an assert caused by incorrect handling of stack_limit. See upcoming PR for details

  24. davidwrighton commented on Jul 1, 2021

    @davidwrighton
    Member

    PR to fix the intermittent failure is #54986

  25. davidwrighton commented on Jul 8, 2021

    @davidwrighton
    Member

    I've checked in #54986 which should fix the intermittent assertion failure seen on x86, and hopefully some of the intemittent failures seen on other architectures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions