Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure: Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd #108868

Open
v-wenyuxu opened this issue Oct 15, 2024 · 2 comments
Labels
arch-arm64 area-crossgen2-coreclr blocking-clean-ci-optional Blocking optional rolling runs os-linux Linux OS (any supported distro) untriaged New issue has not been triaged by the area owner

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr r2r 20241013.1

Failed tests:

R2R-CG2 linux arm64 Checked @ (Ubuntu.2004.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd

Error message:

 DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
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/COM/ComWrappers/API/ComWrappersTests/output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/IL-CG2/ComWrappersTests.dll
06:40:46
Response file: /root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.dll.rsp
/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/IL-CG2/ComWrappersTests.dll
-o:/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.dll
--targetarch:arm64
--targetos:linux
--verify-type-and-field-layout
--method-layout:random
-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
-r:/root/helix/work/correlation/netstandard.dll
Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.dll.rsp   -r:/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/IL-CG2/*.dll
Emitting R2R PE file: /root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.dll
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.dll --out /root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.dll.r2rdump --val
06:40:46
/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/IL-CG2/TestLibrary.dll
06:40:46
Response file: /root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/TestLibrary.dll.rsp
/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/IL-CG2/TestLibrary.dll
-o:/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/TestLibrary.dll
--targetarch:arm64
--targetos:linux
--verify-type-and-field-layout
--method-layout:random
-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
-r:/root/helix/work/correlation/netstandard.dll
Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/TestLibrary.dll.rsp   -r:/root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/IL-CG2/*.dll
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/TestLibrary.dll --out /root/helix/work/workitem/e/Interop/COM/ComWrappers/API/ComWrappersTests/TestLibrary.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
06:40:46
Crossgen2 failed with exitcode: 127
in ReleaseLock
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 10/14/2024 6:40:46 AM
Test Harness Exitcode is : 1
To ru

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 128
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor203|25_204(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)
Queued Pipeline Pipeline_Configuration OS Arch Test Outcome Properties BuildReason
2024-07-21T07:28:35.007Z runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_disabler2r_jitstress2 windows.11.arm64.open arm64 Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd Failed {"System.PhaseName":"run_test_p1_Composite_windows_arm64_checked","Reason":"Schedule","configuration":"Checked-gcstress0xc_disabler2r_jitstress2","BuildNumber":"20240720.1","BuildId":"749113","architecture":"arm64","System.JobAttempt":"1","operatingSystem":"Windows.11.Arm64.Open","Project":"public","System.StageAttempt":"1","DefinitionName":"runtime-coreclr crossgen2-composite gcstress","AzurePipelinesTestRunId":"18952478","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.PhaseAttempt":"1","DefinitionId":"141","System.JobId":"c55e12b8-4209-535c-d94d-51b07fc6ab63","System.JobName":"__default"} Schedule
@v-wenyuxu v-wenyuxu added arch-arm64 blocking-clean-ci-optional Blocking optional rolling runs os-linux Linux OS (any supported distro) labels Oct 15, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Oct 15, 2024
@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr crossgen2 20250106.1

Failed tests:

R2R-CG2 windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd

Error message:

 
Return code:      1
Raw output file:      C:hw96D4085EwA3DE08E4uploadsCOMComWrappersAPIComWrappersTestsoutput.txt
Raw output:
BEGIN EXECUTION
ComWrappersTests.dll
MockReferenceTrackerRuntime.dll
TestLibrary.dll
        3 file(s) copied.
 7:32:46.05
Response file: C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.rsp
C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsIL-CG2ComWrappersTests.dll
-o:C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hw96D4085EpSystem.*.dll
-r:C:hw96D4085EpMicrosoft.*.dll
-r:C:hw96D4085Ep\xunit.*.dll
-r:C:hw96D4085Epmscorlib.dll
-r:C:hw96D4085Ep
etstandard.dll
"Running CrossGen2:  "C:hw96D4085Epcrossgen2crossgen2.exe" @"C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.rsp"   -r:C:hw96D4085EwA3DE08E4eInteropInteropIL-CG2*.dll  -r:C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
Emitting R2R PE file: C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll
"Running R2RDump:  "dotnet" "C:hw96D4085Ep
2rdump
2rdump.dll" --header --sc --in C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll --out C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.r2rdump --val"
 7:32:46.91
 7:32:46.91
Response file: C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll.rsp
C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsIL-CG2MockReferenceTrackerRuntime.dll
-o:C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hw96D4085EpSystem.*.dll
-r:C:hw96D4085EpMicrosoft.*.dll
-r:C:hw96D4085Ep\xunit.*.dll
-r:C:hw96D4085Epmscorlib.dll
-r:C:hw96D4085Ep
etstandard.dll
"Running CrossGen2:  "C:hw96D4085Epcrossgen2crossgen2.exe" @"C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll.rsp"   -r:C:hw96D4085EwA3DE08E4eInteropInteropIL-CG2*.dll  -r:C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
No input files are loadable
 7:32:47.05
 7:32:47.05
Response file: C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.rsp
C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsIL-CG2TestLibrary.dll
-o:C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hw96D4085EpSystem.*.dll
-r:C:hw96D4085EpMicrosoft.*.dll
-r:C:hw96D4085Ep\xunit.*.dll
-r:C:hw96D4085Epmscorlib.dll
-r:C:hw96D4085Ep
etstandard.dll
"Running CrossGen2:  "C:hw96D4085Epcrossgen2crossgen2.exe" @"C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.rsp"   -r:C:hw96D4085EwA3DE08E4eInteropInteropIL-CG2*.dll  -r:C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
Emitting R2R PE file: C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll
"Running R2RDump:  "dotnet" "C:hw96D4085Ep
2rdump
2rdump.dll" --header --sc --in C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll --out C:hw96D4085EwA3DE08E4eInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.r2rdump --val"
 7:32:48.05
 "C:hw96D4085Epcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ComWrappersTests.dll 
Running ValidateComInterfaceCreation...
Running ValidateComInterfaceCreationRoundTrip...
Running ValidateComInterfaceUnwrapWrapperSpecific...
Running ValidateComObjectExtendsManagedLifetime...
Running ValidateCreatingAComInterfaceForObjectAfterTheFirstIsFree...
Running ValidateResurrection...
Running ValidateFal

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 TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor202|25_203(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)
Queued Pipeline Pipeline_Configuration OS Arch Test Outcome Properties BuildReason
2024-07-21T07:28:35.007Z runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_disabler2r_jitstress2 windows.11.arm64.open arm64 Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd Failed {"System.PhaseName":"run_test_p1_Composite_windows_arm64_checked","Reason":"Schedule","configuration":"Checked-gcstress0xc_disabler2r_jitstress2","BuildNumber":"20240720.1","BuildId":"749113","architecture":"arm64","System.JobAttempt":"1","operatingSystem":"Windows.11.Arm64.Open","Project":"public","System.StageAttempt":"1","DefinitionName":"runtime-coreclr crossgen2-composite gcstress","AzurePipelinesTestRunId":"18952478","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.PhaseAttempt":"1","DefinitionId":"141","System.JobId":"c55e12b8-4209-535c-d94d-51b07fc6ab63","System.JobName":"__default"} Schedule

@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr r2r 20250107.1

Failed tests:

R2R-CG2 windows x64 Checked no_tiered_compilation @ Windows.10.Amd64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd

Error message:

 Unhandled exception. System.Runtime.InteropServices.COMException (0x8000000E): A method was called at an unexpected time.

   at ComWrappersTests.Program.<>c__DisplayClass28_0.<CrossApartmentQueryInterface_NoDeadlock>b__1()
   at System.Threading.Thread.StartHelper.RunWorker()

Return code:      1
Raw output file:      C:hwAC35095CwA8B608BDuploadsCOMComWrappersAPIComWrappersTestsoutput.txt
Raw output:
BEGIN EXECUTION
ComWrappersTests.dll
MockReferenceTrackerRuntime.dll
TestLibrary.dll
        3 file(s) copied.
 6:54:33.66
Response file: C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.rsp
C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsIL-CG2ComWrappersTests.dll
-o:C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwAC35095CpSystem.*.dll
-r:C:hwAC35095CpMicrosoft.*.dll
-r:C:hwAC35095Cp\xunit.*.dll
-r:C:hwAC35095Cpmscorlib.dll
-r:C:hwAC35095Cp
etstandard.dll
"Running CrossGen2:  "C:hwAC35095Cpcrossgen2crossgen2.exe" @"C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.rsp"   -r:C:hwAC35095CwA8B608BDeInteropInteropIL-CG2*.dll  -r:C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
Emitting R2R PE file: C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll
"Running R2RDump:  "dotnet" "C:hwAC35095Cp
2rdump
2rdump.dll" --header --sc --in C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll --out C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.r2rdump --val"
 6:54:34.46
 6:54:34.46
Response file: C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll.rsp
C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsIL-CG2MockReferenceTrackerRuntime.dll
-o:C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwAC35095CpSystem.*.dll
-r:C:hwAC35095CpMicrosoft.*.dll
-r:C:hwAC35095Cp\xunit.*.dll
-r:C:hwAC35095Cpmscorlib.dll
-r:C:hwAC35095Cp
etstandard.dll
"Running CrossGen2:  "C:hwAC35095Cpcrossgen2crossgen2.exe" @"C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll.rsp"   -r:C:hwAC35095CwA8B608BDeInteropInteropIL-CG2*.dll  -r:C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
No input files are loadable
 6:54:34.52
 6:54:34.52
Response file: C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.rsp
C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsIL-CG2TestLibrary.dll
-o:C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwAC35095CpSystem.*.dll
-r:C:hwAC35095CpMicrosoft.*.dll
-r:C:hwAC35095Cp\xunit.*.dll
-r:C:hwAC35095Cpmscorlib.dll
-r:C:hwAC35095Cp
etstandard.dll
"Running CrossGen2:  "C:hwAC35095Cpcrossgen2crossgen2.exe" @"C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.rsp"   -r:C:hwAC35095CwA8B608BDeInteropInteropIL-CG2*.dll  -r:C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
Emitting R2R PE file: C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll
"Running R2RDump:  "dotnet" "C:hwAC35095Cp
2rdump
2rdump.dll" --header --sc --in C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll --out C:hwAC35095CwA8B608BDeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.r2rdump --val"
 6:54:35.41
 "C:hwAC35095Cpcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ComWrappersTests.dll 
Running ValidateComInterfaceCreatio

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 TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor203|25_204(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)
Queued Pipeline Pipeline_Configuration OS Arch Test Outcome Properties BuildReason
2024-07-21T07:28:35.007Z runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_disabler2r_jitstress2 windows.11.arm64.open arm64 Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd Failed {"System.PhaseName":"run_test_p1_Composite_windows_arm64_checked","Reason":"Schedule","configuration":"Checked-gcstress0xc_disabler2r_jitstress2","BuildNumber":"20240720.1","BuildId":"749113","architecture":"arm64","System.JobAttempt":"1","operatingSystem":"Windows.11.Arm64.Open","Project":"public","System.StageAttempt":"1","DefinitionName":"runtime-coreclr crossgen2-composite gcstress","AzurePipelinesTestRunId":"18952478","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.PhaseAttempt":"1","DefinitionId":"141","System.JobId":"c55e12b8-4209-535c-d94d-51b07fc6ab63","System.JobName":"__default"} Schedule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 area-crossgen2-coreclr blocking-clean-ci-optional Blocking optional rolling runs os-linux Linux OS (any supported distro) untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant