Skip to content

[SPARK-58934][BUILD] Tolerate apt-get remove failures directly - #58206

Open
nchammas wants to merge 2 commits into
apache:masterfrom
nchammas:free-disk-space-cleanup
Open

[SPARK-58934][BUILD] Tolerate apt-get remove failures directly#58206
nchammas wants to merge 2 commits into
apache:masterfrom
nchammas:free-disk-space-cleanup

Conversation

@nchammas

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Tolerate failures from apt-get remove directly. Refactor the list of packages to remove into an array. Remove the call to apt-get update.

Why are the changes needed?

#53226 added the call to update specifically to fix intermittent failures when calling remove.

That update, however, had its own issues and hit up against actions/runner-images#14594. This in turn triggered the addition of a timeout to the cleanup in #58121.

If we tolerate remove failures directly, we don't need the update anymore. I don't think we need the timeout either, but I've left that alone.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

CI on this PR.

Was this patch authored or co-authored using generative AI tooling?

I wrote this with assistance from GitHub Copilot.

@uros-b

uros-b commented Aug 21, 2026

Copy link
Copy Markdown
Member

Thank you @nchammas!

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