Skip to content

Minor: ci-before_install.sh should show wget errors and retry - #3381

Merged
Fokko merged 4 commits into
apache:masterfrom
dossett:noquietci
Jan 13, 2026
Merged

Minor: ci-before_install.sh should show wget errors and retry#3381
Fokko merged 4 commits into
apache:masterfrom
dossett:noquietci

Conversation

@dossett

@dossettdossett commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
ContributorAuthor

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
Copy Markdown
ContributorAuthor

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.

@dossettdossett changed the title [minor] ci-before_install.sh should show wget errors[minor] ci-before_install.sh should show wget errors and retryJan 3, 2026
@FokkoFokko changed the title [minor] ci-before_install.sh should show wget errors and retryMinor: ci-before_install.sh should show wget errors and retryJan 13, 2026

@FokkoFokko left a comment

Copy link
Copy Markdown
Contributor

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:masterJan 13, 2026
5 checks passed
Sign up for freeto 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

@dossett@Fokko