Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure readytorun\\coreroot_determinism\\coreroot_determinism\\coreroot_determinism.cmd #75820

Closed
v-wenyuxu opened this issue Sep 19, 2022 · 3 comments · Fixed by #76645

Comments

@v-wenyuxu
Copy link

v-wenyuxu commented Sep 19, 2022

Run: runtime-coreclr gcstress-extra 20220917.1

Failed test:

coreclr windows x86 Checked heapverify1 @ Windows.10.Amd64.Open
- readytorun\\coreroot_determinism\\coreroot_determinism\\coreroot_determinism.cmd
- JIT\\Stress\\ABI\\pinvokes_do\\pinvokes_do.cmd
- JIT\\superpmi\\superpmicollect\\Bytemark\\Bytemark.cmd
- JIT\\Performance\\CodeQuality\\Bytemark\\Bytemark\\Bytemark.cmd
- readytorun\\r2rdump\\FrameworkTests\\R2RDumpTests\\R2RDumpTests.cmd
- JIT\\Regression\\VS-ia64-JIT\\V2.0-Beta2\\b309539\\b309539\\b309539.cmd
... ...
coreclr windows x86 Checked gcstress0xc_zapdisable_heapverify1 @ Windows.10.Amd64.Open
- GC\\API\\WeakReference\\multipleWRs_1\\multipleWRs_1.cmd
- JIT\\Regression\\VS-ia64-JIT\\V2.0-Beta2\\b309539\\b309539\\b309539.cmd
- GC\\API\\WeakReference\\multipleWRs\\multipleWRs.cmd
- GC\\Coverage\\LargeObjectAlloc\\LargeObjectAlloc.cmd
- GC\\Coverage\\LargeObjectAlloc2\\LargeObjectAlloc2.cmd
... ...
coreclr windows x86 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open
- JIT\\Regression\\VS-ia64-JIT\\V2.0-Beta2\\b309539\\b309539\\b309539.cmd
- GC\\API\\WeakReference\\multipleWRs\\multipleWRs.cmd
- GC\\API\\WeakReference\\multipleWRs_1\\multipleWRs_1.cmd
- GC\\Coverage\\LargeObjectAlloc\\LargeObjectAlloc.cmd
- GC\\Coverage\\LargeObjectAlloc2\\LargeObjectAlloc2.cmd
... ...

Error message:

Assert failure(PID 5080 [0x000013d8], Thread: 6064 [0x17b0]): CONTRACT VIOLATION by EntryPointFilter at "D:\a_work\1\s\src\coreclr\vm\excep.cpp" @ 4969

THROWS called in a NOTHROW region.

                    CONTRACT in EntryPointFilter at "D:\a\_work\1\s\src\coreclr\vm\excep.cpp" @ 4969
VIOLATED-->  CONTRACT in WKS::GCHeap::Alloc at "D:\a_work\1\s\src\coreclr\gc\gc.cpp" @ 45830
CONTRACT in Alloc at "D:\a_work\1\s\src\coreclr\vm\gchelpers.cpp" @ 207
CONTRACT in AllocateSzArray at "D:\a_work\1\s\src\coreclr\vm\gchelpers.cpp" @ 371
CONTRACT in MethodDescCallSite::CallTargetWorker at "D:\a_work\1\s\src\coreclr\vm\callhelpers.cpp" @ 280
GCX_COOP in Assembly::ExecuteMainMethod at "D:\a_work\1\s\src\coreclr\vm\assembly.cpp" @ 1522
CONTRACT in Assembly::ExecuteMainMethod at "D:\a_work\1\s\src\coreclr\vm\assembly.cpp" @ 1506
GCX_COOP in CorHost2::ExecuteAssembly at "D:\a_work\1\s\src\coreclr\vm\corhost.cpp" @ 339
CONTRACT in CorHost2::ExecuteAssembly at "D:\a_work\1\s\src\coreclr\vm\corhost.cpp" @ 288

CORECLR! CONTRACT_ASSERT + 0x2E4 (0x6fb82a6d)
CORECLR! ClrDebugState::CheckOkayToThrow + 0x23 (0x6fb8404d)
CORECLR! BaseContract::DoChecks + 0x122 (0x6fb883be)
CORECLR! EEContract::DoChecks + 0x4B (0x6fe06bef)
CORECLR! EntryPointFilter + 0x7E (0x6fc592f4)
CORECLR! RunMain + 0xE5 (0x6fbaeec1)
CORECLR! EH4_CallFilterFunc + 0x12 (0x701ec7c2)
CORECLR! except_handler4 + 0xD4 (0x701e8774)
NTDLL! RtlConvertUlongToLargeInteger + 0xA2 (0x76f23292)
NTDLL! RtlConvertUlongToLargeInteger + 0x74 (0x76f23264)
File: D:\a_work\1\s\src\coreclr\vm\excep.cpp Line: 4969
Image: C:\h\w\A6BD09A0\p\corerun.exe

Return code:      1
Raw output file:      C:\h\w\A6BD09A0\w\B6D20A0F\uploads\Reports\readytorun.coreroot_determinism\coreroot_determinism\coreroot_determinism.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\A6BD09A0\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  coreroot_determinism.dll
================================== Compiling with seed 1 ==================================
Locating output folder C:\h\w\A6BD09A0\w\B6D20A0F\e\readytorun\coreroot_determinism\coreroot_determinism\seed1
Deleting 0 output folders
Successfully deleted 0 output folders in 302 msecs
Using dotnet: C:\h\w\A6BD09A0\p\corerun.exe
1 / 1 (0%, 0 failed): launching: C:\h\w\A6BD09A0\p\corerun.exe C:\h\w\A6BD09A0\p\crossgen2\crossgen2.dll @C:\h\w\A6BD09A0\w\B6D20A0F\e\readytorun\coreroot_determinism\coreroot_determinism\seed1\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
1 / 1 (100%, 0 failed): succeeded in 68953 msecs: corerun.exe C:\h\w\A6BD09A0\p\crossgen2\crossgen2.dll @C:\h\w\A6BD09A0\w\B6D20A0F\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\A6BD09A0\w\B6D20A0F\e\readytorun\coreroot_determinism\coreroot_determinism\seed2
Deleting 0 output folders
Successfully deleted 0 output folders in 298 msecs
Using dotnet: C:\h\w\A6BD09A0\p\corerun.exe
1 / 1 (0%, 0 failed): launching: C:\h\w\A6BD09A0\p\corerun.exe C:\h\w\A6BD09A0\p\crossgen2\crossgen2.dll @C:\h\w\A6BD09A0\w\B6D20A0F\e\readytorun\coreroot_determinism\coreroot_determinism\seed2\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
1 / 1 (100%, 0 failed): succeeded in 68813 msecs: corerun.exe C:\h\w\A6BD09A0\p\crossgen2\crossgen2.dll @C:\h\w\A6BD09A0\w\B6D20A0F\e\readytorun\coreroot_determinism\coreroot_determinism\seed2\CPAOT-ret.out\System.Private.CoreLib.dll.rsp
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=C:\h\w\A6BD09A0\p
C:\h\w\A6BD09A0\w\B6D20A0F\e\readytorun\coreroot_determinism\coreroot_de


Stack trace
   at readytorun_coreroot_determinism._coreroot_determinism_coreroot_determinism_._coreroot_determinism_coreroot_determinism_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 19, 2022
@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Sep 19, 2022
@mangod9 mangod9 added this to the 8.0.0 milestone Sep 19, 2022
@mangod9
Copy link
Member

mangod9 commented Sep 19, 2022

assigning to @AntonLapounov since he was running gcstress recently, in case you saw something similar.

@v-wenyuxu
Copy link
Author

Failed again in: runtime-coreclr gcstress-extra 20220925.1

Failed test:

coreclr windows x86 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open
- JIT\\Regression\\VS-ia64-JIT\\V2.0-Beta2\\b309539\\b309539\\b309539.cmd
- GC\\API\\WeakReference\\multipleWRs_1\\multipleWRs_1.cmd
- GC\\API\\WeakReference\\multipleWRs\\multipleWRs.cmd
- GC\\Coverage\\LargeObjectAlloc2\\LargeObjectAlloc2.cmd
- GC\\Coverage\\LargeObjectAlloc\\LargeObjectAlloc.cmd

coreclr windows x86 Checked gcstress0xc_zapdisable_heapverify1 @ Windows.10.Amd64.Open
- GC\\API\\WeakReference\\multipleWRs_1\\multipleWRs_1.cmd
- GC\\API\\WeakReference\\multipleWRs\\multipleWRs.cmd
- GC\\API\\GC\\Collect_Aggressive\\Collect_Aggressive.cmd
- GC\\Coverage\\LargeObjectAlloc\\LargeObjectAlloc.cmd
- GC\\Coverage\\LargeObjectAlloc2\\LargeObjectAlloc2.cmd

coreclr windows x86 Checked heapverify1 @ Windows.10.Amd64.Open
- readytorun\\coreroot_determinism\\coreroot_determinism\\coreroot_determinism.cmd
- JIT\\Stress\\ABI\\pinvokes_do\\pinvokes_do.cmd
- JIT\\superpmi\\superpmicollect\\Bytemark\\Bytemark.cmd
- readytorun\\r2rdump\\FrameworkTests\\R2RDumpTests\\R2RDumpTests.cmd
- baseservices\\threading\\regressions\\269336\\objmonhelper\\objmonhelper.cmd
... ...

Error message:

Assert failure(PID 6708 [0x00001a34], Thread: 7004 [0x1b5c]): CONTRACT VIOLATION by EntryPointFilter at "D:\a_work\1\s\src\coreclr\vm\excep.cpp" @ 4969

THROWS called in a NOTHROW region.

                    CONTRACT in EntryPointFilter at "D:\a\_work\1\s\src\coreclr\vm\excep.cpp" @ 4969
VIOLATED-->  CONTRACT in WKS::GCHeap::Alloc at "D:\a_work\1\s\src\coreclr\gc\gc.cpp" @ 45841
CONTRACT in Alloc at "D:\a_work\1\s\src\coreclr\vm\gchelpers.cpp" @ 207
CONTRACT in AllocateSzArray at "D:\a_work\1\s\src\coreclr\vm\gchelpers.cpp" @ 371
CONTRACT in MethodDescCallSite::CallTargetWorker at "D:\a_work\1\s\src\coreclr\vm\callhelpers.cpp" @ 280
GCX_COOP in Assembly::ExecuteMainMethod at "D:\a_work\1\s\src\coreclr\vm\assembly.cpp" @ 1522
CONTRACT in Assembly::ExecuteMainMethod at "D:\a_work\1\s\src\coreclr\vm\assembly.cpp" @ 1506
GCX_COOP in CorHost2::ExecuteAssembly at "D:\a_work\1\s\src\coreclr\vm\corhost.cpp" @ 339
CONTRACT in CorHost2::ExecuteAssembly at "D:\a_work\1\s\src\coreclr\vm\corhost.cpp" @ 288

CORECLR! CONTRACT_ASSERT + 0x2E4 (0x703f2a6d)
CORECLR! ClrDebugState::CheckOkayToThrow + 0x23 (0x703f404d)
CORECLR! BaseContract::DoChecks + 0x122 (0x703f83be)
CORECLR! EEContract::DoChecks + 0x4B (0x7067734f)
CORECLR! EntryPointFilter + 0x7E (0x704c92f4)
CORECLR! RunMain + 0xE5 (0x7041eec1)
CORECLR! EH4_CallFilterFunc + 0x12 (0x70a5d112)
CORECLR! except_handler4 + 0xD4 (0x70a590c4)
NTDLL! RtlConvertUlongToLargeInteger + 0xA2 (0x77883292)
NTDLL! RtlConvertUlongToLargeInteger + 0x74 (0x77883264)
File: D:\a_work\1\s\src\coreclr\vm\excep.cpp Line: 4969
Image: C:\h\w\AF9A0961\p\corerun.exe

Return code:      1
Raw output file:      C:\h\w\AF9A0961\w\A994091C\uploads\Reports\GC.Features\Pinning\PinningOther\PinnedMany\PinnedMany.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\AF9A0961\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  PinnedMany.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=C:\h\w\AF9A0961\p
C:\h\w\AF9A0961\w\A994091C\e\GC\Features\Pinning\PinningOther\PinnedMany\PinnedMany.cmd
Expected: True
Actual:   False


Stack trace
   at GC_Features._Pinning_PinningOther_PinnedMany_PinnedMany_._Pinning_PinningOther_PinnedMany_PinnedMany_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

@EgorBo
Copy link
Member

EgorBo commented Oct 4, 2022

Can be the same as #75819

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Oct 4, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Oct 5, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants