Skip to content

Subscription oauth v2 #3060

Subscription oauth v2

Subscription oauth v2 #3060

Triggered via pull request November 29, 2024 12:52
Status Failure
Total duration 4m 18s
Artifacts 2

pr.yml

on: pull_request
Run SwiftLint
34s
Run SwiftLint
Run unit tests (macOS)
4m 7s
Run unit tests (macOS)
Run unit tests (iOS)
3m 47s
Run unit tests (iOS)
Create Asana Task
0s
Create Asana Task
Close Asana Task
0s
Close Asana Task
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 18 warnings, and 10 notices
DefaultAppStorePurchaseFlowTests.test_purchaseSubscription_purchaseCancelledByUser_returnsCancelledError: DefaultAppStorePurchaseFlowTests#L1
/Users/runner/work/BrowserServicesKit/BrowserServicesKit/Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift:92 - XCTAssertEqual failed: ("failure(Subscription.AppStorePurchaseFlowError.accountCreationFailed(Subscription.AppStoreRestoreFlowError.missingAccountOrTransactions))") is not equal to ("failure(Subscription.AppStorePurchaseFlowError.cancelledByUser)")
DefaultAppStorePurchaseFlowTests.test_purchaseSubscription_purchaseFailed_returnsPurchaseFailedError: DefaultAppStorePurchaseFlowTests#L1
/Users/runner/work/BrowserServicesKit/BrowserServicesKit/Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift:103 - XCTAssertEqual failed: ("failure(Subscription.AppStorePurchaseFlowError.accountCreationFailed(Subscription.AppStoreRestoreFlowError.missingAccountOrTransactions))") is not equal to ("failure(Subscription.AppStorePurchaseFlowError.purchaseFailed(Subscription.StorePurchaseManagerError.purchaseFailed))")
DefaultAppStorePurchaseFlowTests.test_purchaseSubscription_successfulPurchase_returnsTransactionJWS: DefaultAppStorePurchaseFlowTests#L1
/Users/runner/work/BrowserServicesKit/BrowserServicesKit/Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift:80 - XCTAssertTrue failed
DefaultAppStorePurchaseFlowTests.test_purchaseSubscription_withNoProductsFound_returnsError: DefaultAppStorePurchaseFlowTests#L1
/Users/runner/work/BrowserServicesKit/BrowserServicesKit/Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift:70 - XCTAssertEqual failed: ("failure(Subscription.AppStorePurchaseFlowError.accountCreationFailed(Subscription.AppStoreRestoreFlowError.missingAccountOrTransactions))") is not equal to ("failure(Subscription.AppStorePurchaseFlowError.internalError)")
Run unit tests (macOS): Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift#L92
test_purchaseSubscription_purchaseCancelledByUser_returnsCancelledError, XCTAssertEqual failed: ("failure(Subscription.AppStorePurchaseFlowError.accountCreationFailed(Subscription.AppStoreRestoreFlowError.missingAccountOrTransactions))") is not equal to ("failure(Subscription.AppStorePurchaseFlowError.cancelledByUser)")
Run unit tests (macOS): Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift#L103
test_purchaseSubscription_purchaseFailed_returnsPurchaseFailedError, XCTAssertEqual failed: ("failure(Subscription.AppStorePurchaseFlowError.accountCreationFailed(Subscription.AppStoreRestoreFlowError.missingAccountOrTransactions))") is not equal to ("failure(Subscription.AppStorePurchaseFlowError.purchaseFailed(Subscription.StorePurchaseManagerError.purchaseFailed))")
Run unit tests (macOS): Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift#L80
test_purchaseSubscription_successfulPurchase_returnsTransactionJWS, XCTAssertTrue failed
Run unit tests (macOS): Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift#L81
test_purchaseSubscription_successfulPurchase_returnsTransactionJWS, XCTAssertEqual failed: ("failure(Subscription.AppStorePurchaseFlowError.accountCreationFailed(Subscription.AppStoreRestoreFlowError.missingAccountOrTransactions))") is not equal to ("success("transactionJWS")")
Run unit tests (macOS): Tests/SubscriptionTests/Flows/AppStorePurchaseFlowTests.swift#L70
test_purchaseSubscription_withNoProductsFound_returnsError, XCTAssertEqual failed: ("failure(Subscription.AppStorePurchaseFlowError.accountCreationFailed(Subscription.AppStoreRestoreFlowError.missingAccountOrTransactions))") is not equal to ("failure(Subscription.AppStorePurchaseFlowError.internalError)")
Run unit tests (macOS)
Process completed with exit code 1.
Run unit tests (iOS): Sources/UserScript/UserScript.swift#L110
no calls to throwing functions occur within 'try' expression
Run unit tests (iOS): DerivedData/Build/Products/Debug-iphonesimulator/GRDB.framework/Headers/GRDB.h#L11
umbrella header for module 'GRDB' does not include header 'sqlite3.h'
Run unit tests (iOS): Sources/BrowserServicesKit/Autofill/AutofillUserScript.swift#L20
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Run unit tests (iOS): Sources/BrowserServicesKit/ContentBlocking/UserScripts/SurrogatesUserScript.swift#L19
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Run unit tests (iOS): Sources/BrowserServicesKit/ContentScopeScript/UserContentController.swift#L22
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Run unit tests (iOS): Sources/BrowserServicesKit/ContentBlocking/UserScripts/SurrogatesUserScript.swift#L19
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Run unit tests (iOS): Sources/BrowserServicesKit/ContentScopeScript/UserContentController.swift#L22
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Run unit tests (iOS): Sources/BrowserServicesKit/Autofill/AutofillUserScript.swift#L20
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Run unit tests (macOS): Sources/UserScript/UserScript.swift#L110
no calls to throwing functions occur within 'try' expression
Run unit tests (macOS): Sources/UserScript/UserScript.swift#L110
no calls to throwing functions occur within 'try' expression
Run unit tests (macOS): Sources/UserScript/UserScript.swift#L110
no calls to throwing functions occur within 'try' expression
Run unit tests (macOS): Sources/UserScript/UserScript.swift#L110
no calls to throwing functions occur within 'try' expression
Run unit tests (macOS): Sources/Navigation/DistributedNavigationDelegate.swift#L22
add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit'
Run unit tests (macOS): Sources/Navigation/Extensions/WKErrorExtension.swift#L55
extension declares a conformance of imported type 'WKError' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'WebKit' introduce this conformance in the future
Run unit tests (macOS): Sources/Navigation/WebKitDownload.swift#L34
sendability of function types in instance method 'cancel' does not match requirement in protocol 'WebKitDownload'; this is an error in the Swift 6 language mode
Run unit tests (macOS): Sources/Navigation/WebKitDownload.swift#L34
sendability of function types in instance method 'cancel' does not match requirement in protocol 'WebKitDownload'; this is an error in the Swift 6 language mode
Run unit tests (macOS): Sources/Navigation/WebKitDownload.swift#L34
sendability of function types in instance method 'cancel' does not match requirement in protocol 'WebKitDownload'; this is an error in the Swift 6 language mode
Run unit tests (macOS): Sources/Navigation/WebKitDownload.swift#L34
sendability of function types in instance method 'cancel' does not match requirement in protocol 'WebKitDownload'; this is an error in the Swift 6 language mode
Run unit tests (macOS)
Skipped NavigationTests.DistributedNavigationDelegateTests.testSimulatedRequestAfterCustomSchemeRequest
Run unit tests (macOS)
Skipped NavigationTests.DistributedNavigationDelegateTests.testSimulatedRequestAfterCustomSchemeRequestWithFailureAfterDidStartNavigation
Run unit tests (macOS)
Skipped NavigationTests.DistributedNavigationDelegateTests.testSimulatedRequestAfterCustomSchemeRequestWithFailureAfterWillStartNavigation
Run unit tests (macOS)
Skipped NavigationTests.DistributedNavigationDelegateTests.testSimulatedRequestAfterCustomSchemeRequestWithFailureBeforeWillStartNavigation
Run unit tests (macOS)
Skipped NavigationTests.DistributedNavigationDelegateTests.testSimulatedRequest
Run unit tests (macOS)
Skipped NavigationTests.DistributedNavigationDelegateTests.testSimulatedRequestWithData
Run unit tests (macOS)
Skipped CommonTests.URLExtensionTests.test_navigational_urls_are_valid
Run unit tests (macOS)
Skipped CommonTests.URLExtensionTests.test_non_valid_urls
Run unit tests (macOS)
Skipped CommonTests.URLExtensionTests.testBasicAuthCredential
Run unit tests (macOS)
Skipped CommonTests.URLExtensionTests.testURLRemovingBasicAuthCredential

Artifacts

Produced during runtime
Name Size
build-log.txt
56.7 KB
ios-build-log.txt
315 KB