dotnet / runtime

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

crossgen2-composite gcstress has lot of failures #94678

Open kunalspathak opened 10 months ago

kunalspathak commented 10 months ago

Here is the log from latest run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=467481&view=results

Emitting R2R PE file: /root/helix/work/workitem/e/Loader/classloader/DefaultInterfaceMethods/diamondshape/diamondshape_d/composite-r2r.dll
Emitting R2R PE file: /root/helix/work/workitem/e/Loader/classloader/DefaultInterfaceMethods/diamondshape/diamondshape_d/diamondshape_d.dll
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/Loader/classloader/DefaultInterfaceMethods/diamondshape/diamondshape_d/composite-r2r.dll --out /root/helix/work/workitem/e/Loader/classloader/DefaultInterfaceMethods/diamondshape/diamondshape_d/composite-r2r.dll.r2rdump --val
Error: System.Exception: Missing reference assembly: diamondshape
   at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.OpenReferenceAssembly(Int32 refAsmIndex) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 1587
   at ILCompiler.Reflection.ReadyToRun.MetadataNameFormatter.FormatSignature(IAssemblyResolver assemblyResolver, ReadyToRunReader r2rReader, Int32 imageOffset) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunSignature.cs:line 96
   at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.EnsureImportSections() in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 1445
   at R2RDump.TextDumper.DumpSectionContents(ReadyToRunSection section) in /_/src/coreclr/tools/r2rdump/TextDumper.cs:line 435
   at R2RDump.TextDumper.DumpSection(ReadyToRunSection section) in /_/src/coreclr/tools/r2rdump/TextDumper.cs:line 120
   at R2RDump.TextDumper.DumpHeader(Boolean dumpSections) in /_/src/coreclr/tools/r2rdump/TextDumper.cs:line 81
   at R2RDump.Program.Dump(ReadyToRunReader r2r) in /_/src/coreclr/tools/r2rdump/Program.cs:line 166
   at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 459
07:49:53
R2RDump failed with exitcode: 1
in ReleaseLock
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 11/13/2023 7:49:52 AM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /root/helix/work/workitem/e/Loader/Loader/../classloader/DefaultInterfaceMethods/diamondshape/diamondshape_d/diamondshape_d.sh
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath)
   at Program.<<Main>$>g__TestExecutor55|0_56(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
07:49:54.037 Failed test: Loader/classloader/DefaultInterfaceMethods/diamondshape/diamondshape_d/diamondshape_d.cmd
07:49:54.042 Running test: Loader/classloader/DefaultInterfaceMethods/diamondshape/diamondshape_r/diamondshape_r.cmd
cp: target '/root/helix/work/correlation/lib*.dylib' is not a directory
kunalspathak commented 10 months ago

@mangod9

kunalspathak commented 10 months ago

Similar failures in crossgen2-composite and crossgen2-outerloop

steveisok commented 2 months ago

@kunalspathak is this still happening?