dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.12k stars 4.7k forks source link

Unload_TwoCollectibleWithOneAssemblyAndOneInstanceReferencingAnother test failed in CI #104153

Open stephentoub opened 3 months ago

stephentoub commented 3 months ago

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=723685 Build error leg or test failing: System.Runtime.Loader.Tests.AssemblyLoadContextTest.Unload_TwoCollectibleWithOneAssemblyAndOneInstanceReferencingAnother Pull request: https://github.com/dotnet/runtime/pull/104132

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": [ "Unload_TwoCollectibleWithOneAssemblyAndOneInstanceReferencingAnother", "Failure: Values differ" ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Failing Configuration
[Alpine.316.Amd64.Open](https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=723685&view=ms.vss-test-web.build-test-results-tab&runId=18160450&resultId=151526)
Exception Message
Assert.Equal() Failure: Values differ
Expected: 2
Actual:   1
CallStack
   at System.Runtime.Loader.Tests.AssemblyLoadContextTest.CollectibleChecker.GcAndCheck(Int32 overrideExpect) in /_/src/libraries/System.Runtime.Loader/tests/CollectibleAssemblyLoadContextTest.cs:line 488
   at System.Runtime.Loader.Tests.AssemblyLoadContextTest.TwoCollectibleWithOneAssemblyAndOneInstanceReferencingAnotherTest.CheckContextUnloaded1() in /_/src/libraries/System.Runtime.Loader/tests/CollectibleAssemblyLoadContextTest.cs:line 418
   at System.Runtime.Loader.Tests.AssemblyLoadContextTest.Unload_TwoCollectibleWithOneAssemblyAndOneInstanceReferencingAnother() in /_/src/libraries/System.Runtime.Loader/tests/CollectibleAssemblyLoadContextTest.cs:line 453
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)

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.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=723685 Error message validated: [Unload_TwoCollectibleWithOneAssemblyAndOneInstanceReferencingAnother Failure: Values differ] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 6/28/2024 2:23:58 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
jeffschwMSFT commented 1 month ago

removing blocking-clean-ci as it has not failed in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0