Skip to content

libssh forward to master 17-11-2025 with socket duplication logic to resolve test case failure - #90612

Merged
rschu1ze merged 4 commits into
ClickHouse:masterfrom
Revertionist:libssh-forward-to-master
Nov 24, 2025
Merged

rschu1ze merged 4 commits into
ClickHouse:masterfrom
Revertionist:libssh-forward-to-master

Conversation

@Revertionist

@Revertionist Revertionist commented Nov 21, 2025 •

Copy link
Copy Markdown
Contributor

Resolves #90663

Continuation of #90539 as there was a test case failure during backporting to 25.11
test.py::test_paramiko_password

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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

Hopefully fixes thread sanitizer crashes in test_ssh/test.py::test_paramiko_password

@Revertionist

Copy link
Copy Markdown
Contributor Author

@rschu1ze Please take a look at this PR. I believe this to be the fix for one of the test cases

@rschu1ze rschu1ze added the can be tested Allows running workflows for external contributors label Nov 24, 2025
@clickhouse-gh

clickhouse-gh Bot commented Nov 24, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [a0bfc64]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_msan, parallel) failure
00906_low_cardinality_cache FAIL cidb
02126_dist_desc FAIL cidb, flaky
01132_max_rows_to_read FAIL cidb, flaky
BuzzHouse (amd_debug) failure
Logical error: 'Inconsistent AST formatting: the query: FAIL cidb
BuzzHouse (amd_msan) failure
Received signal 17 FAIL cidb
Finish Workflow failure
python3 ./ci/jobs/scripts/workflow_hooks/new_tests_check.py failure

@rschu1ze

Copy link
Copy Markdown
Member

@Revertionist Thanks, I'll try to get this PR merged. If it fixes test_paramiko_password we can discard #90539

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Nov 24, 2025
@rschu1ze
rschu1ze enabled auto-merge November 24, 2025 18:51
@rschu1ze

Copy link
Copy Markdown
Member

Test failures are known and unrelated.

@rschu1ze
rschu1ze added this pull request to the merge queue Nov 24, 2025
Merged via the queue into ClickHouse:master with commit 402adb4 Nov 24, 2025
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 24, 2025
@Revertionist

Copy link
Copy Markdown
Contributor Author

@rschu1ze please backport to 25.8 and 25.3 so I can provide fix for customer

@rschu1ze

Copy link
Copy Markdown
Member

We'll need to wait a couple of days to verify that the error in test_paramiko_password is truly gone.

rschu1ze pushed a commit that referenced this pull request Nov 25, 2025
This is an amalgamation of
- #90362 and
- #90612

The first PR bumps libssh from 0.9.8 to dev (future 0.12). This fixes
CVE-2025-5318.

The second PR resolves a TSAN failure (*) that the first PR introduced.

(*) #90663
@rschu1ze rschu1ze mentioned this pull request Nov 25, 2025
rschu1ze pushed a commit that referenced this pull request Nov 25, 2025
This is an amalgamation of
- #90362 and
- #90612

The first PR bumps libssh from 0.9.8 to dev (future 0.12). This fixes
CVE-2025-5318.

The second PR resolves a TSAN failure (*) that the first PR introduced.

(*) #90663
@rschu1ze rschu1ze mentioned this pull request Nov 25, 2025
rschu1ze pushed a commit that referenced this pull request Nov 25, 2025
This is an amalgamation of
- #90362 and
- #90612

The first PR bumps libssh from 0.9.8 to dev (future 0.12). This fixes
CVE-2025-5318.

The second PR resolves a TSAN failure (*) that the first PR introduced.

(*) #90663
@rschu1ze rschu1ze mentioned this pull request Nov 25, 2025
rschu1ze pushed a commit that referenced this pull request Nov 25, 2025
This is an amalgamation of
- #90362 and
- #90612

The first PR bumps libssh from 0.9.8 to dev (future 0.12). This fixes
CVE-2025-5318.

The second PR resolves a TSAN failure (*) that the first PR introduced.

(*) #90663
@rschu1ze rschu1ze mentioned this pull request Nov 25, 2025
rschu1ze pushed a commit that referenced this pull request Nov 25, 2025
This is an amalgamation of
- #90362 and
- #90612

The first PR bumps libssh from 0.9.8 to dev (future 0.12). This fixes
CVE-2025-5318.

The second PR resolves a TSAN failure (*) that the first PR introduced.

(*) #90663
This was referenced Nov 25, 2025
@rschu1ze

Copy link
Copy Markdown
Member

@Revertionist Kindly double-check that the backport PRs are okay (code-wise). As the upgrade had two parts, I needed to bypass our usual automated backport mechanism and make the PRs manually instead.

@Revertionist

Copy link
Copy Markdown
Contributor Author

@Revertionist Kindly double-check that the backport PRs are okay (code-wise). As the upgrade had two parts, I needed to bypass our usual automated backport mechanism and make the PRs manually instead.

Sure

@Revertionist

Copy link
Copy Markdown
Contributor Author

@rschu1ze Code looks okay to me PR wise. Looks like test_ssh/test.py::test_paramiko_password hasn't failed for any of the backport PRs.

@rschu1ze

rschu1ze commented Nov 26, 2025 •

Copy link
Copy Markdown
Member

@Revertionist Sorry, all of this is being rolled back again (--> #90865) because one of the backport PRs ran into a new TSAN error related to libssh: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=90812&sha=latest&name_0=BackportPR Would you kindly take a look how to fix that? Thanks.

@Revertionist

Copy link
Copy Markdown
Contributor Author

@rschu1ze 2 threads are trying to call the disconnect function at the same time. I can serialize this as a fix. Will raise an updated PR soon

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 pr-bugfix Pull request with bugfix, not backported by default 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.

Flaky test: test_ssh/test.py::test_paramiko_password

3 participants