I’m trying to run Detox e2e tests on android in bitrise. I have the same tests working in travis and locally. For iOS, it works fine locally, on travis, and on bitrise. Everything with creating the emulator, starting it, building the android app and instrumentation seems to work. Then when it’s installing the apk to the emulator it just never proceeds and triggers the timeout instead.
Where did the issue happen?
Android Ubuntu 16.04, system-images;android-28;google_apis;x86
Fails on the “Detox - Run E2E Tests” script step, android workflow
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
Does a rebuild without caches help? (You can remove the
Cache:Pushsteps temporarily to not to use the cache, or you can delete all the caches on the
Settingstab of the app. : NO
- Does the issue happen sporadically, or every time? : Every time
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : Since starting to evaluate bitrise and if it can handle android e2e or not
_Can it be reproduced on your own Mac/PC: no
_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the
/tmp directory and running the build from there with the Bitrise CLI ( Bitrise CLI )? unable to test, not enough space on disk
Also opened an issue in the Detox repo: Timeout starts counting before apk and instrumentation has been installed · Issue #1194 · wix/Detox · GitHub