Skip to content

Fix test_library_bridge/test.py::test_server_restart_bridge_might_be_still_alive test - #106152

Merged
alexey-milovidov merged 1 commit into
masterfrom
another-fix-flaky
May 31, 2026
Merged

alexey-milovidov merged 1 commit into
masterfrom
another-fix-flaky

Conversation

@PedroTadim

@PedroTadim PedroTadim commented May 30, 2026 •

Copy link
Copy Markdown
Member

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):

Reload the dictionary after a server restart, so the bridge connection is re-established. Closes #106151

Version info

  • Merged into: 26.6.1.276

@clickhouse-gh

clickhouse-gh Bot commented May 30, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [690bd46]

Summary: ✅


AI Review

Summary

This PR narrows tests/integration/test_library_bridge/test.py::test_server_restart_bridge_might_be_still_alive by explicitly running SYSTEM RELOAD DICTIONARY lib_dict_c after each server restart, so the test recreates the library bridge state before the next dictGet. The code change is small and I did not find a new correctness issue in the modified test logic, but I could not verify the flaky-test fix from the available CI evidence.

Tests
  • ⚠️ I could not find a run of test_library_bridge/test.py::test_server_restart_bridge_might_be_still_alive in the fetched PR CI report; Bugfix validation (integration tests) is skipped and the visible report only covers top-level PR/style checks. Please run the focused integration selector for test_library_bridge/test.py::test_server_restart_bridge_might_be_still_alive, or provide a CI report covering it, so we know the added reload actually eliminates the reported Connection reset by peer flake.
Final Verdict

Status: ⚠️ Request changes

Minimum required actions: provide a focused integration test run for the changed flaky test.

@clickhouse-gh clickhouse-gh Bot added the pr-ci label May 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 84.40% 84.50% +0.10%
Functions 91.40% 91.40% +0.00%
Branches 77.00% 77.00% +0.00%

Changed lines: No C/C++ source files changed — skipping uncovered code analysis.

Newly covered by added/modified tests: 1009 line(s), 55 function(s) across 146 file(s) · Details

Top files
  • src/Server/ACME/Client.cpp: 187 line(s), 9 function(s)
  • src/Server/ACME/API.cpp: 160 line(s), 15 function(s)
  • src/Storages/ObjectStorage/Azure/Configuration.cpp: 53 line(s)
  • src/Common/OpenSSLHelpers.cpp: 52 line(s), 2 function(s)
  • src/Analyzer/Resolve/resolveFunction.cpp: 44 line(s)

Full report

@alexey-milovidov alexey-milovidov self-assigned this May 31, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue May 31, 2026
Merged via the queue into master with commit 3b768b9 May 31, 2026
166 checks passed
@alexey-milovidov
alexey-milovidov deleted the another-fix-flaky branch May 31, 2026 08:09
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci 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_library_bridge/test.py::test_server_restart_bridge_might_be_still_alive

3 participants