2025-04-07 00:49:02 Using queries from '/repo/tests/queries' directory 2025-04-07 00:49:02 Connecting to ClickHouse server... OK 2025-04-07 00:49:02 Connected to server 24.12.2.20234.altinityantalya @ 6ae29063b6dfe3b9a0356354f08920c525cea949 HEAD 2025-04-07 00:49:03 Won't run stateless tests because they were manually disabled. 2025-04-07 00:49:03 Found 133 parallel tests and 6 sequential tests 2025-04-07 00:49:06 Running about 66 stateful tests (Process-3). 2025-04-07 00:49:06 00033_aggregate_key_string: [ OK ] 2.84 sec. 2025-04-07 00:49:08 00031_array_enumerate_uniq: [ OK ] 1.93 sec. 2025-04-07 00:49:10 00010_quantiles_segfault: [ OK ] 1.93 sec. 2025-04-07 00:49:11 00005_filtering: [ OK ] 1.08 sec. 2025-04-07 00:49:13 Running about 66 stateful tests (Process-4). 2025-04-07 00:49:13 00177_memory_bound_merging: [ OK ] 10.41 sec. 2025-04-07 00:49:15 00154_avro: [ OK ] 4.15 sec. 2025-04-07 00:49:15 00067_union_all: [ OK ] 2.23 sec. 2025-04-07 00:49:16 00068_subquery_in_prewhere: [ OK ] 1.53 sec. 2025-04-07 00:49:18 00021_3_select_with_in: [ OK ] 1.03 sec. 2025-04-07 00:49:21 00052_group_by_in: [ OK ] 3.54 sec. 2025-04-07 00:49:50 00091_prewhere_two_conditions: [ OK ] 28.43 sec. 2025-04-07 00:49:51 00021_1_select_with_in: [ OK ] 1.05 sec. 2025-04-07 00:50:13 00063_loyalty_joins: [ OK ] 22.23 sec. 2025-04-07 00:50:17 00075_left_array_join: [ OK ] 3.64 sec. 2025-04-07 00:50:18 00076_system_columns_bytes: [ OK ] 1.00 sec. 2025-04-07 00:50:25 00041_aggregating_materialized_view: [ OK ] 7.65 sec. 2025-04-07 00:50:26 00007_uniq: [ OK ] 1.04 sec. 2025-04-07 00:50:28 00159_parallel_formatting_csv_and_friends: [ OK ] 72.22 sec. 2025-04-07 00:50:28 00032_aggregate_key64: [ OK ] 1.74 sec. 2025-04-07 00:50:29 00048_min_max: [ OK ] 0.93 sec. 2025-04-07 00:50:30 00055_index_and_not: [ OK ] 1.08 sec. 2025-04-07 00:50:33 00145_aggregate_functions_statistics: [ OK ] 4.94 sec. 2025-04-07 00:50:34 00098_primary_key_memory_allocated: [ OK ] 0.98 sec. 2025-04-07 00:50:36 00088_global_in_one_shard_and_rows_before_limit: [ OK ] 1.88 sec. 2025-04-07 00:50:40 00080_array_join_and_union: [ OK ] 4.19 sec. 2025-04-07 00:50:42 00012_sorting_distributed: [ OK ] 1.18 sec. 2025-04-07 00:51:11 00167_parallel_parsing_with_names_and_types: [ OK ] 40.73 sec. 2025-04-07 00:51:12 00151_order_by_read_in_order: [ OK ] 1.48 sec. 2025-04-07 00:51:14 00016_any_if_distributed_cond_always_false: [ OK ] 2.24 sec. 2025-04-07 00:51:43 00089_position_functions_with_non_constant_arg: [ OK ] 28.20 sec. 2025-04-07 00:51:46 00184_parallel_hash_returns_same_res_as_hash: [ OK ] 64.04 sec. 2025-04-07 00:51:49 00175_counting_resources_in_subqueries: [ OK ] 3.14 sec. 2025-04-07 00:51:55 00090_thread_pool_deadlock: [ OK ] 12.51 sec. 2025-04-07 00:51:56 00181_cross_join_compression: [ OK ] 7.35 sec. 2025-04-07 00:51:57 00043_any_left_join: [ OK ] 2.18 sec. 2025-04-07 00:51:58 00050_min_max: [ OK ] 1.84 sec. 2025-04-07 00:52:02 00074_full_join: [ OK ] 4.75 sec. 2025-04-07 00:52:03 00172_early_constant_folding: [ OK ] 0.93 sec. 2025-04-07 00:52:09 00160_decode_xml_component: [ OK ] 10.56 sec. 2025-04-07 00:52:10 00020_distinct_order_by_distributed: [ OK ] 7.15 sec. 2025-04-07 00:52:11 00060_move_to_prewhere_and_sets: [ OK ] 1.79 sec. 2025-04-07 00:52:17 00182_simple_squashing_transform_bug: [ OK ] 6.40 sec. 2025-04-07 00:52:17 00171_grouping_aggregated_transform_bug: [ OK ] 7.05 sec. 2025-04-07 00:52:18 00015_totals_and_no_aggregate_functions: [ OK ] 1.03 sec. 2025-04-07 00:52:21 00150_quantiles_timing_precision: [ OK ] 2.69 sec. 2025-04-07 00:52:22 00142_system_columns: [ OK ] 0.93 sec. 2025-04-07 00:52:24 00008_uniq: [ OK ] 1.93 sec. 2025-04-07 00:52:37 00165_jit_aggregate_functions: [ OK ] 19.83 sec. 2025-04-07 00:52:39 00047_bar: [ OK ] 2.09 sec. 2025-04-07 00:52:40 00085_monotonic_evaluation_segfault: [ OK ] 1.03 sec. 2025-04-07 00:52:43 00095_hyperscan_profiler: [ OK ] 18.48 sec. 2025-04-07 00:52:47 00175_obfuscator_schema_inference: [ OK ] 7.35 sec. 2025-04-07 00:52:53 00082_quantiles: [ OK ] 10.06 sec. 2025-04-07 00:52:57 00045_uniq_upto: [ OK ] 3.84 sec. 2025-04-07 00:53:11 00163_column_oriented_formats: [ OK ] 23.89 sec. 2025-04-07 00:53:19 00148_monotonic_functions_and_index: [ OK ] 7.35 sec. 2025-04-07 00:53:19 00066_sorting_distributed_many_replicas: [ OK ] 0.68 sec. 2025-04-07 00:53:26 00049_max_string_if: [ OK ] 6.19 sec. 2025-04-07 00:53:34 00153_aggregate_arena_race: [ OK ] 8.35 sec. 2025-04-07 00:54:12 00024_random_counters: [ OK ] 75.37 sec. 2025-04-07 00:54:17 00096_obfuscator_save_load: [ OK ] 5.14 sec. 2025-04-07 00:54:31 00178_quantile_ddsketch: [ OK ] 13.61 sec. 2025-04-07 00:54:32 00183_prewhere_conditions_order: [ OK ] 0.98 sec. 2025-04-07 00:55:06 00159_parallel_formatting_http: [ OK ] 34.52 sec. 2025-04-07 00:55:13 00174_distinct_in_order: [ OK ] 6.65 sec. 2025-04-07 00:55:15 00062_loyalty: [ OK ] 1.38 sec. 2025-04-07 00:55:33 00161_parallel_parsing_with_names: [ OK ] 18.78 sec. 2025-04-07 00:55:40 00036_aggregate_hashed: [ OK ] 6.95 sec. 2025-04-07 00:55:48 00044_any_left_join_string: [ OK ] 8.01 sec. 2025-04-07 00:55:50 00023_totals_limit: [ OK ] 1.13 sec. 2025-04-07 00:55:55 00037_uniq_state_merge1: [ OK ] 5.60 sec. 2025-04-07 00:55:58 00046_uniq_upto_distributed: [ OK ] 3.14 sec. 2025-04-07 00:55:59 00006_agregates: [ OK ] 1.05 sec. 2025-04-07 00:56:05 00159_parallel_formatting_json_and_friends_2: [ OK ] 150.62 sec. 2025-04-07 00:56:05 00147_global_in_aggregate_function: [ OK ] 5.70 sec. 2025-04-07 00:56:06 00141_transform: [ OK ] 1.44 sec. 2025-04-07 00:56:07 00035_aggregate_keys128: [ OK ] 2.04 sec. 2025-04-07 00:56:08 00081_group_by_without_key_and_totals: [ OK ] 1.79 sec. 2025-04-07 00:56:09 00014_filtering_arrays: [ OK ] 1.84 sec. 2025-04-07 00:56:10 00004_top_counters: [ OK ] 1.44 sec. 2025-04-07 00:56:11 00143_transform_non_const_default: [ OK ] 1.69 sec. 2025-04-07 00:56:11 00042_any_left_join: [ OK ] 1.79 sec. 2025-04-07 00:56:24 00072_compare_date_and_string_index: [ OK ] 12.27 sec. 2025-04-07 00:56:25 00001_count_hits: [ OK ] 0.83 sec. 2025-04-07 00:56:33 00079_array_join_not_used_joined_column: [ OK ] 8.21 sec. 2025-04-07 00:56:40 00053_replicate_segfault: [ OK ] 7.50 sec. 2025-04-07 00:56:42 00013_sorting_of_nested: [ OK ] 1.34 sec. 2025-04-07 00:56:43 00011_sorting: [ OK ] 1.18 sec. 2025-04-07 00:56:49 00092_obfuscator: [ OK ] 6.20 sec. 2025-04-07 00:56:50 00073_uniq_array: [ OK ] 1.04 sec. 2025-04-07 00:57:07 00139_like: [ OK ] 16.43 sec. 2025-04-07 00:57:09 00172_hits_joins: [ OK ] 58.48 sec. 2025-04-07 00:57:13 00009_uniq_distributed: [ OK ] 6.15 sec. 2025-04-07 00:57:18 00149_quantiles_timing_distributed: [ OK ] 8.15 sec. 2025-04-07 00:57:19 00021_2_select_with_in: [ OK ] 0.98 sec. 2025-04-07 00:57:20 00061_storage_buffer: [ OK ] 7.35 sec. 2025-04-07 00:58:05 00167_read_bytes_from_fs: [ OK ] 46.36 sec. 2025-04-07 00:58:14 00162_mmap_compression_none: [ OK ] 54.07 sec. 2025-04-07 00:58:31 00146_aggregate_function_uniq: [ OK ] 16.02 sec. 2025-04-07 00:58:35 00056_view: [ OK ] 4.34 sec. 2025-04-07 00:58:51 00065_loyalty_with_storage_join: [ OK ] 16.32 sec. 2025-04-07 00:58:55 00159_parallel_formatting_tsv_and_friends: [ OK ] 49.80 sec. 2025-04-07 00:58:58 00034_aggregate_key_fixed_string: [ OK ] 2.79 sec. 2025-04-07 00:58:59 00087_where_0: [ OK ] 1.19 sec. 2025-04-07 00:59:00 00094_order_by_array_join_limit: [ OK ] 8.70 sec. 2025-04-07 00:59:04 00156_max_execution_speed_sample_merge: [ OK ] 5.50 sec. 2025-04-07 00:59:10 00173_group_by_use_nulls: [ OK ] 10.16 sec. 2025-04-07 00:59:11 00176_distinct_limit_by_limit_bug_43377: [ OK ] 1.08 sec. 2025-04-07 00:59:20 00093_prewhere_array_join: [ OK ] 15.18 sec. 2025-04-07 00:59:33 00038_uniq_state_merge2: [ OK ] 12.77 sec. 2025-04-07 00:59:34 00017_aggregation_uninitialized_memory: [ OK ] 0.93 sec. 2025-04-07 00:59:35 00039_primary_key: [ OK ] 1.04 sec. 2025-04-07 00:59:35 00071_merge_tree_optimize_aio: [ OK ] 23.85 sec. 2025-04-07 00:59:37 00144_functions_of_aggregation_states: [ OK ] 1.54 sec. 2025-04-07 00:59:58 00077_log_tinylog_stripelog: [ OK ] 23.14 sec. 2025-04-07 01:00:00 00022_merge_prewhere: [ OK ] 1.44 sec. 2025-04-07 01:00:00 00078_group_by_arrays: [ OK ] 23.54 sec. 2025-04-07 01:00:01 00002_count_visits: [ OK ] 0.93 sec. 2025-04-07 01:00:01 00166_explain_estimate: [ OK ] 1.03 sec. 2025-04-07 01:00:02 00097_constexpr_in_index: [ OK ] 0.88 sec. 2025-04-07 01:00:08 00164_quantileBfloat16: [ OK ] 5.85 sec. 2025-04-07 01:00:10 00051_min_max_array: [ OK ] 9.60 sec. 2025-04-07 01:00:13 00054_merge_tree_partitions: [ OK ] 2.34 sec. 2025-04-07 01:00:14 00069_duplicate_aggregation_keys: [ OK ] 1.04 sec. 2025-04-07 01:00:15 00086_array_reduce: [ OK ] 6.85 sec. 2025-04-07 01:00:15 00176_bson_parallel_parsing: [ SKIPPED ] 0.00 sec. 2025-04-07 01:00:15 Reason: disabled 2025-04-07 01:00:16 00059_merge_sorting_empty_array_joined: [ OK ] 0.98 sec. 2025-04-07 01:00:19 00040_aggregating_materialized_view: [ OK ] 4.74 sec. 2025-04-07 01:00:26 00030_array_enumerate_uniq: [ OK ] 10.20 sec. 2025-04-07 01:01:14 00169_contingency: [ OK ] 48.25 sec. 2025-04-07 01:02:08 00159_parallel_formatting_json_and_friends_1: [ OK ] 109.01 sec. 2025-04-07 01:02:12 00083_array_filter: [ OK ] 3.99 sec. 2025-04-07 01:02:12 2025-04-07 01:02:12 70 tests passed. 0 tests skipped. 789.09 s elapsed (Process-3). 2025-04-07 01:02:12 00084_external_aggregation: [ OK ] 57.49 sec. 2025-04-07 01:02:12 2025-04-07 01:02:12 62 tests passed. 1 tests skipped. 789.20 s elapsed (Process-4). 2025-04-07 01:02:12 Running 6 stateful tests (MainProcess). 2025-04-07 01:02:59 00180_no_seek_avoiding_when_reading_from_cache: [ OK ] 46.58 sec. 2025-04-07 01:04:08 00170_s3_cache: [ OK ] 69.57 sec. 2025-04-07 01:04:31 00158_cache_dictionary_has: [ OK ] 22.54 sec. 2025-04-07 01:10:01 00157_cache_dictionary: [ FAIL ] 330.11 sec. 2025-04-07 01:10:01 Reason: return code: 160 2025-04-07 01:10:01 [6d451b052827] 2025.04.06 12:25:01.163189 [ 1838 ] {4de7c33f-6831-41eb-b6b5-e85c518ba3e8} executeQuery: Code: 160. DB::Exception: Estimated query execution time (978.84831 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (335872 read in 328.76774 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) (version 24.12.2.20234.altinityantalya (altinity build)) (from [::1]:56928) (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-07 01:10:01 2025-04-07 01:10:01 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000456d6f09 2025-04-07 01:10:01 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000206d2853 2025-04-07 01:10:01 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000088cd1d5 2025-04-07 01:10:01 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&) @ 0x0000000034b0a1e7 2025-04-07 01:10:01 4. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:87: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long, DB::OverflowMode) const @ 0x0000000034b096cd 2025-04-07 01:10:01 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:131: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000034b07b35 2025-04-07 01:10:01 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000003f755643 2025-04-07 01:10:01 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003f720654 2025-04-07 01:10:01 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003f71e403 2025-04-07 01:10:01 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003f71de35 2025-04-07 01:10:01 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*) @ 0x000000003f71b925 2025-04-07 01:10:01 11. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000209762ca 2025-04-07 01:10:01 12. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x0000000020988a64 2025-04-07 01:10:01 13. ? @ 0x00007f923cb67ac3 2025-04-07 01:10:01 14. ? @ 0x00007f923cbf9850 2025-04-07 01:10:01 2025-04-07 01:10:01 Received exception from server (version 24.12.2): 2025-04-07 01:10:01 Code: 160. DB::Exception: Received from localhost:9000. DB::Exception: Estimated query execution time (978.84831 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (335872 read in 328.76774 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) 2025-04-07 01:10:01 (query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000 2025-04-07 01:10:01 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-07 01:10:01 , result: 2025-04-07 01:10:01 2025-04-07 01:10:01 2025-04-07 01:10:01 2025-04-07 01:10:01 stdout: 2025-04-07 01:10:01 2025-04-07 01:10:01 2025-04-07 01:10:01 Settings used in the test: --max_insert_threads 3 --group_by_two_level_threshold 479580 --group_by_two_level_threshold_bytes 2320561 --distributed_aggregation_memory_efficient 0 --fsync_metadata 1 --output_format_parallel_formatting 1 --input_format_parallel_parsing 1 --min_chunk_bytes_for_parallel_parsing 9305849 --max_read_buffer_size 1033698 --prefer_localhost_replica 0 --max_block_size 83248 --max_joined_block_size_rows 96445 --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 0 --enable_multiple_prewhere_read_steps 1 --read_in_order_two_level_merge_threshold 5 --optimize_aggregation_in_order 0 --aggregation_in_order_max_block_bytes 24518492 --use_uncompressed_cache 0 --min_bytes_to_use_direct_io 10737418240 --min_bytes_to_use_mmap_io 10737418240 --local_filesystem_read_method io_uring --remote_filesystem_read_method read --local_filesystem_read_prefetch 1 --filesystem_cache_segments_batch_size 100 --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 100Mi --compile_aggregate_expressions 1 --compile_sort_description 1 --merge_tree_coarse_index_granularity 18 --optimize_distinct_in_order 1 --max_bytes_before_external_sort 4797394593 --max_bytes_before_external_group_by 10737418240 --max_bytes_before_remerge_sort 1844442530 --min_compress_block_size 1040485 --max_compress_block_size 2113557 --merge_tree_compact_parts_min_granules_to_multibuffer_read 122 --optimize_sorting_by_input_stream_properties 0 --http_response_buffer_size 9579555 --http_wait_end_of_query False --enable_memory_bound_merging_of_aggregation_results 0 --min_count_to_compile_expression 3 --min_count_to_compile_aggregate_expression 3 --min_count_to_compile_sort_description 0 --session_timezone Mexico/BajaSur --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.03 --prefer_external_sort_block_bytes 0 --cross_join_min_rows_to_compress 0 --cross_join_min_bytes_to_compress 1 --min_external_table_block_size_bytes 1 --max_parsing_threads 0 --optimize_functions_to_subcolumns 1 --parallel_replicas_local_plan 1 --query_plan_join_swap_table auto --output_format_native_write_json_as_string 0 --enable_vertical_final 0 2025-04-07 01:10:01 2025-04-07 01:10:01 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 921943 --vertical_merge_algorithm_min_columns_to_activate 51 --allow_vertical_merges_from_compact_to_wide_parts 1 --min_merge_bytes_to_use_direct_io 2358437160 --index_granularity_bytes 13464375 --merge_max_block_size 1687 --index_granularity 30014 --min_bytes_for_wide_part 135261951 --marks_compress_block_size 38361 --primary_key_compress_block_size 58041 --replace_long_file_name_to_hash 0 --max_file_name_length 128 --min_bytes_for_full_part_storage 501493997 --compact_parts_max_bytes_to_buffer 60939621 --compact_parts_max_granules_to_buffer 73 --compact_parts_merge_max_bytes_to_prefetch_part 6254040 --cache_populated_by_fetch 1 --concurrent_part_removal_threshold 100 --old_parts_lifetime 480 --prewarm_mark_cache 0 --use_const_adaptive_granularity 0 --enable_index_granularity_compression 0 --use_primary_key_cache 1 --prewarm_primary_key_cache 0 2025-04-07 01:10:01 2025-04-07 01:10:01 Database: test_r6kcp3co 2025-04-07 01:11:35 00152_insert_different_granularity: [ OK ] 93.80 sec. 2025-04-07 01:11:37 00140_rename: [ OK ] 2.10 sec. 2025-04-07 01:11:37 2025-04-07 01:11:37 Having 1 errors! 5 tests passed. 0 tests skipped. 565.03 s elapsed (MainProcess). 2025-04-07 01:11:37 Checking the hung queries: done 2025-04-07 01:11:37 2025-04-07 01:11:37 No queries hung. 2025-04-07 01:11:37 All tests have finished.