2025-04-06 08:03:31 Using queries from '/repo/tests/queries' directory 2025-04-06 08:03:32 Connecting to ClickHouse server... OK 2025-04-06 08:03:32 Connected to server 24.12.2.20229.altinityantalya @ 88abcec56d77bfcc094ff1be4f26271642e8460d HEAD 2025-04-06 08:03:32 Won't run stateless tests because they were manually disabled. 2025-04-06 08:03:32 Found 133 parallel tests and 6 sequential tests 2025-04-06 08:03:33 Running about 66 stateful tests (Process-3). 2025-04-06 08:03:33 00005_filtering: [ OK ] 1.04 sec. 2025-04-06 08:03:36 00020_distinct_order_by_distributed: [ OK ] 3.34 sec. 2025-04-06 08:03:45 00072_compare_date_and_string_index: [ OK ] 8.71 sec. 2025-04-06 08:03:55 00177_memory_bound_merging: [ OK ] 9.56 sec. 2025-04-06 08:03:58 00083_array_filter: [ OK ] 3.49 sec. 2025-04-06 08:04:00 00068_subquery_in_prewhere: [ OK ] 1.59 sec. 2025-04-06 08:04:01 Running about 66 stateful tests (Process-4). 2025-04-06 08:04:01 00077_log_tinylog_stripelog: [ OK ] 29.10 sec. 2025-04-06 08:04:02 00010_quantiles_segfault: [ OK ] 2.39 sec. 2025-04-06 08:04:06 00042_any_left_join: [ OK ] 3.84 sec. 2025-04-06 08:04:12 00023_totals_limit: [ OK ] 5.50 sec. 2025-04-06 08:04:12 00176_bson_parallel_parsing: [ SKIPPED ] 0.00 sec. 2025-04-06 08:04:12 Reason: disabled 2025-04-06 08:04:14 00032_aggregate_key64: [ OK ] 1.94 sec. 2025-04-06 08:04:15 00094_order_by_array_join_limit: [ OK ] 13.57 sec. 2025-04-06 08:04:16 00062_loyalty: [ OK ] 1.58 sec. 2025-04-06 08:04:17 00175_counting_resources_in_subqueries: [ OK ] 3.39 sec. 2025-04-06 08:04:21 00075_left_array_join: [ OK ] 4.35 sec. 2025-04-06 08:04:23 00031_array_enumerate_uniq: [ OK ] 1.23 sec. 2025-04-06 08:04:25 00038_uniq_state_merge2: [ OK ] 8.35 sec. 2025-04-06 08:04:25 00002_count_visits: [ OK ] 0.78 sec. 2025-04-06 08:04:27 00013_sorting_of_nested: [ OK ] 3.99 sec. 2025-04-06 08:04:40 00164_quantileBfloat16: [ OK ] 12.96 sec. 2025-04-06 08:04:47 00082_quantiles: [ OK ] 21.69 sec. 2025-04-06 08:04:58 00079_array_join_not_used_joined_column: [ OK ] 11.01 sec. 2025-04-06 08:05:24 00159_parallel_formatting_tsv_and_friends: [ OK ] 44.09 sec. 2025-04-06 08:05:25 00098_primary_key_memory_allocated: [ OK ] 0.88 sec. 2025-04-06 08:05:27 00035_aggregate_keys128: [ OK ] 2.04 sec. 2025-04-06 08:05:34 00030_array_enumerate_uniq: [ OK ] 7.50 sec. 2025-04-06 08:05:35 00076_system_columns_bytes: [ OK ] 0.94 sec. 2025-04-06 08:05:36 00059_merge_sorting_empty_array_joined: [ OK ] 1.03 sec. 2025-04-06 08:06:06 00184_parallel_hash_returns_same_res_as_hash: [ OK ] 29.65 sec. 2025-04-06 08:06:07 00080_array_join_and_union: [ OK ] 1.04 sec. 2025-04-06 08:06:08 00183_prewhere_conditions_order: [ OK ] 0.93 sec. 2025-04-06 08:06:12 00172_hits_joins: [ OK ] 73.57 sec. 2025-04-06 08:06:19 00175_obfuscator_schema_inference: [ OK ] 6.85 sec. 2025-04-06 08:06:21 00044_any_left_join_string: [ OK ] 13.17 sec. 2025-04-06 08:06:27 00145_aggregate_functions_statistics: [ OK ] 5.04 sec. 2025-04-06 08:06:28 00087_where_0: [ OK ] 1.09 sec. 2025-04-06 08:06:29 00146_aggregate_function_uniq: [ OK ] 10.45 sec. 2025-04-06 08:06:35 00041_aggregating_materialized_view: [ OK ] 5.95 sec. 2025-04-06 08:06:53 00163_column_oriented_formats: [ OK ] 25.00 sec. 2025-04-06 08:06:58 00174_distinct_in_order: [ OK ] 5.15 sec. 2025-04-06 08:07:02 00182_simple_squashing_transform_bug: [ OK ] 4.04 sec. 2025-04-06 08:07:04 00022_merge_prewhere: [ OK ] 1.79 sec. 2025-04-06 08:07:20 00051_min_max_array: [ OK ] 16.23 sec. 2025-04-06 08:07:34 00173_group_by_use_nulls: [ OK ] 13.57 sec. 2025-04-06 08:08:15 00089_position_functions_with_non_constant_arg: [ OK ] 41.03 sec. 2025-04-06 08:08:20 00159_parallel_formatting_json_and_friends_2: [ OK ] 104.81 sec. 2025-04-06 08:08:26 00171_grouping_aggregated_transform_bug: [ OK ] 10.86 sec. 2025-04-06 08:08:30 00061_storage_buffer: [ OK ] 4.74 sec. 2025-04-06 08:08:31 00153_aggregate_arena_race: [ OK ] 11.06 sec. 2025-04-06 08:08:33 00054_merge_tree_partitions: [ OK ] 2.08 sec. 2025-04-06 08:08:34 00055_index_and_not: [ OK ] 0.99 sec. 2025-04-06 08:08:36 00141_transform: [ OK ] 1.24 sec. 2025-04-06 08:08:39 00093_prewhere_array_join: [ OK ] 8.75 sec. 2025-04-06 08:08:54 00063_loyalty_joins: [ OK ] 14.62 sec. 2025-04-06 08:09:08 00162_mmap_compression_none: [ OK ] 13.92 sec. 2025-04-06 08:09:08 00169_contingency: [ OK ] 32.61 sec. 2025-04-06 08:09:11 00009_uniq_distributed: [ OK ] 2.64 sec. 2025-04-06 08:09:13 00016_any_if_distributed_cond_always_false: [ OK ] 2.19 sec. 2025-04-06 08:09:14 00166_explain_estimate: [ OK ] 1.08 sec. 2025-04-06 08:09:14 00092_obfuscator: [ OK ] 6.15 sec. 2025-04-06 08:09:16 00012_sorting_distributed: [ OK ] 1.74 sec. 2025-04-06 08:09:18 00045_uniq_upto: [ OK ] 3.39 sec. 2025-04-06 08:09:23 00160_decode_xml_component: [ OK ] 4.99 sec. 2025-04-06 08:09:25 00008_uniq: [ OK ] 2.19 sec. 2025-04-06 08:09:28 00033_aggregate_key_string: [ OK ] 2.64 sec. 2025-04-06 08:09:29 00037_uniq_state_merge1: [ OK ] 12.87 sec. 2025-04-06 08:09:29 00021_1_select_with_in: [ OK ] 0.83 sec. 2025-04-06 08:09:30 00052_group_by_in: [ OK ] 1.69 sec. 2025-04-06 08:09:30 00144_functions_of_aggregation_states: [ OK ] 1.69 sec. 2025-04-06 08:09:36 00046_uniq_upto_distributed: [ OK ] 5.29 sec. 2025-04-06 08:09:36 00049_max_string_if: [ OK ] 5.95 sec. 2025-04-06 08:09:37 00047_bar: [ OK ] 1.44 sec. 2025-04-06 08:09:45 00065_loyalty_with_storage_join: [ OK ] 8.40 sec. 2025-04-06 08:09:48 00154_avro: [ OK ] 3.69 sec. 2025-04-06 08:09:50 00043_any_left_join: [ OK ] 1.94 sec. 2025-04-06 08:09:51 00069_duplicate_aggregation_keys: [ OK ] 0.93 sec. 2025-04-06 08:09:54 00014_filtering_arrays: [ OK ] 2.08 sec. 2025-04-06 08:10:10 00078_group_by_arrays: [ OK ] 16.93 sec. 2025-04-06 08:10:12 00151_order_by_read_in_order: [ OK ] 1.71 sec. 2025-04-06 08:10:23 00071_merge_tree_optimize_aio: [ OK ] 10.51 sec. 2025-04-06 08:10:26 00088_global_in_one_shard_and_rows_before_limit: [ OK ] 3.54 sec. 2025-04-06 08:10:28 00021_3_select_with_in: [ OK ] 1.04 sec. 2025-04-06 08:10:45 00159_parallel_formatting_csv_and_friends: [ OK ] 67.86 sec. 2025-04-06 08:10:47 00150_quantiles_timing_precision: [ OK ] 2.34 sec. 2025-04-06 08:11:06 00084_external_aggregation: [ OK ] 38.79 sec. 2025-04-06 08:11:07 00142_system_columns: [ OK ] 0.79 sec. 2025-04-06 08:11:08 00001_count_hits: [ OK ] 0.84 sec. 2025-04-06 08:11:21 00139_like: [ OK ] 12.61 sec. 2025-04-06 08:11:25 00167_parallel_parsing_with_names_and_types: [ OK ] 37.88 sec. 2025-04-06 08:11:30 00086_array_reduce: [ OK ] 9.11 sec. 2025-04-06 08:11:30 00181_cross_join_compression: [ OK ] 5.00 sec. 2025-04-06 08:11:35 00096_obfuscator_save_load: [ OK ] 5.00 sec. 2025-04-06 08:11:36 00156_max_execution_speed_sample_merge: [ OK ] 5.40 sec. 2025-04-06 08:11:52 00161_parallel_parsing_with_names: [ OK ] 17.53 sec. 2025-04-06 08:11:54 00178_quantile_ddsketch: [ OK ] 17.88 sec. 2025-04-06 08:11:54 00081_group_by_without_key_and_totals: [ OK ] 1.74 sec. 2025-04-06 08:11:55 00085_monotonic_evaluation_segfault: [ OK ] 0.93 sec. 2025-04-06 08:11:56 00015_totals_and_no_aggregate_functions: [ OK ] 1.29 sec. 2025-04-06 08:11:57 00039_primary_key: [ OK ] 0.99 sec. 2025-04-06 08:12:03 00053_replicate_segfault: [ OK ] 7.90 sec. 2025-04-06 08:12:05 00067_union_all: [ OK ] 2.29 sec. 2025-04-06 08:12:10 00040_aggregating_materialized_view: [ OK ] 4.49 sec. 2025-04-06 08:12:11 00172_early_constant_folding: [ OK ] 0.94 sec. 2025-04-06 08:13:01 00159_parallel_formatting_http: [ OK ] 64.59 sec. 2025-04-06 08:13:14 00090_thread_pool_deadlock: [ OK ] 12.41 sec. 2025-04-06 08:13:20 00148_monotonic_functions_and_index: [ OK ] 6.40 sec. 2025-04-06 08:13:22 00143_transform_non_const_default: [ OK ] 1.64 sec. 2025-04-06 08:13:24 00056_view: [ OK ] 1.99 sec. 2025-04-06 08:13:29 00147_global_in_aggregate_function: [ OK ] 5.50 sec. 2025-04-06 08:13:31 00011_sorting: [ OK ] 1.43 sec. 2025-04-06 08:13:32 00066_sorting_distributed_many_replicas: [ OK ] 0.68 sec. 2025-04-06 08:13:33 00097_constexpr_in_index: [ OK ] 0.94 sec. 2025-04-06 08:13:33 00024_random_counters: [ OK ] 82.19 sec. 2025-04-06 08:13:33 00007_uniq: [ OK ] 0.88 sec. 2025-04-06 08:13:35 00073_uniq_array: [ OK ] 1.69 sec. 2025-04-06 08:13:37 00060_move_to_prewhere_and_sets: [ OK ] 1.70 sec. 2025-04-06 08:13:40 00006_agregates: [ OK ] 2.89 sec. 2025-04-06 08:13:41 00048_min_max: [ OK ] 0.91 sec. 2025-04-06 08:13:42 00149_quantiles_timing_distributed: [ OK ] 9.01 sec. 2025-04-06 08:13:48 00074_full_join: [ OK ] 6.30 sec. 2025-04-06 08:13:53 00034_aggregate_key_fixed_string: [ OK ] 5.25 sec. 2025-04-06 08:14:09 00165_jit_aggregate_functions: [ OK ] 15.57 sec. 2025-04-06 08:14:16 00036_aggregate_hashed: [ OK ] 7.10 sec. 2025-04-06 08:14:31 00095_hyperscan_profiler: [ OK ] 14.92 sec. 2025-04-06 08:14:32 00017_aggregation_uninitialized_memory: [ OK ] 0.88 sec. 2025-04-06 08:14:33 00021_2_select_with_in: [ OK ] 0.94 sec. 2025-04-06 08:14:35 00176_distinct_limit_by_limit_bug_43377: [ OK ] 2.31 sec. 2025-04-06 08:14:37 00004_top_counters: [ OK ] 1.65 sec. 2025-04-06 08:14:57 00091_prewhere_two_conditions: [ OK ] 19.73 sec. 2025-04-06 08:15:43 00167_read_bytes_from_fs: [ OK ] 45.64 sec. 2025-04-06 08:15:45 00050_min_max: [ OK ] 2.19 sec. 2025-04-06 08:15:45 2025-04-06 08:15:45 51 tests passed. 0 tests skipped. 733.02 s elapsed (Process-4). 2025-04-06 08:16:07 00159_parallel_formatting_json_and_friends_1: [ OK ] 146.20 sec. 2025-04-06 08:16:07 2025-04-06 08:16:07 81 tests passed. 1 tests skipped. 755.27 s elapsed (Process-3). 2025-04-06 08:16:07 Running 6 stateful tests (MainProcess). 2025-04-06 08:16:53 00180_no_seek_avoiding_when_reading_from_cache: [ OK ] 46.17 sec. 2025-04-06 08:18:05 00170_s3_cache: [ OK ] 71.98 sec. 2025-04-06 08:18:56 00158_cache_dictionary_has: [ OK ] 50.68 sec. 2025-04-06 08:24:44 00157_cache_dictionary: [ FAIL ] 348.08 sec. 2025-04-06 08:24:44 Reason: return code: 160 2025-04-06 08:24:44 [eaf2be8a0a22] 2025.04.06 09:24:44.430070 [ 2752 ] {ef9a283f-0a84-4da6-bfc5-6b2dc933c303} executeQuery: Code: 160. DB::Exception: Estimated query execution time (1032.46188 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (335872 read in 346.77504 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) (version 24.12.2.20229.altinityantalya (altinity build)) (from [::1]:46620) (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-06 08:24:44 2025-04-06 08:24:44 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000456cc009 2025-04-06 08:24:44 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000206d1853 2025-04-06 08:24:44 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000088cc1d5 2025-04-06 08:24:44 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&) @ 0x0000000034afe387 2025-04-06 08:24:44 4. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:87: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long, DB::OverflowMode) const @ 0x0000000034afd86d 2025-04-06 08:24:44 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:131: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000034afbcd5 2025-04-06 08:24:44 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000003f74a4a3 2025-04-06 08:24:44 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003f7154b4 2025-04-06 08:24:44 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003f713263 2025-04-06 08:24:44 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003f712c95 2025-04-06 08:24:44 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*) @ 0x000000003f710785 2025-04-06 08:24:44 11. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000209752ca 2025-04-06 08:24:44 12. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x0000000020987a64 2025-04-06 08:24:44 13. ? @ 0x00007f47ae9aeac3 2025-04-06 08:24:44 14. ? @ 0x00007f47aea40850 2025-04-06 08:24:44 2025-04-06 08:24:44 Received exception from server (version 24.12.2): 2025-04-06 08:24:44 Code: 160. DB::Exception: Received from localhost:9000. DB::Exception: Estimated query execution time (1032.46188 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (335872 read in 346.77504 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) 2025-04-06 08:24:44 (query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000 2025-04-06 08:24:44 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-06 08:24:44 , result: 2025-04-06 08:24:44 2025-04-06 08:24:44 2025-04-06 08:24:44 2025-04-06 08:24:44 stdout: 2025-04-06 08:24:44 2025-04-06 08:24:44 2025-04-06 08:24:44 Settings used in the test: --max_insert_threads 3 --group_by_two_level_threshold 1000000 --group_by_two_level_threshold_bytes 16938584 --distributed_aggregation_memory_efficient 1 --fsync_metadata 1 --output_format_parallel_formatting 1 --input_format_parallel_parsing 0 --min_chunk_bytes_for_parallel_parsing 21589265 --max_read_buffer_size 922164 --prefer_localhost_replica 0 --max_block_size 90187 --max_joined_block_size_rows 16105 --max_threads 1 --optimize_append_index 1 --optimize_if_chain_to_multiif 1 --optimize_if_transform_strings_to_enum 1 --optimize_read_in_order 0 --optimize_or_like_chain 0 --optimize_substitute_columns 0 --enable_multiple_prewhere_read_steps 1 --read_in_order_two_level_merge_threshold 27 --optimize_aggregation_in_order 1 --aggregation_in_order_max_block_bytes 23550498 --use_uncompressed_cache 1 --min_bytes_to_use_direct_io 10338534186 --min_bytes_to_use_mmap_io 10737418240 --local_filesystem_read_method mmap --remote_filesystem_read_method threadpool --local_filesystem_read_prefetch 0 --filesystem_cache_segments_batch_size 0 --read_from_filesystem_cache_if_exists_otherwise_bypass_cache 1 --throw_on_error_from_cache_on_write_operations 0 --remote_filesystem_read_prefetch 0 --allow_prefetched_read_pool_for_remote_filesystem 1 --filesystem_prefetch_max_memory_usage 128Mi --filesystem_prefetches_limit 0 --filesystem_prefetch_min_bytes_for_single_read_task 1Mi --filesystem_prefetch_step_marks 0 --filesystem_prefetch_step_bytes 0 --compile_aggregate_expressions 0 --compile_sort_description 0 --merge_tree_coarse_index_granularity 25 --optimize_distinct_in_order 0 --max_bytes_before_external_sort 10737418240 --max_bytes_before_external_group_by 2999471042 --max_bytes_before_remerge_sort 696437732 --min_compress_block_size 1169563 --max_compress_block_size 1359370 --merge_tree_compact_parts_min_granules_to_multibuffer_read 47 --optimize_sorting_by_input_stream_properties 0 --http_response_buffer_size 430314 --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 0 --session_timezone America/Mazatlan --use_page_cache_for_disks_without_file_cache False --page_cache_inject_eviction False --merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability 0.46 --prefer_external_sort_block_bytes 1 --cross_join_min_rows_to_compress 1 --cross_join_min_bytes_to_compress 0 --min_external_table_block_size_bytes 100000000 --max_parsing_threads 0 --optimize_functions_to_subcolumns 1 --parallel_replicas_local_plan 0 --query_plan_join_swap_table false --output_format_native_write_json_as_string 0 --enable_vertical_final 1 2025-04-06 08:24:44 2025-04-06 08:24:44 MergeTree settings used in test: --ratio_of_defaults_for_sparse_serialization 1.0 --prefer_fetch_merged_part_size_threshold 10737418240 --vertical_merge_algorithm_min_rows_to_activate 1 --vertical_merge_algorithm_min_columns_to_activate 50 --allow_vertical_merges_from_compact_to_wide_parts 0 --min_merge_bytes_to_use_direct_io 1 --index_granularity_bytes 29364344 --merge_max_block_size 16012 --index_granularity 31264 --min_bytes_for_wide_part 71347087 --marks_compress_block_size 46147 --primary_key_compress_block_size 46902 --replace_long_file_name_to_hash 0 --max_file_name_length 5 --min_bytes_for_full_part_storage 536870912 --compact_parts_max_bytes_to_buffer 238963749 --compact_parts_max_granules_to_buffer 148 --compact_parts_merge_max_bytes_to_prefetch_part 21658906 --cache_populated_by_fetch 1 --concurrent_part_removal_threshold 78 --old_parts_lifetime 459 --prewarm_mark_cache 0 --use_const_adaptive_granularity 0 --enable_index_granularity_compression 0 --use_primary_key_cache 0 --prewarm_primary_key_cache 0 2025-04-06 08:24:44 2025-04-06 08:24:44 Database: test_qnbi9r60 2025-04-06 08:27:09 00152_insert_different_granularity: [ OK ] 144.95 sec. 2025-04-06 08:27:13 00140_rename: [ OK ] 3.24 sec. 2025-04-06 08:27:13 2025-04-06 08:27:13 Having 1 errors! 5 tests passed. 0 tests skipped. 665.38 s elapsed (MainProcess). 2025-04-06 08:27:13 Checking the hung queries: done 2025-04-06 08:27:13 2025-04-06 08:27:13 No queries hung. 2025-04-06 08:27:13 All tests have finished.