Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tycho-4.0.x] Improve errors handling while downloading p2 artifacts from repository #4278

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

eclipse-tycho-bot
Copy link

Backport

This will backport the following commits from main to tycho-4.0.x:

Questions ?

Please refer to the Backport tool documentation

In case an artifact couldn't be downloaded due to e.g. a bad mirror,
p2 returns an RETRY error code. This code is currently ignored and
Tycho simply fails with an I/O exception.
Instead, Tycho attempts to download the artifact up to three times
(assuming that this error code was returned), before failing. This value
can be configured using the 'eclipse.p2.maxDownloadAttempts' system
property.

(cherry picked from commit 8462a37)
Copy link

Test Results

  600 files  +3    600 suites  +3   3h 52m 11s ⏱️ - 3m 27s
  419 tests +1    413 ✅ +2   6 💤 ±0  0 ❌ ±0 
1 257 runs  +3  1 238 ✅ +4  19 💤 ±0  0 ❌ ±0 

Results for commit a1222a0. ± Comparison against base commit 900f0c6.

@eclipse-tycho-bot eclipse-tycho-bot merged commit f442563 into tycho-4.0.x Sep 15, 2024
11 checks passed
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