Skip to content

Use the updated cctools image in dependent images - #126291

Closed
thevar1able wants to merge 2 commits into
masterfrom
ci-use-updated-cctools
Closed

thevar1able wants to merge 2 commits into
masterfrom
ci-use-updated-cctools

Conversation

@thevar1able

@thevar1able thevar1able commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

#124241 updated gdb to 18.1 in the clickhouse/cctools image, but the images that copy from it (fasttest, binary-builder, test-base, stateless-test, integration/base, integration/runner, performance-comparison) still referenced the old tag 859fb360308eb8ac47ad. This switches them to 2988a688adcef0b4a779, which was built in that PR's CI (amd64 and arm64).

Related: #124241

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

🤖 Generated with Claude Code


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

#124241 updated `gdb` in the
`clickhouse/cctools` image, but the images copying from it (`fasttest`,
`binary-builder`, `test-base`, `stateless-test`, `integration`,
`performance-comparison`) still referenced the old tag.

Related: #124241

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [e069295]

Summary: ✅


AI Review

Summary

Updates seven CI images to consume clickhouse/cctools:2988a688adcef0b4a779, propagating gdb 18.1 from #124241. No actionable correctness, compatibility, or CI reliability findings.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Oct 16, 2026
@thevar1able
thevar1able requested a review from azat October 16, 2026 12:55

@azat azat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. Maybe we can add a check that the cctools updated?

@clickhouse-gh clickhouse-gh Bot added the comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). label Oct 16, 2026
@thevar1able

Copy link
Copy Markdown
Member Author

@azat The check deserves a separate PR.

thevar1able added a commit that referenced this pull request Oct 16, 2026
The images that copy files from `clickhouse/cctools` declared the tag in their
Dockerfiles, and it had to be updated by hand in a separate commit after the
image was built. It was forgotten after the gdb update.

Make `clickhouse/cctools` a dependency of these images and take its tag from
the `CCTOOLS_TAG` build argument. A change in `cctools` now rebuilds the
dependent images automatically. The server and keeper images get the tag from
the workflow config.

Related: #124241
Related: #126291

Co-Authored-By: Claude Opus 5.5 <[email protected]>
huldarchen pushed a commit to huldarchen/ClickHouse that referenced this pull request Oct 20, 2026
…/fasttest`

`clickhouse/fasttest` and other images copy `/opt/gdb` and `/opt/openssl-fips`
from `clickhouse/cctools`, while `clickhouse/cctools` itself was built from
`clickhouse/fasttest`. Because of this cycle, the pinned `cctools` tag in the
dependent images never matched its digest, and bumping the tag changed the
`cctools` digest again.

Nothing in the build needs the `fasttest` toolchain: libtapi and cctools-port
build with any recent clang, gdb and OpenSSL with any C/C++ compiler. Build it
from the plain `ubuntu:24.04` (the same base as `fasttest`, so the copied
binaries match its glibc) with the Ubuntu clang. The `ld.lld` workaround for
binutils 2.38 is not needed with binutils 2.42 from Ubuntu 24.04.

Related: ClickHouse#124241
Related: ClickHouse#126291

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@thevar1able

Copy link
Copy Markdown
Member Author

Superseded by #126309.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). pr-ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants