dotnet / runtime

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

Test failure: baseservices/compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.cmd #107825

Open v-wenyuxu opened 2 months ago

v-wenyuxu commented 2 months ago

Failed in: runtime-coreclr outerloop 20240913.6

Failed tests:

R2R-CG2 linux arm64 Checked @ (Ubuntu.2004.Arm64.Open)Ubuntu.2004.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8
    - baseservices/compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.cmd

Error message:

 /root/helix/work/workitem/e/baseservices/baseservices/../compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.sh: line 316: -r:/root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/IL-CG2/*.dll: No such file or directory
DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
Inconsistency detected by ld.so: dl-tls.c: 481: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/compilerservices/dynamicobjectproperties/TestAPIs/output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/IL-CG2/TestAPIs.dll
02:53:33
Response file: /root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.dll.rsp
/root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/IL-CG2/TestAPIs.dll
-o:/root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.dll
-r:/root/helix/work/correlation/System.*.dll
-r:/root/helix/work/correlation/Microsoft.*.dll
-r:/root/helix/work/correlation/xunit.*.dll
-r:/root/helix/work/correlation/mscorlib.dll
--verify-type-and-field-layout
--method-layout:random
--targetarch:arm64
--targetos:linux
Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.dll.rsp  
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.dll --out /root/helix/work/workitem/e/baseservices/compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.dll.r2rdump --val
Error: System.BadImageFormatException: The file is not a ReadyToRun image
   at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 467
   at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader..ctor(IAssemblyResolver assemblyResolver, String filename) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 403
   at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
02:53:33
Crossgen2 failed with exitcode: 127
in ReleaseLock
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 9/14/2024 2:53:33 AM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /root/helix/work/workitem/e/baseservices/baseservices/../compilerservices/dynamicobjectproperties/TestAPIs/TestAPIs.sh

Stack trace:

   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, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor7|0_8(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
steveisok commented 2 months ago

@kg is this part of what you're seeing on the outerloop?

kg commented 2 months ago

I don't see it in https://dev.azure.com/dnceng-public/public/_build/results?buildId=820739&view=ms.vss-test-web.build-test-results-tab so i think it is separate/new