Skip to content

Stable 26.3 Backport of #126138 - Revert "Revert "Verify the server certificate hostname on outbound TLS connections"" - #2667

Merged
zvonand merged 1 commit into
stable-26.3from
backports/stable-26.3/126138
Oct 25, 2026
Merged

zvonand merged 1 commit into
stable-26.3from
backports/stable-26.3/126138

Conversation

@zvonand

@zvonand zvonand commented Oct 25, 2026

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

…michev/revert-116724

Revert "Revert "Verify the server certificate hostname on outbound TLS connections""
@github-actions

Copy link
Copy Markdown

Workflow [PR], commit [fb224eb]

@zvonand

zvonand commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

@blau-ai

@blau-ai

blau-ai commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

CI triage for #2667

Verdict: 4 failing checks — 0 PR-caused. 3 stateless-test failures are flaky/infra timeouts on the slow amd_debug build, and the DCO failure is a missing Signed-off-by trailer on the backport merge commit (a metadata issue, not code). The PR's own target area is green: the SSL/TLS integration tests it modifies all passed.

This PR only touches outbound-TLS hostname verification (base/poco/NetSSL_OpenSSL/src/SSLManager.cpp, src/Core/ServerSettings.cpp) plus the related integration tests. None of the failing stateless tests exercise that path.


1. DCO — ACTION_REQUIRED (PR metadata, not code)

The single commit fb224eb ("Merge pull request ClickHouse#126138 … Revert "Revert "Verify the server certificate hostname…""", author Alexey Milovidov <milovidov@clickhouse.com>) carries no Signed-off-by: trailer, so the cncf/dco2 check fails.

Next step (needs a human): this is the standard situation for a cherry-picked upstream merge commit. Either re-create the commit with a Signed-off-by: trailer (requires amending/force-push, which I don't do), or have an Altinity maintainer override/mark DCO as not-required for this backport, per the usual convention for upstream merge commits.

2. Stateless tests (amd_debug, sequential) — Failed: 2 — flaky/infra

  • 03271_s3_table_function_asterisk_glob — Timeout exceeded while receiving data from server. Waited for 300 seconds. The local-MinIO part of the test completed fine (returned its rows); the timeout is on the final query that globs the external https://clickhouse-public-datasets.s3.amazonaws.com/wikistat/original/* bucket — a huge listing that regularly times out under a debug binary. Note a TLS hostname-verification regression would surface as an immediate certificate error, not a 300 s data-receive timeout, and the preceding outbound-TLS S3 ops succeeded — so this is not related to the PR's change.
  • 02789_filesystem_cache_alignment — Timeout! (watchdog killed the process group; the Received signal Stopped (20) / Poco poll stack trace is just the harness SIGTSTP sent to dump state on timeout, not a crash). Classic slow-debug-build timeout; unrelated to TLS.

3. Stateless tests (amd_debug, distributed plan, s3 storage, parallel) — Failed: 7 → 1 final fail — flaky

  • 04033_tpc_ds_q14 — Timeout! on a very heavy TPC-DS query (same SIGTSTP/poll harness-kill stack). 6 of the 7 counted failures recovered on retry; only this one stayed red — the well-known slow-query-on-debug timeout.

4. Stateless tests (amd_debug, distributed plan, s3 storage, sequential) — Failed: 2 — flaky/infra

Same two tests as suite #2 (03271_s3_table_function_asterisk_glob, 02789_filesystem_cache_alignment), same timeout causes.


Health check

The change is a clean backport of upstream ClickHouse#126138 (re-enabling outbound-TLS server-certificate hostname verification). Its directly-relevant coverage is green: Integration tests (incl. test_accept_invalid_certificate, test_ssl_cert_authentication, test_acme_tls, test_bind_host) 0 failures, plus all Builds, Unit tests, Fast test, Stress, and the amd_asan/amd_ubsan stateless suites. The only red stateless results are debug-build timeouts on S3/cache/TPC-DS tests that don't touch TLS.

Recommendation: safe to re-run the three stateless suites (expect green); resolve DCO via sign-off or maintainer override. No code change needed on the PR.

Analysis only — no commits pushed. CI, not a local run, is the source of truth for the re-run.

@zvonand
zvonand merged commit 738ca96 into stable-26.3 Oct 25, 2026
272 of 280 checks passed
@blau-ai blau-ai mentioned this pull request Oct 27, 2026
9 of 30 tasks
@zvonand zvonand added the verified Approved for release label Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants