Skip to content

Revert "Bound the docker buildx retry ladder by wall clock, not by the timeout divisor" - #121298

Merged
maxknv merged 1 commit into
masterfrom
revert-117578-groeneai/bound-buildx-retry-ladder-by-wall-clock
Sep 21, 2026
Merged

maxknv merged 1 commit into
masterfrom
revert-117578-groeneai/bound-buildx-retry-ladder-by-wall-clock

Conversation

@maxknv

@maxknv maxknv commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Reverts #117578

ai slope


Workflow [PR]
Sync PR [sync-upstream/pr/121298]

Version info

  • Merged into: 26.10.1.332-master (included in 26.10 and later)

@clickhouse-gh

clickhouse-gh Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [1096008]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Sep 21, 2026
@clickhouse-gh
clickhouse-gh Bot requested a review from leshikus September 21, 2026 08:34
@maxknv
maxknv enabled auto-merge September 21, 2026 08:35
@maxknv
maxknv added this pull request to the merge queue Sep 21, 2026
Merged via the queue into master with commit 2ee0ab4 Sep 21, 2026
176 checks passed
@maxknv
maxknv deleted the revert-117578-groeneai/bound-buildx-retry-ladder-by-wall-clock branch September 21, 2026 08:50
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 21, 2026
@leshikus

Copy link
Copy Markdown
Collaborator

While description of the original PR is hard to read, maybe increase of a retry count may help with issues; the initial count was actually 5, but was decreased by the same bot #113869

superdiaodiao pushed a commit to superdiaodiao/ClickHouse that referenced this pull request Oct 1, 2026
`BUILDX_RETRIES = 2` gives a `docker buildx` command in the Docker server and keeper
image jobs one retry after a 2 s back-off, so a Docker Hub error that clears within
seconds still fails the leg. On master 6b60183 (2026-09-30) the
`head-distroless-arm64` keeper image built, and pushing it got `unexpected status from
POST request to https://auth.docker.io/token: 500 Internal Server Error` twice, 3 s
apart, so that image was not published:
https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=6b601838b5c7526a500254219a92542f852d5e55&name_0=MasterCI&name_1=Docker%20keeper%20image

The count was 5 until ClickHouse#113869 lowered it to 2 while adding the per-invocation
`timeout`. `buildx_timeout` divides the job's remaining budget by `BUILDX_RETRIES`, so
with 5 an invocation whose every attempt expires still ends inside the job's reserve,
and the per-attempt bound stays at 2700 s for the first 900 s of the job. A fast
registry failure now gets 30 s of back-off (2, 4, 8, 16 s) instead of 2 s.

Suggested in ClickHouse#121298 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants