Closed
Labels
comp-ci-infrastructureCI/CD pipelines (GitHub Actions, CI scripts, runners).flaky testflaky test found by CI
Description
Sometimes public datasets are not available via web disk, which leads to flaky tests, like 00156_max_execution_speed_sample_merge:
2025-02-10 22:47:12 00156_max_execution_speed_sample_merge: [ FAIL ] 3.99 sec.
2025-02-10 22:47:12 Reason: return code: 160
2025-02-10 22:47:12 [a3309400bb97] 2025.02.10 13:47:12.253600 [ 146372 ] {f68f1d20-9591-4cb0-a037-033cf0e5e42d} <Error> executeQuery: Code: 160. DB::Exception: Estimated query execution time (1566.30311 seconds) is too long. Maximum: 600. Estimated rows to process: 8232960 (17493 read in 3.32801 seconds).: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (TOO_SLOW) (version 25.2.1.1613) (from [::1]:54368) (comment: 00156_max_execution_speed_sample_merge.sql) (query 4, line 7) (in query: SELECT count() FROM test.hits SAMPLE 1 / 2;), Stack trace (when copying this message, always include the lines below):
2025-02-10 22:47:12
2025-02-10 22:47:12 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:106: Poco::Exception::Exception(String const&, int) @ 0x0000000021e81240
2025-02-10 22:47:12 1. ./build_docker/./src/Common/Exception.cpp:106: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000103f58d8
2025-02-10 22:47:12 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007fcc31e
2025-02-10 22:47:12 3. ./src/Common/Exception.h:123: DB::Exception::Exception<double&, int, unsigned long&, unsigned long&, double&>(int, FormatStringHelperImpl<std::type_identity<double&>::type, std::type_identity<int>::type, std::type_identity<unsigned long&>::type, std::type_identity<unsigned long&>::type, std::type_identity<double&>::type>, double&, int&&, unsigned long&, unsigned long&, double&) @ 0x0000000018712c9c
2025-02-10 22:47:12 4. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:87: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long, DB::OverflowMode) const @ 0x000000001871284e
2025-02-10 22:47:12 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:131: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list<DB::StorageLimits, std::allocator<DB::StorageLimits>> const&) @ 0x0000000018711dd1
2025-02-10 22:47:12 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:67: DB::ExecutionThreadContext::executeTask() @ 0x000000001d093530
2025-02-10 22:47:12 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:291: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001d080adb
2025-02-10 22:47:12 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:257: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d07fe40
2025-02-10 22:47:12 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:128: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d07fb0a
2025-02-10 22:47:12 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: void std::__function::__policy_invoker<void ()>::__call_impl[abi:ne180100]<std::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true, true>::ThreadFromGlobalPoolImpl<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001d097e5b
2025-02-10 22:47:12 11. ./contrib/llvm-project/libcxx/include/__functional/function.h:714: ? @ 0x000000001050892e
2025-02-10 22:47:12 12. ./contrib/llvm-project/libcxx/include/__type_traits/invoke.h:312: void* std::__thread_proxy[abi:ne180100]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void (ThreadPoolImpl<std::thread>::ThreadFromThreadPool::*)(), ThreadPoolImpl<std::thread>::ThreadFromThreadPool*>>(void*) @ 0x0000000010510abc
2025-02-10 22:47:12 13. __tsan_thread_start_func @ 0x0000000007f3f428
2025-02-10 22:47:12 14. ? @ 0x00007fdcbbd04ac3
2025-02-10 22:47:12 15. ? @ 0x00007fdcbbd96850
2025-02-10 22:47:12
2025-02-10 22:47:12 Received exception from server (version 25.2.1):
2025-02-10 22:47:12 Code: 160. DB::Exception: Received from localhost:9000. DB::Exception: Estimated query execution time (1566.30311 seconds) is too long. Maximum: 600. Estimated rows to process: 8232960 (17493 read in 3.32801 seconds).: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (TOO_SLOW)
2025-02-10 22:47:12 (query: SELECT count() FROM test.hits SAMPLE 1 / 2;)
CI:
- https://s3.amazonaws.com/clickhouse-test-reports/75862/8ed6f7d26da34dfd92724c72199fbe8b6fbf7814/stateless_tests__tsan__3_3_/run.log
- https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=76253&sha=b5d81450a52e5933e80bb28522a67ca92411beda&name_0=PR&name_1=Stateless%20tests%20%28tsan%2C%203%2F3%29 (likely the same)
Metadata
Metadata
Assignees
Labels
comp-ci-infrastructureCI/CD pipelines (GitHub Actions, CI scripts, runners).flaky testflaky test found by CI
Activity
azat commentedon Feb 23, 2025
azat commentedon Mar 8, 2025
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=77175&sha=1b488899cbc9382ddea36775ff7b4d26cb0bb9c8&name_0=PR&name_1=Stateless+tests+%28tsan%2C+3%2F3%29&name_2=00156_max_execution_speed_sample_merge
azat commentedon Mar 10, 2025
Let's consider it as fixed with #77346