-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify stateful tests #58791
Simplify stateful tests #58791
Conversation
This is an automated comment for commit e43be2f with description of existing statuses. It's updated for the latest CI running ✅ Click here to open a full report in a separate page Successful checks
|
Next steps:
|
@@ -161,6 +161,9 @@ target_include_directories(_jemalloc SYSTEM PRIVATE | |||
|
|||
target_compile_definitions(_jemalloc PRIVATE -DJEMALLOC_NO_PRIVATE_NAMESPACE) | |||
|
|||
# Because our coverage callbacks call malloc, and recursive call of malloc could not work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks compiler cache of these files:
+ sccache --show-stats
Compile requests 4101
Compile requests executed 4035
Cache hits 4030
Cache hits (C/C++) 4030
Cache misses 5
Cache misses (C/C++) 5
Cache timeouts 0
Cache read errors 0
Forced recaches 0
Cache write errors 0
Compilation failures 0
Cache errors 0
Non-cacheable compilations 0
Non-cacheable calls 66
Non-compilation calls 0
Unsupported compiler calls 0
Average cache write 0.051 s
Average compiler 7.634 s
Average cache read hit 0.063 s
Failed distributed compilations 0
Non-cacheable reasons:
-fno-profile-instr-generate 66
Cache location s3, name: clickhouse-builds, prefix: /ccache/sccache/
Version (client) 0.5.4
We should only add this flags to the compilation if SANITIZE_COVERAGE
is enabled, and leave them empty otherwise.
ORDER BY (CounterID, EventDate, intHash32(UserID)) | ||
SAMPLE BY intHash32(UserID) | ||
SETTINGS disk = disk(type = cache, path = '/var/lib/clickhouse/filesystem_caches/', max_size = '4G', | ||
disk = disk(type = web, endpoint = 'https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This introduces some flakiness in the tests when S3 has issues -> https://s3.amazonaws.com/clickhouse-test-reports/59594/ca9e2cac8a6c6fa368a38f8b81360072343aef7b/stateful_tests__release_.html.
Need to handle those errors more gracefully
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, it exposes the case when we should change the log level from Error to Warning - as this error is transparently retriable.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Use tables directly attached from S3 in stateful tests.