Test failure: System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField
Example failure: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1051941&view=results
Failed tests:
net10.0-windows-Release-x86-jitosr_stress_random-Windows.10.Amd64.Open
- System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField
Error message:
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Exit code was -1073740286 but it should have been 42
Stack trace:
at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing) in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 242
at System.Reflection.Metadata.ApplyUpdateUtil.TestCase(Action testBody, RemoteInvokeOptions options) in /_/src/libraries/System.Runtime.Loader/tests/ApplyUpdateUtil.cs:line 130
at System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField() in /_/src/libraries/System.Runtime.Loader/tests/ApplyUpdateTest.cs:line 896
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 126
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": ["FAILED: IsUnsealed()", "System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField [FAIL]"],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1051941&view=results Result validation: :warning: Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: :mag_right:" line. Validation performed at: 5/27/2025 3:33:00 PM UTC
Known issue validation
Build: :mag_right: Result validation: :warning: Provided build not found. Provide a valid build in the "Build: :mag_right:" line. Validation performed at: 5/27/2025 3:33:33 PM UTC
Known issue validation
Build: :mag_right: Result validation: :warning: Provided build not found. Provide a valid build in the "Build: :mag_right:" line. Validation performed at: 5/27/2025 3:35:01 PM UTC
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1051941
Error message validated: [FAILED: IsUnsealed() System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField [FAIL]]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 5/27/2025 3:35:44 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 2 | 4 | 9 |
Tagging subscribers to this area: @dotnet/area-system-reflection-metadata See info in area-owners.md if you want to be subscribed.
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
@AndyAyersMS, PTAL.
Artifacts for that failure are gone. The test failed again on 03-May.
See net10.0-windows-Release-x86-jitosr_stress-Windows.10.Amd64.Open
and this looks like a possible runtime issue?
Applying metadata update for C:\h\w\BCAD0A09\w\A7150947\e\System.Reflection.Metadata.ApplyUpdate.Test.GenericAddStaticField.dll, revision 2
Assert failure(PID 6624 [0x000019e0], Thread: 6860 [0x1acc]): Precondition failure:
FAILED: IsUnsealed()
CORECLR! CHECK::Trigger + 0x264 (0x720c966a)
CORECLR! EETypeHashTable::InsertValue + 0x1C5 (0x71d9e652)
CORECLR! ClassLoader::PublishType + 0x695 (0x71c278ed)
CORECLR! ClassLoader::DoIncrementalLoad + 0x415 (0x71c1bec0)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey_Body + 0x786 (0x71c24188)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey + 0x164 (0x71c234f4)
CORECLR! ClassLoader::LoadConstructedTypeThrowing + 0x62F (0x71c1ff9f)
CORECLR! ClassLoader::LoadGenericInstantiationThrowing + 0x532 (0x71c2099f)
CORECLR! SigPointer::GetTypeHandleThrowing + 0x14E0 (0x71d66305)
CORECLR! SigPointer::GetTypeHandleThrowing + 0x13A7 (0x71d661cc)
File: D:\a\_work\1\s\src\coreclr\vm\typehash.cpp:508
Image: C:\h\w\BCAD0A09\p\dotnet.exe
Going to repath this to area-vm.
Tagging subscribers to this area: @mangod9 See info in area-owners.md if you want to be subscribed.
@mangod9 FYI
Failed in: runtime-coreclr libraries-jitstress 20250710.1
Failed tests:
net10.0-windows-Release-x64-jitstress1_tiered-Windows.10.Amd64.Open
- System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField
Error message:
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Exit code was -1073740286 but it should have been 42
Stack trace:
at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing) in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 242
at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose() in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 55
at System.Reflection.Metadata.ApplyUpdateUtil.TestCase(Action testBody, RemoteInvokeOptions options) in /_/src/libraries/System.Runtime.Loader/tests/ApplyUpdateUtil.cs:line 130
at System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField() in /_/src/libraries/System.Runtime.Loader/tests/ApplyUpdateTest.cs:line 897
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57