Skip to content

Disable test_overcommit_tracker for llvm-coverage#101381

Merged
nickitat merged 1 commit intomasterfrom
nickitat-patch-35
Apr 1, 2026
Merged

Disable test_overcommit_tracker for llvm-coverage#101381
nickitat merged 1 commit intomasterfrom
nickitat-patch-35

Conversation

@nickitat
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

cidb

@nickitat nickitat linked an issue Mar 31, 2026 that may be closed by this pull request
@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Mar 31, 2026

Workflow [PR], commit [8ec2493]

Summary:

job_name test_name status info comment
Integration tests (amd_asan_ubsan, db disk, old analyzer, 2/6) failure
test_backup_restore_s3/test.py::test_backup_to_s3_different_credentials[data_file_name_from_first_file_name-native_multipart] FAIL cidb, issue ISSUE EXISTS

AI Review

Summary

This PR updates test_overcommit_tracker to skip under LLVM coverage in addition to ASan/MSan, which matches the linked flaky-failure context. The code change is correct and low risk. I found one minor issue in the skip message text: it still mentions only sanitizers, which is now slightly misleading in logs.

Findings

💡 Nits

  • [tests/integration/test_overcommit_tracker/test.py:32] The skip reason says "under sanitizers" while the condition also skips for node.is_built_with_llvm_coverage(). This can confuse triage when reading CI logs.
    • Suggested fix: update the message to mention LLVM coverage (for example, "under sanitizers or LLVM coverage").
ClickHouse Rules
Item Status Notes
Deletion logging
Serialization versioning
Core-area scrutiny
No test removal
Experimental gate
No magic constants
Backward compatibility
SettingsChangesHistory.cpp
PR metadata quality
Safe rollout
Compilation time
Final Verdict
  • Status: ⚠️ Request changes
  • Minimum required actions:
    • Update the skip message to include LLVM coverage so the logged reason matches the condition.

@clickhouse-gh clickhouse-gh bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 31, 2026
if node.is_built_with_memory_sanitizer() or node.is_built_with_address_sanitizer():
if node.is_built_with_memory_sanitizer() or node.is_built_with_address_sanitizer() or node.is_built_with_llvm_coverage():
pytest.skip(
"doesn't fit in memory limits under sanitizers (memory overhead causes timeouts)"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The skip condition now includes node.is_built_with_llvm_coverage(), but the skip message still says "under sanitizers". Could you update the message to mention LLVM coverage too (for example, "under sanitizers or LLVM coverage") so the reason is accurate in test logs?

@nickitat
Copy link
Copy Markdown
Member Author

@azat, maybe it makes sense to disable it first, then play with the settings in the background. up to you.

Copy link
Copy Markdown
Member

@azat azat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you think it make sense to merge this first, feel free to do so

@nickitat nickitat enabled auto-merge April 1, 2026 13:26
@nickitat nickitat added this pull request to the merge queue Apr 1, 2026
Merged via the queue into master with commit a43bd66 Apr 1, 2026
162 of 164 checks passed
@nickitat nickitat deleted the nickitat-patch-35 branch April 1, 2026 13:37
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 1, 2026
@vdimir vdimir mentioned this pull request Apr 1, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog 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_overcommit_tracker

3 participants