2025-04-03 13:32:40 Using queries from '/repo/tests/queries' directory 2025-04-03 13:32:40 Connecting to ClickHouse server... OK 2025-04-03 13:32:40 Connected to server 24.12.2.20238.altinityantalya @ 7fd01c857261d6d4c5e006184de135bdd9bc54b7 HEAD 2025-04-03 13:32:41 Won't run stateless tests because they were manually disabled. 2025-04-03 13:32:41 Found 133 parallel tests and 6 sequential tests 2025-04-03 13:32:46 Running about 66 stateful tests (Process-4). 2025-04-03 13:32:46 00096_obfuscator_save_load: [ OK ] 5.25 sec. 2025-04-03 13:32:47 00032_aggregate_key64: [ OK ] 1.23 sec. 2025-04-03 13:32:54 Running about 66 stateful tests (Process-3). 2025-04-03 13:32:54 00160_decode_xml_component: [ OK ] 12.96 sec. 2025-04-03 13:32:55 00073_uniq_array: [ OK ] 1.48 sec. 2025-04-03 13:32:57 00052_group_by_in: [ OK ] 1.49 sec. 2025-04-03 13:32:59 00060_move_to_prewhere_and_sets: [ OK ] 2.58 sec. 2025-04-03 13:33:00 00066_sorting_distributed_many_replicas: [ OK ] 0.98 sec. 2025-04-03 13:33:01 00015_totals_and_no_aggregate_functions: [ OK ] 1.13 sec. 2025-04-03 13:33:03 00005_filtering: [ OK ] 1.44 sec. 2025-04-03 13:33:10 00030_array_enumerate_uniq: [ OK ] 6.99 sec. 2025-04-03 13:33:12 00082_quantiles: [ OK ] 24.95 sec. 2025-04-03 13:33:13 00151_order_by_read_in_order: [ OK ] 1.34 sec. 2025-04-03 13:33:18 00148_monotonic_functions_and_index: [ OK ] 7.60 sec. 2025-04-03 13:33:21 00093_prewhere_array_join: [ OK ] 8.00 sec. 2025-04-03 13:33:40 00041_aggregating_materialized_view: [ OK ] 22.73 sec. 2025-04-03 13:33:46 00042_any_left_join: [ OK ] 5.95 sec. 2025-04-03 13:33:47 00055_index_and_not: [ OK ] 1.05 sec. 2025-04-03 13:33:50 00089_position_functions_with_non_constant_arg: [ OK ] 28.80 sec. 2025-04-03 13:33:59 00071_merge_tree_optimize_aio: [ OK ] 11.77 sec. 2025-04-03 13:34:03 00090_thread_pool_deadlock: [ OK ] 12.36 sec. 2025-04-03 13:34:04 00022_merge_prewhere: [ OK ] 1.74 sec. 2025-04-03 13:34:22 00091_prewhere_two_conditions: [ OK ] 17.92 sec. 2025-04-03 13:34:27 00061_storage_buffer: [ OK ] 4.34 sec. 2025-04-03 13:34:33 00147_global_in_aggregate_function: [ OK ] 5.74 sec. 2025-04-03 13:34:34 00076_system_columns_bytes: [ OK ] 1.03 sec. 2025-04-03 13:34:35 00031_array_enumerate_uniq: [ OK ] 1.13 sec. 2025-04-03 13:34:36 00167_parallel_parsing_with_names_and_types: [ OK ] 36.92 sec. 2025-04-03 13:34:39 00145_aggregate_functions_statistics: [ OK ] 3.14 sec. 2025-04-03 13:34:40 00172_early_constant_folding: [ OK ] 0.98 sec. 2025-04-03 13:34:41 00153_aggregate_arena_race: [ OK ] 5.84 sec. 2025-04-03 13:34:42 00021_2_select_with_in: [ OK ] 1.68 sec. 2025-04-03 13:34:43 00183_prewhere_conditions_order: [ OK ] 1.08 sec. 2025-04-03 13:34:44 00048_min_max: [ OK ] 0.93 sec. 2025-04-03 13:34:45 00174_distinct_in_order: [ OK ] 4.49 sec. 2025-04-03 13:34:50 00046_uniq_upto_distributed: [ OK ] 4.89 sec. 2025-04-03 13:34:51 00176_distinct_limit_by_limit_bug_43377: [ OK ] 1.03 sec. 2025-04-03 13:34:56 00038_uniq_state_merge2: [ OK ] 4.89 sec. 2025-04-03 13:35:04 00181_cross_join_compression: [ OK ] 19.58 sec. 2025-04-03 13:35:06 00059_merge_sorting_empty_array_joined: [ OK ] 1.79 sec. 2025-04-03 13:35:49 00167_read_bytes_from_fs: [ OK ] 42.79 sec. 2025-04-03 13:35:50 00004_top_counters: [ OK ] 1.44 sec. 2025-04-03 13:35:51 00098_primary_key_memory_allocated: [ OK ] 0.99 sec. 2025-04-03 13:35:54 00014_filtering_arrays: [ OK ] 2.33 sec. 2025-04-03 13:35:55 00081_group_by_without_key_and_totals: [ OK ] 1.63 sec. 2025-04-03 13:36:03 00072_compare_date_and_string_index: [ OK ] 7.70 sec. 2025-04-03 13:36:14 00159_parallel_formatting_http: [ OK ] 78.33 sec. 2025-04-03 13:36:19 00023_totals_limit: [ OK ] 4.60 sec. 2025-04-03 13:36:20 00080_array_join_and_union: [ OK ] 1.13 sec. 2025-04-03 13:36:21 00007_uniq: [ OK ] 0.93 sec. 2025-04-03 13:36:32 00169_contingency: [ OK ] 29.25 sec. 2025-04-03 13:36:32 00176_bson_parallel_parsing: [ SKIPPED ] 0.00 sec. 2025-04-03 13:36:32 Reason: disabled 2025-04-03 13:36:34 00008_uniq: [ OK ] 1.74 sec. 2025-04-03 13:37:01 00078_group_by_arrays: [ OK ] 40.34 sec. 2025-04-03 13:37:06 00182_simple_squashing_transform_bug: [ OK ] 4.57 sec. 2025-04-03 13:37:13 00092_obfuscator: [ OK ] 6.51 sec. 2025-04-03 13:37:23 00159_parallel_formatting_tsv_and_friends: [ OK ] 48.40 sec. 2025-04-03 13:37:25 00086_array_reduce: [ OK ] 12.26 sec. 2025-04-03 13:37:31 00040_aggregating_materialized_view: [ OK ] 6.14 sec. 2025-04-03 13:37:33 00047_bar: [ OK ] 1.83 sec. 2025-04-03 13:37:35 00062_loyalty: [ OK ] 1.73 sec. 2025-04-03 13:37:41 00161_parallel_parsing_with_names: [ OK ] 18.68 sec. 2025-04-03 13:37:46 00033_aggregate_key_string: [ OK ] 5.05 sec. 2025-04-03 13:37:54 00036_aggregate_hashed: [ OK ] 7.91 sec. 2025-04-03 13:37:56 00087_where_0: [ OK ] 1.15 sec. 2025-04-03 13:38:24 00084_external_aggregation: [ OK ] 49.05 sec. 2025-04-03 13:38:47 00165_jit_aggregate_functions: [ OK ] 22.64 sec. 2025-04-03 13:38:48 00021_1_select_with_in: [ OK ] 0.98 sec. 2025-04-03 13:39:06 00063_loyalty_joins: [ OK ] 18.54 sec. 2025-04-03 13:39:08 00035_aggregate_keys128: [ OK ] 1.94 sec. 2025-04-03 13:39:09 00001_count_hits: [ OK ] 0.93 sec. 2025-04-03 13:39:22 00044_any_left_join_string: [ OK ] 12.36 sec. 2025-04-03 13:39:24 00016_any_if_distributed_cond_always_false: [ OK ] 2.34 sec. 2025-04-03 13:39:33 00178_quantile_ddsketch: [ OK ] 9.05 sec. 2025-04-03 13:39:34 00141_transform: [ OK ] 0.98 sec. 2025-04-03 13:39:35 00039_primary_key: [ OK ] 1.04 sec. 2025-04-03 13:39:37 00159_parallel_formatting_json_and_friends_2: [ OK ] 101.29 sec. 2025-04-03 13:39:38 00021_3_select_with_in: [ OK ] 1.08 sec. 2025-04-03 13:39:46 00177_memory_bound_merging: [ OK ] 10.92 sec. 2025-04-03 13:40:33 00172_hits_joins: [ OK ] 46.55 sec. 2025-04-03 13:40:35 00050_min_max: [ OK ] 2.05 sec. 2025-04-03 13:40:37 00043_any_left_join: [ OK ] 2.44 sec. 2025-04-03 13:40:45 00020_distinct_order_by_distributed: [ OK ] 7.25 sec. 2025-04-03 13:40:47 00088_global_in_one_shard_and_rows_before_limit: [ OK ] 1.73 sec. 2025-04-03 13:40:48 00012_sorting_distributed: [ OK ] 1.48 sec. 2025-04-03 13:40:52 00159_parallel_formatting_csv_and_friends: [ OK ] 73.56 sec. 2025-04-03 13:41:04 00037_uniq_state_merge1: [ OK ] 12.01 sec. 2025-04-03 13:41:09 00065_loyalty_with_storage_join: [ OK ] 5.19 sec. 2025-04-03 13:41:10 00017_aggregation_uninitialized_memory: [ OK ] 0.94 sec. 2025-04-03 13:41:11 00163_column_oriented_formats: [ OK ] 23.14 sec. 2025-04-03 13:41:12 00013_sorting_of_nested: [ OK ] 2.03 sec. 2025-04-03 13:41:13 00142_system_columns: [ OK ] 0.93 sec. 2025-04-03 13:41:13 00045_uniq_upto: [ OK ] 2.08 sec. 2025-04-03 13:42:41 00024_random_counters: [ OK ] 87.61 sec. 2025-04-03 13:42:44 00056_view: [ OK ] 2.94 sec. 2025-04-03 13:42:48 00083_array_filter: [ OK ] 3.79 sec. 2025-04-03 13:42:56 00079_array_join_not_used_joined_column: [ OK ] 7.80 sec. 2025-04-03 13:42:57 00085_monotonic_evaluation_segfault: [ OK ] 1.08 sec. 2025-04-03 13:42:57 00159_parallel_formatting_json_and_friends_1: [ OK ] 104.50 sec. 2025-04-03 13:42:59 00075_left_array_join: [ OK ] 2.14 sec. 2025-04-03 13:42:59 00143_transform_non_const_default: [ OK ] 1.79 sec. 2025-04-03 13:43:03 00175_counting_resources_in_subqueries: [ OK ] 3.74 sec. 2025-04-03 13:43:05 00067_union_all: [ OK ] 1.59 sec. 2025-04-03 13:43:06 00011_sorting: [ OK ] 1.13 sec. 2025-04-03 13:43:07 00164_quantileBfloat16: [ OK ] 7.70 sec. 2025-04-03 13:43:08 00006_agregates: [ OK ] 1.28 sec. 2025-04-03 13:43:08 00054_merge_tree_partitions: [ OK ] 2.14 sec. 2025-04-03 13:43:14 00051_min_max_array: [ OK ] 5.74 sec. 2025-04-03 13:43:17 00034_aggregate_key_fixed_string: [ OK ] 2.79 sec. 2025-04-03 13:43:17 00094_order_by_array_join_limit: [ OK ] 9.40 sec. 2025-04-03 13:43:18 00002_count_visits: [ OK ] 1.09 sec. 2025-04-03 13:43:21 00144_functions_of_aggregation_states: [ OK ] 2.69 sec. 2025-04-03 13:43:27 00049_max_string_if: [ OK ] 6.00 sec. 2025-04-03 13:43:33 00149_quantiles_timing_distributed: [ OK ] 6.40 sec. 2025-04-03 13:43:34 00166_explain_estimate: [ OK ] 1.18 sec. 2025-04-03 13:43:41 00139_like: [ OK ] 23.39 sec. 2025-04-03 13:43:45 00154_avro: [ OK ] 3.84 sec. 2025-04-03 13:43:51 00156_max_execution_speed_sample_merge: [ OK ] 6.15 sec. 2025-04-03 13:43:52 00068_subquery_in_prewhere: [ OK ] 1.19 sec. 2025-04-03 13:43:54 00010_quantiles_segfault: [ OK ] 1.69 sec. 2025-04-03 13:43:56 00077_log_tinylog_stripelog: [ OK ] 22.05 sec. 2025-04-03 13:44:06 00171_grouping_aggregated_transform_bug: [ OK ] 9.61 sec. 2025-04-03 13:44:06 00074_full_join: [ OK ] 12.41 sec. 2025-04-03 13:44:16 00173_group_by_use_nulls: [ OK ] 9.81 sec. 2025-04-03 13:44:29 00095_hyperscan_profiler: [ OK ] 12.32 sec. 2025-04-03 13:44:30 00162_mmap_compression_none: [ OK ] 24.20 sec. 2025-04-03 13:44:31 00009_uniq_distributed: [ OK ] 2.49 sec. 2025-04-03 13:44:32 00097_constexpr_in_index: [ OK ] 0.99 sec. 2025-04-03 13:44:50 00053_replicate_segfault: [ OK ] 19.54 sec. 2025-04-03 13:44:59 00146_aggregate_function_uniq: [ OK ] 9.25 sec. 2025-04-03 13:45:06 00175_obfuscator_schema_inference: [ OK ] 7.20 sec. 2025-04-03 13:45:08 00184_parallel_hash_returns_same_res_as_hash: [ OK ] 35.37 sec. 2025-04-03 13:45:08 00150_quantiles_timing_precision: [ OK ] 2.04 sec. 2025-04-03 13:45:08 2025-04-03 13:45:08 60 tests passed. 1 tests skipped. 747.87 s elapsed (Process-4). 2025-04-03 13:45:09 00069_duplicate_aggregation_keys: [ OK ] 0.99 sec. 2025-04-03 13:45:09 2025-04-03 13:45:09 72 tests passed. 0 tests skipped. 748.09 s elapsed (Process-3). 2025-04-03 13:45:09 Running 6 stateful tests (MainProcess). 2025-04-03 13:45:55 00180_no_seek_avoiding_when_reading_from_cache: [ OK ] 46.11 sec. 2025-04-03 13:47:05 00170_s3_cache: [ OK ] 70.39 sec. 2025-04-03 13:47:57 00158_cache_dictionary_has: [ OK ] 51.33 sec. 2025-04-03 13:53:39 00157_cache_dictionary: [ FAIL ] 342.18 sec. 2025-04-03 13:53:39 Reason: return code: 160 2025-04-03 13:53:39 [9b07dd047ace] 2025.04.04 00:53:39.070466 [ 2180 ] {1abc0649-1d8b-447f-b9c8-8f73b7470529} executeQuery: Code: 160. DB::Exception: Estimated query execution time (1014.92752 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (335872 read in 340.88574 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) (version 24.12.2.20238.altinityantalya (altinity build)) (from [::1]:47840) (comment: 00157_cache_dictionary.sql) (in query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000 SETTINGS min_insert_block_size_rows = 0, min_insert_block_size_bytes = 0, max_block_size = 8192, max_insert_threads = 1, max_threads = 1, max_parallel_replicas=1;), Stack trace (when copying this message, always include the lines below): 2025-04-03 13:53:39 2025-04-03 13:53:39 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000456f0e49 2025-04-03 13:53:39 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000206e3853 2025-04-03 13:53:39 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000088de1d5 2025-04-03 13:53:39 3. ./src/Common/Exception.h:123: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, double&, int&&, unsigned long&, unsigned long&, double&) @ 0x0000000034b23987 2025-04-03 13:53:39 4. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:87: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long, DB::OverflowMode) const @ 0x0000000034b22e6d 2025-04-03 13:53:39 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:131: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000034b212d5 2025-04-03 13:53:39 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000003f76f223 2025-04-03 13:53:39 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003f73a234 2025-04-03 13:53:39 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003f737fe3 2025-04-03 13:53:39 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003f737a15 2025-04-03 13:53:39 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:49: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003f735505 2025-04-03 13:53:39 11. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000209872ca 2025-04-03 13:53:39 12. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x0000000020999a64 2025-04-03 13:53:39 13. ? @ 0x00007fea763e5ac3 2025-04-03 13:53:39 14. ? @ 0x00007fea76477850 2025-04-03 13:53:39 2025-04-03 13:53:39 Received exception from server (version 24.12.2): 2025-04-03 13:53:39 Code: 160. DB::Exception: Received from localhost:9000. DB::Exception: Estimated query execution time (1014.92752 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (335872 read in 340.88574 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) 2025-04-03 13:53:39 (query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000 2025-04-03 13:53:39 SETTINGS min_insert_block_size_rows = 0, min_insert_block_size_bytes = 0, max_block_size = 8192, max_insert_threads = 1, max_threads = 1, max_parallel_replicas=1;) 2025-04-03 13:53:39 , result: 2025-04-03 13:53:39 2025-04-03 13:53:39 2025-04-03 13:53:39 2025-04-03 13:53:39 stdout: 2025-04-03 13:53:39 2025-04-03 13:53:39 2025-04-03 13:53:39 Settings used in the test: --max_insert_threads 3 --group_by_two_level_threshold 222889 --group_by_two_level_threshold_bytes 1 --distributed_aggregation_memory_efficient 0 --fsync_metadata 1 --output_format_parallel_formatting 0 --input_format_parallel_parsing 0 --min_chunk_bytes_for_parallel_parsing 1993425 --max_read_buffer_size 821145 --prefer_localhost_replica 1 --max_block_size 31351 --max_joined_block_size_rows 19310 --max_threads 3 --optimize_append_index 0 --optimize_if_chain_to_multiif 0 --optimize_if_transform_strings_to_enum 0 --optimize_read_in_order 0 --optimize_or_like_chain 0 --optimize_substitute_columns 1 --enable_multiple_prewhere_read_steps 0 --read_in_order_two_level_merge_threshold 31 --optimize_aggregation_in_order 0 --aggregation_in_order_max_block_bytes 36948417 --use_uncompressed_cache 0 --min_bytes_to_use_direct_io 10737418240 --min_bytes_to_use_mmap_io 1443730242 --local_filesystem_read_method read --remote_filesystem_read_method read --local_filesystem_read_prefetch 1 --filesystem_cache_segments_batch_size 3 --read_from_filesystem_cache_if_exists_otherwise_bypass_cache 1 --throw_on_error_from_cache_on_write_operations 1 --remote_filesystem_read_prefetch 0 --allow_prefetched_read_pool_for_remote_filesystem 1 --filesystem_prefetch_max_memory_usage 128Mi --filesystem_prefetches_limit 10 --filesystem_prefetch_min_bytes_for_single_read_task 1Mi --filesystem_prefetch_step_marks 50 --filesystem_prefetch_step_bytes 0 --compile_aggregate_expressions 0 --compile_sort_description 1 --merge_tree_coarse_index_granularity 4 --optimize_distinct_in_order 1 --max_bytes_before_external_sort 10737418240 --max_bytes_before_external_group_by 0 --max_bytes_before_remerge_sort 2161300204 --min_compress_block_size 2198084 --max_compress_block_size 2731901 --merge_tree_compact_parts_min_granules_to_multibuffer_read 29 --optimize_sorting_by_input_stream_properties 1 --http_response_buffer_size 8642545 --http_wait_end_of_query True --enable_memory_bound_merging_of_aggregation_results 1 --min_count_to_compile_expression 0 --min_count_to_compile_aggregate_expression 0 --min_count_to_compile_sort_description 3 --session_timezone Africa/Khartoum --use_page_cache_for_disks_without_file_cache True --page_cache_inject_eviction False --merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability 0.47 --prefer_external_sort_block_bytes 0 --cross_join_min_rows_to_compress 100000000 --cross_join_min_bytes_to_compress 0 --min_external_table_block_size_bytes 0 --max_parsing_threads 10 --optimize_functions_to_subcolumns 1 --parallel_replicas_local_plan 1 --query_plan_join_swap_table auto --output_format_native_write_json_as_string 1 --enable_vertical_final 1 2025-04-03 13:53:39 2025-04-03 13:53:39 MergeTree settings used in test: --ratio_of_defaults_for_sparse_serialization 0.019446747851141755 --prefer_fetch_merged_part_size_threshold 10737418240 --vertical_merge_algorithm_min_rows_to_activate 1 --vertical_merge_algorithm_min_columns_to_activate 1 --allow_vertical_merges_from_compact_to_wide_parts 1 --min_merge_bytes_to_use_direct_io 7377163035 --index_granularity_bytes 4051943 --merge_max_block_size 10354 --index_granularity 63226 --min_bytes_for_wide_part 1073741824 --marks_compress_block_size 46637 --primary_key_compress_block_size 87956 --replace_long_file_name_to_hash 1 --max_file_name_length 0 --min_bytes_for_full_part_storage 0 --compact_parts_max_bytes_to_buffer 414169447 --compact_parts_max_granules_to_buffer 4 --compact_parts_merge_max_bytes_to_prefetch_part 13702413 --cache_populated_by_fetch 1 --concurrent_part_removal_threshold 82 --old_parts_lifetime 33 --prewarm_mark_cache 1 --use_const_adaptive_granularity 1 --enable_index_granularity_compression 1 --use_primary_key_cache 0 --prewarm_primary_key_cache 0 2025-04-03 13:53:39 2025-04-03 13:53:39 Database: test_nsiv6j9t 2025-04-03 13:53:44 00152_insert_different_granularity: [ OK ] 5.36 sec. 2025-04-03 13:53:46 00140_rename: [ OK ] 2.10 sec. 2025-04-03 13:53:46 2025-04-03 13:53:46 Having 1 errors! 5 tests passed. 0 tests skipped. 517.81 s elapsed (MainProcess). 2025-04-03 13:53:46 Checking the hung queries: done 2025-04-03 13:53:46 2025-04-03 13:53:46 No queries hung. 2025-04-03 13:53:46 All tests have finished.