Bitrise Build Issue Report template
Description of the issue
Builds are failing when downloading the Android app module dependencies for the first time.
Environment:
Bitrise.io: stack Android & Docker on Ubuntu 16.04
If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)
On Gradle build while downloading the app module dependencies.
E.g.: Git Clone v3.6.0
Reproducibility
- 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) : YES
- Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : YES/NO - Does the issue happen sporadically, or every time? : sporadically
- Does upgrading the build Step to the latest version help? :NO
- When did the issue start? :
Local reproduction
Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (âTesting with a full clean git cloneâ) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.
Local reproduction: Linux / Android (docker based) stack builds
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 ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: Running your build locally in Docker - Bitrise Docs .
Build log
Download https://jcenter.bintray.com/com/squareup/okio/okio/1.15.0/okio-1.15.0.pom
Download https://jcenter.bintray.com/com/squareup/okio/okio-parent/1.15.0/okio-parent-1.15.0.pom
Download https://jcenter.bintray.com/com/amazonaws/aws-android-sdk-core/2.10.0/aws-android-sdk-core-2.10.0.pom
:app:checkReleaseClasspath FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Could not resolve all dependencies for configuration â:app:releaseCompileClasspathâ.
Could not determine artifacts for com.github.instacart.truetime-android:library-extension-rx:3.4: Skipped due to earlier error
-
Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Exception is:
org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration â:app:releaseCompileClasspathâ.
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:96)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveGraph(ErrorHandlingConfigurationResolver.java:68)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$4.run(DefaultConfiguration.java:494)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)