Skip to content

Add retry on wrapper resources download (karaf-4.4.x)#2740

Open
jbonofre wants to merge 2 commits into
apache:karaf-4.4.xfrom
jbonofre:backport-2728-karaf-4.4.x
Open

Add retry on wrapper resources download (karaf-4.4.x)#2740
jbonofre wants to merge 2 commits into
apache:karaf-4.4.xfrom
jbonofre:backport-2728-karaf-4.4.x

Conversation

@jbonofre

Copy link
Copy Markdown
Member

Backport of #2728 to karaf-4.4.x.

Two commits applied cleanly (only wrapper/pom.xml is touched):

  • Add retry on wrapper resources download
  • Make wrapper native library downloads non-fatal when unreachable

download.tanukisoftware.com intermittently rejects CI/cloud egress IPs with HTTP 403, which retries alone cannot recover since the error is not transient. Each Tanuki download is marked ignoreerrors and its extraction is guarded with <available> (ant-contrib <if>), so a blocked archive is skipped with a warning instead of aborting the wrapper.core build. The bundle then omits only the native libraries that could not be downloaded.

jbonofre added 2 commits June 22, 2026 16:42
download.tanukisoftware.com intermittently rejects CI/cloud egress IPs
with HTTP 403, which retries alone cannot recover since the error is not
transient. Mark each Tanuki download as ignoreerrors and guard its
extraction with <available> (ant-contrib <if>), so a blocked archive is
skipped with a warning instead of aborting the wrapper.core build. The
bundle then omits only the native libraries that could not be downloaded.
@jbonofre jbonofre changed the title Add retry on wrapper resources download Add retry on wrapper resources download (karaf-4.4.x) Jun 22, 2026
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.

1 participant