Below are the logs for the last step when I am trying to run Android Instrumentation test cases with Bitrise.
------------------------------------------------------------------------------+
| (5) virtual-device-testing-for-android@1.1.1 |
±-----------------------------------------------------------------------------+
| id: virtual-device-testing-for-android |
| version: 1.1.1 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2020-01-21T18:40:25Z |
±-----------------------------------------------------------------------------+
| |
Configs:
- AppPath: /bitrise/deploy/ChargePoint_5.58.0-233-1434-qa-debug.apk
- TestTimeout: 900.000000
- FlakyTestAttempts: 0
- DownloadTestResults: false
- DirectoriesToPull: storage/sdcard/Pictures/screenshots
- AutoGoogleLogin: false
- EnvironmentVariables:
- ObbFilesList:
- TestDevices:
Model API Level Locale Orientation
Nexus10 22 en portrait
- TestType: instrumentation
- TestApkPath: /bitrise/deploy/ChargePoint_5.58.0-233-1434-qa-debug-androidTest.apk
- InstTestPackageID:
- InstTestRunnerClass: androidx.test.runner.AndroidJUnit4
- InstTestTargets:
- UseOrchestrator: false
Uploading app and test files
=> Files uploaded
Starting test
=> Test started
Waiting for test results - Validating
Failed to get test status, error: Failed to get test status: INVALID(DETAILS_UNAVAILABLE)
| |
±â±--------------------------------------------------------------±---------+
| x | virtual-device-testing-for-android@1.1.1 (exit code: 1) | 21.67 sec|
±â±--------------------------------------------------------------±---------+
| Issue tracker: âŠse-steplib/steps-virtual-device-testing-for-android/issues |
| Source: âŠthub.com/bitrise-steplib/steps-virtual-device-testing-for-android |
±â±--------------------------------------------------------------±---------+
Below are the bitrise.yml details for this particular workflow
steps:
- activate-ssh-key@4.0.3:
run_if: â{{getenv âSSH_RSA_PRIVATE_KEYâ | ne ââ}}â - git-clone@4.0.14:
inputs: - clone_depth: â1â
- install-missing-android-tools@2.3.6:
inputs: - gradlew_path: â$PROJECT_LOCATION/gradlewâ
- android-unit-test@1.0.0:
inputs: - module: â$MODULEâ
- variant: â$VARIANTâ
- project_location: â$PROJECT_LOCATIONâ
- android-build-for-ui-testing@0.1.1:
inputs: - variant: â$VARIANTâ
- project_location: â$PROJECT_LOCATIONâ
- module: â$MODULEâ
- virtual-device-testing-for-android@1.1.1:
inputs: - test_devices: Nexus10,22,en,portrait
- directories_to_pull: storage/sdcard/Pictures/screenshots
- inst_test_runner_class: androidx.test.runner.AndroidJUnit4
- test_type: instrumentation
- deploy-to-bitrise-io@1.9.5:
inputs: - is_enable_public_page: âfalseâ
- notify_user_groups: developers
