bitrise-steplib / steps-virtual-device-testing-for-android

MIT License
22 stars 23 forks source link

Getting weird error: "Failed to get test status: INVALID(DETAILS_UNAVAILABLE)" #41

Closed TomWayne98 closed 4 years ago

TomWayne98 commented 5 years ago

Hi, I am trying to get UI test running on Bitrise but I am getting this weird error right after succesful upload of test APK file to virtual devices. I check if the test works when I run them locally on my PC and it runs without problem.

Here is the part of the log:

Configs:

I also tried to let InstTestPackageID, InstTestRunnerClass and InstTestTargets empty but with no effect.

Here is the link to the build: https://app.bitrise.io/build/60b9c6891b299178

Do you have any idea what should I do?

fehersanyi-bitrise commented 5 years ago

Hello @JosefHruska!

this error means that the response's status code is not 200 🤔 Could you please enable support user on the app's settings tab so I could check out the setups, and maybe run a few test builds as well?

TomWayne98 commented 5 years ago

@fehersanyi-bitrise

Thanks for fast reaction. I just enabled access for you - if you would need any further details just let me know.

TomWayne98 commented 5 years ago

@fehersanyi-bitrise Do we have any update?

fehersanyi-bitrise commented 5 years ago

@JosefHruska Hy, sorry for the late reply, could you try this? https://github.com/bitrise-steplib/steps-virtual-device-testing-for-android/issues/17

hafs-r commented 5 years ago

I'm facing the same problem, I'm running Espresso with cucumber in my android project, I'm getting an error as below Waiting for test results

Validating Failed to get test status, error: Failed to get test status: INVALID(NO_TEST_RUNNER_CLASS) build URL for your reference: https://app.bitrise.io/build/49803be5438de523 I've enabled support user.

Roland-Bak commented 5 years ago

Hi @hafsalrahman!

Could you try going to your build's workflow and delete the field for 'Test runner class', inside the [Beta] Virtual Device Testing step? Android Build for UI Testing should take care of this for you, rebuilding with the 'Test runner class' as empty might just do the trick 😉

hafs-r commented 5 years ago

Yea it worked. Thanks @Roland-Bak

godrei commented 4 years ago

Closing as we did not receive a reply - @JosefHruska please let us know if we can help with anything by opening a new issue!