2025-04-04 10:09:05 Using queries from '/repo/tests/queries' directory 2025-04-04 10:09:05 Connecting to ClickHouse server... OK 2025-04-04 10:09:05 Connected to server 24.12.2.20230.altinityantalya @ 68c99b882d1c07298d583abb39b89af0c988aa3a HEAD 2025-04-04 10:09:05 Won't run stateless tests because they were manually disabled. 2025-04-04 10:09:05 Found 133 parallel tests and 6 sequential tests 2025-04-04 10:09:10 Running about 66 stateful tests (Process-4). 2025-04-04 10:09:10 00013_sorting_of_nested: [ OK ] 4.49 sec. 2025-04-04 10:09:11 00021_1_select_with_in: [ OK ] 1.13 sec. 2025-04-04 10:09:15 00043_any_left_join: [ OK ] 3.59 sec. 2025-04-04 10:09:16 Running about 66 stateful tests (Process-3). 2025-04-04 10:09:16 00177_memory_bound_merging: [ OK ] 10.21 sec. 2025-04-04 10:09:18 00032_aggregate_key64: [ OK ] 1.89 sec. 2025-04-04 10:09:37 00146_aggregate_function_uniq: [ OK ] 21.88 sec. 2025-04-04 10:09:46 00071_merge_tree_optimize_aio: [ OK ] 28.81 sec. 2025-04-04 10:09:56 00147_global_in_aggregate_function: [ OK ] 9.35 sec. 2025-04-04 10:10:13 00181_cross_join_compression: [ OK ] 16.62 sec. 2025-04-04 10:10:23 00030_array_enumerate_uniq: [ OK ] 10.66 sec. 2025-04-04 10:10:25 00062_loyalty: [ OK ] 1.23 sec. 2025-04-04 10:10:27 00050_min_max: [ OK ] 2.49 sec. 2025-04-04 10:10:40 00095_hyperscan_profiler: [ OK ] 12.81 sec. 2025-04-04 10:10:43 00159_parallel_formatting_http: [ OK ] 66.30 sec. 2025-04-04 10:10:45 00014_filtering_arrays: [ OK ] 2.13 sec. 2025-04-04 10:10:53 00149_quantiles_timing_distributed: [ OK ] 7.85 sec. 2025-04-04 10:10:53 00044_any_left_join_string: [ OK ] 13.56 sec. 2025-04-04 10:10:56 00151_order_by_read_in_order: [ OK ] 2.54 sec. 2025-04-04 10:10:57 00172_early_constant_folding: [ OK ] 0.93 sec. 2025-04-04 10:11:01 00049_max_string_if: [ OK ] 3.84 sec. 2025-04-04 10:11:05 00154_avro: [ OK ] 3.69 sec. 2025-04-04 10:11:05 00079_array_join_not_used_joined_column: [ OK ] 11.81 sec. 2025-04-04 10:11:06 00021_3_select_with_in: [ OK ] 1.03 sec. 2025-04-04 10:11:40 00084_external_aggregation: [ OK ] 34.42 sec. 2025-04-04 10:12:11 00184_parallel_hash_returns_same_res_as_hash: [ OK ] 30.31 sec. 2025-04-04 10:12:12 00011_sorting: [ OK ] 1.78 sec. 2025-04-04 10:12:13 00142_system_columns: [ OK ] 0.93 sec. 2025-04-04 10:12:19 00173_group_by_use_nulls: [ OK ] 6.09 sec. 2025-04-04 10:12:20 00076_system_columns_bytes: [ OK ] 0.94 sec. 2025-04-04 10:12:21 00001_count_hits: [ OK ] 0.88 sec. 2025-04-04 10:12:28 00160_decode_xml_component: [ OK ] 6.35 sec. 2025-04-04 10:12:29 00141_transform: [ OK ] 1.03 sec. 2025-04-04 10:12:42 00139_like: [ OK ] 13.52 sec. 2025-04-04 10:12:46 00083_array_filter: [ OK ] 3.64 sec. 2025-04-04 10:12:47 00017_aggregation_uninitialized_memory: [ OK ] 0.88 sec. 2025-04-04 10:12:48 00002_count_visits: [ OK ] 0.89 sec. 2025-04-04 10:12:54 00040_aggregating_materialized_view: [ OK ] 6.60 sec. 2025-04-04 10:12:56 00022_merge_prewhere: [ OK ] 1.39 sec. 2025-04-04 10:12:57 00035_aggregate_keys128: [ OK ] 1.34 sec. 2025-04-04 10:12:58 00005_filtering: [ OK ] 0.93 sec. 2025-04-04 10:12:59 00007_uniq: [ OK ] 0.93 sec. 2025-04-04 10:13:07 00153_aggregate_arena_race: [ OK ] 8.15 sec. 2025-04-04 10:13:10 00023_totals_limit: [ OK ] 3.00 sec. 2025-04-04 10:13:11 00048_min_max: [ OK ] 0.93 sec. 2025-04-04 10:13:17 00038_uniq_state_merge2: [ OK ] 5.34 sec. 2025-04-04 10:13:22 00041_aggregating_materialized_view: [ OK ] 5.55 sec. 2025-04-04 10:13:25 00033_aggregate_key_string: [ OK ] 2.59 sec. 2025-04-04 10:13:38 00078_group_by_arrays: [ OK ] 12.77 sec. 2025-04-04 10:13:40 00009_uniq_distributed: [ OK ] 1.73 sec. 2025-04-04 10:14:20 00159_parallel_formatting_tsv_and_friends: [ OK ] 40.43 sec. 2025-04-04 10:14:25 00056_view: [ OK ] 4.54 sec. 2025-04-04 10:14:26 00004_top_counters: [ OK ] 1.29 sec. 2025-04-04 10:14:27 00085_monotonic_evaluation_segfault: [ OK ] 0.93 sec. 2025-04-04 10:14:29 00045_uniq_upto: [ OK ] 2.14 sec. 2025-04-04 10:15:12 00167_read_bytes_from_fs: [ OK ] 42.78 sec. 2025-04-04 10:15:33 00077_log_tinylog_stripelog: [ OK ] 21.44 sec. 2025-04-04 10:15:35 00176_distinct_limit_by_limit_bug_43377: [ OK ] 1.14 sec. 2025-04-04 10:15:46 00162_mmap_compression_none: [ OK ] 11.36 sec. 2025-04-04 10:15:48 00144_functions_of_aggregation_states: [ OK ] 2.45 sec. 2025-04-04 10:15:48 00176_bson_parallel_parsing: [ SKIPPED ] 0.00 sec. 2025-04-04 10:15:48 Reason: disabled 2025-04-04 10:15:50 00081_group_by_without_key_and_totals: [ OK ] 1.59 sec. 2025-04-04 10:16:08 00091_prewhere_two_conditions: [ OK ] 18.28 sec. 2025-04-04 10:16:14 00046_uniq_upto_distributed: [ OK ] 5.49 sec. 2025-04-04 10:16:15 00073_uniq_array: [ OK ] 0.88 sec. 2025-04-04 10:16:24 00053_replicate_segfault: [ OK ] 9.26 sec. 2025-04-04 10:16:26 00060_move_to_prewhere_and_sets: [ OK ] 1.68 sec. 2025-04-04 10:16:58 00024_random_counters: [ OK ] 352.97 sec. 2025-04-04 10:17:03 00061_storage_buffer: [ OK ] 4.44 sec. 2025-04-04 10:17:06 00020_distinct_order_by_distributed: [ OK ] 3.94 sec. 2025-04-04 10:17:14 00074_full_join: [ OK ] 7.51 sec. 2025-04-04 10:17:20 00148_monotonic_functions_and_index: [ OK ] 5.70 sec. 2025-04-04 10:17:21 00166_explain_estimate: [ OK ] 1.08 sec. 2025-04-04 10:17:22 00039_primary_key: [ OK ] 0.99 sec. 2025-04-04 10:17:24 00034_aggregate_key_fixed_string: [ OK ] 2.44 sec. 2025-04-04 10:18:06 00169_contingency: [ OK ] 41.44 sec. 2025-04-04 10:18:08 00143_transform_non_const_default: [ OK ] 1.99 sec. 2025-04-04 10:18:25 00086_array_reduce: [ OK ] 17.08 sec. 2025-04-04 10:18:27 00012_sorting_distributed: [ OK ] 1.79 sec. 2025-04-04 10:18:42 00178_quantile_ddsketch: [ OK ] 15.57 sec. 2025-04-04 10:19:03 00159_parallel_formatting_json_and_friends_1: [ OK ] 157.58 sec. 2025-04-04 10:19:09 00065_loyalty_with_storage_join: [ OK ] 5.96 sec. 2025-04-04 10:19:11 00031_array_enumerate_uniq: [ OK ] 1.08 sec. 2025-04-04 10:19:15 00182_simple_squashing_transform_bug: [ OK ] 4.49 sec. 2025-04-04 10:19:19 00016_any_if_distributed_cond_always_false: [ OK ] 4.09 sec. 2025-04-04 10:19:26 00175_obfuscator_schema_inference: [ OK ] 6.80 sec. 2025-04-04 10:19:34 00164_quantileBfloat16: [ OK ] 7.65 sec. 2025-04-04 10:19:41 00156_max_execution_speed_sample_merge: [ OK ] 7.10 sec. 2025-04-04 10:19:47 00159_parallel_formatting_csv_and_friends: [ OK ] 64.89 sec. 2025-04-04 10:19:51 00080_array_join_and_union: [ OK ] 3.14 sec. 2025-04-04 10:19:53 00090_thread_pool_deadlock: [ OK ] 11.71 sec. 2025-04-04 10:19:54 00015_totals_and_no_aggregate_functions: [ OK ] 0.88 sec. 2025-04-04 10:19:55 00183_prewhere_conditions_order: [ OK ] 1.04 sec. 2025-04-04 10:20:00 00174_distinct_in_order: [ OK ] 5.50 sec. 2025-04-04 10:20:05 00096_obfuscator_save_load: [ OK ] 5.10 sec. 2025-04-04 10:20:14 00093_prewhere_array_join: [ OK ] 8.46 sec. 2025-04-04 10:20:15 00021_2_select_with_in: [ OK ] 0.94 sec. 2025-04-04 10:20:16 00068_subquery_in_prewhere: [ OK ] 1.24 sec. 2025-04-04 10:20:18 00042_any_left_join: [ OK ] 1.78 sec. 2025-04-04 10:20:19 00059_merge_sorting_empty_array_joined: [ OK ] 0.93 sec. 2025-04-04 10:20:29 00167_parallel_parsing_with_names_and_types: [ OK ] 38.49 sec. 2025-04-04 10:20:38 00165_jit_aggregate_functions: [ OK ] 19.08 sec. 2025-04-04 10:20:49 00094_order_by_array_join_limit: [ OK ] 10.71 sec. 2025-04-04 10:20:50 00055_index_and_not: [ OK ] 1.03 sec. 2025-04-04 10:20:54 00163_column_oriented_formats: [ OK ] 25.10 sec. 2025-04-04 10:21:04 00082_quantiles: [ OK ] 14.17 sec. 2025-04-04 10:21:05 00072_compare_date_and_string_index: [ OK ] 10.86 sec. 2025-04-04 10:21:07 00150_quantiles_timing_precision: [ OK ] 2.79 sec. 2025-04-04 10:21:07 00052_group_by_in: [ OK ] 1.89 sec. 2025-04-04 10:21:09 00010_quantiles_segfault: [ OK ] 2.04 sec. 2025-04-04 10:21:09 00054_merge_tree_partitions: [ OK ] 2.19 sec. 2025-04-04 10:21:15 00067_union_all: [ OK ] 5.80 sec. 2025-04-04 10:21:17 00069_duplicate_aggregation_keys: [ OK ] 1.84 sec. 2025-04-04 10:21:20 00171_grouping_aggregated_transform_bug: [ OK ] 10.86 sec. 2025-04-04 10:21:22 00006_agregates: [ OK ] 1.39 sec. 2025-04-04 10:21:22 00088_global_in_one_shard_and_rows_before_limit: [ OK ] 4.88 sec. 2025-04-04 10:21:38 00063_loyalty_joins: [ OK ] 16.78 sec. 2025-04-04 10:22:04 00051_min_max_array: [ OK ] 25.05 sec. 2025-04-04 10:22:04 00066_sorting_distributed_many_replicas: [ OK ] 0.84 sec. 2025-04-04 10:22:06 00087_where_0: [ OK ] 1.14 sec. 2025-04-04 10:22:07 00098_primary_key_memory_allocated: [ OK ] 1.09 sec. 2025-04-04 10:22:10 00175_counting_resources_in_subqueries: [ OK ] 3.20 sec. 2025-04-04 10:22:16 00092_obfuscator: [ OK ] 6.05 sec. 2025-04-04 10:22:22 00075_left_array_join: [ OK ] 5.50 sec. 2025-04-04 10:22:28 00145_aggregate_functions_statistics: [ OK ] 6.35 sec. 2025-04-04 10:22:29 00047_bar: [ OK ] 1.28 sec. 2025-04-04 10:22:32 00008_uniq: [ OK ] 2.19 sec. 2025-04-04 10:22:37 00037_uniq_state_merge1: [ OK ] 5.60 sec. 2025-04-04 10:23:02 00159_parallel_formatting_json_and_friends_2: [ OK ] 100.64 sec. 2025-04-04 10:23:03 00097_constexpr_in_index: [ OK ] 0.94 sec. 2025-04-04 10:23:21 00161_parallel_parsing_with_names: [ OK ] 17.68 sec. 2025-04-04 10:23:50 00172_hits_joins: [ OK ] 72.86 sec. 2025-04-04 10:23:53 00089_position_functions_with_non_constant_arg: [ OK ] 31.41 sec. 2025-04-04 10:23:53 2025-04-04 10:23:53 88 tests passed. 1 tests skipped. 887.10 s elapsed (Process-3). 2025-04-04 10:23:58 00036_aggregate_hashed: [ OK ] 7.55 sec. 2025-04-04 10:23:58 2025-04-04 10:23:58 44 tests passed. 0 tests skipped. 892.28 s elapsed (Process-4). 2025-04-04 10:23:58 Running 6 stateful tests (MainProcess). 2025-04-04 10:24:44 00180_no_seek_avoiding_when_reading_from_cache: [ OK ] 46.27 sec. 2025-04-04 10:25:55 00170_s3_cache: [ OK ] 71.04 sec. 2025-04-04 10:26:44 00158_cache_dictionary_has: [ OK ] 48.93 sec. 2025-04-04 10:32:16 00157_cache_dictionary: [ FAIL ] 331.57 sec. 2025-04-04 10:32:16 Reason: return code: 160 2025-04-04 10:32:16 [103c8374cfc1] 2025.04.04 10:32:16.003128 [ 1938 ] {fbffed31-e29e-4d77-a3cf-d1a321cf84ee} executeQuery: Code: 160. DB::Exception: Estimated query execution time (1221.90355 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (270336 read in 330.32452 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) (version 24.12.2.20230.altinityantalya (altinity build)) (from [::1]:37696) (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-04 10:32:16 2025-04-04 10:32:16 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x00000000456cdb49 2025-04-04 10:32:16 1. ./build_docker/./src/Common/Exception.cpp:105: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000206d1853 2025-04-04 10:32:16 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000088cc1d5 2025-04-04 10:32:16 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&) @ 0x0000000034b00547 2025-04-04 10:32:16 4. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:87: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long, DB::OverflowMode) const @ 0x0000000034affa2d 2025-04-04 10:32:16 5. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:131: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000034afde95 2025-04-04 10:32:16 6. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:64: DB::ExecutionThreadContext::executeTask() @ 0x000000003f74be23 2025-04-04 10:32:16 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003f716e34 2025-04-04 10:32:16 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:256: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003f714be3 2025-04-04 10:32:16 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:127: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003f714615 2025-04-04 10:32:16 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*) @ 0x000000003f712105 2025-04-04 10:32:16 11. ./contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000209752ca 2025-04-04 10:32:16 12. ./contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x0000000020987a64 2025-04-04 10:32:16 13. ? @ 0x00007f6fdc790ac3 2025-04-04 10:32:16 14. ? @ 0x00007f6fdc822850 2025-04-04 10:32:16 2025-04-04 10:32:16 Received exception from server (version 24.12.2): 2025-04-04 10:32:16 Code: 160. DB::Exception: Received from localhost:9000. DB::Exception: Estimated query execution time (1221.90355 seconds) is too long. Maximum: 600. Estimated rows to process: 1000000 (270336 read in 330.32452 seconds).: While executing MergeTreeSelect(pool: ReadPool, algorithm: Thread). (TOO_SLOW) 2025-04-04 10:32:16 (query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000 2025-04-04 10:32:16 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-04 10:32:16 , result: 2025-04-04 10:32:16 2025-04-04 10:32:16 2025-04-04 10:32:16 2025-04-04 10:32:16 stdout: 2025-04-04 10:32:16 2025-04-04 10:32:16 2025-04-04 10:32:16 Settings used in the test: --max_insert_threads 2 --group_by_two_level_threshold 479068 --group_by_two_level_threshold_bytes 34644138 --distributed_aggregation_memory_efficient 1 --fsync_metadata 0 --output_format_parallel_formatting 1 --input_format_parallel_parsing 1 --min_chunk_bytes_for_parallel_parsing 3563612 --max_read_buffer_size 607467 --prefer_localhost_replica 0 --max_block_size 89340 --max_joined_block_size_rows 72358 --max_threads 3 --optimize_append_index 1 --optimize_if_chain_to_multiif 0 --optimize_if_transform_strings_to_enum 0 --optimize_read_in_order 1 --optimize_or_like_chain 0 --optimize_substitute_columns 0 --enable_multiple_prewhere_read_steps 1 --read_in_order_two_level_merge_threshold 49 --optimize_aggregation_in_order 1 --aggregation_in_order_max_block_bytes 2017247 --use_uncompressed_cache 0 --min_bytes_to_use_direct_io 6190850401 --min_bytes_to_use_mmap_io 5272001786 --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 0 --remote_filesystem_read_prefetch 1 --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 8Mi --filesystem_prefetch_step_marks 0 --filesystem_prefetch_step_bytes 100Mi --compile_aggregate_expressions 0 --compile_sort_description 1 --merge_tree_coarse_index_granularity 28 --optimize_distinct_in_order 1 --max_bytes_before_external_sort 10737418240 --max_bytes_before_external_group_by 10737418240 --max_bytes_before_remerge_sort 1725959680 --min_compress_block_size 2583385 --max_compress_block_size 1477863 --merge_tree_compact_parts_min_granules_to_multibuffer_read 128 --optimize_sorting_by_input_stream_properties 1 --http_response_buffer_size 7745970 --http_wait_end_of_query True --enable_memory_bound_merging_of_aggregation_results 0 --min_count_to_compile_expression 3 --min_count_to_compile_aggregate_expression 0 --min_count_to_compile_sort_description 3 --session_timezone America/St_Johns --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.16 --prefer_external_sort_block_bytes 100000000 --cross_join_min_rows_to_compress 100000000 --cross_join_min_bytes_to_compress 0 --min_external_table_block_size_bytes 100000000 --max_parsing_threads 0 --optimize_functions_to_subcolumns 0 --parallel_replicas_local_plan 0 --query_plan_join_swap_table false --output_format_native_write_json_as_string 0 --enable_vertical_final 0 2025-04-04 10:32:16 2025-04-04 10:32:16 MergeTree settings used in test: --ratio_of_defaults_for_sparse_serialization 0.0 --prefer_fetch_merged_part_size_threshold 4616704293 --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 10737418240 --index_granularity_bytes 444121 --merge_max_block_size 9155 --index_granularity 58109 --min_bytes_for_wide_part 1073741824 --marks_compress_block_size 81071 --primary_key_compress_block_size 72119 --replace_long_file_name_to_hash 1 --max_file_name_length 53 --min_bytes_for_full_part_storage 0 --compact_parts_max_bytes_to_buffer 26757252 --compact_parts_max_granules_to_buffer 19 --compact_parts_merge_max_bytes_to_prefetch_part 12703312 --cache_populated_by_fetch 0 --concurrent_part_removal_threshold 0 --old_parts_lifetime 480 --prewarm_mark_cache 0 --use_const_adaptive_granularity 1 --enable_index_granularity_compression 1 --use_primary_key_cache 0 --prewarm_primary_key_cache 0 2025-04-04 10:32:16 2025-04-04 10:32:16 Database: test_etp4o23s 2025-04-04 10:34:43 00152_insert_different_granularity: [ OK ] 147.10 sec. 2025-04-04 10:34:48 00140_rename: [ OK ] 4.95 sec. 2025-04-04 10:34:48 2025-04-04 10:34:48 Having 1 errors! 5 tests passed. 0 tests skipped. 650.20 s elapsed (MainProcess). 2025-04-04 10:34:48 Checking the hung queries: done 2025-04-04 10:34:48 2025-04-04 10:34:48 No queries hung. 2025-04-04 10:34:48 All tests have finished.