Repository navigation
Do not allow tests with state ERROR be overwritten by PASSED - #55261
Conversation
|
This is an automated comment for commit 0b2003c 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
|
ea1b7f4 to
4e60520
Compare
|
Yey. Now it works and found the leaks, that had been fixed in #55262 |
|
I will fix |
|
Also some of the current failures are fixed by #55260. |
@kssenii actually it seems that everything is OK with this test, and we just need to update the ClickHouse/tests/integration/ci-runner.py Lines 766 to 774 in e55a615 P.S. I was talking about https://s3.amazonaws.com/clickhouse-test-reports/55261/4e605202cf11e2f01565bcf4d6f99cb598e1d363/integration_tests__asan__analyzer__[5_6].html |
4e60520 to
de503f7
Compare
|
In the ERROR case there can be sanitizers issues, that should not be hidden, like right now it is doing for `test_s3_table_functions/test.py::test_s3_table_functions_timeouts` test [1], but I was lucky enough to trigger this in [2]. [1]: https://s3.amazonaws.com/clickhouse-test-reports/55247/e99b0f46961733fa8ba10e490279dbcb0cdd67ad/integration_tests__asan__[5_6].html [2]: https://s3.amazonaws.com/clickhouse-test-reports/55245/918d65d6707c69ab541cdb56a076cdb83845d3ed/integration_tests__asan__[5_6].html Though there could be also other issues, like with dependent services, but still, let's try. Signed-off-by: Azat Khuzhin <[email protected]>
de503f7 to
e3976a5
Compare
|
Finally patches for all known bugs had been merged, let's rebase and see the results |
|
But it will now always or very often fail after this PR? |
Yes, and I think this problem should not be hidden, since there can be something more important that this minor thing, which will be gone on retries. And besides this particular problem is not hard to fix, or/and it could be suppressed |
Let's suppress this test with tsan sanitizer for now. |
Refs: ClickHouse#55629 Signed-off-by: Azat Khuzhin <[email protected]>
Found one more data-race in sets, but it pops up in other PRs as well - https://s3.amazonaws.com/clickhouse-test-reports/55693/9a8734fa5ef2158ec7fa7b5a7a87d3ea1a4beffa/integration_tests__tsan__[2_6].html - #55279 Will take a look. |
|
OK, the problem will be fixed by #55786 |
The problem is that findOrPromiseToBuild() can also call
shared_future::get():
(lldb) bt 10
* thread 194, name = 'MergeMutate', stop reason = step over
* frame 0: 0x0000564126046bd2 clickhouse`std::rethrow_exception(p=(__ptr_ = 0x00007b5000130c80)) at exception_pointer_cxxabi.ipp:68:39
frame 1: 0x000056411c4c5ddd clickhouse`std::__1::__assoc_state<std::__1::shared_ptr<DB::Set>>::copy(this=<unavailable>) at future:701:9
frame 2: 0x000056411c4c0e3f clickhouse`DB::PreparedSetsCache::findOrPromiseToBuild(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) [inlined] std::__1::shared_future<std::__1::shared_ptr<DB::Set>>::get[abi:v15000](this=0x00007b0c00154eb8) const at future:2243:46
frame 3: 0x000056411c4c0e2e clickhouse`DB::PreparedSetsCache::findOrPromiseToBuild(this=0x00007b1c00077018, key="__set_10438532338982543705_15680061365857338647") at PreparedSets.cpp:349:116
Note, that my test did not find the problem because of ClickHouse#55261 had not
been merged yet.
Follow-up for: ClickHouse#55338
Fixes: ClickHouse#55279
v2: s/createDeprecated/createRuntime/
Signed-off-by: Azat Khuzhin <[email protected]>
In the ERROR case there can be sanitizers issues, that should not be hidden, like right now it is doing for
test_s3_table_functions/test.py::test_s3_table_functions_timeoutstest 1, but I was lucky enough to trigger this in 2.Though there could be also other issues, like with dependent services, but still, let's try.
Changelog category (leave one):