Skip to content

[FLINK-40719][ci] Be tolerate to possible failures while freeing disk space in Azure - #29243

Open
snuyanzin wants to merge 1 commit into
apache:masterfrom
snuyanzin:flink40719
Open

snuyanzin wants to merge 1 commit into
apache:masterfrom
snuyanzin:flink40719

Conversation

@snuyanzin

@snuyanzin snuyanzin commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of the change

PR

  1. removes non existing package from removals (hhvm)
  2. Adds more packages to remove as non required (gives 4Gb extra)
    before
    https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=79255&view=logs&j=bea52777-eaf8-5663-8482-18fbc3630e81&t=988df820-0399-5472-168a-e98331683029&l=1486
    after
    https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=79262&view=logs&j=bea52777-eaf8-5663-8482-18fbc3630e81&t=988df820-0399-5472-168a-e98331683029&l=2751

Brief change log

free disk space sh

Verifying this change

azure ci

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): ( no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no )
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [Tool Name and Version]

# preloaded base images shipped with the runner image can be removed here.
if command -v docker >/dev/null 2>&1; then
sudo docker image prune --all --force || true
sudo docker system prune --all --force || true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this will prune caches as well

sudo apt-get remove -y '^postgresql-.*' || true
sudo apt-get remove -y '^g\+\+-.*' '^clang-.*' '^libclang-.*' || true
sudo apt-get remove -y '^gfortran-.*' '^libruby.*' || true
sudo apt-get remove -y temurin-8-jdk || true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

since we don't use jdk8

@flinkbot

flinkbot commented Sep 19, 2026

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

sudo apt-get remove -y 'php.*'
sudo apt-get remove -y '^mongodb-.*'
sudo apt-get remove -y '^mysql-.*'
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hhvm is non existing package and the reason of previous failure

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