8000 phoebus: retry the Maven build on download failures by ralphlange · Pull Request #105 · epics-training/training-vm · GitHub
[go: up one dir, main page]

Skip to content

phoebus: retry the Maven build on download failures - #105

Open
ralphlange wants to merge 1 commit into
epics-training:mainfrom
ralphlange:phoebus-mvn-retry
Open

ralphlange wants to merge 1 commit into
epics-training:mainfrom
ralphlange:phoebus-mvn-retry

Conversation

@ralphlange
@ralphlange ralphlange commented Nov 19, 2026 •
Copy link
Copy Markdown
Contributor

Maven Central downloads fail now and then, sometimes for a few minutes on one runner (e.g. #104 on Rocky, and a phoebus_alarm_logger Molecule job). The "Build the common phoebus binaries" task now:

  • lets Maven retry each failed download (-Daether.connector.http.retryHandler.count=5)
  • retries the whole build up to 4 times, 180 s apart
  • uses -U, so a retry downloads again instead of using the cached failure, and -B for a quieter log

Molecule and the QEMU Phoebus & AA tests pass.

Developed with the assistance of generative AI.

@georgweiss georgweiss left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally I'd like to run a test, can you wait for that?

@ralphlange
ralphlange force-pushed the phoebus-mvn-retry branch 2 times, most recently from a615bfc to 3e1562a Compare November 20, 2026 11:54
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0