+ ln -s /usr/share/clickhouse-test/ci/stress.py /usr/bin/stress + ln -s /usr/share/clickhouse-test/clickhouse-test /usr/bin/clickhouse-test + source /attach_gdb.lib ++ source /utils.lib + source /stress_tests.lib ++ sysctl kernel.core_pattern=core.%e.%p-%P kernel.core_pattern = core.%e.%p-%P ++ OK='\tOK\t\N\t' ++ FAIL='\tFAIL\t\N\t' ++ FAILURE_CONTEXT_LINES=100 ++ FAILURE_CONTEXT_MAX_LINE_WIDTH=300 + install_packages package_folder + dpkg -i package_folder/clickhouse-common-static_24.3.12.76.altinitystable+tsan_amd64.deb Selecting previously unselected package clickhouse-common-static. (Reading database ... 49227 files and directories currently installed.) Preparing to unpack .../clickhouse-common-static_24.3.12.76.altinitystable+tsan_amd64.deb ... Unpacking clickhouse-common-static (24.3.12.76.altinitystable+tsan) ... Setting up clickhouse-common-static (24.3.12.76.altinitystable+tsan) ... + dpkg -i package_folder/clickhouse-common-static-dbg_24.3.12.76.altinitystable+tsan_amd64.deb Selecting previously unselected package clickhouse-common-static-dbg. (Reading database ... 49256 files and directories currently installed.) Preparing to unpack .../clickhouse-common-static-dbg_24.3.12.76.altinitystable+tsan_amd64.deb ... Unpacking clickhouse-common-static-dbg (24.3.12.76.altinitystable+tsan) ... Setting up clickhouse-common-static-dbg (24.3.12.76.altinitystable+tsan) ... + dpkg -i package_folder/clickhouse-server_24.3.12.76.altinitystable+tsan_amd64.deb Selecting previously unselected package clickhouse-server. (Reading database ... 49265 files and directories currently installed.) Preparing to unpack .../clickhouse-server_24.3.12.76.altinitystable+tsan_amd64.deb ... Unpacking clickhouse-server (24.3.12.76.altinitystable+tsan) ... Setting up clickhouse-server (24.3.12.76.altinitystable+tsan) ... ClickHouse binary is already located at /usr/bin/clickhouse Symlink /usr/bin/clickhouse-server already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-server to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-client to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-local to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-benchmark to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-obfuscator to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-git-import to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-compressor to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-format to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-extract-from-config already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-extract-from-config to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-keeper already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-keeper to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-keeper-converter already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-keeper-converter to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-disks to /usr/bin/clickhouse. Creating symlink /usr/bin/ch to /usr/bin/clickhouse. Creating symlink /usr/bin/chl to /usr/bin/clickhouse. Creating symlink /usr/bin/chc to /usr/bin/clickhouse. Creating clickhouse group if it does not exist. groupadd -r clickhouse Creating clickhouse user if it does not exist. useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse clickhouse Will set ulimits for clickhouse user in /etc/security/limits.d/clickhouse.conf. Creating config directory /etc/clickhouse-server/config.d that is used for tweaks of main server configuration. Creating config directory /etc/clickhouse-server/users.d that is used for tweaks of users configuration. Config file /etc/clickhouse-server/config.xml already exists, will keep it and extract path info from it. /etc/clickhouse-server/config.xml has /var/lib/clickhouse/ as data path. /etc/clickhouse-server/config.xml has /var/log/clickhouse-server/ as log path. Users config file /etc/clickhouse-server/users.xml already exists, will keep it and extract users info from it. Log directory /var/log/clickhouse-server/ already exists. Creating data directory /var/lib/clickhouse/. Creating pid directory /var/run/clickhouse-server. chown -R clickhouse:clickhouse '/var/log/clickhouse-server/' chown -R clickhouse:clickhouse '/var/run/clickhouse-server' chown clickhouse:clickhouse '/var/lib/clickhouse/' groupadd -r clickhouse-bridge useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse-bridge clickhouse-bridge chown -R clickhouse-bridge:clickhouse-bridge '/usr/bin/clickhouse-odbc-bridge' chown -R clickhouse-bridge:clickhouse-bridge '/usr/bin/clickhouse-library-bridge' Password for the default user is an empty string. See /etc/clickhouse-server/users.xml and /etc/clickhouse-server/users.d to change it. Setting capabilities for clickhouse binary. This is optional. chown -R clickhouse:clickhouse '/etc/clickhouse-server' ClickHouse has been successfully installed. Start clickhouse-server with: sudo clickhouse start Start clickhouse-client with: clickhouse-client + dpkg -i package_folder/clickhouse-client_24.3.12.76.altinitystable+tsan_amd64.deb Selecting previously unselected package clickhouse-client. (Reading database ... 49282 files and directories currently installed.) Preparing to unpack .../clickhouse-client_24.3.12.76.altinitystable+tsan_amd64.deb ... Unpacking clickhouse-client (24.3.12.76.altinitystable+tsan) ... Setting up clickhouse-client (24.3.12.76.altinitystable+tsan) ... + export THREAD_FUZZER_CPU_TIME_PERIOD_US=1000 + THREAD_FUZZER_CPU_TIME_PERIOD_US=1000 + export THREAD_FUZZER_SLEEP_PROBABILITY=0.1 + THREAD_FUZZER_SLEEP_PROBABILITY=0.1 + export THREAD_FUZZER_SLEEP_TIME_US_MAX=100000 + THREAD_FUZZER_SLEEP_TIME_US_MAX=100000 + export THREAD_FUZZER_pthread_mutex_lock_BEFORE_MIGRATE_PROBABILITY=1 + THREAD_FUZZER_pthread_mutex_lock_BEFORE_MIGRATE_PROBABILITY=1 + export THREAD_FUZZER_pthread_mutex_lock_AFTER_MIGRATE_PROBABILITY=1 + THREAD_FUZZER_pthread_mutex_lock_AFTER_MIGRATE_PROBABILITY=1 + export THREAD_FUZZER_pthread_mutex_unlock_BEFORE_MIGRATE_PROBABILITY=1 + THREAD_FUZZER_pthread_mutex_unlock_BEFORE_MIGRATE_PROBABILITY=1 + export THREAD_FUZZER_pthread_mutex_unlock_AFTER_MIGRATE_PROBABILITY=1 + THREAD_FUZZER_pthread_mutex_unlock_AFTER_MIGRATE_PROBABILITY=1 + export THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_PROBABILITY=0.001 + THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_PROBABILITY=0.001 + export THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_PROBABILITY=0.001 + THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_PROBABILITY=0.001 + export THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_PROBABILITY=0.001 + THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_PROBABILITY=0.001 + export THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_PROBABILITY=0.001 + THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_PROBABILITY=0.001 + export THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_TIME_US_MAX=10000 + THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_TIME_US_MAX=10000 + export THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US_MAX=10000 + THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US_MAX=10000 + export THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US_MAX=10000 + THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US_MAX=10000 + export THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US_MAX=10000 + THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US_MAX=10000 + export THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY=0.01 + THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY=0.01 + export THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY=0.01 + THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY=0.01 + export ZOOKEEPER_FAULT_INJECTION=1 + ZOOKEEPER_FAULT_INJECTION=1 + configure + export USE_DATABASE_ORDINARY=1 + USE_DATABASE_ORDINARY=1 + export EXPORT_S3_STORAGE_POLICIES=1 + EXPORT_S3_STORAGE_POLICIES=1 + /usr/share/clickhouse-test/config/install.sh + DEST_SERVER_PATH=/etc/clickhouse-server + DEST_CLIENT_PATH=/etc/clickhouse-client +++ dirname /usr/share/clickhouse-test/config/install.sh ++ cd /usr/share/clickhouse-test/config ++ pwd -P + SRC_PATH=/usr/share/clickhouse-test/config Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server + echo 'Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server' + mkdir -p /etc/clickhouse-server/config.d/ + mkdir -p /etc/clickhouse-server/users.d/ + mkdir -p /etc/clickhouse-client + ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_write.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/max_num_to_warn.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/listen.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/text_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/blob_storage_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/custom_settings_prefixes.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_access_control_improvements.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/macros.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/secure_ports.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/clusters.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/graphite.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/graphite_alternative.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/database_atomic.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/max_concurrent_queries.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree_settings.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/backoff_failed_mutation.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree_old_dirs_cleanup.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/test_cluster_with_incorrect_pw.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/keeper_port.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/logging_no_rotate.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/lost_forever_check.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/tcp_with_proxy.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/prometheus.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/top_level_domains_lists.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/top_level_domains_path.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/transactions.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/encryption.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/CORS.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/logger_trace.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/named_collection.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/ssl_certs.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/filesystem_cache_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/session_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/system_unfreeze.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_zero_copy_replication.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/nlp.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/forbidden_headers.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_keeper_map.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/custom_disks_base_path.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/display_name.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/reverse_dns_query_function.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/compressed_marks_and_index.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/disable_s3_env_credentials.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_wait_for_shutdown_replicated_tables.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/backups.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/filesystem_caches_path.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/validate_tcp_client_information.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/zero_copy_destructive_operations.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/block_number.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/handlers.yaml /etc/clickhouse-server/config.d/ + '[' /etc/clickhouse-server = /etc/clickhouse-server ']' + ln -sf /usr/share/clickhouse-test/config/config.d/legacy_geobase.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/log_queries.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/readonly.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/access_management.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/database_atomic_drop_detach_sync.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/opentelemetry.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/remote_queries.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/session_log_test.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/memory_profiler.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/no_fsync_metadata.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/filelog.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/enable_blobs_check.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/marks.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/insert_keeper_retries.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/prefetch_settings.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/nonconst_timezone.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/allow_introspection_functions.yaml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/replicated_ddl_entry.xml /etc/clickhouse-server/users.d/ + [[ -n '' ]] + ln -sf /usr/share/clickhouse-test/config/users.d/timeouts.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/ints_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/strings_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/decimals_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/executable_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/executable_pool_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/test_function.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/top_level_domains /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/regions_hierarchy.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/regions_names_en.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/ext-en.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/ext-ru.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/lem-en.bin /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/server.key /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/server.crt /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/dhparam.pem /etc/clickhouse-server/ + ln -sf --backup=simple --suffix=_original.xml /usr/share/clickhouse-test/config/config.d/query_masking_rules.xml /etc/clickhouse-server/config.d/ + [[ -n 1 ]] + [[ 1 -eq 1 ]] + rm -f /etc/clickhouse-server/config.d/zookeeper.xml + ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_fault_injection.xml /etc/clickhouse-server/config.d/ + [[ -n '' ]] + rm -f /etc/clickhouse-server/config.d/cannot_allocate_thread_injection.xml + value=1 + sed --follow-symlinks -i 's|[01]|1|' /etc/clickhouse-server/config.d/keeper_port.xml + value=42592256 + sed --follow-symlinks -i 's|[[:digit:]]\+|42592256|' /etc/clickhouse-server/config.d/keeper_port.xml + value=64194560 + sed --follow-symlinks -i 's|[[:digit:]]\+|64194560|' /etc/clickhouse-server/config.d/keeper_port.xml + [[ -n '' ]] + [[ -n 1 ]] + [[ 1 -eq 1 ]] + ln -sf /usr/share/clickhouse-test/config/users.d/database_ordinary.xml /etc/clickhouse-server/users.d/ + [[ -n '' ]] + ARM=aarch64 ++ uname -m + OS=x86_64 + [[ -n 1 ]] x86_64 Adding azure configuration + echo x86_64 + [[ '' -eq 1 ]] + [[ x86_64 == \a\a\r\c\h\6\4 ]] + echo 'Adding azure configuration' + ln -sf /usr/share/clickhouse-test/config/config.d/azure_storage_conf.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02944.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02963.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02961.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/s3_cache.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/s3_cache_new.xml /etc/clickhouse-server/users.d/ + [[ -n '' ]] + ln -sf /usr/share/clickhouse-test/config/client_config.xml /etc/clickhouse-client/config.xml + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|100000|10000|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + [[ -n 1 ]] + [[ 1 -eq 1 ]] + randomize_config_boolean_value filtered_list keeper_port + value=1 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|1|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + randomize_config_boolean_value multi_read keeper_port + value=0 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|0|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + randomize_config_boolean_value check_not_exists keeper_port + value=0 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|0|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + randomize_config_boolean_value create_if_not_exists keeper_port + value=0 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|0|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + sudo chown clickhouse /etc/clickhouse-server/config.d/keeper_port.xml + sudo chgrp clickhouse /etc/clickhouse-server/config.d/keeper_port.xml + [[ -n 1 ]] + [[ 1 -eq 1 ]] + randomize_config_boolean_value use_compression zookeeper_fault_injection + value=1 + sudo cat /etc/clickhouse-server/config.d/zookeeper_fault_injection.xml + sed 's|[01]|1|' + sudo mv /etc/clickhouse-server/config.d/zookeeper_fault_injection.xml.tmp /etc/clickhouse-server/config.d/zookeeper_fault_injection.xml + randomize_config_boolean_value allow_experimental_block_number_column block_number + value=1 + sudo cat /etc/clickhouse-server/config.d/block_number.xml + sed 's|[01]|1|' + sudo mv /etc/clickhouse-server/config.d/block_number.xml.tmp /etc/clickhouse-server/config.d/block_number.xml + echo 'ASAN_OPTIONS='\''malloc_context_size=10 verbosity=1 allocator_release_to_os_interval_ms=10000'\''' + export 'ASAN_OPTIONS=malloc_context_size=10 allocator_release_to_os_interval_ms=10000' + ASAN_OPTIONS='malloc_context_size=10 allocator_release_to_os_interval_ms=10000' + sudo chown root: /var/lib/clickhouse + echo '1' + local total_mem ++ awk '/MemTotal/ { print $(NF-1) }' /proc/meminfo + total_mem=32086440 + total_mem=32856514560 + max_server_memory_usage_to_ram_ratio=0.5 Setting max_server_memory_usage_to_ram_ratio to 0.5 + echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5' + cat + local max_users_mem + max_users_mem=9856954368 + echo 'Setting max_memory_usage_for_user=9856954368 and max_memory_usage for queries to 10G' + cat Setting max_memory_usage_for_user=9856954368 and max_memory_usage for queries to 10G + cat + ./setup_minio.sh stateless + azurite-blob --blobHost 0.0.0.0 --blobPort 10000 --debug /azurite_log + export MINIO_ROOT_USER=clickhouse + MINIO_ROOT_USER=clickhouse + export MINIO_ROOT_PASSWORD=clickhouse + MINIO_ROOT_PASSWORD=clickhouse + main stateless + local query_dir ++ check_arg stateless ++ local query_dir ++ '[' '!' 1 -eq 1 ']' ++ case "$1" in ++ query_dir=0_stateless ++ echo 0_stateless + query_dir=0_stateless + '[' '!' -f ./minio ']' + start_minio + mkdir -p ./minio_data + ./minio --version Azurite Blob service is starting on 0.0.0.0:10000 Azurite Blob service successfully listens on http://0.0.0.0:10000 minio version RELEASE.2022-01-03T18-22-58Z + wait_for_it + local counter=0 + local max_counter=60 + local url=http://localhost:11111 + ./minio server --address :11111 ./minio_data + params=('--silent' '--verbose') + local params + curl --silent --verbose http://localhost:11111 + grep AccessDenied trying to connect to minio + [[ 0 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 + counter=1 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 1 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=2 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 2 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=3 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 3 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=4 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 4 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=5 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 5 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=6 + curl --silent --verbose http://localhost:11111 + grep AccessDenied trying to connect to minio + [[ 6 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 + counter=7 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 7 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=8 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 8 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=9 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 9 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio + counter=10 + curl --silent --verbose http://localhost:11111 + grep AccessDenied + [[ 10 == \6\0 ]] + echo 'trying to connect to minio' + sleep 1 trying to connect to minio API: http://172.17.0.2:11111 http://127.0.0.1:11111 Console: http://172.17.0.2:37517 http://127.0.0.1:37517 Documentation: https://docs.min.io WARNING: Console endpoint is listening on a dynamic port (37517), please use --console-address ":PORT" to choose a static port. + counter=11 + curl --silent --verbose http://localhost:11111 + grep AccessDenied AccessDeniedAccess Denied./180522A548BFBFF1059c94a2-0662-49fa-bdac-ca98e7198b6f + lsof -i :11111 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME minio 302 root 10u IPv6 33707 0t0 TCP *:11111 (LISTEN) + sleep 5 + setup_minio stateless + local test_type=stateless + ./mc alias set clickminio http://localhost:11111 clickhouse clickhouse Added `clickminio` successfully. + ./mc admin user add clickminio test testtest Added user `test` successfully. + ./mc admin policy set clickminio readwrite user=test Policy `readwrite` is set on user `test` + ./mc mb clickminio/test Bucket created successfully `clickminio/test`. + '[' stateless = stateless ']' + ./mc policy set public clickminio/test Access permission for `clickminio/test` is set to `public` + upload_data 0_stateless /usr/share/clickhouse-test + local query_dir=0_stateless + local test_path=/usr/share/clickhouse-test + local data_path=/usr/share/clickhouse-test/queries/0_stateless/data_minio ++ ls /usr/share/clickhouse-test/queries/0_stateless/data_minio 02366_data.jsonl + for file in $(ls "${data_path}") + echo 02366_data.jsonl + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02366_data.jsonl clickminio/test/02366_data.jsonl `/usr/share/clickhouse-test/queries/0_stateless/data_minio/02366_data.jsonl` -> `clickminio/test/02366_data.jsonl` Total: 0 B, Transferred: 0 B, Speed: 0 B/s + for file in $(ls "${data_path}") + echo 02731.arrow 02731.arrow + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02731.arrow clickminio/test/02731.arrow `/usr/share/clickhouse-test/queries/0_stateless/data_minio/02731.arrow` -> `clickminio/test/02731.arrow` Total: 0 B, Transferred: 3.82 MiB, Speed: 151.14 MiB/s 02731.parquet + for file in $(ls "${data_path}") + echo 02731.parquet + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02731.parquet clickminio/test/02731.parquet `/usr/share/clickhouse-test/queries/0_stateless/data_minio/02731.parquet` -> `clickminio/test/02731.parquet` Total: 0 B, Transferred: 1.57 MiB, Speed: 95.26 MiB/s + for file in $(ls "${data_path}") + echo 02876.parquet + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02876.parquet clickminio/test/02876.parquet 02876.parquet `/usr/share/clickhouse-test/queries/0_stateless/data_minio/02876.parquet` -> `clickminio/test/02876.parquet` Total: 0 B, Transferred: 293 B, Speed: 36.67 KiB/s + for file in $(ls "${data_path}") + echo a.tsv + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/a.tsv clickminio/test/a.tsv a.tsv `/usr/share/clickhouse-test/queries/0_stateless/data_minio/a.tsv` -> `clickminio/test/a.tsv` Total: 0 B, Transferred: 24 B, Speed: 3.18 KiB/s b.tsv + for file in $(ls "${data_path}") + echo b.tsv + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/b.tsv clickminio/test/b.tsv `/usr/share/clickhouse-test/queries/0_stateless/data_minio/b.tsv` -> `clickminio/test/b.tsv` Total: 0 B, Transferred: 33 B, Speed: 3.98 KiB/s c.tsv + for file in $(ls "${data_path}") + echo c.tsv + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/c.tsv clickminio/test/c.tsv `/usr/share/clickhouse-test/queries/0_stateless/data_minio/c.tsv` -> `clickminio/test/c.tsv` Total: 0 B, Transferred: 33 B, Speed: 4.51 KiB/s + for file in $(ls "${data_path}") + echo tsv_with_header.tsv + ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/tsv_with_header.tsv clickminio/test/tsv_with_header.tsv tsv_with_header.tsv `/usr/share/clickhouse-test/queries/0_stateless/data_minio/tsv_with_header.tsv` -> `clickminio/test/tsv_with_header.tsv` Total: 0 B, Transferred: 44 B, Speed: 5.84 KiB/s + setup_aws_credentials + local minio_root_user=clickhouse + local minio_root_password=clickhouse + mkdir -p /root/.aws + cat + config_logs_export_cluster /etc/clickhouse-server/config.d/system_logs_export.yaml + set +x File /tmp/export-logs-config.sh does not exist, do not setup + start_server + counter=0 + max_attempt=120 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 0 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=1 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 1 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=2 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 2 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=3 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 3 -gt 120 ']' + clickhouse start --user root + sleep 0.5 127.0.0.1 - - [05/Nov/2024:17:28:54 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 201 - 127.0.0.1 - - [05/Nov/2024:17:28:54 +0000] "PUT /devstoreaccount1/cont/ohwqyckrkujozpnqtrmcylqkccopaiig?blockid=usxhzyriqfpxgwckzasabuuswucnunzyynosiaobawglqfpkwvrhttvjsrziydjn&comp=block HTTP/1.1" 201 - 127.0.0.1 - - [05/Nov/2024:17:28:54 +0000] "PUT /devstoreaccount1/cont/ohwqyckrkujozpnqtrmcylqkccopaiig?comp=blocklist HTTP/1.1" 201 - + counter=4 + clickhouse-client --query 'SELECT 1' 127.0.0.1 - - [05/Nov/2024:17:28:54 +0000] "GET /devstoreaccount1/cont/ohwqyckrkujozpnqtrmcylqkccopaiig HTTP/1.1" 206 4 127.0.0.1 - - [05/Nov/2024:17:28:54 +0000] "GET /devstoreaccount1/cont/ohwqyckrkujozpnqtrmcylqkccopaiig HTTP/1.1" 206 2 127.0.0.1 - - [05/Nov/2024:17:28:54 +0000] "DELETE /devstoreaccount1/cont/ohwqyckrkujozpnqtrmcylqkccopaiig HTTP/1.1" 202 - 1 + attach_gdb_to_clickhouse ++ kill -l SIGRTMIN + RTMIN=34 + echo ' set follow-fork-mode parent handle SIGHUP nostop noprint pass handle SIGINT nostop noprint pass handle SIGQUIT nostop noprint pass handle SIGPIPE nostop noprint pass handle SIGTERM nostop noprint pass handle SIGUSR1 nostop noprint pass handle SIGUSR2 nostop noprint pass handle SIG34 nostop noprint pass info signals continue backtrace full thread apply all backtrace full info registers disassemble /s up disassemble /s up disassemble /s p "done" detach quit ' + sleep 5 + ts '%Y-%m-%d %H:%M:%S' ++ cat /var/run/clickhouse-server/clickhouse-server.pid + gdb -batch -command script.gdb -p 606 + run_with_retry 60 clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' + [[ hxB =~ e ]] + set_e=false + set +e + local total_retries=60 + shift + local retry=0 + '[' 0 -ge 60 ']' + clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' Connected to clickhouse-server after attaching gdb + false + return + setup_logs_replication + set +x File /tmp/export-logs-config.sh does not exist, do not setup + clickhouse-client --query 'CREATE DATABASE datasets' + clickhouse-client --multiquery + clickhouse-client --query 'SHOW TABLES FROM datasets' hits_v1 visits_v1 + clickhouse-client --query 'CREATE DATABASE IF NOT EXISTS test' + stop_server + local max_tries=90 + local check_hang=true + local pid ++ cat /var/run/clickhouse-server/clickhouse-server.pid + pid=606 + clickhouse stop --max-tries 90 --do-not-kill script.gdb:13: Error in sourced command file: No stack. /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 606. The process with pid = 606 is running. Sent terminate signal to process with pid 606. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 606. The process with pid = 606 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 606. The process with pid = 606 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 606. The process with pid = 606 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 606. The process with pid = 606 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 606. The process with pid = 606 is running. Waiting for server to stop Now there is no clickhouse-server process. Server stopped + return + mv /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.initial.log Using cache policy: LRU + cache_policy= + '[' 0 -eq 1 ']' + cache_policy=LRU + echo 'Using cache policy: LRU' + '[' LRU = SLRU ']' + start_server + counter=0 + max_attempt=120 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 0 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=1 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 1 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=2 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 2 -gt 120 ']' + clickhouse start --user root + sleep 0.5 127.0.0.1 - - [05/Nov/2024:17:30:06 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 - 127.0.0.1 - - [05/Nov/2024:17:30:06 +0000] "PUT /devstoreaccount1/cont/obzhvjgrliyydcpjwaierysprotawfgy?blockid=ifwdjxoqwjkyjsbnsjauuesmrqdxtoflolouvioytuhrybhixnsyenqbxpntvdbl&comp=block HTTP/1.1" 201 - 127.0.0.1 - - [05/Nov/2024:17:30:06 +0000] "PUT /devstoreaccount1/cont/obzhvjgrliyydcpjwaierysprotawfgy?comp=blocklist HTTP/1.1" 201 - 127.0.0.1 - - [05/Nov/2024:17:30:06 +0000] "GET /devstoreaccount1/cont/obzhvjgrliyydcpjwaierysprotawfgy HTTP/1.1" 206 4 127.0.0.1 - - [05/Nov/2024:17:30:06 +0000] "GET /devstoreaccount1/cont/obzhvjgrliyydcpjwaierysprotawfgy HTTP/1.1" 206 2 127.0.0.1 - - [05/Nov/2024:17:30:06 +0000] "DELETE /devstoreaccount1/cont/obzhvjgrliyydcpjwaierysprotawfgy HTTP/1.1" 202 - + counter=3 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 3 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=4 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 4 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=5 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 5 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=6 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 6 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=7 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 7 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=8 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 8 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=9 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 9 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=10 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 10 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=11 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 11 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=12 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 12 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=13 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 13 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=14 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 14 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=15 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 15 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=16 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 16 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=17 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 17 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=18 + clickhouse-client --query 'SELECT 1' 1 + attach_gdb_to_clickhouse ++ kill -l SIGRTMIN + RTMIN=34 + echo ' set follow-fork-mode parent handle SIGHUP nostop noprint pass handle SIGINT nostop noprint pass handle SIGQUIT nostop noprint pass handle SIGPIPE nostop noprint pass handle SIGTERM nostop noprint pass handle SIGUSR1 nostop noprint pass handle SIGUSR2 nostop noprint pass handle SIG34 nostop noprint pass info signals continue backtrace full thread apply all backtrace full info registers disassemble /s up disassemble /s up disassemble /s p "done" detach quit ' + sleep 5 + ts '%Y-%m-%d %H:%M:%S' ++ cat /var/run/clickhouse-server/clickhouse-server.pid + gdb -batch -command script.gdb -p 1440 + run_with_retry 60 clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' + [[ hxB =~ e ]] + set_e=false + set +e + local total_retries=60 + shift + local retry=0 + '[' 0 -ge 60 ']' + clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' Connected to clickhouse-server after attaching gdb + false + return + clickhouse-client --query 'SHOW TABLES FROM datasets' hits_v1 visits_v1 + clickhouse-client --query 'SHOW TABLES FROM test' + clickhouse-client --query 'CREATE TABLE test.hits_s3 (WatchID UInt64, JavaEnable UInt8, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID UInt32, ClientIP UInt32, ClientIP6 FixedString(16), RegionID UInt32, UserID UInt64, CounterClass Int8, OS UInt8, UserAgent UInt8, URL String, Referer String, URLDomain String, RefererDomain String, Refresh UInt8, IsRobot UInt8, RefererCategories Array(UInt16), URLCategories Array(UInt16), URLRegions Array(UInt32), RefererRegions Array(UInt32), ResolutionWidth UInt16, ResolutionHeight UInt16, ResolutionDepth UInt8, FlashMajor UInt8, FlashMinor UInt8, FlashMinor2 String, NetMajor UInt8, NetMinor UInt8, UserAgentMajor UInt16, UserAgentMinor FixedString(2), CookieEnable UInt8, JavascriptEnable UInt8, IsMobile UInt8, MobilePhone UInt8, MobilePhoneModel String, Params String, IPNetworkID UInt32, TraficSourceID Int8, SearchEngineID UInt16, SearchPhrase String, AdvEngineID UInt8, IsArtifical UInt8, WindowClientWidth UInt16, WindowClientHeight UInt16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 UInt8, SilverlightVersion2 UInt8, SilverlightVersion3 UInt32, SilverlightVersion4 UInt16, PageCharset String, CodeVersion UInt32, IsLink UInt8, IsDownload UInt8, IsNotBounce UInt8, FUniqID UInt64, HID UInt32, IsOldCounter UInt8, IsEvent UInt8, IsParameter UInt8, DontCountHits UInt8, WithHash UInt8, HitColor FixedString(1), UTCEventTime DateTime, Age UInt8, Sex UInt8, Income UInt8, Interests UInt16, Robotness UInt8, GeneralInterests Array(UInt16), RemoteIP UInt32, RemoteIP6 FixedString(16), WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage FixedString(2), BrowserCountry FixedString(2), SocialNetwork String, SocialAction String, HTTPError UInt16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, RedirectTiming Int32, DOMInteractiveTiming Int32, DOMContentLoadedTiming Int32, DOMCompleteTiming Int32, LoadEventStartTiming Int32, LoadEventEndTiming Int32, NSToDOMContentLoadedTiming Int32, FirstPaintTiming Int32, RedirectCount Int8, SocialSourceNetworkID UInt8, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency FixedString(3), ParamCurrencyID UInt16, GoalsReached Array(UInt32), OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID UInt8, RefererHash UInt64, URLHash UInt64, CLID UInt32, YCLID UInt64, ShareService String, ShareURL String, ShareTitle String, ParsedParams Nested(Key1 String, Key2 String, Key3 String, Key4 String, Key5 String, ValueDouble Float64), IslandID FixedString(16), RequestNum UInt32, RequestTry UInt8) ENGINE = MergeTree() PARTITION BY toYYYYMM(EventDate) ORDER BY (CounterID, EventDate, intHash32(UserID)) SAMPLE BY intHash32(UserID) SETTINGS index_granularity = 8192, storage_policy='\''s3_cache'\''' + clickhouse-client --query 'CREATE TABLE test.hits (WatchID UInt64, JavaEnable UInt8, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID UInt32, ClientIP UInt32, ClientIP6 FixedString(16), RegionID UInt32, UserID UInt64, CounterClass Int8, OS UInt8, UserAgent UInt8, URL String, Referer String, URLDomain String, RefererDomain String, Refresh UInt8, IsRobot UInt8, RefererCategories Array(UInt16), URLCategories Array(UInt16), URLRegions Array(UInt32), RefererRegions Array(UInt32), ResolutionWidth UInt16, ResolutionHeight UInt16, ResolutionDepth UInt8, FlashMajor UInt8, FlashMinor UInt8, FlashMinor2 String, NetMajor UInt8, NetMinor UInt8, UserAgentMajor UInt16, UserAgentMinor FixedString(2), CookieEnable UInt8, JavascriptEnable UInt8, IsMobile UInt8, MobilePhone UInt8, MobilePhoneModel String, Params String, IPNetworkID UInt32, TraficSourceID Int8, SearchEngineID UInt16, SearchPhrase String, AdvEngineID UInt8, IsArtifical UInt8, WindowClientWidth UInt16, WindowClientHeight UInt16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 UInt8, SilverlightVersion2 UInt8, SilverlightVersion3 UInt32, SilverlightVersion4 UInt16, PageCharset String, CodeVersion UInt32, IsLink UInt8, IsDownload UInt8, IsNotBounce UInt8, FUniqID UInt64, HID UInt32, IsOldCounter UInt8, IsEvent UInt8, IsParameter UInt8, DontCountHits UInt8, WithHash UInt8, HitColor FixedString(1), UTCEventTime DateTime, Age UInt8, Sex UInt8, Income UInt8, Interests UInt16, Robotness UInt8, GeneralInterests Array(UInt16), RemoteIP UInt32, RemoteIP6 FixedString(16), WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage FixedString(2), BrowserCountry FixedString(2), SocialNetwork String, SocialAction String, HTTPError UInt16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, RedirectTiming Int32, DOMInteractiveTiming Int32, DOMContentLoadedTiming Int32, DOMCompleteTiming Int32, LoadEventStartTiming Int32, LoadEventEndTiming Int32, NSToDOMContentLoadedTiming Int32, FirstPaintTiming Int32, RedirectCount Int8, SocialSourceNetworkID UInt8, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency FixedString(3), ParamCurrencyID UInt16, GoalsReached Array(UInt32), OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID UInt8, RefererHash UInt64, URLHash UInt64, CLID UInt32, YCLID UInt64, ShareService String, ShareURL String, ShareTitle String, ParsedParams Nested(Key1 String, Key2 String, Key3 String, Key4 String, Key5 String, ValueDouble Float64), IslandID FixedString(16), RequestNum UInt32, RequestTry UInt8) ENGINE = MergeTree() PARTITION BY toYYYYMM(EventDate) ORDER BY (CounterID, EventDate, intHash32(UserID)) SAMPLE BY intHash32(UserID) SETTINGS index_granularity = 8192, storage_policy='\''s3_cache'\''' + clickhouse-client --query 'CREATE TABLE test.visits (CounterID UInt32, StartDate Date, Sign Int8, IsNew UInt8, VisitID UInt64, UserID UInt64, StartTime DateTime, Duration UInt32, UTCStartTime DateTime, PageViews Int32, Hits Int32, IsBounce UInt8, Referer String, StartURL String, RefererDomain String, StartURLDomain String, EndURL String, LinkURL String, IsDownload UInt8, TraficSourceID Int8, SearchEngineID UInt16, SearchPhrase String, AdvEngineID UInt8, PlaceID Int32, RefererCategories Array(UInt16), URLCategories Array(UInt16), URLRegions Array(UInt32), RefererRegions Array(UInt32), IsYandex UInt8, GoalReachesDepth Int32, GoalReachesURL Int32, GoalReachesAny Int32, SocialSourceNetworkID UInt8, SocialSourcePage String, MobilePhoneModel String, ClientEventTime DateTime, RegionID UInt32, ClientIP UInt32, ClientIP6 FixedString(16), RemoteIP UInt32, RemoteIP6 FixedString(16), IPNetworkID UInt32, SilverlightVersion3 UInt32, CodeVersion UInt32, ResolutionWidth UInt16, ResolutionHeight UInt16, UserAgentMajor UInt16, UserAgentMinor UInt16, WindowClientWidth UInt16, WindowClientHeight UInt16, SilverlightVersion2 UInt8, SilverlightVersion4 UInt16, FlashVersion3 UInt16, FlashVersion4 UInt16, ClientTimeZone Int16, OS UInt8, UserAgent UInt8, ResolutionDepth UInt8, FlashMajor UInt8, FlashMinor UInt8, NetMajor UInt8, NetMinor UInt8, MobilePhone UInt8, SilverlightVersion1 UInt8, Age UInt8, Sex UInt8, Income UInt8, JavaEnable UInt8, CookieEnable UInt8, JavascriptEnable UInt8, IsMobile UInt8, BrowserLanguage UInt16, BrowserCountry UInt16, Interests UInt16, Robotness UInt8, GeneralInterests Array(UInt16), Params Array(String), Goals Nested(ID UInt32, Serial UInt32, EventTime DateTime, Price Int64, OrderID String, CurrencyID UInt32), WatchIDs Array(UInt64), ParamSumPrice Int64, ParamCurrency FixedString(3), ParamCurrencyID UInt16, ClickLogID UInt64, ClickEventID Int32, ClickGoodEvent Int32, ClickEventTime DateTime, ClickPriorityID Int32, ClickPhraseID Int32, ClickPageID Int32, ClickPlaceID Int32, ClickTypeID Int32, ClickResourceID Int32, ClickCost UInt32, ClickClientIP UInt32, ClickDomainID UInt32, ClickURL String, ClickAttempt UInt8, ClickOrderID UInt32, ClickBannerID UInt32, ClickMarketCategoryID UInt32, ClickMarketPP UInt32, ClickMarketCategoryName String, ClickMarketPPName String, ClickAWAPSCampaignName String, ClickPageName String, ClickTargetType UInt16, ClickTargetPhraseID UInt64, ClickContextType UInt8, ClickSelectType Int8, ClickOptions String, ClickGroupBannerID Int32, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID UInt8, FirstVisit DateTime, PredLastVisit Date, LastVisit Date, TotalVisits UInt32, TraficSource Nested(ID Int8, SearchEngineID UInt16, AdvEngineID UInt8, PlaceID UInt16, SocialSourceNetworkID UInt8, Domain String, SearchPhrase String, SocialSourcePage String), Attendance FixedString(16), CLID UInt32, YCLID UInt64, NormalizedRefererHash UInt64, SearchPhraseHash UInt64, RefererDomainHash UInt64, NormalizedStartURLHash UInt64, StartURLDomainHash UInt64, NormalizedEndURLHash UInt64, TopLevelDomain UInt64, URLScheme UInt64, OpenstatServiceNameHash UInt64, OpenstatCampaignIDHash UInt64, OpenstatAdIDHash UInt64, OpenstatSourceIDHash UInt64, UTMSourceHash UInt64, UTMMediumHash UInt64, UTMCampaignHash UInt64, UTMContentHash UInt64, UTMTermHash UInt64, FromHash UInt64, WebVisorEnabled UInt8, WebVisorActivity UInt32, ParsedParams Nested(Key1 String, Key2 String, Key3 String, Key4 String, Key5 String, ValueDouble Float64), Market Nested(Type UInt8, GoalID UInt32, OrderID String, OrderPrice Int64, PP UInt32, DirectPlaceID UInt32, DirectOrderID UInt32, DirectBannerID UInt32, GoodID String, GoodName String, GoodQuantity Int32, GoodPrice Int64), IslandID FixedString(16)) ENGINE = CollapsingMergeTree(Sign) PARTITION BY toYYYYMM(StartDate) ORDER BY (CounterID, StartDate, intHash32(UserID), VisitID) SAMPLE BY intHash32(UserID) SETTINGS index_granularity = 8192, storage_policy='\''s3_cache'\''' + clickhouse-client --query 'INSERT INTO test.hits_s3 SELECT * FROM datasets.hits_v1 SETTINGS enable_filesystem_cache_on_write_operations=0' + clickhouse-client --query 'INSERT INTO test.hits SELECT * FROM datasets.hits_v1 SETTINGS enable_filesystem_cache_on_write_operations=0' + clickhouse-client --query 'INSERT INTO test.visits SELECT * FROM datasets.visits_v1 SETTINGS enable_filesystem_cache_on_write_operations=0' + clickhouse-client --query 'DROP TABLE datasets.visits_v1 SYNC' + clickhouse-client --query 'DROP TABLE datasets.hits_v1 SYNC' + clickhouse-client --query 'SHOW TABLES FROM test' hits hits_s3 visits + clickhouse-client --query 'SYSTEM STOP THREAD FUZZER' + stop_server + local max_tries=90 + local check_hang=true + local pid ++ cat /var/run/clickhouse-server/clickhouse-server.pid + pid=1440 + clickhouse stop --max-tries 90 --do-not-kill script.gdb:13: Error in sourced command file: No stack. /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Sent terminate signal to process with pid 1440. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1440. The process with pid = 1440 is running. Waiting for server to stop Now there is no clickhouse-server process. Server stopped + return + export USE_S3_STORAGE_FOR_MERGE_TREE=1 + USE_S3_STORAGE_FOR_MERGE_TREE=1 + export RANDOMIZE_OBJECT_KEY_TYPE=1 + RANDOMIZE_OBJECT_KEY_TYPE=1 + export ZOOKEEPER_FAULT_INJECTION=1 + ZOOKEEPER_FAULT_INJECTION=1 + export THREAD_POOL_FAULT_INJECTION=1 + THREAD_POOL_FAULT_INJECTION=1 + configure + export USE_DATABASE_ORDINARY=1 + USE_DATABASE_ORDINARY=1 + export EXPORT_S3_STORAGE_POLICIES=1 + EXPORT_S3_STORAGE_POLICIES=1 + /usr/share/clickhouse-test/config/install.sh + DEST_SERVER_PATH=/etc/clickhouse-server + DEST_CLIENT_PATH=/etc/clickhouse-client +++ dirname /usr/share/clickhouse-test/config/install.sh ++ cd /usr/share/clickhouse-test/config ++ pwd -P + SRC_PATH=/usr/share/clickhouse-test/config + echo 'Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server' + mkdir -p /etc/clickhouse-server/config.d/ Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server + mkdir -p /etc/clickhouse-server/users.d/ + mkdir -p /etc/clickhouse-client + ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_write.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/max_num_to_warn.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/listen.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/text_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/blob_storage_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/custom_settings_prefixes.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_access_control_improvements.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/macros.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/secure_ports.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/clusters.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/graphite.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/graphite_alternative.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/database_atomic.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/max_concurrent_queries.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree_settings.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/backoff_failed_mutation.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree_old_dirs_cleanup.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/test_cluster_with_incorrect_pw.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/keeper_port.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/logging_no_rotate.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/lost_forever_check.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/tcp_with_proxy.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/prometheus.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/top_level_domains_lists.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/top_level_domains_path.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/transactions.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/encryption.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/CORS.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/logger_trace.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/named_collection.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/ssl_certs.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/filesystem_cache_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/session_log.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/system_unfreeze.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_zero_copy_replication.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/nlp.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/forbidden_headers.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_keeper_map.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/custom_disks_base_path.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/display_name.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/reverse_dns_query_function.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/compressed_marks_and_index.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/disable_s3_env_credentials.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/enable_wait_for_shutdown_replicated_tables.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/backups.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/filesystem_caches_path.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/validate_tcp_client_information.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/zero_copy_destructive_operations.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/block_number.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/handlers.yaml /etc/clickhouse-server/config.d/ + '[' /etc/clickhouse-server = /etc/clickhouse-server ']' + ln -sf /usr/share/clickhouse-test/config/config.d/legacy_geobase.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/log_queries.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/readonly.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/access_management.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/database_atomic_drop_detach_sync.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/opentelemetry.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/remote_queries.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/session_log_test.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/memory_profiler.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/no_fsync_metadata.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/filelog.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/enable_blobs_check.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/marks.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/insert_keeper_retries.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/prefetch_settings.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/nonconst_timezone.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/allow_introspection_functions.yaml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/replicated_ddl_entry.xml /etc/clickhouse-server/users.d/ + [[ -n '' ]] + ln -sf /usr/share/clickhouse-test/config/users.d/timeouts.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/ints_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/strings_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/decimals_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/executable_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/executable_pool_dictionary.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/test_function.xml /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/top_level_domains /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/regions_hierarchy.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/regions_names_en.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/ext-en.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/ext-ru.txt /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/lem-en.bin /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/server.key /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/server.crt /etc/clickhouse-server/ + ln -sf /usr/share/clickhouse-test/config/dhparam.pem /etc/clickhouse-server/ + ln -sf --backup=simple --suffix=_original.xml /usr/share/clickhouse-test/config/config.d/query_masking_rules.xml /etc/clickhouse-server/config.d/ + [[ -n 1 ]] + [[ 1 -eq 1 ]] + rm -f /etc/clickhouse-server/config.d/zookeeper.xml + ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_fault_injection.xml /etc/clickhouse-server/config.d/ + [[ -n 1 ]] + [[ 1 -eq 1 ]] + ln -sf /usr/share/clickhouse-test/config/config.d/cannot_allocate_thread_injection.xml /etc/clickhouse-server/config.d/ + value=0 + sed --follow-symlinks -i 's|[01]|0|' /etc/clickhouse-server/config.d/keeper_port.xml + value=17379328 + sed --follow-symlinks -i 's|[[:digit:]]\+|17379328|' /etc/clickhouse-server/config.d/keeper_port.xml + value=21291008 + sed --follow-symlinks -i 's|[[:digit:]]\+|21291008|' /etc/clickhouse-server/config.d/keeper_port.xml + [[ -n '' ]] + [[ -n 1 ]] + [[ 1 -eq 1 ]] + ln -sf /usr/share/clickhouse-test/config/users.d/database_ordinary.xml /etc/clickhouse-server/users.d/ + [[ -n 1 ]] + [[ 1 -eq 1 ]] + object_key_types_options=("generate-suffix" "generate-full-key" "generate-template-key") + object_key_type=generate-suffix + [[ -n 1 ]] + [[ 1 -eq 1 ]] + object_key_type=generate-full-key + case $object_key_type in + ln -sf /usr/share/clickhouse-test/config/config.d/storage_metadata_with_full_object_key.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/s3_storage_policy_by_default.xml /etc/clickhouse-server/config.d/ + ARM=aarch64 ++ uname -m + OS=x86_64 + [[ -n 1 ]] + echo x86_64 + [[ '' -eq 1 ]] + [[ x86_64 == \a\a\r\c\h\6\4 ]] + echo 'Adding azure configuration' + ln -sf /usr/share/clickhouse-test/config/config.d/azure_storage_conf.xml /etc/clickhouse-server/config.d/ x86_64 Adding azure configuration + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02944.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02963.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02961.xml /etc/clickhouse-server/config.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/s3_cache.xml /etc/clickhouse-server/users.d/ + ln -sf /usr/share/clickhouse-test/config/users.d/s3_cache_new.xml /etc/clickhouse-server/users.d/ + [[ -n '' ]] + ln -sf /usr/share/clickhouse-test/config/client_config.xml /etc/clickhouse-client/config.xml + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|100000|10000|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + [[ -n 1 ]] + [[ 1 -eq 1 ]] + randomize_config_boolean_value filtered_list keeper_port + value=1 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|1|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + randomize_config_boolean_value multi_read keeper_port + value=0 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|0|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + randomize_config_boolean_value check_not_exists keeper_port + value=1 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|1|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + randomize_config_boolean_value create_if_not_exists keeper_port + value=0 + sudo cat /etc/clickhouse-server/config.d/keeper_port.xml + sed 's|[01]|0|' + sudo mv /etc/clickhouse-server/config.d/keeper_port.xml.tmp /etc/clickhouse-server/config.d/keeper_port.xml + sudo chown clickhouse /etc/clickhouse-server/config.d/keeper_port.xml + sudo chgrp clickhouse /etc/clickhouse-server/config.d/keeper_port.xml + [[ -n 1 ]] + [[ 1 -eq 1 ]] + randomize_config_boolean_value use_compression zookeeper_fault_injection + value=1 + sudo cat /etc/clickhouse-server/config.d/zookeeper_fault_injection.xml + sed 's|[01]|1|' + sudo mv /etc/clickhouse-server/config.d/zookeeper_fault_injection.xml.tmp /etc/clickhouse-server/config.d/zookeeper_fault_injection.xml + randomize_config_boolean_value allow_experimental_block_number_column block_number + value=1 + sed 's|[01]|1|' + sudo cat /etc/clickhouse-server/config.d/block_number.xml + sudo mv /etc/clickhouse-server/config.d/block_number.xml.tmp /etc/clickhouse-server/config.d/block_number.xml + echo 'ASAN_OPTIONS='\''malloc_context_size=10 verbosity=1 allocator_release_to_os_interval_ms=10000'\''' + export 'ASAN_OPTIONS=malloc_context_size=10 allocator_release_to_os_interval_ms=10000' + ASAN_OPTIONS='malloc_context_size=10 allocator_release_to_os_interval_ms=10000' + sudo chown root: /var/lib/clickhouse + echo '1' + local total_mem ++ awk '/MemTotal/ { print $(NF-1) }' /proc/meminfo + total_mem=32086440 + total_mem=32856514560 + max_server_memory_usage_to_ram_ratio=0.5 + echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5' + cat Setting max_server_memory_usage_to_ram_ratio to 0.5 Setting max_memory_usage_for_user=9856954368 and max_memory_usage for queries to 10G + local max_users_mem + max_users_mem=9856954368 + echo 'Setting max_memory_usage_for_user=9856954368 and max_memory_usage for queries to 10G' + cat + cat + sudo cat /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml + sed 's|
s3
|
s3
default|' + mv /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml.tmp /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml + sudo chown clickhouse /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml + sudo chgrp clickhouse /etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml + sudo cat /etc/clickhouse-server/config.d/logger_trace.xml + sed 's|trace|test|' + mv /etc/clickhouse-server/config.d/logger_trace.xml.tmp /etc/clickhouse-server/config.d/logger_trace.xml + '[' LRU = SLRU ']' ++ date +%-d + '[' 1 -eq 1 ']' + sudo echo 'true' + start_server + counter=0 + max_attempt=120 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 0 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=1 + clickhouse-client --query 'SELECT 1' 127.0.0.1 - - [05/Nov/2024:18:00:59 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 - 127.0.0.1 - - [05/Nov/2024:18:00:59 +0000] "PUT /devstoreaccount1/cont/cqivnnscmmhyikwpcokhfufxfhwiavuz?blockid=dseirmlnmbyxtijdphpenzpjzkmkgbwxzquwkmttqrchclmttcgjltvvcqtqrlqg&comp=block HTTP/1.1" 201 - Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) 127.0.0.1 - - [05/Nov/2024:18:00:59 +0000] "PUT /devstoreaccount1/cont/cqivnnscmmhyikwpcokhfufxfhwiavuz?comp=blocklist HTTP/1.1" 201 - + '[' 1 -gt 120 ']' + clickhouse start --user root 127.0.0.1 - - [05/Nov/2024:18:00:59 +0000] "GET /devstoreaccount1/cont/cqivnnscmmhyikwpcokhfufxfhwiavuz HTTP/1.1" 206 4 127.0.0.1 - - [05/Nov/2024:18:00:59 +0000] "GET /devstoreaccount1/cont/cqivnnscmmhyikwpcokhfufxfhwiavuz HTTP/1.1" 206 2 127.0.0.1 - - [05/Nov/2024:18:00:59 +0000] "DELETE /devstoreaccount1/cont/cqivnnscmmhyikwpcokhfufxfhwiavuz HTTP/1.1" 202 - + sleep 0.5 + counter=2 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 2 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=3 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 3 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=4 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 4 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=5 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 5 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=6 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 6 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=7 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 7 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=8 + clickhouse-client --query 'SELECT 1' 1 + attach_gdb_to_clickhouse ++ kill -l SIGRTMIN + RTMIN=34 + echo ' set follow-fork-mode parent handle SIGHUP nostop noprint pass handle SIGINT nostop noprint pass handle SIGQUIT nostop noprint pass handle SIGPIPE nostop noprint pass handle SIGTERM nostop noprint pass handle SIGUSR1 nostop noprint pass handle SIGUSR2 nostop noprint pass handle SIG34 nostop noprint pass info signals continue backtrace full thread apply all backtrace full info registers disassemble /s up disassemble /s up disassemble /s p "done" detach quit ' + sleep 5 + ts '%Y-%m-%d %H:%M:%S' ++ cat /var/run/clickhouse-server/clickhouse-server.pid + gdb -batch -command script.gdb -p 2763 + run_with_retry 60 clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' + [[ hxB =~ e ]] + set_e=false + set +e + local total_retries=60 + shift + local retry=0 + '[' 0 -ge 60 ']' + clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' Connected to clickhouse-server after attaching gdb + false + return + stress --hung-check --drop-databases --output-folder test_output --skip-func-tests '' --global-time-limit 1200 2024-11-05 19:01:53,899 Run func tests '/usr/bin/clickhouse-test --client-option optimize_trivial_approximate_count_query=1 http_make_head_request=0 --global_time_limit=1200 ' 2024-11-05 19:01:54,401 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_1 --client-option join_use_nulls=1 join_algorithm='parallel_hash' memory_tracker_fault_probability=0.001 merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability=0.05 group_by_use_nulls=1 http_make_head_request=1 --global_time_limit=1200 ' 2024-11-05 19:01:54,902 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_2', 's1', 'r1')" --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 http_make_head_request=1 --global_time_limit=1200 ' 2024-11-05 19:01:55,403 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_3 --client-option join_algorithm='partial_merge' group_by_use_nulls=1 --global_time_limit=1200 ' 2024-11-05 19:01:55,904 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 --global_time_limit=1200 ' 2024-11-05 19:01:56,406 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_5', 's1', 'r1')" --database=test_5 --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 join_algorithm='full_sorting_merge' use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 ' 2024-11-05 19:01:56,907 Run func tests '/usr/bin/clickhouse-test --order=random --client-option memory_tracker_fault_probability=0.001 merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability=0.05 --global_time_limit=1200 ' 2024-11-05 19:01:57,408 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_7 --client-option join_use_nulls=1 join_algorithm='grace_hash' use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 ' 2024-11-05 19:01:57,909 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_8', 's1', 'r1')" --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 http_make_head_request=0 --global_time_limit=1200 ' 2024-11-05 19:01:58,410 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_9 --client-option join_algorithm='auto' max_rows_in_join=1000 use_query_cache=1 group_by_use_nulls=1 http_make_head_request=1 --global_time_limit=1200 ' 2024-11-05 19:01:58,912 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 http_make_head_request=0 --global_time_limit=1200 ' 2024-11-05 19:01:59,413 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_11', 's1', 'r1')" --database=test_11 --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 join_algorithm='parallel_hash' use_query_cache=1 memory_tracker_fault_probability=0.001 merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability=0.05 group_by_use_nulls=1 --global_time_limit=1200 ' 2024-11-05 19:01:59,914 Run func tests '/usr/bin/clickhouse-test --order=random --client-option implicit_transaction=1 throw_on_unsupported_query_inside_transaction=0 --global_time_limit=1200 ' 2024-11-05 19:02:00,415 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_13 --client-option join_use_nulls=1 join_algorithm='partial_merge' group_by_use_nulls=1 --global_time_limit=1200 ' 2024-11-05 19:02:00,916 Run func tests '/usr/bin/clickhouse-test --order=random --db-engine="Replicated('/test/db/test_14', 's1', 'r1')" --client-option allow_experimental_database_replicated=1 enable_deflate_qpl_codec=1 enable_zstd_qat_codec=1 --global_time_limit=1200 ' 2024-11-05 19:02:01,417 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_15 --client-option join_algorithm='full_sorting_merge' use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 ' 2024-11-05 19:02:01,918 Will wait functests to finish 2024-11-05 19:02:01,919 Finished 7 from 16 processes 2024-11-05 19:02:06,922 Finished 8 from 16 processes 2024-11-05 19:02:11,926 Finished 8 from 16 processes 2024-11-05 19:02:16,930 Finished 8 from 16 processes 2024-11-05 19:02:21,936 Finished 8 from 16 processes 2024-11-05 19:02:26,938 Finished 8 from 16 processes 2024-11-05 19:02:31,944 Finished 8 from 16 processes 2024-11-05 19:02:36,946 Finished 8 from 16 processes 2024-11-05 19:02:41,951 Finished 8 from 16 processes 2024-11-05 19:02:46,954 Finished 8 from 16 processes 2024-11-05 19:02:51,958 Finished 8 from 16 processes 2024-11-05 19:02:56,962 Finished 8 from 16 processes 2024-11-05 19:03:01,966 Finished 8 from 16 processes 2024-11-05 19:03:06,970 Finished 8 from 16 processes 2024-11-05 19:03:11,974 Finished 8 from 16 processes 2024-11-05 19:03:16,978 Finished 8 from 16 processes 2024-11-05 19:03:21,982 Finished 8 from 16 processes 2024-11-05 19:03:26,986 Finished 8 from 16 processes 2024-11-05 19:03:31,990 Finished 8 from 16 processes 2024-11-05 19:03:36,994 Finished 8 from 16 processes 2024-11-05 19:03:41,999 Finished 8 from 16 processes 2024-11-05 19:03:47,002 Finished 8 from 16 processes 2024-11-05 19:03:52,006 Finished 8 from 16 processes 2024-11-05 19:03:57,010 Finished 8 from 16 processes 2024-11-05 19:04:02,014 Finished 8 from 16 processes 2024-11-05 19:04:07,018 Finished 8 from 16 processes 2024-11-05 19:04:12,022 Finished 8 from 16 processes 2024-11-05 19:04:17,026 Finished 8 from 16 processes 2024-11-05 19:04:22,030 Finished 8 from 16 processes 2024-11-05 19:04:27,034 Finished 8 from 16 processes 2024-11-05 19:04:32,040 Finished 8 from 16 processes 2024-11-05 19:04:37,042 Finished 8 from 16 processes 2024-11-05 19:04:42,048 Finished 8 from 16 processes 2024-11-05 19:04:47,050 Finished 8 from 16 processes 2024-11-05 19:04:52,054 Finished 8 from 16 processes 2024-11-05 19:04:57,058 Finished 8 from 16 processes 2024-11-05 19:05:02,062 Finished 8 from 16 processes 2024-11-05 19:05:07,066 Finished 8 from 16 processes 2024-11-05 19:05:12,070 Finished 8 from 16 processes 2024-11-05 19:05:17,075 Finished 8 from 16 processes 2024-11-05 19:05:22,078 Finished 8 from 16 processes 2024-11-05 19:05:27,082 Finished 8 from 16 processes 2024-11-05 19:05:32,086 Finished 8 from 16 processes 2024-11-05 19:05:37,088 Finished 8 from 16 processes 2024-11-05 19:05:42,090 Finished 8 from 16 processes 2024-11-05 19:05:47,094 Finished 8 from 16 processes 2024-11-05 19:05:52,098 Finished 8 from 16 processes 2024-11-05 19:05:57,102 Finished 8 from 16 processes 2024-11-05 19:06:02,107 Finished 8 from 16 processes 2024-11-05 19:06:07,110 Finished 8 from 16 processes 2024-11-05 19:06:12,113 Finished 8 from 16 processes 2024-11-05 19:06:17,119 Finished 8 from 16 processes 2024-11-05 19:06:22,122 Finished 8 from 16 processes 2024-11-05 19:06:27,126 Finished 8 from 16 processes 2024-11-05 19:06:32,130 Finished 8 from 16 processes 2024-11-05 19:06:37,134 Finished 8 from 16 processes 2024-11-05 19:06:42,138 Finished 8 from 16 processes 2024-11-05 19:06:47,139 Finished 8 from 16 processes 2024-11-05 19:06:52,142 Finished 8 from 16 processes 2024-11-05 19:06:57,147 Finished 8 from 16 processes 2024-11-05 19:07:02,150 Finished 8 from 16 processes 2024-11-05 19:07:07,154 Finished 8 from 16 processes 2024-11-05 19:07:12,159 Finished 8 from 16 processes 2024-11-05 19:07:17,163 Finished 8 from 16 processes 2024-11-05 19:07:22,166 Finished 8 from 16 processes 2024-11-05 19:07:27,171 Finished 8 from 16 processes 2024-11-05 19:07:32,174 Finished 8 from 16 processes 2024-11-05 19:07:37,180 Finished 8 from 16 processes 2024-11-05 19:07:42,182 Finished 8 from 16 processes 2024-11-05 19:07:47,186 Finished 8 from 16 processes 2024-11-05 19:07:52,190 Finished 8 from 16 processes 2024-11-05 19:07:57,196 Finished 8 from 16 processes 2024-11-05 19:08:02,198 Finished 8 from 16 processes 2024-11-05 19:08:07,202 Finished 8 from 16 processes 2024-11-05 19:08:12,206 Finished 8 from 16 processes 2024-11-05 19:08:17,210 Finished 8 from 16 processes 2024-11-05 19:08:22,214 Finished 8 from 16 processes 2024-11-05 19:08:27,220 Finished 8 from 16 processes 2024-11-05 19:08:32,222 Finished 8 from 16 processes 2024-11-05 19:08:37,226 Finished 8 from 16 processes 2024-11-05 19:08:42,230 Finished 8 from 16 processes 2024-11-05 19:08:47,234 Finished 8 from 16 processes 2024-11-05 19:08:52,238 Finished 8 from 16 processes 2024-11-05 19:08:57,242 Finished 8 from 16 processes 2024-11-05 19:09:02,247 Finished 8 from 16 processes 2024-11-05 19:09:07,250 Finished 8 from 16 processes 2024-11-05 19:09:12,254 Finished 8 from 16 processes 2024-11-05 19:09:17,258 Finished 8 from 16 processes 2024-11-05 19:09:22,262 Finished 8 from 16 processes 2024-11-05 19:09:27,267 Finished 8 from 16 processes 2024-11-05 19:09:32,271 Finished 8 from 16 processes 2024-11-05 19:09:37,276 Finished 8 from 16 processes 2024-11-05 19:09:42,278 Finished 8 from 16 processes 2024-11-05 19:09:47,282 Finished 8 from 16 processes 2024-11-05 19:09:52,286 Finished 8 from 16 processes 2024-11-05 19:09:57,290 Finished 8 from 16 processes 2024-11-05 19:10:02,294 Finished 8 from 16 processes 2024-11-05 19:10:07,298 Finished 8 from 16 processes 2024-11-05 19:10:12,303 Finished 8 from 16 processes 2024-11-05 19:10:17,306 Finished 8 from 16 processes 2024-11-05 19:10:22,310 Finished 8 from 16 processes 2024-11-05 19:10:27,314 Finished 8 from 16 processes 2024-11-05 19:10:32,318 Finished 8 from 16 processes 2024-11-05 19:10:37,322 Finished 8 from 16 processes 2024-11-05 19:10:42,326 Finished 8 from 16 processes 2024-11-05 19:10:47,331 Finished 8 from 16 processes 2024-11-05 19:10:52,334 Finished 8 from 16 processes 2024-11-05 19:10:57,338 Finished 8 from 16 processes 2024-11-05 19:11:02,344 Finished 8 from 16 processes 2024-11-05 19:11:07,346 Finished 8 from 16 processes 2024-11-05 19:11:12,350 Finished 8 from 16 processes 2024-11-05 19:11:17,354 Finished 8 from 16 processes 2024-11-05 19:11:22,358 Finished 8 from 16 processes 2024-11-05 19:11:27,362 Finished 8 from 16 processes 2024-11-05 19:11:32,366 Finished 8 from 16 processes 2024-11-05 19:11:37,370 Finished 8 from 16 processes 2024-11-05 19:11:42,374 Finished 8 from 16 processes 2024-11-05 19:11:47,378 Finished 8 from 16 processes 2024-11-05 19:11:52,382 Finished 8 from 16 processes 2024-11-05 19:11:57,387 Finished 8 from 16 processes 2024-11-05 19:12:02,390 Finished 8 from 16 processes 2024-11-05 19:12:07,394 Finished 8 from 16 processes 2024-11-05 19:12:12,398 Finished 8 from 16 processes 2024-11-05 19:12:17,402 Finished 8 from 16 processes 2024-11-05 19:12:22,406 Finished 8 from 16 processes 2024-11-05 19:12:27,410 Finished 8 from 16 processes 2024-11-05 19:12:32,416 Finished 8 from 16 processes 2024-11-05 19:12:37,418 Finished 8 from 16 processes 2024-11-05 19:12:42,422 Finished 8 from 16 processes 2024-11-05 19:12:47,427 Finished 8 from 16 processes 2024-11-05 19:12:52,430 Finished 8 from 16 processes 2024-11-05 19:12:57,434 Finished 8 from 16 processes 2024-11-05 19:13:02,438 Finished 8 from 16 processes 2024-11-05 19:13:07,442 Finished 8 from 16 processes 2024-11-05 19:13:12,446 Finished 8 from 16 processes 2024-11-05 19:13:17,450 Finished 8 from 16 processes 2024-11-05 19:13:22,454 Finished 8 from 16 processes 2024-11-05 19:13:27,458 Finished 8 from 16 processes 2024-11-05 19:13:32,462 Finished 8 from 16 processes 2024-11-05 19:13:37,466 Finished 8 from 16 processes 2024-11-05 19:13:42,470 Finished 9 from 16 processes 2024-11-05 19:13:47,474 Finished 9 from 16 processes 2024-11-05 19:13:52,478 Finished 9 from 16 processes 2024-11-05 19:13:57,482 Finished 9 from 16 processes 2024-11-05 19:14:02,487 Finished 9 from 16 processes 2024-11-05 19:14:07,490 Finished 9 from 16 processes 2024-11-05 19:14:12,494 Finished 9 from 16 processes 2024-11-05 19:14:17,498 Finished 9 from 16 processes 2024-11-05 19:14:22,502 Finished 9 from 16 processes 2024-11-05 19:14:27,506 Finished 9 from 16 processes 2024-11-05 19:14:32,510 Finished 9 from 16 processes 2024-11-05 19:14:37,514 Finished 9 from 16 processes 2024-11-05 19:14:42,518 Finished 9 from 16 processes 2024-11-05 19:14:47,522 Finished 9 from 16 processes 2024-11-05 19:14:52,526 Finished 9 from 16 processes 2024-11-05 19:14:57,530 Finished 9 from 16 processes 2024-11-05 19:15:02,534 Finished 9 from 16 processes 2024-11-05 19:15:07,538 Finished 9 from 16 processes 2024-11-05 19:15:12,542 Finished 9 from 16 processes 2024-11-05 19:15:17,546 Finished 9 from 16 processes 2024-11-05 19:15:22,550 Finished 9 from 16 processes 2024-11-05 19:15:27,554 Finished 9 from 16 processes 2024-11-05 19:15:32,559 Finished 9 from 16 processes 2024-11-05 19:15:37,562 Finished 9 from 16 processes 2024-11-05 19:15:42,566 Finished 9 from 16 processes 2024-11-05 19:15:47,570 Finished 9 from 16 processes 2024-11-05 19:15:52,574 Finished 9 from 16 processes 2024-11-05 19:15:57,578 Finished 9 from 16 processes 2024-11-05 19:16:02,582 Finished 9 from 16 processes 2024-11-05 19:16:07,586 Finished 9 from 16 processes 2024-11-05 19:16:12,590 Finished 9 from 16 processes 2024-11-05 19:16:17,594 Finished 9 from 16 processes 2024-11-05 19:16:22,598 Finished 9 from 16 processes 2024-11-05 19:16:27,602 Finished 9 from 16 processes 2024-11-05 19:16:32,606 Finished 9 from 16 processes 2024-11-05 19:16:37,610 Finished 9 from 16 processes 2024-11-05 19:16:42,614 Finished 9 from 16 processes 2024-11-05 19:16:47,618 Finished 9 from 16 processes 2024-11-05 19:16:52,623 Finished 9 from 16 processes 2024-11-05 19:16:57,627 Finished 9 from 16 processes 2024-11-05 19:17:02,630 Finished 9 from 16 processes 2024-11-05 19:17:07,634 Finished 9 from 16 processes 2024-11-05 19:17:12,638 Finished 9 from 16 processes 2024-11-05 19:17:17,642 Finished 9 from 16 processes 2024-11-05 19:17:22,647 Finished 9 from 16 processes 2024-11-05 19:17:27,650 Finished 9 from 16 processes 2024-11-05 19:17:32,654 Finished 9 from 16 processes 2024-11-05 19:17:37,658 Finished 9 from 16 processes 2024-11-05 19:17:42,662 Finished 9 from 16 processes 2024-11-05 19:17:47,667 Finished 9 from 16 processes 2024-11-05 19:17:52,672 Finished 9 from 16 processes 2024-11-05 19:17:57,674 Finished 9 from 16 processes 2024-11-05 19:18:02,678 Finished 9 from 16 processes 2024-11-05 19:18:07,683 Finished 9 from 16 processes 2024-11-05 19:18:12,686 Finished 9 from 16 processes 2024-11-05 19:18:17,690 Finished 9 from 16 processes 2024-11-05 19:18:22,694 Finished 9 from 16 processes 2024-11-05 19:18:27,698 Finished 9 from 16 processes 2024-11-05 19:18:32,702 Finished 9 from 16 processes 2024-11-05 19:18:37,706 Finished 9 from 16 processes 2024-11-05 19:18:42,710 Finished 9 from 16 processes 2024-11-05 19:18:47,714 Finished 9 from 16 processes 2024-11-05 19:18:52,718 Finished 9 from 16 processes 2024-11-05 19:18:57,722 Finished 9 from 16 processes 2024-11-05 19:19:02,726 Finished 9 from 16 processes 2024-11-05 19:19:07,730 Finished 9 from 16 processes 2024-11-05 19:19:12,734 Finished 9 from 16 processes 2024-11-05 19:19:17,739 Finished 9 from 16 processes 2024-11-05 19:19:22,742 Finished 9 from 16 processes 2024-11-05 19:19:27,746 Finished 9 from 16 processes 2024-11-05 19:19:32,750 Finished 9 from 16 processes 2024-11-05 19:19:37,754 Finished 9 from 16 processes 2024-11-05 19:19:42,758 Finished 9 from 16 processes 2024-11-05 19:19:47,763 Finished 9 from 16 processes 2024-11-05 19:19:52,766 Finished 9 from 16 processes 2024-11-05 19:19:57,770 Finished 9 from 16 processes 2024-11-05 19:20:02,774 Finished 9 from 16 processes 2024-11-05 19:20:07,778 Finished 9 from 16 processes 2024-11-05 19:20:12,783 Finished 9 from 16 processes 2024-11-05 19:20:17,786 Finished 9 from 16 processes 2024-11-05 19:20:22,790 Finished 9 from 16 processes 2024-11-05 19:20:27,794 Finished 9 from 16 processes 2024-11-05 19:20:32,798 Finished 9 from 16 processes 2024-11-05 19:20:37,802 Finished 9 from 16 processes 2024-11-05 19:20:42,806 Finished 9 from 16 processes 2024-11-05 19:20:47,810 Finished 9 from 16 processes 2024-11-05 19:20:52,814 Finished 9 from 16 processes 2024-11-05 19:20:57,818 Finished 9 from 16 processes 2024-11-05 19:21:02,822 Finished 9 from 16 processes 2024-11-05 19:21:07,826 Finished 9 from 16 processes 2024-11-05 19:21:12,831 Finished 9 from 16 processes 2024-11-05 19:21:17,834 Finished 9 from 16 processes 2024-11-05 19:21:22,838 Finished 9 from 16 processes 2024-11-05 19:21:27,842 Finished 9 from 16 processes 2024-11-05 19:21:32,846 Finished 9 from 16 processes 2024-11-05 19:21:37,851 Finished 9 from 16 processes 2024-11-05 19:21:42,854 Finished 9 from 16 processes 2024-11-05 19:21:47,858 Finished 9 from 16 processes 2024-11-05 19:21:52,863 Finished 9 from 16 processes 2024-11-05 19:21:57,866 Finished 10 from 16 processes 2024-11-05 19:22:02,870 Finished 12 from 16 processes 2024-11-05 19:22:07,874 Finished 13 from 16 processes 2024-11-05 19:22:12,878 Finished 15 from 16 processes 2024-11-05 19:22:17,882 Finished 15 from 16 processes 2024-11-05 19:22:22,886 Finished 15 from 16 processes 2024-11-05 19:22:27,890 Finished 15 from 16 processes 2024-11-05 19:22:32,894 Finished 15 from 16 processes 2024-11-05 19:22:37,899 Finished 15 from 16 processes 2024-11-05 19:22:42,902 Finished 15 from 16 processes 2024-11-05 19:22:47,906 Finished 15 from 16 processes 2024-11-05 19:22:52,910 Finished 15 from 16 processes 2024-11-05 19:22:57,914 Finished 15 from 16 processes 2024-11-05 19:23:02,918 Finished 15 from 16 processes 2024-11-05 19:23:07,922 Finished 15 from 16 processes 2024-11-05 19:23:12,926 Finished 15 from 16 processes 2024-11-05 19:23:17,930 Finished 15 from 16 processes 2024-11-05 19:23:22,935 Finished 15 from 16 processes 2024-11-05 19:23:27,938 Finished 15 from 16 processes 2024-11-05 19:23:32,942 Finished 15 from 16 processes 2024-11-05 19:23:37,946 Finished 15 from 16 processes 2024-11-05 19:23:42,952 Finished 15 from 16 processes 2024-11-05 19:23:47,954 Finished 15 from 16 processes 2024-11-05 19:23:52,958 Finished 15 from 16 processes 2024-11-05 19:23:57,962 Finished 15 from 16 processes 2024-11-05 19:24:02,966 Finished 15 from 16 processes 2024-11-05 19:24:07,970 Finished 15 from 16 processes 2024-11-05 19:24:12,974 Finished 15 from 16 processes 2024-11-05 19:24:17,979 Finished 15 from 16 processes 2024-11-05 19:24:22,982 Finished 15 from 16 processes 2024-11-05 19:24:27,986 Finished 15 from 16 processes 2024-11-05 19:24:32,990 Finished 15 from 16 processes 2024-11-05 19:24:37,994 Finished 15 from 16 processes 2024-11-05 19:24:42,999 Finished 15 from 16 processes 2024-11-05 19:24:48,002 Finished 15 from 16 processes 2024-11-05 19:24:53,004 Finished 15 from 16 processes 2024-11-05 19:24:58,006 Finished 15 from 16 processes 2024-11-05 19:25:03,010 Finished 15 from 16 processes 2024-11-05 19:25:08,014 Finished 15 from 16 processes 2024-11-05 19:25:13,018 Finished 15 from 16 processes 2024-11-05 19:25:18,022 Finished 15 from 16 processes 2024-11-05 19:25:23,026 Finished 15 from 16 processes 2024-11-05 19:25:28,030 Finished 15 from 16 processes 2024-11-05 19:25:33,034 Finished 15 from 16 processes 2024-11-05 19:25:38,038 Finished 15 from 16 processes 2024-11-05 19:25:43,042 Finished 15 from 16 processes 2024-11-05 19:25:48,047 Finished 15 from 16 processes 2024-11-05 19:25:53,050 Finished 15 from 16 processes 2024-11-05 19:25:58,054 Finished 15 from 16 processes 2024-11-05 19:26:03,058 Finished 15 from 16 processes 2024-11-05 19:26:08,064 Finished 15 from 16 processes 2024-11-05 19:26:13,066 Finished 15 from 16 processes 2024-11-05 19:26:18,070 Finished 15 from 16 processes 2024-11-05 19:26:23,074 Finished 15 from 16 processes 2024-11-05 19:26:28,078 Finished 15 from 16 processes 2024-11-05 19:26:33,082 Finished 15 from 16 processes 2024-11-05 19:26:38,086 Finished 15 from 16 processes 2024-11-05 19:26:43,090 Finished 15 from 16 processes 2024-11-05 19:26:48,094 Finished 15 from 16 processes 2024-11-05 19:26:53,098 All processes finished 2024-11-05 19:26:53,099 Compressing stress logs 2024-11-05 19:26:53,135 Logs compressed 2024-11-05 19:26:53,135 Will terminate gdb (if any) 2024-11-05 19:26:53,135 Running command: kill -TERM $(pidof gdb) 2024-11-05 19:26:53,143 Running command: timeout 50s tail --pid=$(pidof gdb) -f /dev/null || kill -9 $(pidof gdb) ||: Quit 2024-11-05 19:26:54,159 Running command: kill -CONT $(cat /var/run/clickhouse-server/clickhouse-server.pid) && clickhouse client -q 'SELECT 1 FORMAT Null' 2024-11-05 19:26:54,426 Running command: clickhouse client -q "SYSTEM STOP THREAD FUZZER" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:54,641 Running command: clickhouse client -q "SYSTEM START MERGES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:54,856 Running command: clickhouse client -q "SYSTEM START DISTRIBUTED SENDS" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:55,020 Running command: clickhouse client -q "SYSTEM START TTL MERGES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:55,235 Running command: clickhouse client -q "SYSTEM START MOVES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:55,549 Running command: clickhouse client -q "SYSTEM START FETCHES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:55,764 Running command: clickhouse client -q "SYSTEM START REPLICATED SENDS" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:55,979 Running command: clickhouse client -q "SYSTEM START REPLICATION QUEUES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:56,194 Running command: clickhouse client -q "SYSTEM DROP MARK CACHE" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:56,408 Running command: clickhouse client -q "KILL QUERY WHERE upper(query) LIKE 'WATCH %'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:56,623 Running command: clickhouse client -q "KILL QUERY WHERE query LIKE 'insert into tableB select %'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:56,787 Running command: clickhouse client -q "KILL QUERY WHERE query LIKE 'SELECT URL, uniq(SearchPhrase) AS u FROM test.hits GROUP BY URL ORDER BY u %'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:26:56,951 Running command: clickhouse client -q "KILL QUERY WHERE query LIKE 'SELECT (SELECT number FROM system.numbers WHERE number = 1000000000000)%'" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0 --max_memory_usage_in_client=1000000000 2024-11-05 19:31:59,214 Checking if some queries hung Using queries from '/usr/share/clickhouse-test/queries' directory Connecting to ClickHouse server... OK Connected to server 24.3.12.76.altinitystable @ 5b67ba5a4febfa774d6373929d551c6a697d7d92 HEAD Running 1 stateless tests (MainProcess). 00001_select_1: [ OK ] 1 tests passed. 0 tests skipped. 0.36 s elapsed (MainProcess). Won't run stateful tests because test data wasn't loaded. Checking the hung queries: done No queries hung. All tests have finished. Top patterns of log messages: count count_% size size_% uniq_loggers uniq_threads levels background_% message_format_string 1. 30783 0.061 1.75 MiB 0.009 5 256 ['Trace'] 0.001 Access granted: {}{} 2. 27230 0.054 70.08 MiB 0.376 36 528 ['Error'] 0.998 Table is in readonly mode (replica path: {}) 3. 18615 0.037 3.90 MiB 0.021 1 79 ['Debug'] 0 (from {}{}{}){}{} {} (stage: {}) 4. 18596 0.037 2.78 MiB 0.015 4 79 ['Trace'] 1 {} Creating query context from {} context, user_id: {}, parent context user: {} 5. 18039 0.036 4.39 MiB 0.024 1 151 ['Information'] 0.079 WriteBufferFromS3 is not finalized in destructor. The file might not be written to S3. {}. 6. 15226 0.03 682.76 KiB 0.004 1 1 ['Trace'] 1 Processing requests batch, size: {}, bytes: {} 7. 13924 0.028 5.92 MiB 0.032 1 139 ['Trace'] 0.002 Query {} to stage {}{} 8. 13822 0.027 6.17 MiB 0.033 1 139 ['Trace'] 0.002 Query {} from stage {} to stage {}{} 9. 13319 0.026 375.87 KiB 0.002 1 79 ['Debug'] 0 Processed in {} sec. 10. 12578 0.025 749.28 KiB 0.004 1 145 ['Debug'] 0.843 Key {} is removed from metadata 11. 12378 0.025 1.36 MiB 0.007 5 125 ['Debug'] 0.996 {} Authenticated with global context as user {} 12. 12378 0.025 1.01 MiB 0.005 5 125 ['Debug'] 0.996 {} Authenticating user '{}' from {} 13. 12359 0.024 1.06 MiB 0.006 5 125 ['Debug'] 0.996 {} Logout, user_id: {} 14. 12312 0.024 1.32 MiB 0.007 4 79 ['Debug'] 1 {} Creating session context with user_id: {} 15. 9111 0.018 524.95 KiB 0.003 1 448 ['Debug'] 0.09 Submitting key {} for removal 16. 8340 0.017 777.35 KiB 0.004 1 79 ['Debug'] 1 Connected {} version {}.{}.{}, revision: {}{}{}. 17. 8338 0.017 270.72 KiB 0.001 1 79 ['Trace'] 1 TCP Request. Address: {} 18. 7154 0.014 568.82 KiB 0.003 1 63 ['Debug'] 0 Read {} rows, {} in {} sec., {} rows/sec., {}/sec. 19. 6850 0.014 180.62 KiB 0.001 1 79 ['Debug'] 1 Done processing connection. 20. 6258 0.012 711.29 KiB 0.004 1 17 ['Debug'] 0 Reading {} marks from part {}, total {} rows starting from the beginning of the part, column {} 21. 5588 0.011 22.54 MiB 0.121 38 123 ['Error'] 0.114 Cannot schedule a task: {} (threads={}, jobs={}) 22. 5138 0.01 356.50 KiB 0.002 350 725 ['Trace'] 0.693 Trying to reserve {} using storage policy from min volume index {} 23. 5093 0.01 484.34 KiB 0.003 1 27 ['Debug'] 0 Reading {} marks from part {}, total {} rows starting from the beginning of the part 24. 5042 0.01 1.01 MiB 0.005 2 61 ['Trace'] 1 HTTP Request for {}. Method: {}, Address: {}, User-Agent: {}{}, Content Type: {}, Transfer Encoding: {}, X-Forwarded-For: {} 25. 5037 0.01 6.05 MiB 0.033 2 61 ['Trace'] 1 Request URI: {} 26. 4873 0.01 426.58 KiB 0.002 54 44 ['Trace'] 0 Reading {} ranges in{}order from part {}, approx. {} rows starting from {} 27. 4454 0.009 523.08 KiB 0.003 305 284 ['Trace'] 0.704 Renaming temporary part {} to {} with tid {}. 28. 4393 0.009 206.82 KiB 0.001 1 312 ['Trace'] 0.514 filled checksums {} 29. 4359 0.009 205.68 KiB 0.001 1 82 ['Debug'] 0.207 Peak memory usage{}: {}. 30. 3816 0.008 1.53 MiB 0.008 1 500 ['Debug'] 0.824 Objects with paths [{}] were removed from S3 31. 3645 0.007 563.58 KiB 0.003 16 46 ['Debug'] 0 ZooKeeperRetriesControl: {}: {}: retry_count={}/{} timeout={}ms error={} message={} 32. 3517 0.007 473.97 KiB 0.002 1 271 ['Information'] 0 Sorting and writing part of data into temporary file {} 33. 3487 0.007 71.51 KiB 0 2 60 ['Debug'] 0.293 Done processing query 34. 3267 0.006 3.34 MiB 0.018 1 391 ['Debug'] 0.803 metadata and objects were removed for [{}], only metadata were removed for [{}]. 35. 3252 0.006 349.07 KiB 0.002 16 43 ['Trace'] 0 ZooKeeperRetriesControl: {}: setKeeperError: error={} message={} 36. 3146 0.006 546.44 KiB 0.003 1 238 ['Information'] 0 Done writing part of data into temporary file {}, compressed {}, uncompressed {} 37. 3104 0.006 92.09 KiB 0 1 459 ['Trace'] 0 Aggregation method: {} 38. 3070 0.006 281.34 KiB 0.001 1 458 ['Trace'] 0 Aggregated. {} to {} rows (from {}) in {} sec. ({:.3f} rows/sec., {}/sec.) 39. 3050 0.006 361.30 KiB 0.002 1 9 ['Trace'] 1 Creating part at path {} 40. 2745 0.005 59.57 KiB 0 215 517 ['Trace'] 1 Execution took {} ms. 41. 2722 0.005 233.37 KiB 0.001 101 512 ['Trace'] 1 Scheduling next merge selecting task after {}ms, current attempt status: {} 42. 2267 0.004 131.93 KiB 0.001 16 16 ['Trace'] 1 Flushing system log, {} entries to flush up to offset {} 43. 2257 0.004 81.27 KiB 0 16 16 ['Trace'] 1 Flushed system log up to offset {} 44. 1998 0.004 277.62 KiB 0.001 42 505 ['Trace'] 1 Checked {} partitions, found {} partitions with parts that may be merged: [{}] (max_total_size_to_merge={}, merge_with_ttl_allowed={}) 45. 1964 0.004 8.81 MiB 0.047 2 35 ['Error'] 0 Quorum for previous write has not been satisfied yet. Status: {} 46. 1925 0.004 285.83 KiB 0.001 1 149 ['Debug'] 0 Merged partially aggregated blocks for bucket #{}. Got {} rows, {} from {} source rows in {} sec. ({:.3f} rows/sec., {}/sec.) 47. 1925 0.004 95.04 KiB 0 1 149 ['Trace'] 0 Merging partially aggregated blocks (bucket = {}). 48. 1920 0.004 20.63 KiB 0 1 415 ['Trace'] 0 Aggregating 49. 1882 0.004 145.19 KiB 0.001 1 64 ['Trace'] 0 Query span trace_id for opentelemetry log: {} 50. 1854 0.004 242.00 KiB 0.001 1 52 ['Trace'] 0.052 PREWHERE condition was split into {} steps: {} 51. 1807 0.004 153.54 KiB 0.001 41 273 ['Trace'] 0.657 Part {} local references is zero, will check blobs can be removed in zookeeper 52. 1717 0.003 58.60 KiB 0 1 391 ['Debug'] 0.531 Spawn loader worker #{} in {} 53. 1717 0.003 40.15 KiB 0 1 431 ['Debug'] 1 Stop worker in {} 54. 1716 0.003 122.12 KiB 0.001 1 58 ['Debug'] 0.022 Schedule load job '{}' into {} 55. 1716 0.003 117.08 KiB 0.001 1 347 ['Debug'] 1 Execute load job '{}' in {} 56. 1716 0.003 118.85 KiB 0.001 1 347 ['Debug'] 1 Finish load job '{}' with status {} 57. 1622 0.003 53.84 KiB 0 1 374 ['Debug'] 0.504 Change current priority: {} -> {} 58. 1614 0.003 14.19 KiB 0 2 58 ['Trace'] 0.001 No tables 59. 1560 0.003 3.83 MiB 0.021 3 46 ['Error'] 0 {}, while writing to socket ({} -> {}) 60. 1518 0.003 141.45 KiB 0.001 51 477 ['Trace'] 0.996 Insert entry {} to queue with type {} 61. 1500 0.003 33.69 KiB 0 1 378 ['Trace'] 0 Merging aggregated data 62. 1490 0.003 3.48 MiB 0.019 48 95 ['Information','Error','Warning'] 0.916 63. 1462 0.003 84.24 KiB 0 50 476 ['Debug'] 0.996 Pulling {} entries to queue: {} - {} 64. 1461 0.003 37.10 KiB 0 50 476 ['Debug'] 0.996 Pulled {} entries to queue. 65. 1450 0.003 2.59 MiB 0.014 2 57 ['Error'] 1 Database {} does not exist. Maybe you meant {}? 66. 1404 0.003 172.04 KiB 0.001 1 2 ['Trace'] 1 MemoryTracking: was {}, peak {}, free memory in arenas {}, will set to {} (RSS), difference: {} 67. 1335 0.003 37.69 KiB 0 208 100 ['Debug'] 0.014 Key condition: {} 68. 1327 0.003 411.87 KiB 0.002 992 352 ['Information'] 0.01 Setting download as failed: {} 69. 1320 0.003 76.11 KiB 0 2 19 ['Trace'] 0.961 Loading config file '{}'. 70. 1229 0.002 143.51 KiB 0.001 203 99 ['Debug'] 0.015 Selected {}/{} parts by partition key, {} parts by primary key, {}/{} marks by primary key, {} marks to read from {} ranges 71. 1225 0.002 208.91 KiB 0.001 1 424 ['Debug'] 0.549 Recursively remove path {}: metadata and objects were removed for [{}], only metadata were removed for [{}]. 72. 1204 0.002 98.26 KiB 0.001 1 329 ['Trace'] 0 An entry for key={} found in cache: sum_of_sizes={}, median_size={} 73. 1193 0.002 136.31 KiB 0.001 150 347 ['Trace'] 0.019 Bypassing cache because file segment state is `PARTIALLY_DOWNLOADED_NO_CONTINUATION` and downloaded part already used 74. 1166 0.002 60.66 KiB 0 48 457 ['Debug'] 0.973 Selected {} parts from {} to {} 75. 1136 0.002 210.80 KiB 0.001 42 126 ['Trace'] 1 Removing zookeeper lock {} for part {} (files to keep: [{}]) 76. 1110 0.002 43.91 KiB 0 33 32 ['Debug'] 0.941 Committing part {} to zookeeper 77. 1093 0.002 56.57 KiB 0 170 98 ['Trace'] 0.016 Spreading mark ranges among streams (default reading) 78. 1082 0.002 42.62 KiB 0 168 96 ['Debug'] 0.017 Reading approx. {} rows with {} streams 79. 1081 0.002 41.73 KiB 0 33 32 ['Debug'] 0.941 Part {} committed to zookeeper 80. 1059 0.002 91.01 KiB 0 23 32 ['Trace'] 1 Trying to fetch with zero-copy replication, but disk is not provided, will try to select 81. 1059 0.002 120.62 KiB 0.001 24 32 ['Debug'] 1 Fetching part {} from {}:{} 82. 1059 0.002 29.99 KiB 0 23 32 ['Trace'] 1 Checking disk {} with type {} 83. 1059 0.002 54.81 KiB 0 23 32 ['Trace'] 1 Disk {} (with type {}) supports zero-copy replication 84. 1022 0.002 18.97 KiB 0 23 32 ['Debug'] 1 Downloading files {} 85. 1022 0.002 109.31 KiB 0.001 23 32 ['Debug'] 1 Download of part {} unique id {} metadata onto disk {} finished. 86. 1020 0.002 167.94 KiB 0.001 24 32 ['Trace'] 1 Zookeeper temporary ephemeral lock {} created 87. 1020 0.002 163.96 KiB 0.001 24 32 ['Trace'] 1 Set zookeeper temporary ephemeral lock {} 88. 1020 0.002 78.69 KiB 0 23 32 ['Trace'] 1 Disk for fetch is not provided, getting disk from reservation {} with type '{}' 89. 1020 0.002 65.74 KiB 0 24 32 ['Trace'] 1 Trying to reserve {} on the selected disk: {} (with type {}) 90. 1020 0.002 100.13 KiB 0.001 23 32 ['Debug'] 1 Downloading part {} unique id {} metadata onto disk {}. 91. 1018 0.002 24.38 KiB 0 23 43 ['Trace'] 1 Sending part {} 92. 1001 0.002 143.40 KiB 0.001 11 134 ['Trace'] 0 Waiting for quorum '{}' for part {}{} 93. 993 0.002 113.83 KiB 0.001 24 32 ['Debug'] 1 Fetched part {} from {}:{}{} 94. 940 0.002 60.85 KiB 0 17 16 ['Debug'] 1 Part {} is rendered obsolete by fetching part {} 95. 916 0.002 75.34 KiB 0 1 27 ['Debug'] 0 Merging {} parts: from {} to {} into {} with storage {} 96. 912 0.002 30.81 KiB 0 1 27 ['Debug'] 0 Selected MergeAlgorithm: {} 97. 902 0.002 37.97 KiB 0 20 89 ['Trace'] 1 Blobs of part {} cannot be removed 98. 901 0.002 28.35 KiB 0 1 95 ['Debug'] 0.02 min_marks_for_concurrent_read={} 99. 889 0.002 83.10 KiB 0 42 178 ['Debug'] 0 Wrote block with ID '{}', {} rows{} 100. 869 0.002 225.15 KiB 0.001 1 32 ['Trace'] 0 {}Keys: {}, datatype: {}, kind: {}, strictness: {}, right header: {} Top messages without format string (fmt::runtime): count pattern runtime_message line 1. 1284 PocoExceptionCodeecodeNetExcepti Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, ('/Exception.cpp',222) 2. 59 CodeCoordinationExceptionSession Code: 999. Coordination::Exception: Session expired (fault injected on recv). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(S ('/Exception.cpp',222) 3. 34 CodeDBExceptionReceivedfromDBExc Code: 439. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Cannot schedule a task: cannot allocate thread (threads=17, jobs=17). Stack trace: 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int ('/executeQuery.cpp',218) 4. 28 voidDBStorageReplicatedMergeTree void DB::StorageReplicatedMergeTree::mutationsUpdatingTask(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/except ('/Exception.cpp',222) 5. 12 CodeDBExceptionReceivedfromlocal Code: 439. DB::Exception: Received from localhost:9000. DB::Exception: Cannot schedule a task: cannot allocate thread (threads=0, jobs=0). Stack trace: 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) ('/executeQuery.cpp',218) 6. 11 autoDBStorageReplicatedMergeTree auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this ('/Exception.cpp',222) 7. 9 voidDBReplicatedMergeTreeCleanup void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poc ('/Exception.cpp',222) 8. 5 IfthesignaturecheckfailedThiscou If the signature check failed. This could be because of a time skew. Attempting to adjust the signer. ('/AWSLogger.cpp',71) 9. 4 CodeDBExceptionSQLitedatabasefil Code: 481. DB::Exception: SQLite database file path '/etc/passwd' must be inside 'user_files' directory. (PATH_ACCESS_DENIED) (version 24.3.12.76.altinitystable (altinity build)) (from [::1]:48524) (comment: 02918_sqlite_path_check.sh) (in query: Select * ('/executeQuery.cpp',218) 10. 2 CodeDBExceptionFailedtogetobject Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404: While executing S3. (S3_ERROR) (version 24.3.12.76.altinitystable (altinity build)) (from [::1]:43622) (comment: 02843_backup_use_same_s3_credentials_for_base_ ('/executeQuery.cpp',218) 11. 2 creatingasnapshotforindex creating a snapshot for index 10205 ('/LoggerWrapper.h',43) 12. 2 createsnapshotidxlogtermdoneusel create snapshot idx 10205 log_term 3 done: 622 us elapsed ('/LoggerWrapper.h',43) 13. 2 CodeDBExceptionThereisnosubtypef Code: 386. DB::Exception: There is no subtype for types String, UInt8 because some of them are String/FixedString and some of them are not: In scope SELECT ['1', '2'] AS arr1, [1, 2] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (NO_COMMON_TYPE) (versi ('/executeQuery.cpp',218) 14. 2 createsnapshotidxlogterm create snapshot idx 10205 log_term 3 ('/LoggerWrapper.h',43) 15. 2 CodeDBExceptionTherequestsignatu Code: 499. DB::Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (S3_ERROR) (version 24.3.12.76.altinitystable (altinity build)) (from [::1]:43934) (comment: 02843_backup_use_same_s ('/executeQuery.cpp',218) 16. 2 snapshotidxlogtermcreatedcompact snapshot idx 10205 log_term 3 created, compact the log store if needed ('/LoggerWrapper.h',43) 17. 2 PocoExceptionCodeecodeTimeoutcon Poco::Exception. Code: 1000, e.code() = 0, Timeout: connect timed out: 128.0.0.1:8123, Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const ('/Exception.cpp',222) 18. 1 ELECTIONTIMEOUTcurrentrolefollow [ELECTION TIMEOUT] current role: follower, log last term 2, state term 2, target p 1, my p 1, hb dead, pre-vote NOT done ('/LoggerWrapper.h',43) 19. 1 PRIORITYdecaytargetmine [PRIORITY] decay, target 1 -> 1, mine 1 ('/LoggerWrapper.h',43) 20. 1 newelectiontimeoutrange new election timeout range: 0 - 0 ('/LoggerWrapper.h',43) 21. 1 Forkedachildprocesstowatch Forked a child process to watch ('',0) 22. 1 FailedtomakebackupShttplocalhost Failed to make backup S3('http://localhost:11111/test/backups/test_13/use_same_s3_credentials_for_base_backup_base_inc_3_bad', 'test', '[HIDDEN]'): Code: 499. DB::Exception: The request signature we calculated does not match the signature you provided. Che ('/Exception.cpp',222) 23. 1 statemachinecommitindexprecommit state machine commit index 205, precommit index 205, last log index 205 ('/LoggerWrapper.h',43) 24. 1 newconfiglogidxprevlogidxcurconf new config log idx 206, prev log idx 19, cur config log idx 19, prev log idx 1 ('/LoggerWrapper.h',43) 25. 1 newconfigurationlogidxprevlogidx new configuration: log idx 206, prev log idx 19 peer 1, DC ID 0, localhost:9234, voting member, 1 my id: 1, leader: 1, term: 3 ('/LoggerWrapper.h',43) 26. 1 Electiontimeoutinitiateleaderele Election timeout, initiate leader election ('/LoggerWrapper.h',43) 27. 1 startingup starting up ('',0) 28. 1 invalidelectiontimeoutupperbound invalid election timeout upper bound detected, adjusted to 0 ('/LoggerWrapper.h',43) 29. 1 CodeDBExceptionavroExceptionCann Code: 1001. DB::Exception: avro::Exception: Cannot read compressed data, expected at least 4 bytes, got 0. (STD_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./contrib/llvm-project/libcxx/include/exception:141: st ('/TCPHandler.cpp',701) 30. 1 bgappendentriesthreadinitiated bg append_entries thread initiated ('/LoggerWrapper.h',43) Top messages not matching their format strings: message_format_string count() any_message 1. {} is in use (by merge/mutation/INSERT) (consider increasing temporary_directories_lifetime setting) 166 /var/lib/clickhouse/disks/s3_disk/store/60f/60f8639a-afc4-4fff-a548-f01a3d455e00/tmp_merge_201403_1_6_1/ is in use (by merge/mutation/INSERT) (consider increasing temporary_directories_lifetime setting) (skipped 1 similar messages) 2. Query {} to stage {}{} 71 Query SELECT _CAST('Hello, � World', 'String') AS s1, _CAST('Hello, �', 'String') AS s2, _CAST('� World', 'String') AS s3 FROM system.one AS __table1 to stage Complete 3. Query {} from stage {} to stage {}{} 71 Query SELECT _CAST('Hello, � World', 'String') AS s1, _CAST('Hello, �', 'String') AS s2, _CAST('� World', 'String') AS s3 FROM system.one AS __table1 from stage FetchColumns to stage Complete 4. 40 Forked a child process to watch Top short messages: c message_format_string substr(any(message), 1, 120) min_length_without_exception_boilerplate 1. 77 Resetting nice Resetting nice -12 2. 9 Froze {} parts Froze 0 parts -13 3. 7 {} ThreadFuzzer is enabled. Application will run slowly and unstable. 27 4. 3 {}:{}: '{}' src/Processors/Transforms/MergeJoinTransform.cpp:836: ' UInt8(size = 1) UInt8(size = 1)' 62 5. 3 Found {} on {} Found snapshot_205.bin.zstd on LocalSnapshotDisk 18 6. 2 Creating {}: {} Creating table test_l2gq4ctv.tp_1: CREATE TABLE IF NOT EXISTS test_l2gq4ctv.tp_1 UUID 'cbeb0350-40e6-4016-8e90-b8c266914 1026 Top messages by level: (0.053799237761809456,'Table is in readonly mode (replica path: {})') Error (0.000217330743804592,'ZooKeeper session has expired. Switching to a new session.') Warning (0.0356402662499185,'WriteBufferFromS3 is not finalized in destructor. The file might not be written to S3. {}.') Information (0.036786191989979074,'(from {}{}{}){}{} {} (stage: {})') Debug (0.060828899456870714,'Access granted: {}{}') Trace 2024-11-05 19:32:40,290 Stress test finished + echo -e 'Test script exit code\tOK\t\N\t' + rg -Fa 'No queries hung' /test_output/test_results.tsv + grep -Fa OK No queries hung OK \N + stop_server + local max_tries=90 + local check_hang=true + local pid ++ cat /var/run/clickhouse-server/clickhouse-server.pid + pid=2763 + clickhouse stop --max-tries 90 --do-not-kill /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Sent terminate signal to process with pid 2763. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2763. The process with pid = 2763 does not exist. Server stopped + return + mv /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.stress.log + unset THREAD_FUZZER_CPU_TIME_PERIOD_US THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY THREAD_FUZZER_SLEEP_PROBABILITY THREAD_FUZZER_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_lock_AFTER_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_lock_BEFORE_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_unlock_AFTER_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US_MAX THREAD_FUZZER_pthread_mutex_unlock_BEFORE_MIGRATE_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_PROBABILITY THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US_MAX THREAD_POOL_FAULT_INJECTION + start_server + counter=0 + max_attempt=120 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 0 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=1 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 1 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=2 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 2 -gt 120 ']' + clickhouse start --user root + sleep 0.5 127.0.0.1 - - [05/Nov/2024:18:32:49 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 - 127.0.0.1 - - [05/Nov/2024:18:32:49 +0000] "PUT /devstoreaccount1/cont/ogcxpkqnbtpgswoueawkyjlibrgtlzpr?blockid=uitolkebzgqgmqxfokjpttqbvdksmexncyjqqruwzcpajepppxvfubblgmvszout&comp=block HTTP/1.1" 201 - 127.0.0.1 - - [05/Nov/2024:18:32:49 +0000] "PUT /devstoreaccount1/cont/ogcxpkqnbtpgswoueawkyjlibrgtlzpr?comp=blocklist HTTP/1.1" 201 - 127.0.0.1 - - [05/Nov/2024:18:32:49 +0000] "GET /devstoreaccount1/cont/ogcxpkqnbtpgswoueawkyjlibrgtlzpr HTTP/1.1" 206 4 127.0.0.1 - - [05/Nov/2024:18:32:49 +0000] "GET /devstoreaccount1/cont/ogcxpkqnbtpgswoueawkyjlibrgtlzpr HTTP/1.1" 206 2 127.0.0.1 - - [05/Nov/2024:18:32:49 +0000] "DELETE /devstoreaccount1/cont/ogcxpkqnbtpgswoueawkyjlibrgtlzpr HTTP/1.1" 202 - + counter=3 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 3 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=4 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 4 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=5 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 5 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=6 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 6 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=7 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 7 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=8 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 8 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=9 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 9 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=10 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 10 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=11 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 11 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=12 + clickhouse-client --query 'SELECT 1' Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR) + '[' 12 -gt 120 ']' + clickhouse start --user root + sleep 0.5 + counter=13 + clickhouse-client --query 'SELECT 1' 1 + attach_gdb_to_clickhouse ++ kill -l SIGRTMIN + RTMIN=34 + echo ' set follow-fork-mode parent handle SIGHUP nostop noprint pass handle SIGINT nostop noprint pass handle SIGQUIT nostop noprint pass handle SIGPIPE nostop noprint pass handle SIGTERM nostop noprint pass handle SIGUSR1 nostop noprint pass handle SIGUSR2 nostop noprint pass handle SIG34 nostop noprint pass info signals continue backtrace full thread apply all backtrace full info registers disassemble /s up disassemble /s up disassemble /s p "done" detach quit ' + sleep 5 + ts '%Y-%m-%d %H:%M:%S' ++ cat /var/run/clickhouse-server/clickhouse-server.pid + gdb -batch -command script.gdb -p 55352 + run_with_retry 60 clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' + [[ hxB =~ e ]] + set_e=false + set +e + local total_retries=60 + shift + local retry=0 + '[' 0 -ge 60 ']' + clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\''' Connected to clickhouse-server after attaching gdb + false + return + check_server_start + clickhouse-client --query 'SELECT '\''Server successfully started'\'', '\''OK'\'', NULL, '\'''\''' + '[' -s /test_output/application_errors.txt ']' + rm /test_output/application_errors.txt rm: cannot remove '/test_output/application_errors.txt': No such file or directory + stop_server + local max_tries=90 + local check_hang=true + local pid ++ cat /var/run/clickhouse-server/clickhouse-server.pid + pid=55352 + clickhouse stop --max-tries 90 --do-not-kill script.gdb:13: Error in sourced command file: No stack. /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Sent terminate signal to process with pid 55352. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 55352. The process with pid = 55352 is running. Waiting for server to stop Now there is no clickhouse-server process. Server stopped + return + '[' -f /var/log/clickhouse-server/clickhouse-server.log ']' + '[' -f /var/log/clickhouse-server/stderr.log ']' + mv /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.final.log + check_logs_for_critical_errors + sed -n '/WARNING:.*anitizer/,/^$/p' /var/log/clickhouse-server/stderr.log + rg -Fav -e 'ASan doesn'\''t fully support makecontext/swapcontext functions' -e DB::Exception /test_output/tmp + echo -e 'No sanitizer asserts\tOK\t\N\t' + rm -f /test_output/tmp + rg -Fa ' Application: Child process was terminated by signal 9' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log + echo -e 'No OOM messages in clickhouse-server.log\tOK\t\N\t' + rg -Fa 'Code: 49. DB::Exception: ' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log + echo -e 'No logical errors\tOK\t\N\t' + '[' -s /test_output/logical_errors.txt ']' + rm /test_output/logical_errors.txt + rg --text 'Code: 499.*The specified key does not exist' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log + grep -v a.myext + echo -e 'No lost s3 keys\tOK\t\N\t' + rg -Fa 'it is lost forever' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log + grep SharedMergeTreePartCheckThread + echo -e 'No SharedMergeTree lost forever in clickhouse-server.log\tOK\t\N\t' + '[' -s /test_output/no_such_key_errors.txt ']' + rm /test_output/no_such_key_errors.txt + rg -Fa '########################################' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log + echo -e 'Not crashed\tOK\t\N\t' + rg -Fa ' ' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log + echo -e 'No fatal messages in clickhouse-server.log\tOK\t\N\t' + '[' -s /test_output/fatal_messages.txt ']' + rm /test_output/fatal_messages.txt + rg -Faz '########################################' /test_output/gdb.log /test_output/stress_run_logs.tar.zst /test_output/test_results.tsv + rg -Fa ' received signal ' /test_output/gdb.log + dmesg -T + grep -q -F -e 'Out of memory: Killed process' -e 'oom_reaper: reaped process' -e oom-kill:constraint=CONSTRAINT_NONE /test_output/dmesg.log + echo -e 'No OOM in dmesg\tOK\t\N\t' + tar -chf /test_output/coordination.tar /var/lib/clickhouse/coordination tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets + collect_query_and_trace_logs + for table in query_log trace_log + clickhouse-local --config-file=/etc/clickhouse-server/config.xml --only-system-tables -q 'select * from system.query_log format TSVWithNamesAndTypes' + zstd --threads=0 Processing configuration file '/etc/clickhouse-server/config.xml'. Merging configuration file '/etc/clickhouse-server/config.d/CORS.xml'. Merging configuration file '/etc/clickhouse-server/config.d/asynchronous_metrics_update_period_s.xml'. Merging configuration file '/etc/clickhouse-server/config.d/azure_storage_conf.xml'. Merging configuration file '/etc/clickhouse-server/config.d/backoff_failed_mutation.xml'. Merging configuration file '/etc/clickhouse-server/config.d/backups.xml'. Merging configuration file '/etc/clickhouse-server/config.d/blob_storage_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/block_number.xml'. Merging configuration file '/etc/clickhouse-server/config.d/cannot_allocate_thread_injection.xml'. Merging configuration file '/etc/clickhouse-server/config.d/clusters.xml'. Merging configuration file '/etc/clickhouse-server/config.d/compressed_marks_and_index.xml'. Merging configuration file '/etc/clickhouse-server/config.d/core.xml'. Merging configuration file '/etc/clickhouse-server/config.d/custom_disks_base_path.xml'. Merging configuration file '/etc/clickhouse-server/config.d/custom_settings_prefixes.xml'. Merging configuration file '/etc/clickhouse-server/config.d/database_atomic.xml'. Merging configuration file '/etc/clickhouse-server/config.d/disable_s3_env_credentials.xml'. Merging configuration file '/etc/clickhouse-server/config.d/display_name.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_access_control_improvements.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_async_load_databases.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_keeper_map.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_wait_for_shutdown_replicated_tables.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_zero_copy_replication.xml'. Merging configuration file '/etc/clickhouse-server/config.d/encryption.xml'. Merging configuration file '/etc/clickhouse-server/config.d/filesystem_cache_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/filesystem_caches_path.xml'. Merging configuration file '/etc/clickhouse-server/config.d/forbidden_headers.xml'. Merging configuration file '/etc/clickhouse-server/config.d/graphite.xml'. Merging configuration file '/etc/clickhouse-server/config.d/graphite_alternative.xml'. Merging configuration file '/etc/clickhouse-server/config.d/handlers.yaml'. Merging configuration file '/etc/clickhouse-server/config.d/keeper_port.xml'. Merging configuration file '/etc/clickhouse-server/config.d/legacy_geobase.xml'. Merging configuration file '/etc/clickhouse-server/config.d/listen.xml'. Merging configuration file '/etc/clickhouse-server/config.d/logger_trace.xml'. Merging configuration file '/etc/clickhouse-server/config.d/logging_no_rotate.xml'. Merging configuration file '/etc/clickhouse-server/config.d/lost_forever_check.xml'. Merging configuration file '/etc/clickhouse-server/config.d/macros.xml'. Merging configuration file '/etc/clickhouse-server/config.d/max_concurrent_queries.xml'. Merging configuration file '/etc/clickhouse-server/config.d/max_num_to_warn.xml'. Merging configuration file '/etc/clickhouse-server/config.d/max_server_memory_usage.xml'. Merging configuration file '/etc/clickhouse-server/config.d/merge_tree.xml'. Merging configuration file '/etc/clickhouse-server/config.d/merge_tree_old_dirs_cleanup.xml'. Merging configuration file '/etc/clickhouse-server/config.d/merge_tree_settings.xml'. Merging configuration file '/etc/clickhouse-server/config.d/named_collection.xml'. Merging configuration file '/etc/clickhouse-server/config.d/nlp.xml'. Merging configuration file '/etc/clickhouse-server/config.d/prometheus.xml'. Merging configuration file '/etc/clickhouse-server/config.d/query_masking_rules.xml'. Merging configuration file '/etc/clickhouse-server/config.d/query_masking_rules.xml_original.xml'. Merging configuration file '/etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml'. Merging configuration file '/etc/clickhouse-server/config.d/secure_ports.xml'. Merging configuration file '/etc/clickhouse-server/config.d/session_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/ssl_certs.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf_02944.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf_02961.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf_02963.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_metadata_with_full_object_key.xml'. Merging configuration file '/etc/clickhouse-server/config.d/system_unfreeze.xml'. Merging configuration file '/etc/clickhouse-server/config.d/tcp_with_proxy.xml'. Merging configuration file '/etc/clickhouse-server/config.d/test_cluster_with_incorrect_pw.xml'. Merging configuration file '/etc/clickhouse-server/config.d/text_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/top_level_domains_lists.xml'. Merging configuration file '/etc/clickhouse-server/config.d/top_level_domains_path.xml'. Merging configuration file '/etc/clickhouse-server/config.d/transactions.xml'. Merging configuration file '/etc/clickhouse-server/config.d/validate_tcp_client_information.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zero_copy_destructive_operations.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zookeeper_fault_injection.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zookeeper_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zookeeper_write.xml'. Logging trace to /var/log/clickhouse-server/clickhouse-server.log Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log 127.0.0.1 - - [05/Nov/2024:18:34:08 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 - + for table in query_log trace_log + clickhouse-local --config-file=/etc/clickhouse-server/config.xml --only-system-tables -q 'select * from system.trace_log format TSVWithNamesAndTypes' + zstd --threads=0 Processing configuration file '/etc/clickhouse-server/config.xml'. Merging configuration file '/etc/clickhouse-server/config.d/CORS.xml'. Merging configuration file '/etc/clickhouse-server/config.d/asynchronous_metrics_update_period_s.xml'. Merging configuration file '/etc/clickhouse-server/config.d/azure_storage_conf.xml'. Merging configuration file '/etc/clickhouse-server/config.d/backoff_failed_mutation.xml'. Merging configuration file '/etc/clickhouse-server/config.d/backups.xml'. Merging configuration file '/etc/clickhouse-server/config.d/blob_storage_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/block_number.xml'. Merging configuration file '/etc/clickhouse-server/config.d/cannot_allocate_thread_injection.xml'. Merging configuration file '/etc/clickhouse-server/config.d/clusters.xml'. Merging configuration file '/etc/clickhouse-server/config.d/compressed_marks_and_index.xml'. Merging configuration file '/etc/clickhouse-server/config.d/core.xml'. Merging configuration file '/etc/clickhouse-server/config.d/custom_disks_base_path.xml'. Merging configuration file '/etc/clickhouse-server/config.d/custom_settings_prefixes.xml'. Merging configuration file '/etc/clickhouse-server/config.d/database_atomic.xml'. Merging configuration file '/etc/clickhouse-server/config.d/disable_s3_env_credentials.xml'. Merging configuration file '/etc/clickhouse-server/config.d/display_name.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_access_control_improvements.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_async_load_databases.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_keeper_map.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_wait_for_shutdown_replicated_tables.xml'. Merging configuration file '/etc/clickhouse-server/config.d/enable_zero_copy_replication.xml'. Merging configuration file '/etc/clickhouse-server/config.d/encryption.xml'. Merging configuration file '/etc/clickhouse-server/config.d/filesystem_cache_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/filesystem_caches_path.xml'. Merging configuration file '/etc/clickhouse-server/config.d/forbidden_headers.xml'. Merging configuration file '/etc/clickhouse-server/config.d/graphite.xml'. Merging configuration file '/etc/clickhouse-server/config.d/graphite_alternative.xml'. Merging configuration file '/etc/clickhouse-server/config.d/handlers.yaml'. Merging configuration file '/etc/clickhouse-server/config.d/keeper_port.xml'. Merging configuration file '/etc/clickhouse-server/config.d/legacy_geobase.xml'. Merging configuration file '/etc/clickhouse-server/config.d/listen.xml'. Merging configuration file '/etc/clickhouse-server/config.d/logger_trace.xml'. Merging configuration file '/etc/clickhouse-server/config.d/logging_no_rotate.xml'. Merging configuration file '/etc/clickhouse-server/config.d/lost_forever_check.xml'. Merging configuration file '/etc/clickhouse-server/config.d/macros.xml'. Merging configuration file '/etc/clickhouse-server/config.d/max_concurrent_queries.xml'. Merging configuration file '/etc/clickhouse-server/config.d/max_num_to_warn.xml'. Merging configuration file '/etc/clickhouse-server/config.d/max_server_memory_usage.xml'. Merging configuration file '/etc/clickhouse-server/config.d/merge_tree.xml'. Merging configuration file '/etc/clickhouse-server/config.d/merge_tree_old_dirs_cleanup.xml'. Merging configuration file '/etc/clickhouse-server/config.d/merge_tree_settings.xml'. Merging configuration file '/etc/clickhouse-server/config.d/named_collection.xml'. Merging configuration file '/etc/clickhouse-server/config.d/nlp.xml'. Merging configuration file '/etc/clickhouse-server/config.d/prometheus.xml'. Merging configuration file '/etc/clickhouse-server/config.d/query_masking_rules.xml'. Merging configuration file '/etc/clickhouse-server/config.d/query_masking_rules.xml_original.xml'. Merging configuration file '/etc/clickhouse-server/config.d/s3_storage_policy_by_default.xml'. Merging configuration file '/etc/clickhouse-server/config.d/secure_ports.xml'. Merging configuration file '/etc/clickhouse-server/config.d/session_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/ssl_certs.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf_02944.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf_02961.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_conf_02963.xml'. Merging configuration file '/etc/clickhouse-server/config.d/storage_metadata_with_full_object_key.xml'. Merging configuration file '/etc/clickhouse-server/config.d/system_unfreeze.xml'. Merging configuration file '/etc/clickhouse-server/config.d/tcp_with_proxy.xml'. Merging configuration file '/etc/clickhouse-server/config.d/test_cluster_with_incorrect_pw.xml'. Merging configuration file '/etc/clickhouse-server/config.d/text_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/top_level_domains_lists.xml'. Merging configuration file '/etc/clickhouse-server/config.d/top_level_domains_path.xml'. Merging configuration file '/etc/clickhouse-server/config.d/transactions.xml'. Merging configuration file '/etc/clickhouse-server/config.d/validate_tcp_client_information.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zero_copy_destructive_operations.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zookeeper_fault_injection.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zookeeper_log.xml'. Merging configuration file '/etc/clickhouse-server/config.d/zookeeper_write.xml'. Logging trace to /var/log/clickhouse-server/clickhouse-server.log Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log 127.0.0.1 - - [05/Nov/2024:18:34:18 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 - ================== WARNING: ThreadSanitizer: data race (pid=57134) Write of size 8 at 0x7b9800000b28 by main thread: #0 std::__1::unique_ptr>::reset[abi:v15000](DB::IAsynchronousReader*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303:20 (clickhouse+0x16851e58) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #1 DB::ContextSharedPart::~ContextSharedPart() build_docker/./src/Interpreters/Context.cpp:460:47 (clickhouse+0x16851e58) #2 std::__1::default_delete::operator()[abi:v15000](DB::ContextSharedPart*) const build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48:5 (clickhouse+0x16804991) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #3 std::__1::unique_ptr>::reset[abi:v15000](DB::ContextSharedPart*) build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305:7 (clickhouse+0x16804991) #4 std::__1::unique_ptr>::~unique_ptr[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259:19 (clickhouse+0x16804991) #5 DB::SharedContextHolder::~SharedContextHolder() build_docker/./src/Interpreters/Context.cpp:814:43 (clickhouse+0x16804991) #6 DB::ClientBase::~ClientBase() build_docker/./src/Client/ClientBase.cpp:303:25 (clickhouse+0x193d8af7) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #7 DB::LocalServer::~LocalServer() build_docker/./programs/local/LocalServer.h:23:7 (clickhouse+0xf278790) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #8 mainEntryClickHouseLocal(int, char**) build_docker/./programs/local/LocalServer.cpp:904:5 (clickhouse+0xf278790) #9 main build_docker/./programs/main.cpp:498:21 (clickhouse+0x70a6a18) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) Previous read of size 8 at 0x7b9800000b28 by thread T12: #0 DB::Context::getThreadPoolReader(DB::FilesystemReaderType) const build_docker/./src/Interpreters/Context.cpp (clickhouse+0x1683bf0b) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #1 DB::S3ObjectStorage::readObjects(std::__1::vector> const&, DB::ReadSettings const&, std::__1::optional, std::__1::optional) const build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:212:45 (clickhouse+0x166c239d) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #2 DB::CachedObjectStorage::readObjects(std::__1::vector> const&, DB::ReadSettings const&, std::__1::optional, std::__1::optional) const build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:65:28 (clickhouse+0x1669a4fd) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #3 DB::DiskObjectStorage::readFile(std::__1::basic_string, std::__1::allocator> const&, DB::ReadSettings const&, std::__1::optional, std::__1::optional) const build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:543:28 (clickhouse+0x1665e9cb) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #4 DB::DataPartStorageOnDiskFull::readFile(std::__1::basic_string, std::__1::allocator> const&, DB::ReadSettings const&, std::__1::optional, std::__1::optional) const build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:131:31 (clickhouse+0x18cce999) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #5 DB::PartMetadataManagerOrdinary::read(std::__1::basic_string, std::__1::allocator> const&) const build_docker/./src/Storages/MergeTree/PartMetadataManagerOrdinary.cpp:14:43 (clickhouse+0x1914e77f) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #6 DB::IMergeTreeDataPart::loadColumns(bool) build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:1588:37 (clickhouse+0x18d11cd6) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #7 DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:697:9 (clickhouse+0x18d109ad) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #8 DB::MergeTreeData::loadDataPart(DB::MergeTreePartInfo const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::shared_ptr const&, DB::MergeTreeDataPartState, std::__1::mutex&) build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:1378:19 (clickhouse+0x18de89de) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #9 DB::MergeTreeData::loadDataPartWithRetries(DB::MergeTreePartInfo const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::shared_ptr const&, DB::MergeTreeDataPartState, std::__1::mutex&, unsigned long, unsigned long, unsigned long) build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:1517:20 (clickhouse+0x18def08c) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #10 DB::MergeTreeData::loadOutdatedDataParts(bool)::$_0::operator()() const build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:2023:24 (clickhouse+0x18e8b4a6) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #11 decltype(std::declval()()) std::__1::__invoke[abi:v15000](DB::MergeTreeData::loadOutdatedDataParts(bool)::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0x18e8b4a6) #12 void std::__1::__invoke_void_return_wrapper::__call(DB::MergeTreeData::loadOutdatedDataParts(bool)::$_0&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 (clickhouse+0x18e8b4a6) #13 std::__1::__function::__default_alloc_func::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 (clickhouse+0x18e8b4a6) #14 void std::__1::__function::__policy_invoker::__call_impl>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 (clickhouse+0x18e8b4a6) #15 std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 (clickhouse+0x155b5097) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #16 std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 (clickhouse+0x155b5097) #17 DB::ThreadPoolCallbackRunnerLocal>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:161:20 (clickhouse+0x155b5097) #18 decltype(std::declval>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda'()&>()()) std::__1::__invoke[abi:v15000]>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda'()&>(DB::ThreadPoolCallbackRunnerLocal>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda'()&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0x155b4f9d) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #19 std::__1::__packaged_task_func>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda'(), std::__1::allocator>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda'()>, void ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 (clickhouse+0x155b4f9d) #20 std::__1::__packaged_task_function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 (clickhouse+0x11e97e34) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #21 std::__1::packaged_task::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:2068:9 (clickhouse+0x11e97e34) #22 DB::ThreadPoolCallbackRunnerLocal>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'()::operator()() const build_docker/./src/Common/threadPoolCallbackRunner.h:169:71 (clickhouse+0x155b5c4c) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #23 decltype(std::declval>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'()&>()()) std::__1::__invoke[abi:v15000]>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'()&>(DB::ThreadPoolCallbackRunnerLocal>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'()&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0x155b5c4c) #24 void std::__1::__invoke_void_return_wrapper::__call>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'()&>(DB::ThreadPoolCallbackRunnerLocal>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'()&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 (clickhouse+0x155b5c4c) #25 std::__1::__function::__default_alloc_func>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'(), void ()>::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 (clickhouse+0x155b5c4c) #26 void std::__1::__function::__policy_invoker::__call_impl>, std::__1::function>::operator()(std::__1::function&&, Priority)::'lambda0'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 (clickhouse+0x155b5c4c) #27 std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 (clickhouse+0xf088371) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #28 std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 (clickhouse+0xf088371) #29 ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:526:17 (clickhouse+0xf088371) #30 void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 (clickhouse+0xf08d6dc) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #31 decltype(std::declval()()) std::__1::__invoke[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0xf08d6dc) #32 decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/tuple:1789:1 (clickhouse+0xf08d6dc) #33 decltype(auto) std::__1::apply[abi:v15000]>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()&, std::__1::tuple<>&>(void&&, std::__1::tuple<>&) build_docker/./contrib/llvm-project/libcxx/include/tuple:1798:1 (clickhouse+0xf08d6dc) #34 ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:225:13 (clickhouse+0xf08d6dc) #35 decltype(std::declval()()) std::__1::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0xf08d641) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #36 void std::__1::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 (clickhouse+0xf08d641) #37 std::__1::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 (clickhouse+0xf08d641) #38 void std::__1::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 (clickhouse+0xf08d641) #39 std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 (clickhouse+0xf083dff) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #40 std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 (clickhouse+0xf083dff) #41 ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:536:17 (clickhouse+0xf083dff) #42 void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:253:73 (clickhouse+0xf08a5f1) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #43 decltype(std::declval()()) std::__1::__invoke[abi:v15000]::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0xf08a5f1) #44 void std::__1::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(std::__1::tuple::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/./contrib/llvm-project/libcxx/include/thread:284:5 (clickhouse+0xf08a5f1) #45 void* std::__1::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>>(void*) build_docker/./contrib/llvm-project/libcxx/include/thread:295:5 (clickhouse+0xf08a5f1) Location is heap block of size 11328 at 0x7b9800000000 allocated by main thread: #0 operator new(unsigned long, std::align_val_t) (clickhouse+0x70a4a9b) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #1 std::__1::__unique_if::__unique_single std::__1::make_unique[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714:28 (clickhouse+0x16804e81) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #2 DB::Context::createShared() build_docker/./src/Interpreters/Context.cpp:838:32 (clickhouse+0x16804e81) #3 DB::LocalServer::processConfig() build_docker/./programs/local/LocalServer.cpp:596:22 (clickhouse+0xf26d87d) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #4 DB::LocalServer::main(std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>> const&) build_docker/./programs/local/LocalServer.cpp:479:5 (clickhouse+0xf26b545) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #5 Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:315:8 (clickhouse+0x1d021dde) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #6 mainEntryClickHouseLocal(int, char**) build_docker/./programs/local/LocalServer.cpp:903:20 (clickhouse+0xf278708) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #7 main build_docker/./programs/main.cpp:498:21 (clickhouse+0x70a6a18) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) Thread T12 'OutdatedParts' (tid=57148, running) created by main thread at: #0 pthread_create (clickhouse+0x701e52b) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #1 std::__1::__libcpp_thread_create[abi:v15000](unsigned long*, void* (*)(void*), void*) build_docker/./contrib/llvm-project/libcxx/include/__threading_support:376:10 (clickhouse+0xf089cde) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #2 std::__1::thread::thread::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'(), void>(void&&) build_docker/./contrib/llvm-project/libcxx/include/thread:311:16 (clickhouse+0xf089cde) #3 void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool) build_docker/./src/Common/ThreadPool.cpp:253:35 (clickhouse+0xf082876) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #4 ThreadPoolImpl::scheduleOrThrow(std::__1::function, Priority, unsigned long, bool) build_docker/./src/Common/ThreadPool.cpp:338:5 (clickhouse+0xf08d146) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #5 ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./src/Common/ThreadPool.h:205:38 (clickhouse+0xf08d146) #6 void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool) build_docker/./src/Common/ThreadPool.cpp:253:35 (clickhouse+0xf08595f) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #7 ThreadPoolImpl>::scheduleOrThrowOnError(std::__1::function, Priority) build_docker/./src/Common/ThreadPool.cpp:326:5 (clickhouse+0xf0853ea) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #8 DB::AsyncLoader::spawn(DB::AsyncLoader::Pool&, std::__1::unique_lock&) build_docker/./src/Common/AsyncLoader.cpp:872:5 (clickhouse+0xf212f05) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #9 DB::AsyncLoader::enqueue(DB::AsyncLoader::Info&, std::__1::shared_ptr const&, std::__1::unique_lock&) build_docker/./src/Common/AsyncLoader.cpp:708:9 (clickhouse+0xf210223) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #10 DB::AsyncLoader::schedule(std::__1::unordered_set, std::__1::hash>, std::__1::equal_to>, std::__1::allocator>> const&) build_docker/./src/Common/AsyncLoader.cpp:364:13 (clickhouse+0xf20e0e5) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #11 DB::AsyncLoader::schedule(std::__1::vector, std::__1::allocator>> const&) build_docker/./src/Common/AsyncLoader.cpp:301:5 (clickhouse+0xf20ea72) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #12 DB::scheduleLoad(std::__1::vector, std::__1::allocator>> const&) build_docker/./src/Common/AsyncLoader.h:541:12 (clickhouse+0xf1ca5f3) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #13 DB::waitLoad(std::__1::vector, std::__1::allocator>> const&, bool) build_docker/./src/Common/AsyncLoader.h:559:5 (clickhouse+0xf1ca5f3) #14 DB::waitLoad(unsigned long, std::__1::vector, std::__1::allocator>> const&, bool) build_docker/./src/Common/AsyncLoader.h:596:5 (clickhouse+0xf1ca5f3) #15 DB::loadMetadataSystem(std::__1::shared_ptr) build_docker/./src/Interpreters/loadMetadata.cpp:516:5 (clickhouse+0x17d8f364) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #16 DB::LocalServer::processConfig() build_docker/./programs/local/LocalServer.cpp:708:37 (clickhouse+0xf270e40) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #17 DB::LocalServer::main(std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>> const&) build_docker/./programs/local/LocalServer.cpp:479:5 (clickhouse+0xf26b545) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #18 Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:315:8 (clickhouse+0x1d021dde) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #19 mainEntryClickHouseLocal(int, char**) build_docker/./programs/local/LocalServer.cpp:903:20 (clickhouse+0xf278708) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) #20 main build_docker/./programs/main.cpp:498:21 (clickhouse+0x70a6a18) (BuildId: 6e777b9b2ca4aff7b34a2973baa03eaed3ec5f98) SUMMARY: ThreadSanitizer: data race build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303:20 in std::__1::unique_ptr>::reset[abi:v15000](DB::IAsynchronousReader*) ================== + mv /var/log/clickhouse-server/stderr.log /test_output/ + clickhouse-local --structure 'test String, res String, time Nullable(Float32), desc String' -q 'SELECT '\''failure'\'', test FROM table WHERE res != '\''OK'\'' order by (test like '\''%Sanitizer%'\'') DESC, (test like '\''%Killed by signal%'\'') DESC, (test like '\''%gdb.log%'\'') DESC, (test ilike '\''%possible deadlock%'\'') DESC, (test like '\''%start%'\'') DESC, (test like '\''%dmesg%'\'') DESC, (test like '\''%OOM%'\'') DESC, (test like '\''%Signal 9%'\'') DESC, (test like '\''%Fatal message%'\'') DESC, rowNumberInAllBlocks() LIMIT 1' + '[' -s /test_output/check_status.tsv ']' + echo -e 'success\tNo errors found' + rg 'OOM in dmesg|Signal 9' /test_output/check_status.tsv + collect_core_dumps + find . -type f -maxdepth 1 -name 'core.*' + read -r core