Skip to content

CI: Flaky tests due to "Failed to make request to clickhouse-datasets-web.s3.us-east-1.amazonaws.com No message received" #76271

Closed

Description

@azat

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:

Activity

  1. added
    comp-ci-infrastructure
    flaky test
    on Feb 17, 2025
  2. azat commented on Feb 23, 2025

    @azat
    MemberAuthor
    SELECT count()
    FROM text_log_15470189561651757858
    WHERE (event_time >= (now() - toIntervalHour(1))) AND (message LIKE '%Failed to make request to \'https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/%\'. Error: No message received.%')
    
    Query id: 39c16cec-6c75-4616-9132-7c1e74938e1b
    
       ┌─count()─┐
    1. │     802 │
       └─────────┘
    
    1 row in set. Elapsed: 15.393 sec. Processed 3.39 billion rows, 56.14 GB (220.42 million rows/s., 3.65 GB/s.)
  3. self-assigned this
    on Mar 8, 2025
  4. azat commented on Mar 10, 2025

    @azat
    MemberAuthor

    Let's consider it as fixed with #77346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

comp-ci-infrastructureflaky test

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions