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

[ShazamKit] Updates Xcode13 beta1 #12189

Merged
merged 23 commits into from
Aug 17, 2021

Conversation

tj-devel709
Copy link
Contributor

I am hitting this test failure running Intro locally on iOS and I am not sure how to handle this
image

@tj-devel709 tj-devel709 added the note-highlight Worth calling out specifically in release notes label Jul 23, 2021
@tj-devel709 tj-devel709 added this to the xcode13.0 milestone Jul 23, 2021
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

5 tests failed, 87 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2629 Passed: 2489 Inconclusive: 35 Failed: 4 Ignored: 136)
  • link sdk/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 129 Passed: 105 Inconclusive: 6 Failed: 1 Ignored: 23)
  • introspection/iOS Unified 64-bits - simulator/Debug: Failed
  • introspection/tvOS - simulator/Debug: Failed
  • introspection/watchOS 32-bits - simulator/Debug: Failed

Pipeline on Agent XAMBOT-1096.BigSur'
Merge 92812fa into 7dd7960

!missing-selector! +SHMediaItem::fetchMediaItemWithShazamID:completionHandler: not bound
!missing-selector! +SHMediaItem::mediaItemWithProperties: not bound
!missing-selector! +SHMediaLibrary::defaultLibrary not bound
!missing-selector! +SHSignature::signatureWithDataRepresentation:error: not bound
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: missing end-of-line

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please file an issue/feedback with Apple
+SHMediaLibrary::defaultLibrary is a common pattern and only make sense if it's static

src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
@rolfbjarne
Copy link
Member

I think @mandel-macaque had a similar intro test failure, but I don't remember what the solution was.

Copy link
Contributor

@spouliot spouliot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intro failure wrt SHCatalog is likely because it's an abstract base class
https://developer.apple.com/documentation/shazamkit/shcatalog?changes=_4&language=objc

src/shazamkit.cs Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Show resolved Hide resolved
src/shazamkit.cs Show resolved Hide resolved
src/shazamkit.cs Show resolved Hide resolved
!missing-selector! +SHMediaItem::fetchMediaItemWithShazamID:completionHandler: not bound
!missing-selector! +SHMediaItem::mediaItemWithProperties: not bound
!missing-selector! +SHMediaLibrary::defaultLibrary not bound
!missing-selector! +SHSignature::signatureWithDataRepresentation:error: not bound
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please file an issue/feedback with Apple
+SHMediaLibrary::defaultLibrary is a common pattern and only make sense if it's static

Copy link
Member

@mandel-macaque mandel-macaque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small fixes.

src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Show resolved Hide resolved
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

5 tests failed, 87 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2629 Passed: 2486 Inconclusive: 35 Failed: 2 Ignored: 141)
  • Xtro/Mac: Failed (Test run failed.)
  • introspection/iOS Unified 64-bits - simulator/Debug: Failed
  • introspection/tvOS - simulator/Debug: Failed
  • introspection/watchOS 32-bits - simulator/Debug: Failed

Pipeline on Agent XAMBOT-1100.BigSur'
Merge 0003b4a into 62a9fd9

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

5 tests failed, 87 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2629 Passed: 2490 Inconclusive: 35 Failed: 1 Ignored: 138)
  • Xtro/Mac: Failed (Test run failed.)
  • introspection/iOS Unified 64-bits - simulator/Debug: Failed
  • introspection/tvOS - simulator/Debug: Failed
  • introspection/watchOS 32-bits - simulator/Debug: Failed

Pipeline on Agent XAMBOT-1103.BigSur'
Merge 59232d9 into 448cc6e

src/shazamkit.cs Outdated Show resolved Hide resolved
src/shazamkit.cs Outdated Show resolved Hide resolved
tests/introspection/ApiSelectorTest.cs Outdated Show resolved Hide resolved
tests/introspection/ApiSelectorTest.cs Outdated Show resolved Hide resolved
tests/introspection/ApiSelectorTest.cs Outdated Show resolved Hide resolved
tests/introspection/ApiSelectorTest.cs Outdated Show resolved Hide resolved
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

2 tests failed, 91 tests passed.

Failed tests

  • Xtro/Mac: Failed (Test run failed.)
  • introspection/iOS Unified 64-bits - simulator/Debug: Failed

Pipeline on Agent XAMBOT-1104.BigSur'
Merge dc06158 into fa5f323

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

11 tests failed, 82 tests passed.

Failed tests

  • introspection/Mac Modern/Debug: BuildFailure
  • introspection/Mac Catalyst/Debug [dotnet]: BuildFailure
  • introspection/Mac Catalyst/Debug: BuildFailure
  • introspection/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • introspection/tvOS - simulator/Debug: BuildFailure
  • introspection/watchOS 32-bits - simulator/Debug: BuildFailure
  • introspection/iOS Unified 64-bits - simulator/Debug (iOS 11.4): BuildFailure
  • introspection/tvOS - simulator/Debug (tvOS 11.4): BuildFailure
  • introspection/watchOS 32-bits - simulator/Debug (watchOS 6.0): BuildFailure
  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2638 Passed: 2490 Inconclusive: 35 Failed: 1 Ignored: 147)
  • Xtro/Mac: Failed (Test run failed.)

Pipeline on Agent XAMBOT-1104.BigSur'
Merge e7b0874 into 818198b

Copy link
Member

@mandel-macaque mandel-macaque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflicts need to be fixed.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

11 tests failed, 84 tests passed.

Failed tests

  • introspection/Mac Modern/Debug: BuildFailure
  • introspection/Mac Catalyst/Debug [dotnet]: BuildFailure
  • introspection/Mac Catalyst/Debug: BuildFailure
  • introspection/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • introspection/tvOS - simulator/Debug: BuildFailure
  • introspection/watchOS 32-bits - simulator/Debug: BuildFailure
  • introspection/iOS Unified 64-bits - simulator/Debug (iOS 11.4): BuildFailure
  • introspection/tvOS - simulator/Debug (tvOS 11.4): BuildFailure
  • introspection/watchOS 32-bits - simulator/Debug (watchOS 6.0): BuildFailure
  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2638 Passed: 2489 Inconclusive: 35 Failed: 1 Ignored: 148)
  • Xtro/Mac: Failed (Test run failed.)

Pipeline on Agent XAMBOT-1099.BigSur'
Merge 3b1d577 into 9307052

@@ -840,12 +840,14 @@ protected virtual bool Skip (Type type, string selectorName)
if (selectorName == "waitUntilExit")
return true;
break;
#if !__MACOS__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is just on iOS, this is not the correct file, it should be in tests/introspection/iOS/iOSApiSelectorTest.cs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that it was having issues with TV and Watch simulators as well

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

watchOS and tv will go in the iOS entry since they are generated from it.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

3 tests failed, 92 tests passed.

Failed tests

  • introspection/Mac Modern/Debug: BuildFailure
  • introspection/iOS Unified 64-bits - simulator/Debug: Failed
  • Xtro/Mac: Failed (Test run failed.)

Pipeline on Agent XAMBOT-1098.BigSur'
Merge 2960e20 into 300fc28

@tj-devel709
Copy link
Contributor Author

I think @mandel-macaque had a similar intro test failure, but I don't remember what the solution was.

@mandel-macaque Does the intro failure at the very top of this PR look familiar to you?

@mandel-macaque
Copy link
Member

@tj-devel709 if we are talking about:

VerifyClassPtr: class_ptr and RegisterAttribute are different: SHCatalog

The fix is to just run it the device and not the simulator, on the device you will have no issues. Have you ran the tests on a device before pushing to the branch?

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

2 tests failed, 95 tests passed.

Failed tests

  • xcframework-test/Mac Catalyst/Debug: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)
  • introspection/iOS Unified 64-bits - simulator/Debug: Failed

Pipeline on Agent XAMBOT-1094.BigSur
Merge 9d43b29 into 2972e1b

tools/common/Frameworks.cs Outdated Show resolved Hide resolved
tools/common/Frameworks.cs Outdated Show resolved Hide resolved
tools/common/Frameworks.cs Outdated Show resolved Hide resolved
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build] Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

🎉 All 97 tests passed 🎉

Pipeline on Agent XAMBOT-1100.BigSur'
Merge f51f4d6 into 2b1a5c1

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build] Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

🎉 All 100 tests passed 🎉

Pipeline on Agent XAMBOT-1102.BigSur'
Merge 0b79901 into d173db1

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build] Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

🎉 All 105 tests passed 🎉

Pipeline on Agent XAMBOT-1104.BigSur'
Merge acb7bf4 into 77a838a

src/shazamkit.cs Outdated
bool Write (NSUrl url, [NullAllowed] out NSError error);

[Static]
[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ that's a (incomplete) duplicate of the attributes on the type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Removing now!

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

1 tests failed, 104 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2638 Passed: 2489 Inconclusive: 35 Failed: 1 Ignored: 148)

Pipeline on Agent XAMBOT-1098.BigSur'
Merge a8c1bc2 into 454831f

@tj-devel709
Copy link
Contributor Author

@tj-devel709 tj-devel709 merged commit 264eaba into xamarin:main Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
note-highlight Worth calling out specifically in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants