Skip to content

Retry transient PPA setup in container CI - #900

Open
hughcars wants to merge 1 commit into
mainfrom
hughcars/ppa-container-key-fix
Open

Retry transient PPA setup in container CI#900
hughcars wants to merge 1 commit into
mainfrom
hughcars/ppa-container-key-fix

Conversation

@hughcars

@hughcars hughcars commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Fixes #899.

Container builds currently fail before reaching Palace when Launchpad transiently returns GPGKeyTemporarilyNotFoundError from add-apt-repository.

This adds bounded retry with backoff around the Apptainer and Ubuntu toolchain PPA setup. Transient repository, update, and package-install failures retry in place; permanent failures still terminate after four attempts with the final command output intact.

@hughcars hughcars added the ci Related to continuous integration (CI) and/or GitHub Actions label Aug 25, 2026
@hughcars
hughcars force-pushed the hughcars/ppa-container-key-fix branch from 2a99a7f to fede1a4 Compare August 25, 2026 17:56
@hughcars hughcars changed the title Avoid Launchpad signing-key API in container CI Retry transient PPA setup in container CI Aug 25, 2026
@hughcars hughcars added the no-long-tests This PR does not require the long tests to be merged label Aug 25, 2026
@hughcars
hughcars marked this pull request as ready for review August 25, 2026 18:37
@hughcars
hughcars force-pushed the hughcars/ppa-container-key-fix branch from fede1a4 to aa492b5 Compare August 25, 2026 18:37
@hughcars
hughcars requested a review from Sbozzolo August 25, 2026 18:37
@Sbozzolo

Copy link
Copy Markdown
Member

As far as I can tell, the problem with the PPA only happened today. I would wait to see if the problem occurs more frequently before adding this type of relatively heavy intervention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to continuous integration (CI) and/or GitHub Actions no-long-tests This PR does not require the long tests to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Retry transient Apptainer PPA failures in container CI

2 participants