Device Testing for Android InfrastructureFailure

android
#1

Hello,

I’m having the same issue as this, but since it was closed automatically I decided to open a new one.

I’m trying to launch UI tests with Virtual Device Testing on an Android app.
The steps fails with “Outcome” : "inconclusive(InfrastructureFailure)"

I’ve tried changing the test timeout from 900 to 1800 seconds but it didn’t help.

Link to my build : https://app.bitrise.io/build/f78be03934972106#?tab=log
I enabled Bitrise Support for my app.

Here are the logs for the step:
±-----------------------------------------------------------------------------+

| (5) virtual-device-testing-for-android                                       |
+------------------------------------------------------------------------------+
| id: virtual-device-testing-for-android                                       |
| version: 1.1.2                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2020-05-08T11:30:30Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Configs:
- AppPath: /bitrise/deploy/app-beta-debug.apk
- TestTimeout: 900.000000
- FlakyTestAttempts: 0
- DownloadTestResults: false
- DirectoriesToPull: 
- AutoGoogleLogin: false
- EnvironmentVariables: 
- ObbFilesList: 
- TestDevices:
---
Model    API Level   Locale   Orientation   
Nexus5   21          en       portrait      
---
- TestType: instrumentation
- TestApkPath: /bitrise/deploy/app-beta-debug-androidTest.apk
- InstTestPackageID: 
- InstTestRunnerClass: 
- InstTestTargets: class com.[REDACTED].SuiteManager
- UseOrchestrator: false
Uploading app and test files
App path (/bitrise/deploy/app-beta-debug.apk), is bundle: false
Assets requested: {isBundle:false testApp:<nil> Apk:{UploadURL: GcsPath: Filename:app-beta-debug.apk} Aab:{UploadURL: GcsPath: Filename:} TestApk:{UploadURL: GcsPath: Filename:app-beta-debug-androidTest.apk} RoboScript:{UploadURL: GcsPath: Filename:} ObbFiles:[]}
Uploading file(/bitrise/deploy/app-beta-debug.apk) to (gs://bitrise-addon-ftl-prod-bucket/android-tests/f78be03934972106/app.apk)
=> Files uploaded
Starting test
AndroidInstrumentationTest: &{AppApk:0xc0003026c0 AppBundle:<nil> AppPackageId: OrchestratorOption:DO_NOT_USE_ORCHESTRATOR TestApk:0xc000302700 TestPackageId: TestRunnerClass: TestTargets:[class com.[REDACTED].SuiteManager] ForceSendFields:[] NullFields:[]}
=> Test started
Waiting for test results
- Validating
- (1/1) running
- (0/1) running
=> Test finished
Test results:
Model    API Level   Locale   Orientation   Outcome                                          
Nexus5   21          en       portrait      inconclusive(InfrastructureFailure)   
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | virtual-device-testing-for-android (exit code: 1)             | 15.2 min |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...se-steplib/steps-virtual-device-testing-for-android/issues |
| Source: ...thub.com/bitrise-steplib/steps-virtual-device-testing-for-android |
+---+---------------------------------------------------------------+----------+

Any help is much appreciated.

Thanks,
Adrian

0 Likes

closed #2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes