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/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.cmd #111264

Open
v-wenyuxu opened this issue Jan 10, 2025 · 6 comments
Labels
arch-arm64 area-Interop-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-windows untriaged New issue has not been triaged by the area owner

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr outerloop 20250109.4

Failed tests:

coreclr windows arm64 Checked no_tiered_compilation @ Windows.11.Arm64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.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:hwA860090CwAB0F09A7uploadsCOMComWrappersAPIComWrappersTestsBuiltInComDisabledoutput.txt
Raw output:
BEGIN EXECUTION
 "C:hwA860090Cpcorerun.exe" -p "System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ComWrappersTestsBuiltInComDisabled.dll 
Running ValidateComInterfaceCreation...
Running ValidateComInterfaceCreationRoundTrip...
Running ValidateComInterfaceUnwrapWrapperSpecific...
Running ValidateComObjectExtendsManagedLifetime...
Running ValidateCreatingAComInterfaceForObjectAfterTheFirstIsFree...
Running ValidateResurrection...
Running ValidateFallbackQueryInterface...
Running ValidateCreateObjectCachingScenario...
Running ValidateCreateObjectWeakHandleCacheCleanUp...
Running ValidateMappingAPIs...
Running ValidateWrappersInstanceIsolation...
Running ValidatePrecreatedExternalWrapper...
Running ValidateExternalWrapperCacheCleanUp...
Running ValidateSuppliedInnerNotAggregation...
Running ValidateIUnknownImpls...
Running ValidateBadComWrapperImpl...
Running ValidateRuntimeTrackerScenario...
Running ValidateQueryInterfaceAfterManagedObjectCollected...
Running ValidateAggregationWithComObject...
Running ValidateAggregationWithReferenceTrackerObject...
Running ComWrappersNoLockAroundQueryInterface...
Attempting to create a new COM object on a different thread.
Running CrossApartmentQueryInterface_NoDeadlock...
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Expected: 100
Actual: -532462766
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump f

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor204|25_205(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)
@v-wenyuxu v-wenyuxu added arch-arm64 blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-windows labels Jan 10, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jan 10, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

@AaronRobinsonMSFT
Copy link
Member

@jkoritzinsky Do we need to disable this test for built-in COM scenarios? Unclear why that would impact this.

@StarRiver123
Copy link

e need to disable this test for built-in COM sc

It is supported built-in-com in aot?

@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr pgostress 20250113.1

Failed tests:

coreclr windows x86 Checked fullpgo_methodprofiling @ Windows.10.Amd64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.cmd

Error message:

 
Return code:      1
Raw output file:      C:hwA2D20973wB45C09E8uploadsCOMComWrappersAPIComWrappersTestsBuiltInComDisabledoutput.txt
Raw output:
BEGIN EXECUTION
 "C:hwA2D20973pcorerun.exe" -p "System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ComWrappersTestsBuiltInComDisabled.dll 
Running ValidateComInterfaceCreation...
Running ValidateComInterfaceCreationRoundTrip...
Running ValidateComInterfaceUnwrapWrapperSpecific...
Running ValidateComObjectExtendsManagedLifetime...
Running ValidateCreatingAComInterfaceForObjectAfterTheFirstIsFree...
Running ValidateResurrection...
Running ValidateFallbackQueryInterface...
Running ValidateCreateObjectCachingScenario...
Running ValidateCreateObjectWeakHandleCacheCleanUp...
Running ValidateMappingAPIs...
Running ValidateWrappersInstanceIsolation...
Running ValidatePrecreatedExternalWrapper...
Running ValidateExternalWrapperCacheCleanUp...
Running ValidateSuppliedInnerNotAggregation...
Running ValidateIUnknownImpls...
Running ValidateBadComWrapperImpl...
Running ValidateRuntimeTrackerScenario...
Running ValidateQueryInterfaceAfterManagedObjectCollected...
Running ValidateAggregationWithComObject...
Running ValidateAggregationWithReferenceTrackerObject...
Running ComWrappersNoLockAroundQueryInterface...
Attempting to create a new COM object on a different thread.
Running CrossApartmentQueryInterface_NoDeadlock...
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Expected: 100
Actual: -1073740940
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 1/13/2025 11:07:54 AM
Processing C:corescorerun.exe.5156.dmp
Invoking: C:Program Files (x86)Windows Kits10Debuggers�cdb.exe -c "$<C:hwA2D20973		mpuwnc0j.tmp" -z "C:corescorerun.exe.5156.dmp"
stdout: 
Microsoft (R) Windows Debugger Version 10.0.18362.1 X86
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:corescorerun.exe.5156.dmp]
User Mini Dump File with Full Memory: Only application data is available


************* Path validation summary **************
Response                         Time (ms)     Location
OK                                             C:hwA2D20973pPDB
Symbol search path is: C:hwA2D20973pPDB
Executable search path is: 
Windows 10 Version 14393 MP (4 procs) Free x86 compatible
Product: Server, suite: TerminalServer DataCenter SingleUserTS
10.0.14393.6343 (rs1_release.230913-1727)
Machine Name:
Debug session time: Mon Jan 13 11:08:02.000 2025 (UTC + 0:00)
System Uptime: 0 days 0:03:43.231
Process Uptime: 0 days 0:00:08.000
..........

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__TestExecutor204|25_205(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)

@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr jitstress 20250113.1

Failed tests:

coreclr windows x64 Checked tailcallstress @ Windows.10.Amd64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.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:hw9E820905wAE8A0995uploadsCOMComWrappersAPIComWrappersTestsBuiltInComDisabledoutput.txt
Raw output:
BEGIN EXECUTION
 "C:hw9E820905pcorerun.exe" -p "System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ComWrappersTestsBuiltInComDisabled.dll 
Running ValidateComInterfaceCreation...
Running ValidateComInterfaceCreationRoundTrip...
Running ValidateComInterfaceUnwrapWrapperSpecific...
Running ValidateComObjectExtendsManagedLifetime...
Running ValidateCreatingAComInterfaceForObjectAfterTheFirstIsFree...
Running ValidateResurrection...
Running ValidateFallbackQueryInterface...
Running ValidateCreateObjectCachingScenario...
Running ValidateCreateObjectWeakHandleCacheCleanUp...
Running ValidateMappingAPIs...
Running ValidateWrappersInstanceIsolation...
Running ValidatePrecreatedExternalWrapper...
Running ValidateExternalWrapperCacheCleanUp...
Running ValidateSuppliedInnerNotAggregation...
Running ValidateIUnknownImpls...
Running ValidateBadComWrapperImpl...
Running ValidateRuntimeTrackerScenario...
Running ValidateQueryInterfaceAfterManagedObjectCollected...
Running ValidateAggregationWithComObject...
Running ValidateAggregationWithReferenceTrackerObject...
Running ComWrappersNoLockAroundQueryInterface...
Attempting to create a new COM object on a different thread.
Running CrossApartmentQueryInterface_NoDeadlock...
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Expected: 100
Actual: -532462766
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 1/14/2025 5:35:57 AM
Processing C:corescorerun.exe.5928.dmp
Invoking: C:Program Files (x86)Windows Kits10Debuggersdcdb.exe -c "$<C:hw9E820905		mpw5dpuy.tmp" -z "C:corescorerun.exe.5928.dmp"
stdout: 
Microsoft (R) Windows Debugger Version 10.0.18362.1 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:corescorerun.exe.5928.dmp]
User Mini Dump File with Full Memory: Only application data is available


************* Path validation summary **************
Response                         Time (ms)     Location
OK                                             C:hw9E820905pPDB
Symbol search path is: C:hw9E820905pPDB
Executable search path is: 
Windows 10 Version 14393 MP (4 procs) Fr

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__TestExecutor204|25_205(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)

@v-wenyuxu
Copy link
Author

Failed in: runtime-coreclr jitstress 20250121.2

Failed tests:

coreclr windows x86 Checked jitstress2_tiered @ Windows.10.Amd64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.cmd

Error message:

 Fatal error. 0xC0000005
   at System.Runtime.InteropServices.Marshal.Release(IntPtr)
   at ComWrappersTests.Program.CrossApartmentQueryInterface_NoDeadlock()
   at __GeneratedMainWrapper.Main()

Return code:      1
Raw output file:      C:hwA5090962wAEAF09C4uploadsCOMComWrappersAPIComWrappersTestsBuiltInComDisabledoutput.txt
Raw output:
BEGIN EXECUTION
 "C:hwA5090962pcorerun.exe" -p "System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ComWrappersTestsBuiltInComDisabled.dll 
Running ValidateComInterfaceCreation...
Running ValidateComInterfaceCreationRoundTrip...
Running ValidateComInterfaceUnwrapWrapperSpecific...
Running ValidateComObjectExtendsManagedLifetime...
Running ValidateCreatingAComInterfaceForObjectAfterTheFirstIsFree...
Running ValidateResurrection...
Running ValidateFallbackQueryInterface...
Running ValidateCreateObjectCachingScenario...
Running ValidateCreateObjectWeakHandleCacheCleanUp...
Running ValidateMappingAPIs...
Running ValidateWrappersInstanceIsolation...
Running ValidatePrecreatedExternalWrapper...
Running ValidateExternalWrapperCacheCleanUp...
Running ValidateSuppliedInnerNotAggregation...
Running ValidateIUnknownImpls...
Running ValidateBadComWrapperImpl...
Running ValidateRuntimeTrackerScenario...
Running ValidateQueryInterfaceAfterManagedObjectCollected...
Running ValidateAggregationWithComObject...
Running ValidateAggregationWithReferenceTrackerObject...
Running ComWrappersNoLockAroundQueryInterface...
Attempting to create a new COM object on a different thread.
Running CrossApartmentQueryInterface_NoDeadlock...
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Attempting to create a new COM object on the same thread.
Expected: 100
Actual: -1073741819
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 1/22/2025 5:39:42 AM
Processing C:corescorerun.exe.5372.dmp
Invoking: C:Program Files (x86)Windows Kits10Debuggers�cdb.exe -c "$<C:hwA5090962		mpujfopw.tmp" -z "C:corescorerun.exe.5372.dmp"
stdout: 
Microsoft (R) Windows Debugger Version 10.0.18362.1 X86
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:corescorerun.exe.5372.dmp]
User Mini Dump File with Full Memory: Only application data is available


************* Path validation summary **************
Response                         Time (ms)     Location
OK                                             C:hwA5090962pPDB
Symbol search path is: C:hwA5090962pPDB
Executable search path is: 
Windows 10 Version 14393 MP (4 procs) Free x86 compatible
Product: Server, suite: TerminalServer DataCenter SingleUserTS
10.0

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor204|25_205(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 area-Interop-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-windows untriaged New issue has not been triaged by the area owner
Projects
Status: No status
Development

No branches or pull requests

3 participants