Skip to content

Pin the old server image of test_custom_s3_disk_remote_url_allow_hosts to 26.8.26.12 - #126289

Merged
Algunenano merged 2 commits into
ClickHouse:masterfrom
groeneai:pin-26-8-image-in-custom-s3-disk-remote-url-allow-hosts-test
Oct 16, 2026
Merged

Algunenano merged 2 commits into
ClickHouse:masterfrom
groeneai:pin-26-8-image-in-custom-s3-disk-remote-url-allow-hosts-test

Conversation

@groeneai

@groeneai groeneai commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #124930

Changelog category (leave one):

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

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

...

Description

Both tests of test_backward_compatibility/test_custom_s3_disk_remote_url_allow_hosts.py fail on master since 2026-10-16 09:59Z (master report). The old server rejects the first setup CREATE before any upgrade:
Code: 491 ... URL "http://minio1:9001/root/data/upgrade_disk/" is not allowed in configuration file, from version 26.8.28.

The test needs an old server that does not check SQL disks against remote_url_allow_hosts, and takes it from the moving tag clickhouse/clickhouse-server:26.8. That tag now resolves to 26.8.28.14, the first 26.8 release with the 26.8 backports of #124453 (#125789) and #124930 (#125821), so the old server runs the check itself.

This pins both instances to 26.8.26.12, which predates both backports. The file becomes byte-identical to the 26.8 branch copy, which already pins this tag. The 26.10 copy has the same floating tag and needs a backport of this change.

Validation, master debug binary: with 26.8.28.14 both tests fail at their first CREATE with the CI error. With 26.8.26.12 both pass, 5 of 5 runs, each on a fresh cluster, and the old server logs Starting ClickHouse 26.8.26.12.


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

Version info

  • Merged into: 26.11.1.96-master (included in 26.11 and later)
  • Backported to: 26.10.2.6

….8.26.12

The test needs an old server that does not check SQL-defined disks against
`remote_url_allow_hosts`, and took it from the moving tag
`clickhouse/clickhouse-server:26.8`. Since `26.8.28.14` (2026-10-15) that tag
contains the 26.8 backports of ClickHouse#124453 (ClickHouse#125789) and ClickHouse#124930 (ClickHouse#125821), so the
old server rejects the test's first setup CREATE with `Code: 491
UNACCEPTABLE_URL` before any upgrade, and both tests fail on master.

Pin both instances to `26.8.26.12`, which predates both backports. This makes
the file byte-identical to the 26.8 branch copy, which already pins this tag.

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

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (1 nit).

# Sev Finding Verdict Evidence / action
1 💡 The description named a PR run (09:54Z) as the first master failure AGREE, fixed in the description First true-master failure is 09:59Z (Integration tests (arm_binary, 3/4))

Checked independently: the file is byte-identical to the 26.8 branch copy; Docker Hub 26.8 has the digest of 26.8.28.14; 26.8.26.12 exists for amd64 and arm64 and predates #125789 / #125821 (compare v26.8.26.12-lts...v26.8.28.14-lts).

Severity: ❌ blocker / ⚠️ major / 💡 nit.

Session id: cron:clickhouse-review-slot-9:20261016-121500

@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. With both tags set to 26.8.28.14 (what CI's 26.8 resolves to now), both tests fail 1/1 at their first CREATE (test.py:58, :122) with Code: 491 ... is not allowed in configuration file, the same as CI.
b Root cause explained? The floating tag 26.8 rolled to 26.8.28.14, which contains the 26.8 backport of the SQL-disk check (#125789). The test needs an old server without that check, so its setup CREATE is now rejected by the old server.
c Fix matches root cause? Yes. It pins the old server to 26.8.26.12, an immutable release without the check, the same tag the 26.8 branch copy uses. Assertions and randomization are untouched.
d Test intent preserved / new tests added? Yes. The old server is still a 26.8 LTS release without the check, and all assertions on the current binary are unchanged. No new test: the repaired test is the change.
e Both directions demonstrated? 26.8.28.14: 2 failed. 26.8.26.12: 2 passed, then 5 of 5 more runs on fresh clusters (10/10). The old server logs Starting ClickHouse 26.8.26.12.
f Fix is general across code paths? Both instances (node, node_db) are pinned. The 26.9/26.8/26.7/26.3 copies already pin exact pre-check tags. The 26.10 copy floats 26.8 too and needs a backport. The only other old-image test with a restrictive list, test_storage_s3, uses 25.3, which never got the check.
g Fix generalizes across inputs (params/datatypes/wrappers)? N/A (test image pin, no product code). 26.8.26.12 is published for amd64 and arm64.
h Backward compatible? (maintainer-approved exception only) N/A (test-only change, no settings or formats touched).
i Invariants and contracts preserved? The test's precondition (the old instance does not check SQL disks) holds again for both instances, and an exact tag cannot move.

Session id: cron:clickhouse-impl-slot-5:20261016-115800

@groeneai

Copy link
Copy Markdown
Collaborator Author

cc @alexbakharew, could you review this? The floating 26.8 tag now resolves to 26.8.28.14, which carries the 26.8 backport of the SQL-disk remote_url_allow_hosts check, so the old server rejects the setup CREATE. This pins master to 26.8.26.12, the tag the 26.8 branch copy of the test already uses.

@clickhouse-gh

clickhouse-gh Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [3e6690a]

Summary: ✅


AI Review

Summary

Pins both source servers in the S3 disk upgrade tests to 26.8.26.12, restoring the precondition that SQL-defined disks can be created before upgrading to a server that enforces remote_url_allow_hosts. No actionable findings. The author's reported before/after runs provide focused validation; this review did not rerun integration tests locally.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added pr-ci comp-testing Test content only (no production code). labels Oct 16, 2026
@Algunenano Algunenano added can be tested Allows running workflows for external contributors pr-must-backport Pull request should be backported intentionally. Use this label with great care! labels Oct 16, 2026
@Algunenano

Copy link
Copy Markdown
Member

Test pass and this si blocking. Let's force merge

@Algunenano
Algunenano added this pull request to the merge queue Oct 16, 2026
Merged via the queue into ClickHouse:master with commit 3936507 Oct 16, 2026
178 checks passed
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 16, 2026
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Oct 16, 2026
harikrishnan94 added a commit that referenced this pull request Oct 16, 2026
Master pinned the old server image of `test_custom_s3_disk_remote_url_allow_hosts` (#126289), which had failed in `Integration tests (arm_binary, 3/4)` of the previous head of this branch. The merge is clean and none of the files master changed overlap with this branch.

PR: #115605

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
clickhouse-gh Bot added a commit that referenced this pull request Oct 16, 2026
Backport #126289 to 26.10: Pin the old server image of `test_custom_s3_disk_remote_url_allow_hosts` to `26.8.26.12`
alexey-milovidov added a commit that referenced this pull request Oct 18, 2026
Resolve a conflict in `StorageFile.cpp`: master renamed `isFileCacheVersionSettled`
to `isFileCacheVersionTokenSettled`; keep the split-file version check and use the
new name at all call sites. The merge also brings the fix for
`test_custom_s3_disk_remote_url_allow_hosts` (#126289).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Oct 19, 2026
@clickhouse-gh clickhouse-gh Bot added comp-object-storage-disks Object-storage disk layer: DiskObjectStorage, metadata storage adapters, transaction support for ... and removed comp-testing Test content only (no production code). labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-object-storage-disks Object-storage disk layer: DiskObjectStorage, metadata storage adapters, transaction support for ... pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-ci pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR 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.

5 participants