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

[Mono][Android][Interop] Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest/DelegatePInvokeTest.sh failed #53351

Open
Tracked by #44661
fanyang-mono opened this issue May 27, 2021 · 2 comments

Comments

@fanyang-mono
Copy link
Member

Android adb log

05-27 10:20:50.925 26353 26373 I DOTNET  : MonoRunner initialize,, entryPointLibName=DelegatePInvokeTest.dll
05-27 10:20:50.926 26353 26373 D DOTNET  : file_path: /data/user/0/net.dot.Interop_StructMarshalling/files/runtimeconfig.bin
05-27 10:20:50.928 26353 26373 D DOTNET  : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.Interop_StructMarshalling/files
05-27 10:20:51.001 26353 26373 D DOTNET  : assembly_preload_hook: DelegatePInvokeTest.dll (null) /data/user/0/net.dot.Interop_StructMarshalling/files
05-27 10:20:51.001 26353 26373 D DOTNET  : Executable: DelegatePInvokeTest.dll
05-27 10:20:51.001 26353 26373 D DOTNET  : assembly_preload_hook: System.Runtime  /data/user/0/net.dot.Interop_StructMarshalling/files
05-27 10:20:51.002 26353 26373 D DOTNET  : assembly_preload_hook: System.Console  /data/user/0/net.dot.Interop_StructMarshalling/files
05-27 10:20:51.004 26353 26373 D DOTNET  : assembly_preload_hook: System.Runtime.InteropServices  /data/user/0/net.dot.Interop_StructMarshalling/files
05-27 10:20:51.006 26353 26373 D DOTNET  : assembly_preload_hook: System.Threading  /data/user/0/net.dot.Interop_StructMarshalling/files
05-27 10:20:51.100 26353 26373 I DOTNET  : Run the methods for marshaling structure Delegate P/Invoke ByRef
05-27 10:20:51.102 26353 26373 D DOTNET  : assembly_preload_hook: TestLibrary  /data/user/0/net.dot.Interop_StructMarshalling/files
05-27 10:20:51.105 26353 26373 I DOTNET  : Delegate PInvoke,By Ref,Cdecl
05-27 10:20:51.105 26353 26373 I DOTNET  : Calling DelegatePInvoke_MarshalStructComplexStructByRef_Cdecl...
05-27 10:20:51.437 26353 26373 I DOTNET  : Test Failure: System.DllNotFoundException: SeqPInvokeNative
05-27 10:20:51.437 26353 26373 I DOTNET  :    at MarshalStructTest.TestMethod_DelegatePInvoke_MarshalByRef_Cdecl(StructID structid) in DelegatePInvokeTest.dll:token 0x6000072+0xa3
05-27 10:20:51.437 26353 26373 I DOTNET  :    at MarshalStructTest.Run_TestMethod_DelegatePInvoke_Mars
05-27 10:20:51.438 26353 26373 I DOTNET  : halByRef_Cdecl() in DelegatePInvokeTest.dll:token 0x6000076+0x0
05-27 10:20:51.438 26353 26373 I DOTNET  :    at MarshalStructTest.Main() in DelegatePInvokeTest.dll:token 0x600007a+0xa
05-27 10:20:51.439 26353 26373 D DOTNET  : Exit code: 101.
05-27 10:20:51.439 26353 26373 I DOTNET  : MonoRunner finished, return-code=101
@fanyang-mono fanyang-mono added this to the 6.0.0 milestone May 27, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label May 27, 2021
@fanyang-mono fanyang-mono changed the title [Mono][Android] Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest/DelegatePInvokeTest.sh [Mono][Android] Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest/DelegatePInvokeTest.sh failed May 27, 2021
@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jun 2, 2021
@fanyang-mono fanyang-mono modified the milestones: 6.0.0, 7.0.0 Jun 21, 2021
@fanyang-mono fanyang-mono changed the title [Mono][Android] Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest/DelegatePInvokeTest.sh failed [Mono][Android][Interop] Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/DelegatePInvoke/DelegatePInvokeTest/DelegatePInvokeTest.sh failed Sep 23, 2021
@directhex
Copy link
Member

@fanyang-mono how can I build this test?

@fanyang-mono
Copy link
Member Author

@fanyang-mono how can I build this test?

Follow these instructions for Android - https://github.com/dotnet/runtime/blob/main/docs/workflow/testing/mono/testing.md

@directhex directhex modified the milestones: 7.0.0, 8.0.0 Aug 11, 2022
@marek-safar marek-safar modified the milestones: 8.0.0, Future Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants