Pulling docker images... Creating network "tmp_default" with the default driver Starting the docker image... Starting a new bash session. Exporting environment variables Exporting TERM Exporting PAGER Exporting DISPLAY Exporting CI Exporting SEMAPHORE Exporting SEMAPHORE_PROJECT_NAME Exporting SEMAPHORE_PROJECT_ID Exporting SEMAPHORE_JOB_NAME Exporting SEMAPHORE_JOB_ID Exporting SEMAPHORE_AGENT_MACHINE_TYPE Exporting SEMAPHORE_AGENT_MACHINE_OS_IMAGE Exporting SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE Exporting SEMAPHORE_ORGANIZATION_URL Exporting SEMAPHORE_ARTIFACT_TOKEN Exporting SSH_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_USERNAME Exporting SEMAPHORE_CACHE_URL Exporting SEMAPHORE_GIT_URL Exporting SEMAPHORE_GIT_DIR Exporting SEMAPHORE_GIT_SHA Exporting SEMAPHORE_GIT_REPO_SLUG Exporting SEMAPHORE_GIT_REF Exporting SEMAPHORE_GIT_COMMIT_RANGE Exporting SEMAPHORE_GIT_REF_TYPE Exporting SEMAPHORE_GIT_BRANCH Exporting SEMAPHORE_WORKFLOW_ID Exporting SEMAPHORE_WORKFLOW_NUMBER Exporting SEMAPHORE_WORKFLOW_RERUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_HOOK Exporting SEMAPHORE_WORKFLOW_HOOK_SOURCE Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_API Exporting SEMAPHORE_PIPELINE_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ID Exporting SEMAPHORE_PIPELINE_RERUN Exporting SEMAPHORE_PIPELINE_PROMOTION Exporting SEMAPHORE_PIPELINE_0_ARTEFACT_ID Exporting ADB_INSTALL_TIMEOUT Injecting Files Injecting ~/.ssh/semaphore_cache_key with file mode 0600 Injecting .ssh/id_rsa with file mode 0600 Setting up the Semaphore toolbox Running: git clone https://github.com/semaphoreci/toolbox.git ~/.toolbox && bash ~/.toolbox/install-toolbox && source ~/.toolbox/toolbox && echo 'source ~/.toolbox/toolbox' >> ~/.bash_profile && if [ -f /etc/init.d/xvfb ]; then /etc/init.d/xvfb start; fi Cloning into '/root/.toolbox'... remote: Enumerating objects: 17, done. remote: Counting objects: 5% (1/17) remote: Counting objects: 11% (2/17) remote: Counting objects: 17% (3/17) remote: Counting objects: 23% (4/17) remote: Counting objects: 29% (5/17) remote: Counting objects: 35% (6/17) remote: Counting objects: 41% (7/17) remote: Counting objects: 47% (8/17) remote: Counting objects: 52% (9/17) remote: Counting objects: 58% (10/17) remote: Counting objects: 64% (11/17) remote: Counting objects: 70% (12/17) remote: Counting objects: 76% (13/17) remote: Counting objects: 82% (14/17) remote: Counting objects: 88% (15/17) remote: Counting objects: 94% (16/17) remote: Counting objects: 100% (17/17) remote: Counting objects: 100% (17/17), done. remote: Compressing objects: 7% (1/14) remote: Compressing objects: 14% (2/14) remote: Compressing objects: 21% (3/14) remote: Compressing objects: 28% (4/14) remote: Compressing objects: 35% (5/14) remote: Compressing objects: 42% (6/14) remote: Compressing objects: 50% (7/14) remote: Compressing objects: 57% (8/14) remote: Compressing objects: 64% (9/14) remote: Compressing objects: 71% (10/14) remote: Compressing objects: 78% (11/14) remote: Compressing objects: 85% (12/14) remote: Compressing objects: 92% (13/14) remote: Compressing objects: 100% (14/14) remote: Compressing objects: 100% (14/14), done. Receiving objects: 0% (1/1406) Receiving objects: 1% (15/1406) Receiving objects: 2% (29/1406) Receiving objects: 3% (43/1406) Receiving objects: 4% (57/1406) Receiving objects: 5% (71/1406) Receiving objects: 6% (85/1406) Receiving objects: 7% (99/1406) Receiving objects: 8% (113/1406) Receiving objects: 9% (127/1406) Receiving objects: 10% (141/1406) Receiving objects: 11% (155/1406) Receiving objects: 12% (169/1406) Receiving objects: 13% (183/1406) Receiving objects: 14% (197/1406) Receiving objects: 15% (211/1406) Receiving objects: 16% (225/1406) Receiving objects: 17% (240/1406) Receiving objects: 18% (254/1406) Receiving objects: 19% (268/1406) Receiving objects: 20% (282/1406) Receiving objects: 21% (296/1406) Receiving objects: 22% (310/1406) Receiving objects: 23% (324/1406) Receiving objects: 24% (338/1406) Receiving objects: 25% (352/1406) Receiving objects: 26% (366/1406) Receiving objects: 27% (380/1406) Receiving objects: 28% (394/1406) Receiving objects: 29% (408/1406) Receiving objects: 30% (422/1406) Receiving objects: 31% (436/1406) Receiving objects: 32% (450/1406) Receiving objects: 33% (464/1406) Receiving objects: 34% (479/1406) Receiving objects: 35% (493/1406) Receiving objects: 36% (507/1406) Receiving objects: 37% (521/1406) Receiving objects: 38% (535/1406) Receiving objects: 39% (549/1406) Receiving objects: 40% (563/1406) Receiving objects: 41% (577/1406) Receiving objects: 42% (591/1406) Receiving objects: 43% (605/1406) Receiving objects: 44% (619/1406) Receiving objects: 45% (633/1406) Receiving objects: 46% (647/1406) Receiving objects: 47% (661/1406) Receiving objects: 48% (675/1406) Receiving objects: 49% (689/1406) Receiving objects: 50% (703/1406) Receiving objects: 51% (718/1406) Receiving objects: 52% (732/1406) Receiving objects: 53% (746/1406) Receiving objects: 54% (760/1406) Receiving objects: 55% (774/1406) Receiving objects: 56% (788/1406) Receiving objects: 57% (802/1406) Receiving objects: 58% (816/1406) Receiving objects: 59% (830/1406) Receiving objects: 60% (844/1406) Receiving objects: 61% (858/1406) Receiving objects: 62% (872/1406) Receiving objects: 63% (886/1406) Receiving objects: 64% (900/1406) Receiving objects: 65% (914/1406) Receiving objects: 66% (928/1406) Receiving objects: 67% (943/1406) Receiving objects: 68% (957/1406) Receiving objects: 69% (971/1406) Receiving objects: 70% (985/1406) Receiving objects: 71% (999/1406) Receiving objects: 72% (1013/1406) Receiving objects: 73% (1027/1406) Receiving objects: 74% (1041/1406) Receiving objects: 75% (1055/1406) Receiving objects: 76% (1069/1406) Receiving objects: 77% (1083/1406) Receiving objects: 78% (1097/1406) Receiving objects: 79% (1111/1406) Receiving objects: 80% (1125/1406) Receiving objects: 81% (1139/1406) Receiving objects: 82% (1153/1406) Receiving objects: 83% (1167/1406) Receiving objects: 84% (1182/1406) Receiving objects: 85% (1196/1406) Receiving objects: 86% (1210/1406) Receiving objects: 87% (1224/1406) Receiving objects: 88% (1238/1406) Receiving objects: 89% (1252/1406) Receiving objects: 90% (1266/1406) Receiving objects: 91% (1280/1406) Receiving objects: 92% (1294/1406) Receiving objects: 93% (1308/1406) Receiving objects: 94% (1322/1406) Receiving objects: 95% (1336/1406) Receiving objects: 96% (1350/1406) Receiving objects: 97% (1364/1406) Receiving objects: 98% (1378/1406) remote: Total 1406 (delta 2), reused 9 (delta 2), pack-reused 1389 Receiving objects: 99% (1392/1406) Receiving objects: 100% (1406/1406) Receiving objects: 100% (1406/1406), 310.19 KiB | 1.14 MiB/s, done. Resolving deltas: 0% (0/792) Resolving deltas: 1% (8/792) Resolving deltas: 11% (92/792) Resolving deltas: 16% (133/792) Resolving deltas: 18% (146/792) Resolving deltas: 22% (176/792) Resolving deltas: 24% (196/792) Resolving deltas: 25% (198/792) Resolving deltas: 30% (241/792) Resolving deltas: 31% (251/792) Resolving deltas: 32% (255/792) Resolving deltas: 33% (267/792) Resolving deltas: 34% (270/792) Resolving deltas: 35% (279/792) Resolving deltas: 45% (362/792) Resolving deltas: 47% (376/792) Resolving deltas: 50% (397/792) Resolving deltas: 51% (404/792) Resolving deltas: 52% (412/792) Resolving deltas: 54% (432/792) Resolving deltas: 56% (444/792) Resolving deltas: 57% (456/792) Resolving deltas: 61% (488/792) Resolving deltas: 71% (564/792) Resolving deltas: 72% (572/792) Resolving deltas: 84% (669/792) Resolving deltas: 85% (675/792) Resolving deltas: 89% (706/792) Resolving deltas: 90% (713/792) Resolving deltas: 94% (745/792) Resolving deltas: 100% (792/792) Resolving deltas: 100% (792/792), done. retry installed ssh-session-cli installed cache installed sem-service installed sem-dockerize installed sem-service-check-params installed install-package installed Installing the artifacts CLI Using http://packages.semaphoreci.com/v0.2.8/artifact_Linux_x86_64.tar.gz artifacts installed Starting to collect System Metrics in /tmp/system-metrics Starting an ssh-agent Running: eval `ssh-agent` && echo 'eval $(ssh-agent) >/dev/null' >> ~/.bash_profile && echo 'yes' > /tmp/sempahore-user-commands-have-started Agent pid 101 Connecting to cache Running: ssh-keyscan -p 29920 -H 195.201.55.114 >> ~/.ssh/known_hosts && ssh-add ~/.ssh/semaphore_cache_key # 195.201.55.114:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.2 # 195.201.55.114:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.2 # 195.201.55.114:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.2 Identity added: /root/.ssh/semaphore_cache_key (/root/.ssh/semaphore_cache_key) checkout Performing shallow clone with depth: 50 HEAD is now at ee5f93f Merge pull request #15 from semaphoreci-demos/am-skip-test cache restore gradle-wrapper HIT: gradle-wrapper, using key gradle-wrapper Restored: /root/.gradle/wrapper/ cache restore gradle-cache HIT: gradle-cache, using key gradle-cache Restored: /root/.gradle/caches/ cache restore android-build HIT: android-build, using key android-build Restored: /root/.android/build-cache/ ./gradlew testDebugUnitTest Welcome to Gradle 6.2! Here are the highlights of this release: - Dependency checksum and signature verification - Documentation links in deprecation messages - Shareable read-only dependency cache For more details see https://docs.gradle.org/6.2/release-notes.html Starting a Gradle Daemon (subsequent builds will be faster) > Starting Daemon> IDLE<-------------> 0% INITIALIZING [54ms]> Evaluating settings<-------------> 0% INITIALIZING [154ms]<-------------> 0% INITIALIZING [254ms]<-------------> 0% INITIALIZING [354ms]<-------------> 0% INITIALIZING [454ms]<-------------> 0% INITIALIZING [554ms]<-------------> 0% INITIALIZING [654ms]<-------------> 0% CONFIGURING [754ms]> Loading projects<-------------> 0% CONFIGURING [854ms]> root project<-------------> 0% CONFIGURING [954ms]<-------------> 0% CONFIGURING [1s]> root project > Resolve dependencies of :classpath> root project<======-------> 50% CONFIGURING [1s]> :app<======-------> 50% CONFIGURING [2s]<======-------> 50% CONFIGURING [3s]<=============> 100% CONFIGURING [3s]> IDLE> Resolve dependencies of :app:androidApis> IDLE<=============> 100% CONFIGURING [4s]<=============> 100% CONFIGURING [5s]Checking the license for package Android SDK Build-Tools 30.0.1 in /opt/android-sdk-linux/licenses License for package Android SDK Build-Tools 30.0.1 accepted. Preparing "Install Android SDK Build-Tools 30.0.1 (revision: 30.0.1)".   <=============> 100% CONFIGURING [5s]> IDLE<=============> 100% CONFIGURING [6s]<=============> 100% CONFIGURING [7s]"Install Android SDK Build-Tools 30.0.1 (revision: 30.0.1)" ready. Installing Android SDK Build-Tools 30.0.1 in /opt/android-sdk-linux/build-tools/30.0.1 "Install Android SDK Build-Tools 30.0.1 (revision: 30.0.1)" complete.   <=============> 100% CONFIGURING [7s]> IDLE"Install Android SDK Build-Tools 30.0.1 (revision: 30.0.1)" finished. Checking the license for package Android SDK Platform 30 in /opt/android-sdk-linux/licenses License for package Android SDK Platform 30 accepted. Preparing "Install Android SDK Platform 30 (revision: 3)".   <=============> 100% CONFIGURING [7s]> IDLE<=============> 100% CONFIGURING [8s]<=============> 100% CONFIGURING [9s]<=============> 100% CONFIGURING [10s]<=============> 100% CONFIGURING [11s]"Install Android SDK Platform 30 (revision: 3)" ready. Installing Android SDK Platform 30 in /opt/android-sdk-linux/platforms/android-30 "Install Android SDK Platform 30 (revision: 3)" complete. "Install Android SDK Platform 30 (revision: 3)" finished.   <=============> 100% CONFIGURING [11s]> IDLE > Resolve dependencies of :app:debugUnitTestRuntimeClasspath > kotlinx-coroutin> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > junit-4.13.pom> IDLE> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > mockwebserver-4.> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > hamcrest-core-1.> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > kotlinx-coroutin<=============> 100% CONFIGURING [12s]> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > mockk-agent-jvm-> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > okhttp-4.7.2.pom> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > byte-buddy-1.10.> Resolve dependencies of :app:debugUnitTestRuntimeClasspath > mockk-agent-comm> Resolve dependencies of :app:debugUnitTestRuntimeClasspath> Resolve dependencies of :app:debugCompileClasspath> IDLE> Resolve dependencies of :app:debugUnitTestCompileClasspath<-------------> 0% EXECUTING [12s]> Transforming artifact kotlin-android-extensions-runtime-1.3.72.jar (org.jetbr> Transforming artifact viewbinding-4.0.1.aar (androidx.databinding:viewbinding<-------------> 3% EXECUTING [13s]> Transforming artifact kotlinx-coroutines-test-1.3.7.jar (org.jetbrains.kotlin> Transforming artifact kotlinx-coroutines-debug-1.3.7.jar (org.jetbrains.kotli<-------------> 4% EXECUTING [13s]> Transforming artifact mockk-android-1.10.0.aar (io.mockk:mockk-android:1.10.0<-------------> 5% EXECUTING [13s]> Transforming artifact mockk-1.10.0.jar (io.mockk:mockk:1.10.0) with JetifyTra<-------------> 6% EXECUTING [13s]> Transforming artifact mockk-dsl-jvm-1.10.0.jar (io.mockk:mockk-dsl-jvm:1.10.0> Transforming artifact kotlin-reflect-1.3.61.jar (org.jetbrains.kotlin:kotlin-<-------------> 6% EXECUTING [14s]<-------------> 6% EXECUTING [15s]> Transforming artifact mockk-agent-android-1.10.0.aar (io.mockk:mockk-agent-an<-------------> 7% EXECUTING [15s]<=------------> 9% EXECUTING [15s]> Transforming artifact okhttp-4.7.2.jar (com.squareup.okhttp3:okhttp:4.7.2) wi> Transforming artifact okio-jvm-2.6.0.jar (com.squareup.okio:okio:2.6.0) with <=------------> 11% EXECUTING [15s]> Transforming artifact junit-4.13.jar (junit:junit:4.13) with JetifyTransform > Transforming artifact junit-4.13.jar (junit:junit:4.13) with IdentityTransfor<==-----------> 18% EXECUTING [15s]> Transforming artifact core-1.3.1.aar (androidx.core:core:1.3.1) with ExtractA<===----------> 26% EXECUTING [15s]> Transforming artifact hamcrest-core-1.3.jar (org.hamcrest:hamcrest-core:1.3) > Transforming artifact mockk-agent-jvm-1.10.0.jar (io.mockk:mockk-agent-jvm:1.<===----------> 28% EXECUTING [15s]> Transforming artifact mockk-common-1.10.0.jar (io.mockk:mockk-common:1.10.0) > Transforming artifact jna-platform-5.5.0.jar (net.java.dev.jna:jna-platform:5<===----------> 28% EXECUTING [16s]> Transforming artifact jna-5.5.0.jar (net.java.dev.jna:jna:5.5.0) with JetifyT<===----------> 29% EXECUTING [16s]> Transforming artifact byte-buddy-1.10.9.jar (net.bytebuddy:byte-buddy:1.10.9)> Transforming artifact mockk-dsl-1.10.0.jar (io.mockk:mockk-dsl:1.10.0) with J<===----------> 30% EXECUTING [16s]> Transforming artifact dexmaker-2.21.0.jar (com.linkedin.dexmaker:dexmaker:2.2> Transforming artifact dalvik-dx-9.0.0_r3.jar (com.jakewharton.android.repacka<===----------> 30% EXECUTING [17s]> Transforming artifact viewbinding-4.0.1.aar (androidx.databinding:viewbinding<=====--------> 43% EXECUTING [17s]> Transforming artifact activity-ktx-1.1.0.aar (androidx.activity:activity-ktx:<======-------> 49% EXECUTING [17s]> Transforming artifact byte-buddy-1.10.9.jar (net.bytebuddy:byte-buddy:1.10.9)<=======------> 57% EXECUTING [17s]> IDLE> IDLE<=========----> 71% EXECUTING [17s]> Transforming artifact lifecycle-viewmodel-2.2.0.aar (androidx.lifecycle:lifec> :app:dataBindingMergeDependencyArtifactsDebug<==========---> 79% EXECUTING [17s]> IDLE> :app:mergeDebugResources<==========---> 79% EXECUTING [18s]> :app:generateDebugBuildConfig<===========--> 86% EXECUTING [18s]> IDLE> :app:dataBindingGenBaseClassesDebug<============-> 97% EXECUTING [18s]> :app:createDebugCompatibleScreenManifests> :app:processDebugManifest<============-> 98% EXECUTING [19s]> :app:processDebugResources> :app:compileDebugKotlin<============-> 98% EXECUTING [20s]<============-> 98% EXECUTING [21s]<============-> 98% EXECUTING [22s]<============-> 98% EXECUTING [23s]<============-> 98% EXECUTING [24s]<============-> 98% EXECUTING [25s]<============-> 98% EXECUTING [26s]<============-> 98% EXECUTING [27s]> :app:compileDebugJavaWithJavac<============-> 98% EXECUTING [28s]> :app:compileDebugUnitTestKotlin<============-> 98% EXECUTING [29s]<============-> 99% EXECUTING [29s]> :app:testDebugUnitTest > Resolve files of :app:androidApis > Transform artifa<============-> 99% EXECUTING [30s]> :app:testDebugUnitTest> :app:testDebugUnitTest > 0 tests completed> :app:testDebugUnitTest > Executing test com.semaphoreci...remotedatasource.Re<============-> 99% EXECUTING [31s]> IDLE> :app:testDebugUnitTest<=============> 100% EXECUTING [31s]> IDLE BUILD SUCCESSFUL in 33s 17 actionable tasks: 17 executed    <-------------> 0% WAITING> IDLE> IDLE[?12l[?25hexport SEMAPHORE_JOB_RESULT=passed artifact push job --expire-in 2w --destination reports/ app/build/reports/