Closed bkmalkoc closed 6 years ago
Hi,
Did you turn on the Virtual Device Testing for that app? You can do it on the Settings tab of the app on bitrise.io - guide/blog post: https://blog.bitrise.io/introducing-solid-and-snappy-virtual-device-testing-for-android
@bkmalkoc did the instructions above fix the issue (to enable Virtual Device Testing for the app)?
Closing as we did not receive any update / confirmation. @bkmalkoc feel free to comment and we'll reopen this ticket! :)
Hi @viktorbenei ,
Yes it was turned on. That's how the first test got successful. Unfortunately not the second one, second test is failed. What could be the reason?
The reason for creating second virtual test step is I want to run on different devices. Instead is there a way to define two(or more) devices in one virtual device test step?
Ahh, that definitely makes sense @bkmalkoc ! The step & the related service was designed so that one build can only run this step once, that's why you get the 403 in the second step - sorry I missed this.
The reason for creating second virtual test step is I want to run on different devices. Instead is there a way to define two(or more) devices in one virtual device test step?
Sure, definitely! Just specify a device config per line in the "Test devices" input, that simple! :) See the input's description for more details: https://github.com/bitrise-steplib/steps-virtual-device-testing-for-android/blob/master/step.yml#L41
If you have any questions just let us know! :)
That works now. Thank you for solution. @viktorbenei
Any time @bkmalkoc ;)
I have 2 consecutive device test tasks. The first one is working with success but the second one is failing with this error.
Failed to get http response, status code: [403]
Why is this error happening?
First successful test; +------------------------------------------------------------------------------+
INFO[16:19:43] Start installing (golang) with apt-get
INFO[16:19:43] * [OK] Step dependency (go) installed, available. Configs:
TestDevices:
Model API Level Locale Orientation
NexusLowRes 24 portrait en
NexusLowRes 24 en portrait success
| | +---+---------------------------------------------------------------+----------+ | ✓ | virtual-device-testing-for-android@0.9.7 | 268 sec | +---+---------------------------------------------------------------+----------+
Second failed test; +------------------------------------------------------------------------------+
INFO[16:24:10] Start installing (golang) with apt-get
INFO[16:24:10] * [OK] Step dependency (go) installed, available. Configs:
TestDevices:
Model API Level Locale Orientation
Nexus4 21 portrait en