Skip to content

Change sdk enabled logic to mimic android and backend #442

Change sdk enabled logic to mimic android and backend

Change sdk enabled logic to mimic android and backend #442

GitHub Actions / Test Results failed Dec 5, 2024 in 0s

Xcode test results

Testing workspace embrace-apple-sdk with scheme EmbraceIO-Package

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
80980063014.52s

Test Summary

EmbraceCaptureServiceTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class CaptureServiceTests99000

EmbraceCommonInternalTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class LogIdentifierTests55000
test-class LogSeverityTests44000
test-class LogTypeDeclarationTests44000
test-class LogTypeTests1717000
test-class ProcessIdentifierTests1111000
test-class SessionIdentifierTests99000
test-class SpanTypeTests2222000
test-class ThreadSafeTests77000
test-class UUID_WithoutHyphenTests33000

EmbraceConfigInternalTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceConfigTests1111000
test-class RemoteConfigFetcherTests55000
test-class RemoteConfigPayloadTests33000
test-class RemoteConfigTests75200

EmbraceConfigurationTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class DefaultConfigTests11000
test-class InternalLogLimitsTests55000

EmbraceCoreTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class AppInfoCaptureServiceTests22000
test-class BreadcrumbTests33000
test-class CGPointToStringTests22000
test-class CaptureServiceFactoryTests11000
test-class CaptureServicesUIViewControllerTests1010000
test-class DataTaskWithURLAndCompletionSwizzlerTests55000
test-class DataTaskWithURLRequestAndCompletionSwizzlerTests55000
test-class DataTaskWithURLRequestSwizzlerTests33000
test-class DataTaskWithURLSwizzlerTests22000
test-class DefaultInternalLoggerTests1212000
test-class DefaultLogBatcherTests66000
test-class DefaultURLSessionSwizzlerProviderTests11000
test-class DefaultURLSessionTaskHandlerTests1919000
test-class DeviceIdentifier_PersistenceTests33000
test-class DeviceInfoCaptureServiceTests22000
test-class DownloadTaskWithURLRequestSwizzlerTests33000
test-class DownloadTaskWithURLWithCompletionSwizzlerTests55000
test-class EmbraceEndpointsTests11000
test-class EmbraceLogAttributesBuilderTests1212000
test-class EmbraceLoggerSharedStateTests33000
test-class EmbraceMetaUserAgentTests11000
test-class EmbraceSetupCaptureServicesTests22000
test-class EmbraceSpanProcessor_StorageTests11000
test-class Embrace_OTelIntegrationTests20020
test-class Embrace_OTelTests11000
test-class Embrace_OptionsTests44000
test-class EncodableJSONTests11000
test-class EncryptedNetworkPayloadTests55000
test-class EncryptionHelperTests33000
test-class KeychainAccessTests22000
test-class LengthOfBodyValidatorTests33000
test-class LengthOfNameValidatorTests44000
test-class LogControllerTests2020000
test-class LogDataValidationTests22000
test-class LogPayloadBuilderTests33000
test-class LogPayloadTests11000
test-class LogsBatchTests77000
test-class LowMemoryWarningCaptureServiceTests33000
test-class LowPowerModeCollectorTests88000
test-class ManualSessionLifecycleTests44000
test-class MetadataHandlerTests99000
test-class MetadataHandler_PersonaTagTests1010000
test-class MetadataHandler_UserTests44000
test-class MetadataPayloadTests11000
test-class NetworkPayloadCaptureHandlerTests77000
test-class PayloadUtilTests33000
test-class PersonaTagTests88000
test-class ProcessMetadataTests22000
test-class PushNotificationEventTests55000
test-class ResourceCaptureServiceTests11000
test-class ResourcePayloadTests22000
test-class ResourceStorageExporterTests11000
test-class SessionControllerTests2120100
test-class SessionHeartbeatTests33000
test-class SessionPayloadBuilderTests22000
test-class SessionSpanUtilsTests99000
test-class SessionTaskResumeSwizzlerTests22000
test-class SpanDataValidationTests22000
test-class SpanEventBreadcrumbTests22000
test-class SpanPayloadTests33000
test-class SpansPayloadBuilderTests1212000
test-class StorageEmbraceLogExporterTests1111000
test-class StorageSpanExporterTests22000
test-class TapCaptureServiceTests1010000
test-class UIViewControllerHandlerTests1613300
test-class URLSessionCaptureServiceTests55000
test-class URLSessionDelegateProxyAsTaskDelegateTests77000
test-class URLSessionDelegateProxyForwardingTests33000
test-class URLSessionDelegateProxyTests1818000
test-class URLSessionDelegateProxyToNonConformantTests55000
test-class URLSessionExtensionTests22000
test-class URLSessionInitWithDelegateSwizzlerTests44000
test-class URLSessionTaskCaptureRuleTests1010000
test-class URLSessionTaskExtensionTests22000
test-class UnsentDataHandlerTests1111000
test-class UploadTaskWithRequestFromDataAndCompletionSwizzlerTests55000
test-class UploadTaskWithRequestFromDataSwizzlerTests33000
test-class UploadTaskWithRequestFromFileSwizzlerTests33000
test-class UploadTaskWithRequestFromFileWithCompletionSwizzlerTests55000
test-class UploadTaskWithStreamedRequestSwizzlerTests33000
test-class ViewCaptureServiceTests44000
test-class W3C_TraceParentTests33000
test-class WKNavigationDelegateProxyTests22000
test-class WebViewCaptureServiceTests44000
test-class WhitespaceSpanNameValidatorTests11000
test-class iOSSessionLifecycleTests2424000

EmbraceCrashTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceCrashReporterTests1111000

EmbraceCrashlyticsSupportTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class CrashlyticsReporterTests22000
test-class CrashlyticsWrapperTests22000

EmbraceIOTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class CaptureServiceBuilderTests1414000

EmbraceOTelInternalTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class BatchLimitsTests22000
test-class EmbraceLogRecordBuilderTests1212000
test-class EmbraceLogRecordProcessorArrayExtensionTests11000
test-class EmbraceLoggerBuilderTests11000
test-class EmbraceLoggerProviderTests55000
test-class EmbraceLoggerTests33000
test-class EmbraceOTelTests1312010
test-class EmbraceResourceProviderTests33000
test-class GenericLogExporterTests11000
test-class SeverityToLogSeverityTests66000
test-class SingleLogRecordProcessorTests66000
test-class SingleSpanProcessorTests1010000

EmbraceObjCUtilsInternalTests

  • Device: iPhone 15 Pro Max, 18.0 (22A3351)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure

Details

Test Details

EmbraceCaptureServiceTestsback

CaptureServiceTests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_active()
Successtest-method test_addEvent()
Successtest-method test_addEvents()
Successtest-method test_endSpan()
Successtest-method test_initialState()
Successtest-method test_installed()
Successtest-method test_internalCalls()
Successtest-method test_paused()
Successtest-method test_startSpan()

EmbraceCommonInternalTestsback

LogIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_encode_encodesValueAsUUID()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_withUUID()
Successtest-method test_random_returnsNewValue()
Successtest-method test_toString_removesHyphens()

LogSeverityTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_description_isText()
Successtest-method test_ensureIdentifiersAreCorrectAndConsistentWithOTel()
Successtest-method test_ensureTextValuesAreCorrectAndConsistentWithOTel()
Successtest-method test_number_isRawValue()

LogTypeDeclarationTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_logTypeMessage_isPrimarySystemAndSecondaryLog()
Successtest-method test_logTypeMessage_isSysLogString()
Successtest-method test_logTypeSystem_isPrimarySystemSecondaryNil()
Successtest-method test_logTypeSystem_isSysString()

LogTypeTests back

SuccessFailureSkippedExpected Failure⏱️
17 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withInvalidPrimary_throwsError()
Successtest-method test_decode_withNestedSecondary_decodesFromString()
Successtest-method test_decode_withoutSecondary_decodesFromString()
Successtest-method test_decode_withSecondary_decodesFromString()
Successtest-method test_encode_withNestedSecondary_encodesAsString()
Successtest-method test_encode_withoutSecondary_encodesAsString()
Successtest-method test_encode_withSecondary_encodesAsString()
Successtest-method test_init_setsProperties()
Successtest-method test_init_system_setsProperties()
Successtest-method test_init_without_secondary_setsProperties()
Successtest-method test_init_withRawValue_withInvalidPrimary_returnsNil()
Successtest-method test_init_withRawValue_withNestedSecondary_setsProperties()
Successtest-method test_init_withRawValue_withoutSecondary_setsProperties()
Successtest-method test_init_withRawValue_withSecondary_setsProperties()
Successtest-method test_rawValue_withoutSecondary_returnsPrimary()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()

ProcessIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withEmptyString_throwsError()
Successtest-method test_decode_withInvalidString_throwsError()
Successtest-method test_decode_withValidString_returnsCorrectValue()
Successtest-method test_encode_encodesValueInHex()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_hex_withEmptyString_returnsNil()
Successtest-method test_init_hex_withInvalidString_returnsNil()
Successtest-method test_init_hex_withLongString_returnsNonNil()
Successtest-method test_init_hex_withShortString_returnsNonNil()
Successtest-method test_init_value()
Successtest-method test_random_returnsNewValue()

SessionIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_valueWithHyphen_returnsSessionId()
Successtest-method test_decode_valueWithoutHyphen_returnsSessionId()
Successtest-method test_encode_encodesValueAsUUID_withoutHyphen()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_withoutHyphen()
Successtest-method test_init_withString()
Successtest-method test_init_withUUID()
Successtest-method test_init_withWithInvalidString_isNil()
Successtest-method test_random_returnsNewValue()

SpanTypeTests back

SuccessFailureSkippedExpected Failure⏱️
22 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withInvalidPrimary_throwsError()
Successtest-method test_decode_withNestedSecondary_decodesFromString()
Successtest-method test_decode_withoutSecondary_decodesFromString()
Successtest-method test_decode_withSecondary_decodesFromString()
Successtest-method test_description_withoutSecondary_returnsPrimary()
Successtest-method test_description_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_description_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()
Successtest-method test_encode_withNestedSecondary_encodesAsString()
Successtest-method test_encode_withoutSecondary_encodesAsString()
Successtest-method test_encode_withSecondary_encodesAsString()
Successtest-method test_init_performance_setsProperties()
Successtest-method test_init_setsProperties()
Successtest-method test_init_system_setsProperties()
Successtest-method test_init_ux_setsProperties()
Successtest-method test_init_without_secondary_setsProperties()
Successtest-method test_init_withRawValue_withInvalidPrimary_returnsNil()
Successtest-method test_init_withRawValue_withNestedSecondary_setsProperties()
Successtest-method test_init_withRawValue_withoutSecondary_setsProperties()
Successtest-method test_init_withRawValue_withSecondary_setsProperties()
Successtest-method test_rawValue_withoutSecondary_returnsPrimary()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()

ThreadSafeTests back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.11s
Successtest-method test_concurrentAccess()
Successtest-method test_initialState()
Successtest-method test_modify_shouldSafelyModifyInBlock()
Successtest-method test_multipleSet_shouldModifyValue()
Successtest-method test_parallelExecutionAndConcurrentAccess()
Successtest-method test_set_shouldModifyValue()
Successtest-method test_simultaneousReadWrite_shouldntCrash()

UUID_WithoutHyphenTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_initWithoutHyphen_returnsUUID_whenStringHasHyphens()
Successtest-method test_initWithoutHyphen_returnsUUID_whenValid_nilOtherwise()
Successtest-method test_withoutHyphen_stripsHyphens()

EmbraceConfigInternalTestsback

EmbraceConfigTests back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.10s
Successtest-method test_appDidBecomeActive_afterEnoughTime_callsUpdate()
Successtest-method test_appDidBecomeActive_afterUpdate_doesNotCallUpdate()
Successtest-method test_doesNot_postNotificationIf_configDidNotChange()
Successtest-method test_internalLogLimits_callsUnderlyingConfigurable()
Successtest-method test_isBackgroundSessionEnabled_callsUnderlyingConfigurable()
Successtest-method test_isNetworkSpansForwardingEnabled_callsUnderlyingConfigurable()
Successtest-method test_isSDKEnabled_callsUnderlyingConfigurable()
Successtest-method test_networkPayloadCaptureRules_callsUnderlyingConfigurable()
Successtest-method test_postsNotificationIf_configDidChange()
Successtest-method test_updateIfNeeded_callsUpdate_ifEnoughTimeHasPassed()
Successtest-method test_updateIfNeeded_doesNotCallUpdate_ifNotEnoughtimeHasPassed()

RemoteConfigFetcherTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_buildURL_addsCorrectQuery()
Successtest-method test_fetch_completesFailureWithNilPayload()
Successtest-method test_fetch_completesSuccessfullyWithPayload()
Successtest-method test_newRequest_addsETagWhenCachedResponsePresent()
Successtest-method test_newRequest_hasCorrectHeaders()

RemoteConfigPayloadTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_onHavingOldAndInvalidRemoteConfigPayload_RemoteConfigPayload_shouldBeCreatedWithDefaults()
Successtest-method testOnHavingValidRemoteConfig_RemoteConfigPayload_shouldOverridedDefaultValuesWithProvidedOnes()
Successtest-method testOnReceivingEmptyRemoteConfig_RemoteConfigPayload_shouldUseDefaultValues()

RemoteConfigTests back

SuccessFailureSkippedExpected Failure⏱️
5 (71%)2 (29%)0 (0%)0 (0%)0.00s
Successtest-method test_internalLogLimits()
Successtest-method test_isBackgroundSessionEnabled()
Failuretest-method test_isEnabled_returnsCorrectValues()back
test-method test_isEnabled_returnsCorrectValues()back
Successtest-method test_isSdkEnabled_usesPayloadThreshold()
Successtest-method test_networkPayloadCaptureRules()
Successtest-method test_networkSpansForwardingEnabled()

EmbraceConfigurationTestsback

DefaultConfigTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_defaultConfig_hasCorrectValues()

InternalLogLimitsTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_init_hasCorrectDefaultValues()
Successtest-method test_init_withValues()
Successtest-method test_isEqual_isFalseWhenDifferentTypes()
Successtest-method test_isEqual_isFalseWhenLimitsDontMatch()
Successtest-method test_isEqual_isTrueWhenLimitsMatch()

EmbraceCoreTestsback

AppInfoCaptureServiceTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.04s
Successtest-method test_notStarted()

Annotations

Check failure on line 57 in embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfigTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

Assertion Failure

XCTAssertFalse failed

Check failure on line 57 in embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfigTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

Assertion Failure

XCTAssertFalse failed

Check failure on line 376 in embrace-apple-sdk/Tests/EmbraceCoreTests/Session/SessionControllerTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

Assertion Failure

XCTAssertNotEqual failed: ("2024-12-05 20:39:21 +0000") is equal to ("2024-12-05 20:39:21 +0000")

Check failure on line 26 in embrace-apple-sdk/Tests/TestSupport/XCTestCase+WaitHelpers.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

Assertion Failure

Asynchronous wait failed: Exceeded timeout of 1 seconds, with unfulfilled expectations: "wait for block to pass".