Skip to content

Test failure: Loader/CollectibleAssemblies/ResolvedFromDifferentContext/ResolvedFromDifferentContext/ResolvedFromDifferentContext.cmd #112618

Open
@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr gcstress-extra 20250215.1

Failed tests:

coreclr windows x86 Checked gcstress0xc_tailcallstress @ Windows.10.Amd64.Open
    - Loader/CollectibleAssemblies/ResolvedFromDifferentContext/ResolvedFromDifferentContext/ResolvedFromDifferentContext.cmd

Error message:

 
Return code:      1
Raw output file:      C:hwA39F08BEwC5F70AA8uploadsCollectibleAssembliesResolvedFromDifferentContextResolvedFromDifferentContextoutput.txt
Raw output:
BEGIN EXECUTION
 "C:hwA39F08BEpcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ResolvedFromDifferentContext.dll 
Running test case ResolvingEvent
Resolving event by alc "Dependencies" System.Runtime.Loader.AssemblyLoadContext #0 for alc "Test1" System.Runtime.Loader.AssemblyLoadContext #1
Loading TestInterface by alc "Dependencies" System.Runtime.Loader.AssemblyLoadContext #0 for collectible alc "Test1" System.Runtime.Loader.AssemblyLoadContext #1
Type TestClass.Class obtained
Method Void MainTest() obtained
Load done
TestInterface.Class.Test
Failed to unload alc1
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 100
Actual:   103
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 174
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 2/15/2025 11:17:32 PM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwA39F08BEwC5F70AA8eLoaderLoader../CollectibleAssemblies/ResolvedFromDifferentContext/ResolvedFromDifferentContext/ResolvedFromDifferentContext.cmd

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
   at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 123
   at Program.<<Main>$>g__TestExecutor322|0_323(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions