Repository navigation
phoebus: retry the Maven build on download failures - #105
Open
ralphlange wants to merge 1 commit into
Open
ralphlange wants to merge 1 commit into
ralphlange wants to merge 1 commit into
Conversation
georgweiss
reviewed
Nov 20, 2026
There was a problem hiding this comment.
Ideally I'd like to run a test, can you wait for that?
ralphlange
force-pushed
the
phoebus-mvn-retry
branch
2 times, most recently
from
November 20, 2026 11:54
a615bfc to
3e1562a
Compare
Dependency downloads from Maven Central fail now and then. Such outages can last a couple of minutes on one runner, while other runners download fine at the same time. - let Maven's resolver retry each failed request up to 5 times (-Daether.connector.http.retryHandler.count=5; also covers 429/503) - retry the whole build up to 4 times, 180 s apart - add -U, so a retry downloads again: Maven caches a failed download in the local repository and does not retry it until the next day - add -B (batch mode) to keep download progress out of the log Developed with the assistance of generative AI.
ralphlange
force-pushed
the
phoebus-mvn-retry
branch
from
November 20, 2026 11:56
3e1562a to
0bbd554
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maven Central downloads fail now and then, sometimes for a few minutes on one runner (e.g. #104 on Rocky, and a
phoebus_alarm_loggerMolecule job). The "Build the common phoebus binaries" task now:-Daether.connector.http.retryHandler.count=5)-U, so a retry downloads again instead of using the cached failure, and-Bfor a quieter logMolecule and the QEMU Phoebus & AA tests pass.
Developed with the assistance of generative AI.