Repository navigation
Test failure: readytorun/coreroot_determinism/coreroot_determinism/coreroot_determinism.sh #45326
Description
Activity
- addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Nov 30, 2020 - addedblocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
on Dec 17, 2020 PTAL @dotnet/crossgen-contrib
- removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Dec 17, 2020 disabled in #46350
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%3Dreadytorun\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.exeI'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 ;-).
- addedblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
on Feb 24, 2021 @trylek : @sandreenko disabled this in #46350 but just for jitstress. Can we just disable it for all runs for now?
The x86 SetFrame crash is regression introduced by #46238.
The problem is that EECodeManager::GetReturnAddressHijackInfo is missing
return falsefor reverse PInvoke methods on x86.@jkoritzinsky Could you please take a look?
I'll take a look tomorrow.
- ghost addedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Mar 3, 2021 5 remaining items
- ghost removedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Mar 5, 2021 #49066 fixed the x86-specific failure. The test is still disabled for JitStress against this issue.
- removedblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'blocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
on Mar 5, 2021 - ghost addedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Apr 3, 2021 - ghost removedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Apr 3, 2021 - ghost locked as resolved and limited conversation to collaborators
on May 12, 2021 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.cmdError 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+0x284I've identified the Windows X86 assert here. It is an assert caused by incorrect handling of stack_limit. See upcoming PR for details
PR to fix the intermittent failure is #54986
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.
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
Runfo Tracking Issue: coreroot_determinism.cmd
Build Result Summary