Skip to content

Conversation

@dossett
Copy link
Contributor

@dossett dossett commented Dec 29, 2025

The wget fetch of the thrift distribution is failing sometimes (due to rate limiting?) but the exact failure is completely suppressed with the -q flag. Adding -nv will show the errors but keep the successes quiet. Setting pipefail will allow the script to fail fast at this point since the failure is in a pipelined command.

If we see that rate limiting is in fact the problem, we can add retries here.

sudo apt-get update -qq
sudo apt-get install -qq --no-install-recommends build-essential pv autoconf automake libtool curl make \
g++ unzip libboost-dev libboost-test-dev libboost-program-options-dev \
g++ unzip libboost-dev libboost-test-dev libboost-program-options-dev wget \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Trying to ensure an up to date version of wget

@dossett
Copy link
Contributor Author

dossett commented Dec 29, 2025

I actually saw some failures on the workflows kicked off from this PR:

failed: Connection timed out.
failed: Network is unreachable.

I pushed an additional change to try the wget command up to three times. Hopefully this makes the actions less flaky.

@dossett dossett changed the title [minor] ci-before_install.sh should show wget errors [minor] ci-before_install.sh should show wget errors and retry Jan 3, 2026
@Fokko Fokko changed the title [minor] ci-before_install.sh should show wget errors and retry Minor: ci-before_install.sh should show wget errors and retry Jan 13, 2026
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

Thanks @dossett for fixing this, I also saw this a couple of times 👍

@Fokko Fokko merged commit 6e4a249 into apache:master Jan 13, 2026
5 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