You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The COM/marshalling interop tests listed below fail on the Mono Minijit, windows-x64 runtime-test leg (DOTNET_RUNTIME_VARIANT=minijit). They were first observed on the emsdk-upgrade PR #129299, but Minijit does not use LLVM, so these failures are independent of the emsdk/LLVM toolchain bump and appear to be pre-existing Mono win-x64 interop gaps. They are disabled with [ActiveIssue(..., TestRuntimes.Mono)] referencing this issue (originally bucketed under #84398, now split out).
18:25:57.224 Running test: global::SafeArrayMarshallingTest.MultidimensionalIntArray()
System.NullReferenceException: Object reference not set to an instance of an object
at SafeArrayMarshallingTest.MultidimensionalIntArray()
at Program.<<Main>$>g__TestExecutor1|0_2(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
18:25:57.298 Failed test: global::SafeArrayMarshallingTest.MultidimensionalIntArray()
(The ...IntArrayRoundTrip and ...BoolArrayRoundTrip variants pass; the four listed above throw NullReferenceException.)
2. Variant marshalling — MarshalDirectiveException: Marshalling of type object is not implemented
Test assemblies VariantTest, VariantTestBuiltInComDisabled, VariantTestComWrappers (entry points in src/tests/Interop/PInvoke/Variant/VariantTest.BuiltInCom.cs and VariantTest.ComWrappers.cs):
18:25:57.426 Running test: Interop\PInvoke\Variant\VariantTest\VariantTest.dll
Built-in COM Disabled?: False
Test failed: System.Runtime.InteropServices.MarshalDirectiveException: Marshalling of type object is not implemented
at Test_VariantTest.TestByValue(Boolean hasComSupport)
at Test_VariantTest.TestEntryPoint()
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 100
Actual: 101
Reverse,Pinvoke,By Ref,Cdecl
FAILED! TestMethod_DoCallBack_MarshalStructByRef_INNER2_Cdecl did not receive result as expected.
The Actual is...
INNER2.f1 = 77
INNER2.f2 = 77
...
Xunit.Sdk.TrueException
Expected: 100
Actual: 101
Disabled in
All marked [ActiveIssue("https://github.com/dotnet/runtime/issues/<this-issue>", TestRuntimes.Mono)] on PR #129299.
Note
This issue body was generated with the assistance of GitHub Copilot.
Summary
The COM/marshalling interop tests listed below fail on the Mono Minijit, windows-x64 runtime-test leg (
DOTNET_RUNTIME_VARIANT=minijit). They were first observed on the emsdk-upgrade PR #129299, but Minijit does not use LLVM, so these failures are independent of the emsdk/LLVM toolchain bump and appear to be pre-existing Mono win-x64 interop gaps. They are disabled with[ActiveIssue(..., TestRuntimes.Mono)]referencing this issue (originally bucketed under #84398, now split out).Configuration
runtime(129), build 1469112, PR Upgrade emsdk to 5.0.6 #129299, merge SHAa89b967windows-x64 Release AllSubsets_Mono_Minijit_RuntimeTests minijitDOTNET_RUNTIME_VARIANT=minijit· arch x64 · OS windowsInteropwork item console: https://helix.dot.net/api/2019-06-17/jobs/854d202d-1001-46ed-b32d-69a07704e193/workitems/Interop/consoleFailures
1. SafeArray multidimensional marshalling —
NullReferenceExceptionsrc/tests/Interop/ArrayMarshalling/SafeArray/SafeArrayTest.cs:SafeArrayMarshallingTest.MultidimensionalIntArraySafeArrayMarshallingTest.MultidimensionalBoolArraySafeArrayMarshallingTest.MultidimensionalStringArraySafeArrayMarshallingTest.MultidimensionalStringArrayRoundTrip(The
...IntArrayRoundTripand...BoolArrayRoundTripvariants pass; the four listed above throwNullReferenceException.)2. Variant marshalling —
MarshalDirectiveException: Marshalling of type object is not implementedTest assemblies
VariantTest,VariantTestBuiltInComDisabled,VariantTestComWrappers(entry points insrc/tests/Interop/PInvoke/Variant/VariantTest.BuiltInCom.csandVariantTest.ComWrappers.cs):3. DelegatePInvoke (struct by-ref, Cdecl) —
Assert.True()failuresrc/tests/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest.cs(
Interop\StructMarshalling\ReversePInvoke\MarshalExpStruct\DelegatePInvoke\DelegatePInvokeTest):4. ReversePInvoke (struct by-ref, Cdecl) — wrong callback result
src/tests/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/ReversePInvokeManaged/ReversePInvokeTest.cs(
Interop\StructMarshalling\ReversePInvoke\MarshalExpStruct\ReversePInvokeManaged\ReversePInvokeTest):Disabled in
All marked
[ActiveIssue("https://github.com/dotnet/runtime/issues/<this-issue>", TestRuntimes.Mono)]on PR #129299.Note
This issue body was generated with the assistance of GitHub Copilot.