runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Interop/COM/NativeClients/Dispatch test failure: 0x80131516 = dispatchCoerceTesting->Invoke

Open elinor-fung opened this issue 5 months ago • 1 comments

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1061113 Build error leg or test failing: Interop/COM/NativeClients/Dispatch/Dispatch.cmd Pull request: https://github.com/dotnet/runtime/pull/116342

console log

Return code:      1
Raw output file:      C:hwAC05097EwBAE409ECuploadsCOMNativeClientsDispatchoutput.txt
Raw output:
BEGIN EXECUTION
Copying 'C:hwAC05097EpCoreShim.dll'...
        1 file(s) copied.
 COMClientDispatch Dispatch.dll 
Invoke DoubleNumeric_ReturnByRef
Invoke Add_Float_ReturnAndUpdateByRef
Invoke Add_Double_ReturnAndUpdateByRef
Invoke PassThroughLCID
Invoke GetEnumerator (DISPID_NEWENUM)
 -- Validate returned IEnumVARIANT
Invoke ExplicitGetEnumerator
 -- Validate returned IEnumVARIANT
Invoke ManagedArgument
Validating VT_UI4
Validating VT_I2
Validating VT_I8
Validating VT_R8
Validating VT_CY
Validating VT_BSTR
FAILURE: 0x80131516 = dispatchCoerceTesting->Invoke( methodId, IID_NULL, lcid, DISPATCH_METHOD, &params, &result, nullptr, nullptr )
Test Failure: 0x80131516
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 6/6/2025 7:17:42 PM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwAC05097EwBAE409ECeInteropInterop../COM/NativeClients/Dispatch/Dispatch.cmd

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "0x80131516 = dispatchCoerceTesting->Invoke",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1061113 Error message validated: [0x80131516 = dispatchCoerceTesting->Invoke] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 6/6/2025 8:59:20 PM UTC

Report

Build Definition Test Pull Request
1062988 dotnet/runtime Interop/COM/NativeClients/Dispatch/Dispatch.cmd dotnet/runtime#116354
1061582 dotnet/runtime Interop/COM/NativeClients/Dispatch/Dispatch.cmd dotnet/runtime#116316
1061230 dotnet/runtime Interop/COM/NativeClients/Dispatch/Dispatch.cmd dotnet/runtime#116391
1061113 dotnet/runtime Interop/COM/NativeClients/Dispatch/Dispatch.cmd dotnet/runtime#116342

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 4

elinor-fung avatar Jun 06 '25 20:06 elinor-fung

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

Failed in: runtime-coreclr jitstress 20250628.1

Failed tests:

coreclr windows arm64 Checked jitstress1 @ Windows.11.Arm64.Open
    - Interop/COM/NativeClients/Dispatch/Dispatch.cmd

Error message:

 
Return code:      1
Raw output file:      C:hwB51009C9wB1A7092AuploadsCOMNativeClientsDispatchoutput.txt
Raw output:
BEGIN EXECUTION
Copying 'C:hwB51009C9pCoreShim.dll'...
        1 file(s) copied.
 COMClientDispatch Dispatch.dll 
Invoke DoubleNumeric_ReturnByRef
Invoke Add_Float_ReturnAndUpdateByRef
Invoke Add_Double_ReturnAndUpdateByRef
Invoke PassThroughLCID
Invoke GetEnumerator (DISPID_NEWENUM)
 -- Validate returned IEnumVARIANT
Invoke ExplicitGetEnumerator
 -- Validate returned IEnumVARIANT
Invoke ManagedArgument
Validating VT_UI4
Validating VT_I2
Validating VT_I8
Validating VT_R8
Validating VT_CY
Validating VT_BSTR
FAILURE: 0x80131516 = dispatchCoerceTesting->Invoke( methodId, IID_NULL, lcid, DISPATCH_METHOD, &params, &result, nullptr, nullptr )
Test Failure: 0x80131516
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 6/29/2025 5:50:12 AM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwB51009C9wB1A7092AeInteropInterop../COM/NativeClients/Dispatch/Dispatch.cmd

Stack trace:

   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor213|0_214(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

SakeTao avatar Jun 30 '25 01:06 SakeTao

removing blocking-clean-ci as it has not failed in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

jeffschwMSFT avatar Aug 07 '25 17:08 jeffschwMSFT

Failed in runtime-coreclr jitstressregs/20250825.1

Failed test

coreclr windows arm64 Checked jitstressregs0x10 @ Windows.11.Arm64.Open
- Interop/COM/NativeClients/Dispatch/Dispatch.cmd

Same error message as above.

JulieLeeMSFT avatar Aug 27 '25 22:08 JulieLeeMSFT

Failed in: runtime-coreclr jitstress-random 20250831.1

Failed tests:

coreclr windows arm64 Checked jitstress_random_1 @ Windows.11.Arm64.Open
    - Interop/COM/NativeClients/Dispatch/Dispatch.cmd

Error message:


Return code:      1
Raw output file:      C:hwC3AA0A44wAB1C0959uploadsCOMNativeClientsDispatchoutput.txt
Raw output:
BEGIN EXECUTION
Copying 'C:hwC3AA0A44pCoreShim.dll'...
        1 file(s) copied.
 COMClientDispatch Dispatch.dll 
Invoke DoubleNumeric_ReturnByRef
Invoke Add_Float_ReturnAndUpdateByRef
Invoke Add_Double_ReturnAndUpdateByRef
Invoke PassThroughLCID
Invoke GetEnumerator (DISPID_NEWENUM)
 -- Validate returned IEnumVARIANT
Invoke ExplicitGetEnumerator
 -- Validate returned IEnumVARIANT
Invoke ManagedArgument
Validating VT_UI4
Validating VT_I2
Validating VT_I8
Validating VT_R8
Validating VT_CY
Validating VT_BSTR
FAILURE: 0x80131516 = dispatchCoerceTesting->Invoke( methodId, IID_NULL, lcid, DISPATCH_METHOD, &params, &result, nullptr, nullptr )
Test Failure: 0x80131516
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 8/31/2025 7:54:39 PM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwC3AA0A44wAB1C0959eInteropInterop../COM/NativeClients/Dispatch/Dispatch.cmd

Stack trace:

   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor213|0_214(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

SakeTao avatar Sep 01 '25 01:09 SakeTao