2025-03-31 08:23:48 Using queries from '/repo/tests/queries' directory 2025-03-31 08:23:49 Connecting to ClickHouse server... OK 2025-03-31 08:23:49 Connected to server 24.12.2.20217.altinityantalya @ cde7d2a16543665998bbde73a0b427e09a8d2e7b HEAD 2025-03-31 08:23:49 Won't run stateless tests because they were manually disabled. 2025-03-31 08:23:49 Found 133 parallel tests and 6 sequential tests 2025-03-31 08:24:05 Running about 66 stateful tests (Process-4). 2025-03-31 08:24:05 00165_jit_aggregate_functions: [ OK ] 15.87 sec. 2025-03-31 08:24:07 00021_2_select_with_in: [ OK ] 1.78 sec. 2025-03-31 08:24:08 00062_loyalty: [ OK ] 1.53 sec. 2025-03-31 08:24:09 00068_subquery_in_prewhere: [ OK ] 1.19 sec. 2025-03-31 08:24:13 00034_aggregate_key_fixed_string: [ OK ] 3.18 sec. 2025-03-31 08:24:19 00092_obfuscator: [ OK ] 6.19 sec. 2025-03-31 08:24:23 00153_aggregate_arena_race: [ OK ] 4.35 sec. 2025-03-31 08:24:29 Running about 66 stateful tests (Process-3). 2025-03-31 08:24:29 00167_parallel_parsing_with_names_and_types: [ OK ] 39.70 sec. 2025-03-31 08:24:30 00031_array_enumerate_uniq: [ OK ] 1.23 sec. 2025-03-31 08:24:38 00044_any_left_join_string: [ OK ] 14.36 sec. 2025-03-31 08:25:02 00089_position_functions_with_non_constant_arg: [ OK ] 24.84 sec. 2025-03-31 08:25:03 00098_primary_key_memory_allocated: [ OK ] 0.93 sec. 2025-03-31 08:25:16 00162_mmap_compression_none: [ OK ] 46.09 sec. 2025-03-31 08:25:29 00090_thread_pool_deadlock: [ OK ] 12.63 sec. 2025-03-31 08:25:37 00013_sorting_of_nested: [ OK ] 7.95 sec. 2025-03-31 08:25:38 00184_parallel_hash_returns_same_res_as_hash: [ OK ] 34.56 sec. 2025-03-31 08:25:43 00148_monotonic_functions_and_index: [ OK ] 6.19 sec. 2025-03-31 08:26:04 00079_array_join_not_used_joined_column: [ OK ] 25.59 sec. 2025-03-31 08:26:24 00167_read_bytes_from_fs: [ OK ] 41.33 sec. 2025-03-31 08:26:25 00183_prewhere_conditions_order: [ OK ] 1.03 sec. 2025-03-31 08:26:27 00156_max_execution_speed_sample_merge: [ OK ] 22.71 sec. 2025-03-31 08:26:28 00097_constexpr_in_index: [ OK ] 0.98 sec. 2025-03-31 08:26:30 00045_uniq_upto: [ OK ] 2.59 sec. 2025-03-31 08:26:32 00151_order_by_read_in_order: [ OK ] 1.49 sec. 2025-03-31 08:26:33 00023_totals_limit: [ OK ] 1.33 sec. 2025-03-31 08:26:40 00078_group_by_arrays: [ OK ] 14.82 sec. 2025-03-31 08:26:41 00073_uniq_array: [ OK ] 0.99 sec. 2025-03-31 08:26:42 00172_early_constant_folding: [ OK ] 1.03 sec. 2025-03-31 08:26:51 00181_cross_join_compression: [ OK ] 9.05 sec. 2025-03-31 08:26:52 00076_system_columns_bytes: [ OK ] 1.04 sec. 2025-03-31 08:26:54 00011_sorting: [ OK ] 1.38 sec. 2025-03-31 08:27:15 00139_like: [ OK ] 20.83 sec. 2025-03-31 08:27:16 00010_quantiles_segfault: [ OK ] 1.69 sec. 2025-03-31 08:27:17 00159_parallel_formatting_http: [ OK ] 43.44 sec. 2025-03-31 08:27:24 00038_uniq_state_merge2: [ OK ] 7.35 sec. 2025-03-31 08:27:37 00164_quantileBfloat16: [ OK ] 12.66 sec. 2025-03-31 08:27:43 00147_global_in_aggregate_function: [ OK ] 6.50 sec. 2025-03-31 08:27:59 00071_merge_tree_optimize_aio: [ OK ] 16.12 sec. 2025-03-31 08:28:00 00176_distinct_limit_by_limit_bug_43377: [ OK ] 1.03 sec. 2025-03-31 08:28:04 00169_contingency: [ OK ] 47.10 sec. 2025-03-31 08:28:05 00001_count_hits: [ OK ] 0.93 sec. 2025-03-31 08:28:15 00093_prewhere_array_join: [ OK ] 14.46 sec. 2025-03-31 08:28:16 00022_merge_prewhere: [ OK ] 1.03 sec. 2025-03-31 08:28:17 00048_min_max: [ OK ] 0.93 sec. 2025-03-31 08:28:23 00160_decode_xml_component: [ OK ] 5.59 sec. 2025-03-31 08:28:28 00178_quantile_ddsketch: [ OK ] 22.94 sec. 2025-03-31 08:28:28 00037_uniq_state_merge1: [ OK ] 5.30 sec. 2025-03-31 08:28:30 00056_view: [ OK ] 2.23 sec. 2025-03-31 08:28:30 00176_bson_parallel_parsing: [ SKIPPED ] 0.00 sec. 2025-03-31 08:28:30 Reason: disabled 2025-03-31 08:28:35 00096_obfuscator_save_load: [ OK ] 5.15 sec. 2025-03-31 08:28:35 00175_obfuscator_schema_inference: [ OK ] 7.30 sec. 2025-03-31 08:28:37 00081_group_by_without_key_and_totals: [ OK ] 1.79 sec. 2025-03-31 08:28:42 00061_storage_buffer: [ OK ] 5.26 sec. 2025-03-31 08:28:44 00004_top_counters: [ OK ] 1.64 sec. 2025-03-31 08:28:46 00047_bar: [ OK ] 1.98 sec. 2025-03-31 08:28:49 00154_avro: [ OK ] 3.59 sec. 2025-03-31 08:28:51 00144_functions_of_aggregation_states: [ OK ] 1.54 sec. 2025-03-31 08:29:00 00053_replicate_segfault: [ OK ] 9.15 sec. 2025-03-31 08:29:14 00082_quantiles: [ OK ] 13.61 sec. 2025-03-31 08:29:34 00077_log_tinylog_stripelog: [ OK ] 20.03 sec. 2025-03-31 08:29:53 00024_random_counters: [ OK ] 78.08 sec. 2025-03-31 08:30:02 00173_group_by_use_nulls: [ OK ] 9.00 sec. 2025-03-31 08:30:07 00040_aggregating_materialized_view: [ OK ] 5.05 sec. 2025-03-31 08:30:08 00052_group_by_in: [ OK ] 0.99 sec. 2025-03-31 08:30:23 00063_loyalty_joins: [ OK ] 14.07 sec. 2025-03-31 08:30:24 00039_primary_key: [ OK ] 1.04 sec. 2025-03-31 08:30:35 00094_order_by_array_join_limit: [ OK ] 11.16 sec. 2025-03-31 08:30:37 00014_filtering_arrays: [ OK ] 1.68 sec. 2025-03-31 08:30:40 00175_counting_resources_in_subqueries: [ OK ] 3.19 sec. 2025-03-31 08:30:41 00007_uniq: [ OK ] 0.88 sec. 2025-03-31 08:30:41 00159_parallel_formatting_csv_and_friends: [ OK ] 66.95 sec. 2025-03-31 08:30:42 00015_totals_and_no_aggregate_functions: [ OK ] 1.33 sec. 2025-03-31 08:30:45 00074_full_join: [ OK ] 3.99 sec. 2025-03-31 08:30:46 00006_agregates: [ OK ] 1.23 sec. 2025-03-31 08:30:49 00036_aggregate_hashed: [ OK ] 7.21 sec. 2025-03-31 08:30:53 00042_any_left_join: [ OK ] 3.31 sec. 2025-03-31 08:30:56 00016_any_if_distributed_cond_always_false: [ OK ] 3.24 sec. 2025-03-31 08:31:13 00146_aggregate_function_uniq: [ OK ] 16.72 sec. 2025-03-31 08:31:39 00051_min_max_array: [ OK ] 26.47 sec. 2025-03-31 08:31:42 00020_distinct_order_by_distributed: [ OK ] 2.14 sec. 2025-03-31 08:31:48 00182_simple_squashing_transform_bug: [ OK ] 6.52 sec. 2025-03-31 08:32:46 00159_parallel_formatting_json_and_friends_1: [ OK ] 119.93 sec. 2025-03-31 08:32:48 00060_move_to_prewhere_and_sets: [ OK ] 1.79 sec. 2025-03-31 08:32:52 00067_union_all: [ OK ] 4.04 sec. 2025-03-31 08:32:54 00035_aggregate_keys128: [ OK ] 2.06 sec. 2025-03-31 08:32:56 00054_merge_tree_partitions: [ OK ] 2.14 sec. 2025-03-31 08:33:03 00049_max_string_if: [ OK ] 6.75 sec. 2025-03-31 08:33:05 00032_aggregate_key64: [ OK ] 1.64 sec. 2025-03-31 08:33:06 00066_sorting_distributed_many_replicas: [ OK ] 0.68 sec. 2025-03-31 08:33:07 00055_index_and_not: [ OK ] 1.08 sec. 2025-03-31 08:33:08 00021_1_select_with_in: [ OK ] 0.94 sec. 2025-03-31 08:33:10 00075_left_array_join: [ OK ] 2.09 sec. 2025-03-31 08:33:40 00159_parallel_formatting_json_and_friends_2: [ OK ] 111.61 sec. 2025-03-31 08:33:45 00009_uniq_distributed: [ OK ] 5.45 sec. 2025-03-31 08:33:52 00030_array_enumerate_uniq: [ OK ] 6.60 sec. 2025-03-31 08:34:01 00171_grouping_aggregated_transform_bug: [ OK ] 9.01 sec. 2025-03-31 08:34:03 00143_transform_non_const_default: [ OK ] 1.79 sec. 2025-03-31 08:34:04 00005_filtering: [ OK ] 1.04 sec. 2025-03-31 08:34:07 00088_global_in_one_shard_and_rows_before_limit: [ OK ] 2.84 sec. 2025-03-31 08:34:07 00084_external_aggregation: [ OK ] 57.22 sec. 2025-03-31 08:34:08 00069_duplicate_aggregation_keys: [ OK ] 0.99 sec. 2025-03-31 08:34:10 00150_quantiles_timing_precision: [ OK ] 2.54 sec. 2025-03-31 08:34:12 00050_min_max: [ OK ] 1.84 sec. 2025-03-31 08:34:39 00095_hyperscan_profiler: [ OK ] 32.22 sec. 2025-03-31 08:34:56 00091_prewhere_two_conditions: [ OK ] 16.42 sec. 2025-03-31 08:34:57 00087_where_0: [ OK ] 1.09 sec. 2025-03-31 08:34:58 00142_system_columns: [ OK ] 0.99 sec. 2025-03-31 08:35:02 00172_hits_joins: [ OK ] 49.40 sec. 2025-03-31 08:35:02 00033_aggregate_key_string: [ OK ] 3.84 sec. 2025-03-31 08:35:03 00008_uniq: [ OK ] 1.59 sec. 2025-03-31 08:35:09 00145_aggregate_functions_statistics: [ OK ] 5.30 sec. 2025-03-31 08:35:10 00021_3_select_with_in: [ OK ] 0.98 sec. 2025-03-31 08:35:11 00085_monotonic_evaluation_segfault: [ OK ] 1.03 sec. 2025-03-31 08:35:11 00086_array_reduce: [ OK ] 9.51 sec. 2025-03-31 08:35:12 00141_transform: [ OK ] 1.03 sec. 2025-03-31 08:35:14 00166_explain_estimate: [ OK ] 1.18 sec. 2025-03-31 08:35:17 00174_distinct_in_order: [ OK ] 6.60 sec. 2025-03-31 08:35:23 00041_aggregating_materialized_view: [ OK ] 5.30 sec. 2025-03-31 08:35:24 00177_memory_bound_merging: [ OK ] 10.06 sec. 2025-03-31 08:35:25 00059_merge_sorting_empty_array_joined: [ OK ] 1.48 sec. 2025-03-31 08:35:34 00149_quantiles_timing_distributed: [ OK ] 11.16 sec. 2025-03-31 08:35:45 00072_compare_date_and_string_index: [ OK ] 10.91 sec. 2025-03-31 08:35:47 00080_array_join_and_union: [ OK ] 2.35 sec. 2025-03-31 08:35:48 00017_aggregation_uninitialized_memory: [ OK ] 0.94 sec. 2025-03-31 08:35:49 00012_sorting_distributed: [ OK ] 1.19 sec. 2025-03-31 08:35:52 00163_column_oriented_formats: [ OK ] 26.16 sec. 2025-03-31 08:35:53 00002_count_visits: [ OK ] 1.03 sec. 2025-03-31 08:36:11 00161_parallel_parsing_with_names: [ OK ] 18.59 sec. 2025-03-31 08:36:14 00083_array_filter: [ OK ] 2.14 sec. 2025-03-31 08:36:18 00043_any_left_join: [ OK ] 4.09 sec. 2025-03-31 08:36:22 00046_uniq_upto_distributed: [ OK ] 4.65 sec. 2025-03-31 08:36:27 00065_loyalty_with_storage_join: [ OK ] 4.95 sec. 2025-03-31 08:36:27 2025-03-31 08:36:27 62 tests passed. 1 tests skipped. 758.56 s elapsed (Process-3). 2025-03-31 08:36:35 00159_parallel_formatting_tsv_and_friends: [ OK ] 45.44 sec. 2025-03-31 08:36:35 2025-03-31 08:36:35 70 tests passed. 0 tests skipped. 766.12 s elapsed (Process-4). 2025-03-31 08:36:35 Running 6 stateful tests (MainProcess). 2025-03-31 08:37:21 00180_no_seek_avoiding_when_reading_from_cache: [ OK ] 46.11 sec. 2025-03-31 08:38:33 00170_s3_cache: [ OK ] 72.06 sec. 2025-03-31 08:38:50 00158_cache_dictionary_has: [ OK ] 16.78 sec. 2025-03-31 08:44:21 00157_cache_dictionary: [ FAIL ] 330.94 sec. 2025-03-31 08:44:21 Reason: return code: 160 2025-03-31 08:44:21 [0c16974bf983] 2025.03.31 05:44:21.258596 [ 4106 ] {87d74197-c7a0-46ee-897a-8d088970ed8f} executeQuery: Code: 160. DB::Exception: Estimated query execution time (821.19792 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (401408 read in 329.63541 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) (version 24.12.2.20217.altinityantalya (altinity build)) (from [::1]:35194) (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-03-31 08:44:21 2025-03-31 08:44:21 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000456f0649 2025-03-31 08:44:21 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000206d6853 2025-03-31 08:44:21 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000088d11d5 2025-03-31 08:44:21 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&) @ 0x0000000034b1e3a7 2025-03-31 08:44:21 4. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:87: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long, DB::OverflowMode) const @ 0x0000000034b1d88d 2025-03-31 08:44:21 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:131: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000034b1bcf5 2025-03-31 08:44:21 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000003f76d2a3 2025-03-31 08:44:21 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003f7382b4 2025-03-31 08:44:21 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003f736063 2025-03-31 08:44:21 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003f735a95 2025-03-31 08:44:21 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*) @ 0x000000003f733585 2025-03-31 08:44:21 11. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000002097a2ca 2025-03-31 08:44:21 12. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000002098ca64 2025-03-31 08:44:21 13. ? @ 0x00007f3c736b4ac3 2025-03-31 08:44:21 14. ? @ 0x00007f3c73746850 2025-03-31 08:44:21 2025-03-31 08:44:21 Received exception from server (version 24.12.2): 2025-03-31 08:44:21 Code: 160. DB::Exception: Received from localhost:9000. DB::Exception: Estimated query execution time (821.19792 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (401408 read in 329.63541 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) 2025-03-31 08:44:21 (query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000 2025-03-31 08:44:21 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-03-31 08:44:21 , result: 2025-03-31 08:44:21 2025-03-31 08:44:21 2025-03-31 08:44:21 2025-03-31 08:44:21 stdout: 2025-03-31 08:44:21 2025-03-31 08:44:21 2025-03-31 08:44:21 Settings used in the test: --max_insert_threads 1 --group_by_two_level_threshold 451596 --group_by_two_level_threshold_bytes 18780061 --distributed_aggregation_memory_efficient 1 --fsync_metadata 0 --output_format_parallel_formatting 0 --input_format_parallel_parsing 0 --min_chunk_bytes_for_parallel_parsing 18719015 --max_read_buffer_size 771217 --prefer_localhost_replica 0 --max_block_size 41396 --max_joined_block_size_rows 81643 --max_threads 1 --optimize_append_index 1 --optimize_if_chain_to_multiif 0 --optimize_if_transform_strings_to_enum 1 --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 59 --optimize_aggregation_in_order 1 --aggregation_in_order_max_block_bytes 26163518 --use_uncompressed_cache 1 --min_bytes_to_use_direct_io 1397971014 --min_bytes_to_use_mmap_io 10737418240 --local_filesystem_read_method pread_threadpool --remote_filesystem_read_method read --local_filesystem_read_prefetch 1 --filesystem_cache_segments_batch_size 10 --read_from_filesystem_cache_if_exists_otherwise_bypass_cache 1 --throw_on_error_from_cache_on_write_operations 1 --remote_filesystem_read_prefetch 1 --allow_prefetched_read_pool_for_remote_filesystem 1 --filesystem_prefetch_max_memory_usage 32Mi --filesystem_prefetches_limit 0 --filesystem_prefetch_min_bytes_for_single_read_task 1Mi --filesystem_prefetch_step_marks 50 --filesystem_prefetch_step_bytes 100Mi --compile_aggregate_expressions 0 --compile_sort_description 1 --merge_tree_coarse_index_granularity 25 --optimize_distinct_in_order 1 --max_bytes_before_external_sort 10737418240 --max_bytes_before_external_group_by 10737418240 --max_bytes_before_remerge_sort 2177438267 --min_compress_block_size 1558269 --max_compress_block_size 2571097 --merge_tree_compact_parts_min_granules_to_multibuffer_read 98 --optimize_sorting_by_input_stream_properties 1 --http_response_buffer_size 8661840 --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 3 --min_count_to_compile_sort_description 3 --session_timezone America/Hermosillo --use_page_cache_for_disks_without_file_cache True --page_cache_inject_eviction True --merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability 0.11 --prefer_external_sort_block_bytes 0 --cross_join_min_rows_to_compress 100000000 --cross_join_min_bytes_to_compress 1 --min_external_table_block_size_bytes 0 --max_parsing_threads 10 --optimize_functions_to_subcolumns 1 --parallel_replicas_local_plan 0 --query_plan_join_swap_table true --output_format_native_write_json_as_string 1 --enable_vertical_final 1 2025-03-31 08:44:21 2025-03-31 08:44:21 MergeTree settings used in test: --ratio_of_defaults_for_sparse_serialization 1.0 --prefer_fetch_merged_part_size_threshold 1 --vertical_merge_algorithm_min_rows_to_activate 1000000 --vertical_merge_algorithm_min_columns_to_activate 55 --allow_vertical_merges_from_compact_to_wide_parts 0 --min_merge_bytes_to_use_direct_io 10737418240 --index_granularity_bytes 18369742 --merge_max_block_size 8142 --index_granularity 26255 --min_bytes_for_wide_part 250094668 --marks_compress_block_size 60018 --primary_key_compress_block_size 99913 --replace_long_file_name_to_hash 1 --max_file_name_length 128 --min_bytes_for_full_part_storage 536870912 --compact_parts_max_bytes_to_buffer 28477861 --compact_parts_max_granules_to_buffer 1 --compact_parts_merge_max_bytes_to_prefetch_part 593010 --cache_populated_by_fetch 0 --concurrent_part_removal_threshold 98 --old_parts_lifetime 480 --prewarm_mark_cache 0 --use_const_adaptive_granularity 0 --enable_index_granularity_compression 0 --use_primary_key_cache 0 --prewarm_primary_key_cache 1 2025-03-31 08:44:21 2025-03-31 08:44:21 Database: test_ss5g9xse 2025-03-31 08:44:26 00152_insert_different_granularity: [ OK ] 4.70 sec. 2025-03-31 08:44:28 00140_rename: [ OK ] 2.40 sec. 2025-03-31 08:44:28 2025-03-31 08:44:28 Having 1 errors! 5 tests passed. 0 tests skipped. 473.28 s elapsed (MainProcess). 2025-03-31 08:44:28 Checking the hung queries: done 2025-03-31 08:44:28 2025-03-31 08:44:28 No queries hung. 2025-03-31 08:44:28 All tests have finished.