-
Notifications
You must be signed in to change notification settings - Fork 507
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
[release/6.0.4xx-xcode14.3] [introspection] Ignore the AddressBook namespace for Mac Catalyst when checking static cctors. #18112
Conversation
…n checking static cctors. Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
✅ API diff for current PR / commitNET (empty diffs)
✅ API diff vs stable.NET (No breaking changes)
✅ Generator diffGenerator diff is empty Pipeline on Agent |
💻 [PR Build] Tests on macOS M1 - Mac Ventura (13.0) passed 💻✅ All tests on macOS M1 - Mac Ventura (13.0) passed. Pipeline on Agent |
💻 [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻✅ All tests on macOS M1 - Mac Big Sur (11.5) passed. Pipeline on Agent |
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: simulator tests. 🎉 All 77 tests passed 🎉 Tests counts
Pipeline on Agent |
868c09f
into
xamarin:release/6.0.4xx-xcode14.3
Fixes these test failures (which only happen on the bots):
Backport of #18088