Intermittent Android 4 Bustage error: process didn't exit successfully: `gradle assembleDebug` (exit code: 1)
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Tracking
(firefox66 unaffected, firefox67 wontfix, firefox68 fixed)
Tracking | Status | |
---|---|---|
firefox66 | --- | unaffected |
firefox67 | --- | wontfix |
firefox68 | --- | fixed |
People
(Reporter: bogdan_tara, Assigned: kats)
References
Details
Attachments
(2 files)
https://treeherder.mozilla.org/logviewer.html#?job_id=235162791&repo=mozilla-inbound
https://taskcluster-artifacts.net/fe57KWpaQi2T3ZT5FoTaqg/0/public/logs/live_backing.log
[task 2019-03-21T11:05:38.995Z] FAILURE: Build failed with an exception.
[task 2019-03-21T11:05:38.995Z]
[task 2019-03-21T11:05:38.995Z] * What went wrong:
[task 2019-03-21T11:05:38.996Z] A problem occurred configuring root project 'android-artifacts'.
[task 2019-03-21T11:05:38.996Z] > Could not resolve all artifacts for configuration ':classpath'.
[task 2019-03-21T11:05:38.997Z] > Could not resolve com.android.tools.lint:lint:25.3.3.
[task 2019-03-21T11:05:38.997Z] Required by:
[task 2019-03-21T11:05:38.997Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:38.997Z] > Could not resolve com.android.tools.lint:lint:25.3.3.
[task 2019-03-21T11:05:38.997Z] > Could not get resource 'https://jcenter.bintray.com/com/android/tools/lint/lint/25.3.3/lint-25.3.3.pom'.
[task 2019-03-21T11:05:38.997Z] > Could not GET 'https://jcenter.bintray.com/com/android/tools/lint/lint/25.3.3/lint-25.3.3.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:38.997Z] > Could not resolve com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api.
[task 2019-03-21T11:05:38.997Z] Required by:
[task 2019-03-21T11:05:38.997Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:38.997Z] > Could not resolve com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api.
[task 2019-03-21T11:05:38.997Z] > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom'.
[task 2019-03-21T11:05:38.998Z] > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:38.998Z] > Could not resolve com.android.tools.build:gradle-api:2.3.3.
[task 2019-03-21T11:05:38.998Z] Required by:
[task 2019-03-21T11:05:38.998Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:38.998Z] > Could not resolve com.android.tools.build:gradle-api:2.3.3.
[task 2019-03-21T11:05:38.998Z] > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.3.3/gradle-api-2.3.3.pom'.
[task 2019-03-21T11:05:38.998Z] > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.3.3/gradle-api-2.3.3.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:38.998Z] > Could not resolve org.ow2.asm:asm:5.0.4.
[task 2019-03-21T11:05:38.998Z] Required by:
[task 2019-03-21T11:05:38.999Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:38.999Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:38.999Z] > Could not resolve org.ow2.asm:asm:5.0.4.
[task 2019-03-21T11:05:38.999Z] > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.pom'.
[task 2019-03-21T11:05:38.999Z] > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:38.999Z] > Could not resolve org.ow2.asm:asm-commons:5.0.4.
[task 2019-03-21T11:05:38.999Z] Required by:
[task 2019-03-21T11:05:38.999Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:38.999Z] > Could not resolve org.ow2.asm:asm-commons:5.0.4.
[task 2019-03-21T11:05:38.999Z] > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.pom'.
[task 2019-03-21T11:05:38.999Z] > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:38.999Z] > Could not resolve org.jacoco:org.jacoco.core:0.7.5.201505241946.
[task 2019-03-21T11:05:38.999Z] Required by:
[task 2019-03-21T11:05:38.999Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:39.000Z] > Could not resolve org.jacoco:org.jacoco.core:0.7.5.201505241946.
[task 2019-03-21T11:05:39.000Z] > Could not get resource 'https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.pom'.
[task 2019-03-21T11:05:39.000Z] > Could not GET 'https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:39.000Z] > Could not resolve org.jacoco:org.jacoco.report:0.7.5.201505241946.
[task 2019-03-21T11:05:39.000Z] Required by:
[task 2019-03-21T11:05:39.000Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:39.000Z] > Could not resolve org.jacoco:org.jacoco.report:0.7.5.201505241946.
[task 2019-03-21T11:05:39.000Z] > Could not parse POM https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.pom
[task 2019-03-21T11:05:39.000Z] > Could not resolve org.jacoco:org.jacoco.build:0.7.5.201505241946.
[task 2019-03-21T11:05:39.000Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.000Z] > Could not resolve net.sf.jopt-simple:jopt-simple:4.9.
[task 2019-03-21T11:05:39.000Z] Required by:
[task 2019-03-21T11:05:39.000Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:39.000Z] > Could not resolve net.sf.jopt-simple:jopt-simple:4.9.
[task 2019-03-21T11:05:39.000Z] > Could not get resource 'https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom'.
[task 2019-03-21T11:05:39.000Z] > Could not GET 'https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:39.000Z] > Could not resolve com.google.protobuf:protobuf-java:3.0.0.
[task 2019-03-21T11:05:39.000Z] Required by:
[task 2019-03-21T11:05:39.000Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:39.000Z] > Could not resolve com.google.protobuf:protobuf-java:3.0.0.
[task 2019-03-21T11:05:39.000Z] > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.pom'.
[task 2019-03-21T11:05:39.001Z] > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.pom'. Received status code 502 from server: Bad Gateway
[task 2019-03-21T11:05:39.001Z] > Could not resolve org.antlr:antlr:3.5.2.
[task 2019-03-21T11:05:39.001Z] Required by:
[task 2019-03-21T11:05:39.001Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[task 2019-03-21T11:05:39.001Z] > Could not resolve org.antlr:antlr:3.5.2.
[task 2019-03-21T11:05:39.001Z] > Could not parse POM https://jcenter.bintray.com/org/antlr/antlr/3.5.2/antlr-3.5.2.pom
[task 2019-03-21T11:05:39.001Z] > Could not resolve org.antlr:antlr-master:3.5.2.
[task 2019-03-21T11:05:39.001Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.001Z] > Could not resolve com.android.tools.build:builder-model:2.3.3.
[task 2019-03-21T11:05:39.001Z] Required by:
[task 2019-03-21T11:05:39.001Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.001Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.001Z] > Could not resolve com.android.tools.build:builder-test-api:2.3.3.
[task 2019-03-21T11:05:39.001Z] Required by:
[task 2019-03-21T11:05:39.001Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.001Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.001Z] > Could not resolve com.android.tools:sdklib:25.3.3.
[task 2019-03-21T11:05:39.001Z] Required by:
[task 2019-03-21T11:05:39.001Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.001Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.001Z] > Could not resolve com.android.tools:sdk-common:25.3.3.
[task 2019-03-21T11:05:39.001Z] Required by:
[task 2019-03-21T11:05:39.001Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.001Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.002Z] > Could not resolve com.android.tools:common:25.3.3.
[task 2019-03-21T11:05:39.002Z] Required by:
[task 2019-03-21T11:05:39.002Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.002Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.002Z] > Could not resolve com.android.tools.build:manifest-merger:25.3.3.
[task 2019-03-21T11:05:39.002Z] Required by:
[task 2019-03-21T11:05:39.002Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.002Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.002Z] > Could not resolve com.android.tools.ddms:ddmlib:25.3.3.
[task 2019-03-21T11:05:39.002Z] Required by:
[task 2019-03-21T11:05:39.002Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.002Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.002Z] > Could not resolve com.android.tools.jack:jack-api:0.13.0.
[task 2019-03-21T11:05:39.002Z] Required by:
[task 2019-03-21T11:05:39.002Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.002Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.002Z] > Could not resolve com.android.tools.jill:jill-api:0.10.0.
[task 2019-03-21T11:05:39.002Z] Required by:
[task 2019-03-21T11:05:39.002Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.002Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.002Z] > Could not resolve com.android.tools.analytics-library:protos:25.3.3.
[task 2019-03-21T11:05:39.002Z] Required by:
[task 2019-03-21T11:05:39.002Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.002Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.002Z] > Could not resolve com.android.tools.analytics-library:shared:25.3.3.
[task 2019-03-21T11:05:39.002Z] Required by:
[task 2019-03-21T11:05:39.003Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.003Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.003Z] > Could not resolve com.android.tools.analytics-library:tracker:25.3.3.
[task 2019-03-21T11:05:39.003Z] Required by:
[task 2019-03-21T11:05:39.003Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.003Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.003Z] > Could not resolve com.squareup:javawriter:2.5.0.
[task 2019-03-21T11:05:39.003Z] Required by:
[task 2019-03-21T11:05:39.003Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.003Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.003Z] > Could not resolve org.bouncycastle:bcpkix-jdk15on:1.48.
[task 2019-03-21T11:05:39.003Z] Required by:
[task 2019-03-21T11:05:39.003Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.003Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.003Z] > Could not resolve org.bouncycastle:bcprov-jdk15on:1.48.
[task 2019-03-21T11:05:39.003Z] Required by:
[task 2019-03-21T11:05:39.003Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.003Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.003Z] > Could not resolve org.ow2.asm:asm-tree:5.0.4.
[task 2019-03-21T11:05:39.003Z] Required by:
[task 2019-03-21T11:05:39.003Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
[task 2019-03-21T11:05:39.003Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.003Z] > Could not resolve com.android.databinding:baseLibrary:2.3.3.
[task 2019-03-21T11:05:39.003Z] Required by:
[task 2019-03-21T11:05:39.003Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.databinding:compilerCommon:2.3.3
[task 2019-03-21T11:05:39.003Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.004Z] > Could not resolve org.antlr:antlr4:4.5.3.
[task 2019-03-21T11:05:39.004Z] Required by:
[task 2019-03-21T11:05:39.004Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.databinding:compilerCommon:2.3.3
[task 2019-03-21T11:05:39.004Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.004Z] > Could not resolve commons-io:commons-io:2.4.
[task 2019-03-21T11:05:39.004Z] Required by:
[task 2019-03-21T11:05:39.004Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.databinding:compilerCommon:2.3.3
[task 2019-03-21T11:05:39.004Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.004Z] > Could not resolve com.googlecode.juniversalchardet:juniversalchardet:1.0.3.
[task 2019-03-21T11:05:39.004Z] Required by:
[task 2019-03-21T11:05:39.004Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.databinding:compilerCommon:2.3.3
[task 2019-03-21T11:05:39.004Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.004Z] > Could not resolve com.google.guava:guava:17.0.
[task 2019-03-21T11:05:39.004Z] Required by:
[task 2019-03-21T11:05:39.004Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.databinding:compilerCommon:2.3.3
[task 2019-03-21T11:05:39.004Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.004Z] > Could not resolve com.android.tools:annotations:24.5.0.
[task 2019-03-21T11:05:39.004Z] Required by:
[task 2019-03-21T11:05:39.004Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.databinding:compilerCommon:2.3.3
[task 2019-03-21T11:05:39.004Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.004Z] > Could not resolve net.sf.proguard:proguard-base:5.3.2.
[task 2019-03-21T11:05:39.004Z] Required by:
[task 2019-03-21T11:05:39.004Z] project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > net.sf.proguard:proguard-gradle:5.3.2
[task 2019-03-21T11:05:39.004Z] > Skipped due to earlier error
[task 2019-03-21T11:05:39.004Z]
[task 2019-03-21T11:05:39.004Z] * Try:
[task 2019-03-21T11:05:39.005Z] 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.
[task 2019-03-21T11:05:39.005Z]
[task 2019-03-21T11:05:39.005Z] * Get more help at https://help.gradle.org
[task 2019-03-21T11:05:39.005Z]
[task 2019-03-21T11:05:39.005Z] BUILD FAILED in 3s
[task 2019-03-21T11:05:39.370Z] error: process didn't exit successfully: gradle assembleDebug
(exit code: 1)
[taskcluster 2019-03-21 11:05:39.772Z] === Task Finished ===
[taskcluster 2019-03-21 11:05:39.888Z] Artifact "public/build/wrench-debug.apk" not found at "/builds/worker/checkouts/gecko/gfx/wr/target/android-artifacts/app/build/outputs/apk/app-debug.apk"
[taskcluster 2019-03-21 11:05:40.244Z] Unsuccessful task run with exit code: 101 completed in 376.563 seconds
Updated•5 years ago
|
Comment 1•5 years ago
|
||
kats: did you not make this cache dependencies, so every build is hitting the live network?
Assignee | ||
Comment 2•5 years ago
|
||
I thought I did, but I guess not :/
Is there a way to force gradle to not try live network access, and just fail if it can't find stuff in the cache?
Assignee | ||
Comment 3•5 years ago
|
||
At any rate I can look at this
Comment 4•5 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2)
I thought I did, but I guess not :/
Is there a way to force gradle to not try live network access, and just fail if it can't find stuff in the cache?
Yes -- we talked about this on IRC/slack but it must have gotten lost. There's a Gradle invocation somewhere under the hood. For that invocation, you need to set:
-
offline mode. The best way to do that when I built all this stuff was to set a GRADLE_USER_HOME with a
gradle.properties
that turned offline mode on. Like https://searchfox.org/mozilla-central/source/taskcluster/ci/searchfox/kind.yml#142 and similar. -
the repositories to use the local mirrors from a-g-d. This is the equivalent to https://searchfox.org/mozilla-central/search?q=MAVEN_REPO&path=. In some way, you're going to need to configure that underlying Gradle invocation; I really have no idea how to achieve that with the cargo tool you're using for this.
Comment 5•5 years ago
|
||
Just FYI -- if you want to make a Gradle project drive Cargo, and it's for Android, you might find that my rust-android-gradle plugin could help.
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Nick Alexander :nalexander [he/him] from comment #4)
Yes -- we talked about this on IRC/slack but it must have gotten lost.
Probably my mistake, sorry.
There's a Gradle invocation somewhere under the hood. For that invocation, you need to set:
- offline mode. The best way to do that when I built all this stuff was to set a GRADLE_USER_HOME with a
gradle.properties
that turned offline mode on. Like https://searchfox.org/mozilla-central/source/taskcluster/ci/searchfox/kind.yml#142 and similar.
After some digging there's also an --offline
flag that I can pass to gradle that does the same thing. And for this setup that was easier to do.
- the repositories to use the local mirrors from a-g-d. This is the equivalent to https://searchfox.org/mozilla-central/search?q=MAVEN_REPO&path=. In some way, you're going to need to configure that underlying Gradle invocation; I really have no idea how to achieve that with the cargo tool you're using for this.
The cargo tool I'm using is cargo-apk
which is sort of a wrapper around a cargo build that has some extra glue that injects to interface the rust code with the native Android APIs. And then it creates a temporary gradle project to build it into an APK. After some fiddling I figured out how to get all this working so it uses the local maven mirrors. It required changes to cargo-apk
which I've submitted as PRs but given the lack of activity there I don't expect those to get merged anytime soon. But we're already using a fork of that project so no big deal.
Here's a try push with it all done: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=6fb4f8da1f2b1c77805664f8b22fdda6e204ecd9
Patches coming in a sec.
Assignee | ||
Comment 7•5 years ago
|
||
No functional change here. This just extracts the existing script into a
helper file and shifts things around slightly so it's more logically
grouped (the env variables are needed for the cargo-apk invocation).
Also use better bash hygiene with variables.
Assignee | ||
Comment 8•5 years ago
|
||
The updated cargo-apk version now correctly handles the --frozen
flag
and additionally translates it to the --offline
flag when invoking
gradle. This makes the gradle build fail instead of attempting network
fetches. To make the offline gradle build work, we set up a build.gradle
snippet that points to the maven repositories from the gradle toolchain
artifact, and have cargo-apk use that instead of the default jcenter()
repository.
Depends on D24484
Comment hidden (Intermittent Failures Robot) |
Comment 10•5 years ago
|
||
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/49c62552262d Move the wrench android build out into a helper script. r=nalexander https://hg.mozilla.org/integration/autoland/rev/02bd39b5c935 Update wrench android build to use offline mode in gradle. r=nalexander
Comment 11•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/49c62552262d
https://hg.mozilla.org/mozilla-central/rev/02bd39b5c935
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Description
•