[tests] Add infrastructure to run monotouch-test inside app extensions - #26265
[tests] Add infrastructure to run monotouch-test inside app extensions#26265rolfbjarne wants to merge 7 commits into
Build #20260804.21 had test failures
Details
- Failed: 88 (2.85%)
- Passed: 2,843 (91.92%)
- Other: 162 (5.24%)
- Total: 3,093
Annotations
Check failure on line 44999 in Build log
azure-pipelines / xamarin-macios-sim-pr-tests
Build log #L44999
Bash exited with code '2'.
Check failure on line 43737 in Build log
azure-pipelines / xamarin-macios-sim-pr-tests
Build log #L43737
Bash exited with code '2'.
Check failure on line 13 in Build log
azure-pipelines / xamarin-macios-sim-pr-tests
Build log #L13
PowerShell exited with code '1'.
Check failure on line 43095 in Build log
azure-pipelines / xamarin-macios-sim-pr-tests
Build log #L43095
Bash exited with code '2'.
Check failure on line 1 in LinkAllTests.LinkAllTest.EnsureUIThreadException
azure-pipelines / xamarin-macios-sim-pr-tests
LinkAllTests.LinkAllTest.EnsureUIThreadException
AppKit.AppKitThreadAccessException : AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
Raw output
at ObjCRuntime.Runtime.EnsureUIThread() in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 424
at AppKit.NSApplication.EnsureUIThread() in /Users/builder/azdo/_work/1/s/macios/src/AppKit/NSApplication.cs:line 93
at LinkAllTests.LinkAllTest.EnsureUIThreadException() in /Users/cloudtest/vss/_work/1/s/macios/tests/linker/link all/LinkAllMacTest.cs:line 19
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Check failure on line 1 in LinkAllTests.LinkAllTest.PrintPreview_NSGraphicsContextCurrentContext
azure-pipelines / xamarin-macios-sim-pr-tests
LinkAllTests.LinkAllTest.PrintPreview_NSGraphicsContextCurrentContext
AppKit.AppKitThreadAccessException : AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
Raw output
at ObjCRuntime.Runtime.EnsureUIThread() in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 424
at AppKit.NSApplication.EnsureUIThread() in /Users/builder/azdo/_work/1/s/macios/src/AppKit/NSApplication.cs:line 93
at AppKit.NSView..ctor(CGRect frameRect) in /Users/builder/azdo/_work/1/s/macios/src/build/dotnet/macos/generated-sources/AppKit/NSView.g.cs:line 2050
at LinkAllTests.PrintableView..ctor(CGRect frame) in /Users/cloudtest/vss/_work/1/s/macios/tests/linker/link all/LinkAllMacTest.cs:line 120
at LinkAllTests.LinkAllTest.PrintPreview_NSGraphicsContextCurrentContext() in /Users/cloudtest/vss/_work/1/s/macios/tests/linker/link all/LinkAllMacTest.cs:line 86
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Check failure on line 1 in LinkAllTests.LinkAllTest.EnsureUIThreadException
azure-pipelines / xamarin-macios-sim-pr-tests
LinkAllTests.LinkAllTest.EnsureUIThreadException
AppKit.AppKitThreadAccessException : AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
Raw output
at ObjCRuntime.Runtime.EnsureUIThread()
at AppKit.NSApplication.EnsureUIThread()
at LinkAllTests.LinkAllTest.EnsureUIThreadException()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Check failure on line 1 in LinkAnyTest.CommonLinkAnyTest.BackingFieldInGenericType
azure-pipelines / xamarin-macios-sim-pr-tests
LinkAnyTest.CommonLinkAnyTest.BackingFieldInGenericType
AppKit.AppKitThreadAccessException : AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
Raw output
at ObjCRuntime.Runtime.EnsureUIThread() in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 424
at AppKit.NSApplication.EnsureUIThread() in /Users/builder/azdo/_work/1/s/macios/src/AppKit/NSApplication.cs:line 93
at AppKit.NSView..ctor() in /Users/builder/azdo/_work/1/s/macios/src/build/dotnet/macos/generated-sources/AppKit/NSView.g.cs:line 1937
at LinkAnyTest.CommonLinkAnyTest.BackingFieldInGenericType() in /Users/cloudtest/vss/_work/1/s/macios/tests/linker/CommonLinkAnyTest.cs:line 60
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)