Skip to content

Add nil check for crash #30

Add nil check for crash

Add nil check for crash #30

Triggered via pull request January 11, 2025 00:18
@bbirmanbbirman
opened #3799
Status Failure
Total duration 9m 49s
Artifacts 1

pr.yaml

on: pull_request_target
test-orchestrator
51s
test-orchestrator
static-analysis
3m 14s
static-analysis
Matrix: ios-pr
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
ios-pr (SalesforceSDKCore) / test-ios: libs/SalesforceSDKCore/SalesforceSDKCoreTests/SFNetworkTests.m#L139
testMetricsAction, Asynchronous wait failed: Exceeded timeout of 20 seconds, with unfulfilled expectations: "Get".
ios-pr (SalesforceSDKCore) / test-ios: libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceRestAPITests.m#L2911
testPublicApiCalls, ((error == nil) is true) failed - RestApi call to a public api should not fail
ios-pr (SalesforceSDKCore) / test-ios: libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceRestAPITests.m#L2912
testPublicApiCalls, ((response == nil) is false) failed - RestApi call to a public api should not have a nil response
ios-pr (SalesforceSDKCore) / test-ios: libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceRestAPITests.m#L2913
testPublicApiCalls, ((response.count > 0) is true) failed - The response should have github/forcedotcom repos
ios-pr (SalesforceSDKCore) / test-ios
Error: `xcodebuild` aborted (65)
ios-pr (SalesforceSDKCore) / test-ios: libs/SalesforceSDKCore/SalesforceSDKCore/Classes/IDP/SFSDKUITableViewCell.m#L95
implementing deprecated method [-Wdeprecated-implementations]
ios-pr (SalesforceSDKCore) / test-ios: libs/SalesforceSDKCore/SalesforceSDKCore/Classes/IDP/SFSDKUITableViewCell.m#L96
'traitCollectionDidChange:' is deprecated: first deprecated in iOS 17.0 - Use the trait change registration APIs declared in the UITraitChangeObservable protocol [-Wdeprecated-declarations]
ios-pr (SalesforceSDKCore) / test-ios
We feel you. CI failures suck. Download the `.xcresult` files we just artifact’d. They *really* help diagnose what went wrong! https://github.com/forcedotcom/SalesforceMobileSDK-iOS/actions/runs/12719261836#artifact
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test#30.0qa2rs.xcresult". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
test#30.0qa2rs.xcresult
68.8 MB