Bitrise Build Issue Report template
Description of the issue
Some unit tests that mock network connections fail every time with a
TestTimedOutException. The tests work fine on our local development machines, on our in-house jenkins build and in our current hosted CI environment.
Just to be clear, the issue is not with the tests timing out, as we changed the timeout multiple times to about 30s now. It seems there’s a problem with the environment since the tests work fine on our local machines as well as our existing CI solutions (both local and cloud hosted).
Where did the issue happen?
Android & Docker on Ubuntu 16.04. The 14.04 LTS doesn’t get past the
Which build Step causes the issue and which version of the step?
We tried both Gradle Unit Test (1.0.4) and Gradle Runner (1.6.3 and 1.8.0).
- 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 we imported the project
It works both from the IDE and the terminal, executing the
gradlew command (no exception is thrown). The issue can be reproduced with
Bitrise CLI on a dev machine.
Local reproduction: Linux / Android (docker based) stack builds
Yes, it can be reproduced on the latest Bitrise android docker image.