Skip to content

Backport #119853 to 26.7: Fix a server crash on a NATS table whose credentials the broker rejects - #120015

Merged
clickhouse-gh[bot] merged 3 commits into
26.7from
backport/26.7/119853
Sep 15, 2026
Merged

clickhouse-gh[bot] merged 3 commits into
26.7from
backport/26.7/119853

Conversation

@robot-clickhouse-ci-2

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #119853

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.7.9.12

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Sep 14, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [fc5efac]

Summary: ✅

alexey-milovidov and others added 2 commits September 14, 2026 21:59
…sts import

Both `test_nats_credentials_rotation.py` and `test_nats_jetstream_credentials_rotation.py`
do `from . import common as nats_helpers`, but `tests/integration/test_storage_nats/common.py`
does not exist on the 26.7 branch (the test package was removed there and only restored on
master), so both tests fail at import time in `Integration tests`:
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=120015&sha=bce114d09018a9b3b3bca4c8ade59978014e1132&name_0=BackportPR&name_1=Integration%20tests%20%28amd_tsan%2C%204%2F6%29
#120015

Bring `common.py` and the `__init__.py` (which registers the helper module for pytest
assertion rewriting) verbatim from master. Master already contains the revert of the JetStream
resume-after-reconnect change, so the helper module matches the 26.7 sources.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 The two red Integration tests jobs failed at import time: both new tests do from . import common as nats_helpers, but tests/integration/test_storage_nats/common.py does not exist on the 26.7 branch (the test package was removed there and only restored on master). Commit 070cd99 brings common.py and the __init__.py (pytest assertion rewriting for the helpers) verbatim from master; master already contains the revert of the JetStream resume-after-reconnect change, so the helpers match the 26.7 sources. Also merged origin/26.7. Verified locally with a 26.7 build of this branch (with the contrib/nats-io bump): test_nats_credentials_rotation.py 3/3 and test_nats_jetstream_credentials_rotation.py 2/2 pass.

@clickhouse-gh
clickhouse-gh Bot merged commit dcfd8a8 into 26.7 Sep 15, 2026
39 of 40 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.7/119853 branch September 15, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants