Route Robolectric downloads through repository proxy - #12212
Route Robolectric downloads through repository proxy#12212AlexeyKuznetsov-DD wants to merge 1 commit into
Conversation
Test Environment - sbt-scalatestJob Status: 🟢 success
Baseline: median of |
Test Environment - heliboardJob Status: 🟢 success
Baseline: median of |
Test Environment - nebula-release-pluginJob Status: 🟢 success
Baseline: median of |
Test Environment - netflix-zuulJob Status: 🟢 success
Baseline: median of |
Test Environment - reactive-streams-jvmJob Status: 🟢 success
Baseline: median of |
Test Environment - okhttpJob Status: 🟢 success
Baseline: median of |
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
Test Environment - sonar-kotlinJob Status: 🟢 success
Baseline: median of |
Test Environment - spring_bootJob Status: 🟢 success
Baseline: median of |
There was a problem hiding this comment.
More details
The same nonblank MAVEN_REPOSITORY_PROXY value already used by the fixture’s Gradle repositories is passed to Robolectric’s test JVM, while an absent or blank value leaves Robolectric’s default repository behavior untouched.
🤖 Datadog Autotest · Commit 28c95d9 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest
Test Environment - sonar-javaJob Status: 🟢 success
Baseline: median of |
Test Environment - pass4sJob Status: 🟢 success
Baseline: median of |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for 39ac5c7: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for d7ede30: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for 044f2dd: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
What Does This Do
Routes Robolectric runtime Android SDK downloads through the configured Maven repository proxy.
Motivation
Robolectric resolves SDK artifacts outside the Gradle dependency resolver, so it did not inherit the existing proxy configuration. Passing the proxy explicitly avoids direct runtime downloads from public Maven Central.
Additional Notes
The failure occurred while Robolectric was fetching its Android SDK artifact at test runtime:
MavenArtifactFetcher.java:129is the Robolectric artifact-download failure path. The nestedHttpURLConnection→IOExceptionshows that the runtime fetch failed before the test assertion ran. A later retry passed, which is consistent with a transient download failure.Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: N/A