Skip to content

Gradle build is flaky: "could not get resource" #29159

@mruberry

Description

@mruberry

Nov 04 22:22:52 Welcome to Gradle 4.10.3!
Nov 04 22:22:52
Nov 04 22:22:52 Here are the highlights of this release:
Nov 04 22:22:52 - Incremental Java compilation by default
Nov 04 22:22:52 - Periodic Gradle caches cleanup
Nov 04 22:22:52 - Gradle Kotlin DSL 1.0-RC6
Nov 04 22:22:52 - Nested included builds
Nov 04 22:22:52 - SNAPSHOT plugin versions in the plugins {} block
Nov 04 22:22:52
Nov 04 22:22:52 For more details see https://docs.gradle.org/4.10.3/release-notes.html
Nov 04 22:22:52
Nov 04 22:22:52 Starting a Gradle Daemon (subsequent builds will be faster)
Nov 04 22:23:22
Nov 04 22:23:22 FAILURE: Build failed with an exception.
Nov 04 22:23:22
Nov 04 22:23:22 * What went wrong:
Nov 04 22:23:22 A problem occurred configuring project ':app'.
Nov 04 22:23:22 > Could not resolve all artifacts for configuration ':app:classpath'.
Nov 04 22:23:22 > Could not download builder.jar (com.android.tools.build:builder:3.3.2)
Nov 04 22:23:22 > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.3.2/builder-3.3.2.jar'.
Nov 04 22:23:22 > Connection reset
Nov 04 22:23:22
Nov 04 22:23:22 * Try:
Nov 04 22:23:22 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Nov 04 22:23:22
Nov 04 22:23:22 * Get more help at https://help.gradle.org
Nov 04 22:23:22

https://circleci.com/gh/pytorch/pytorch/3460858?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link/console

@dreiss, maybe we need to add a retry for this download, or host a more reliable mirror?

cc @ezyang @gchanan @zou3519 @jerryzh168

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions