Skip to content

added comments

added comments #1888

GitHub Actions / JUnit Test Report failed Oct 31, 2023 in 0s

158 tests run, 148 passed, 0 skipped, 10 failed.

Annotations

Check failure on line 1 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOIntegrationTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOIntegrationTest.test_backgroundQueueExecuteLotsOfTasks_givenFailAllTasks_expectThrowNoError

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.commontest.BaseIntegrationTest.setup(BaseIntegrationTest.kt:25)
	at io.customer.commontest.BaseTest.setup(BaseTest.kt:93)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 31 more

Check failure on line 1 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOIntegrationTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOIntegrationTest.test_backgroundQueueExecuteLotsOfTasks_givenSuccessAllTasks_expectThrowNoError

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.commontest.BaseIntegrationTest.setup(BaseIntegrationTest.kt:25)
	at io.customer.commontest.BaseTest.setup(BaseTest.kt:93)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 31 more

Check failure on line 1 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOIntegrationTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOIntegrationTest.test_givenSendTestPushNotification_givenHttp400Response_expectDeleteTaskAndNotRetry

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.commontest.BaseIntegrationTest.setup(BaseIntegrationTest.kt:25)
	at io.customer.commontest.BaseTest.setup(BaseTest.kt:93)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 31 more

Check failure on line 56 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOSharedTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOSharedTest.verifyAttachedWithSDK_givenNoSpecificEnvironment_expectProvidedLogLevel

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIOSharedTest.verifyAttachedWithSDK_givenNoSpecificEnvironment_expectProvidedLogLevel(CustomerIOSharedTest.kt:56)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 29 more

Check failure on line 280 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOTest.test_sdkConfigMapping_givenConfigParamsMap_expectCorrectlyMappedConfigValues

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.sdk.CustomerIOTest.test_sdkConfigMapping_givenConfigParamsMap_expectCorrectlyMappedConfigValues(CustomerIOTest.kt:280)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 30 more

Check failure on line 201 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOTest.initializeSdk_expectRunCleanup

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.sdk.CustomerIOTest$initializeSdk_expectRunCleanup$1.invokeSuspend(CustomerIOTest.kt:202)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at io.customer.sdk.CustomerIOTest.initializeSdk_expectRunCleanup(CustomerIOTest.kt:201)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 39 more

Check failure on line 58 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOTest.verifySDKConfigurationSetAfterBuild

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.sdk.CustomerIOTest.verifySDKConfigurationSetAfterBuild(CustomerIOTest.kt:58)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 30 more

Check failure on line 175 in sdk/src/sharedTest/java/io/customer/sdk/CustomerIOTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CustomerIOTest.build_givenMultipleModules_expectInitializeAllModules

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:10)
	at io.customer.sdk.di.CustomerIOSharedComponent$sharedPreferenceRepository$2.invoke(CustomerIOSharedComponent.kt:9)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at io.customer.sdk.di.CustomerIOSharedComponent.getSharedPreferenceRepository$sdk_debug(CustomerIOSharedComponent.kt:9)
	at io.customer.sdk.CustomerIOShared.attachSDKConfig(CustomerIOShared.kt:44)
	at io.customer.sdk.CustomerIO$Builder.build(CustomerIO.kt:351)
	at io.customer.sdk.CustomerIOTest.build_givenMultipleModules_expectInitializeAllModules(CustomerIOTest.kt:175)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 30 more

Check failure on line 22 in sdk/src/sharedTest/java/io/customer/sdk/repository/SharedPreferenceRepositoryTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SharedPreferenceRepositoryTest.verifySaveSettings_givenNoConfigSavedPreviously_expectInvalidConfig

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.repository.SharedPreferenceRepositoryTest.setup(SharedPreferenceRepositoryTest.kt:22)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 24 more

Check failure on line 22 in sdk/src/sharedTest/java/io/customer/sdk/repository/SharedPreferenceRepositoryTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

SharedPreferenceRepositoryTest.verifySaveSettings_givenConfigSavedPreviously_expectCorrectConfig

java.security.KeyStoreException: AndroidKeyStore not found
Raw output
java.security.KeyStoreException: AndroidKeyStore not found
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:871)
	at androidx.security.crypto.MasterKeys.keyExists(MasterKeys.java:155)
	at androidx.security.crypto.MasterKeys.getOrCreate(MasterKeys.java:99)
	at androidx.security.crypto.MasterKey$Builder$Api23Impl.build(MasterKey.java:380)
	at androidx.security.crypto.MasterKey$Builder.build(MasterKey.java:320)
	at io.customer.sdk.repository.preference.SharedPreferenceRepositoryImp.<init>(SharedPreferenceRepository.kt:36)
	at io.customer.sdk.repository.SharedPreferenceRepositoryTest.setup(SharedPreferenceRepositoryTest.kt:22)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.security.NoSuchAlgorithmException: AndroidKeyStore KeyStore not available
	at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
	at java.base/java.security.Security.getImpl(Security.java:676)
	at java.base/java.security.KeyStore.getInstance(KeyStore.java:868)
	... 24 more