+ 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.5.47.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.5.47.altinitystable+tsan_amd64.deb ...
Unpacking clickhouse-common-static (24.3.5.47.altinitystable+tsan) ...
Setting up clickhouse-common-static (24.3.5.47.altinitystable+tsan) ...
+ dpkg -i package_folder/clickhouse-common-static-dbg_24.3.5.47.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.5.47.altinitystable+tsan_amd64.deb ...
Unpacking clickhouse-common-static-dbg (24.3.5.47.altinitystable+tsan) ...
Setting up clickhouse-common-static-dbg (24.3.5.47.altinitystable+tsan) ...
+ dpkg -i package_folder/clickhouse-server_24.3.5.47.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.5.47.altinitystable+tsan_amd64.deb ...
Unpacking clickhouse-server (24.3.5.47.altinitystable+tsan) ...
Setting up clickhouse-server (24.3.5.47.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.5.47.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.5.47.altinitystable+tsan_amd64.deb ...
Unpacking clickhouse-client (24.3.5.47.altinitystable+tsan) ...
Setting up clickhouse-client (24.3.5.47.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
Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server
+ 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/
+ 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/
+ value=1
+ sed --follow-symlinks -i 's|[01]|1|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=11124736
+ sed --follow-symlinks -i 's|[[:digit:]]\+|11124736|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=56258560
+ sed --follow-symlinks -i 's|[[:digit:]]\+|56258560|' /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 ]]
+ 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=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 multi_read keeper_port
+ value=1
+ sed 's|[01]|1|'
+ sudo cat /etc/clickhouse-server/config.d/keeper_port.xml
+ 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=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
+ 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=0
+ sudo cat /etc/clickhouse-server/config.d/block_number.xml
+ sed 's|[01]|0|'
+ 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
Setting max_server_memory_usage_to_ram_ratio to 0.5
+ total_mem=32086444
+ total_mem=32856518656
+ max_server_memory_usage_to_ram_ratio=0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
Setting max_memory_usage_for_user=9856955596 and max_memory_usage for queries to 10G
+ local max_users_mem
+ max_users_mem=9856955596
+ echo 'Setting max_memory_usage_for_user=9856955596 and max_memory_usage for queries to 10G'
+ cat
+ 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
+ params=('--silent' '--verbose')
+ local params
+ ./minio server --address :11111 ./minio_data
+ 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
trying to connect to minio
+ [[ 2 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ 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
+ grep AccessDenied
+ curl --silent --verbose http://localhost:11111
+ [[ 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
+ [[ 6 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ 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
trying to connect to minio
+ [[ 10 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
API: http://172.17.0.2:11111 http://127.0.0.1:11111
Console: http://172.17.0.2:35481 http://127.0.0.1:35481
Documentation: https://docs.min.io
WARNING: Console endpoint is listening on a dynamic port (35481), please use --console-address ":PORT" to choose a static port.
+ counter=11
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
AccessDenied
Access Denied./17E47DE8CF3040D3f764a977-8a86-4686-bc0e-222f46be1a83
+ lsof -i :11111
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
minio 301 root 10u IPv6 43279 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
02731.arrow
+ for file in $(ls "${data_path}")
+ echo 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: 134.68 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: 109.39 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: 44.42 KiB/s
a.tsv
+ 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
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/a.tsv` -> `clickminio/test/a.tsv`
Total: 0 B, Transferred: 24 B, Speed: 3.44 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: 5.14 KiB/s
+ 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
c.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/c.tsv` -> `clickminio/test/c.tsv`
Total: 0 B, Transferred: 33 B, Speed: 5.53 KiB/s
tsv_with_header.tsv
+ 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
`/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: 6.77 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
+ counter=4
+ clickhouse-client --query 'SELECT 1'
127.0.0.1 - - [22/Jul/2024:09:10:06 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:09:10:06 +0000] "PUT /devstoreaccount1/cont/ugoekfwfsibezgjgqoqwehelbxhxwiuk?blockid=hcljbvhbxxigereadafxmlzjnadnscnnhvtyzjwtwmmolrmdksermmaxqzctrnrf&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:09:10:06 +0000] "PUT /devstoreaccount1/cont/ugoekfwfsibezgjgqoqwehelbxhxwiuk?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:09:10:06 +0000] "GET /devstoreaccount1/cont/ugoekfwfsibezgjgqoqwehelbxhxwiuk HTTP/1.1" 206 4
127.0.0.1 - - [22/Jul/2024:09:10:06 +0000] "GET /devstoreaccount1/cont/ugoekfwfsibezgjgqoqwehelbxhxwiuk HTTP/1.1" 206 2
127.0.0.1 - - [22/Jul/2024:09:10:06 +0000] "DELETE /devstoreaccount1/cont/ugoekfwfsibezgjgqoqwehelbxhxwiuk 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 593
+ 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
File /tmp/export-logs-config.sh does not exist, do not setup
+ set +x
+ 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=593
+ 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 = 593.
The process with pid = 593 is running.
Sent terminate signal to process with pid 593.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 593.
The process with pid = 593 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 593.
The process with pid = 593 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 593.
The process with pid = 593 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 593.
The process with pid = 593 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 593.
The process with pid = 593 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: SLRU
+ cache_policy=
+ '[' 1 -eq 1 ']'
+ cache_policy=SLRU
+ echo 'Using cache policy: SLRU'
+ '[' SLRU = SLRU ']'
+ sudo cat /etc/clickhouse-server/config.d/storage_conf.xml
+ sed 's|LRU|SLRU|'
+ mv /etc/clickhouse-server/config.d/storage_conf.xml.tmp /etc/clickhouse-server/config.d/storage_conf.xml
+ 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'
127.0.0.1 - - [22/Jul/2024:09:11:13 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
127.0.0.1 - - [22/Jul/2024:09:11:13 +0000] "PUT /devstoreaccount1/cont/osnvvgusjvhdqnvkmqsngkoogmrqyruq?blockid=gcgsqjlrttrqfdhxrqqgmsumidsnesouibnoywvkuvkesqkgqdmwrazbwmkamjid&comp=block HTTP/1.1" 201 -
+ '[' 3 -gt 120 ']'
+ clickhouse start --user root
127.0.0.1 - - [22/Jul/2024:09:11:13 +0000] "PUT /devstoreaccount1/cont/osnvvgusjvhdqnvkmqsngkoogmrqyruq?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:09:11:13 +0000] "GET /devstoreaccount1/cont/osnvvgusjvhdqnvkmqsngkoogmrqyruq HTTP/1.1" 206 4
127.0.0.1 - - [22/Jul/2024:09:11:13 +0000] "GET /devstoreaccount1/cont/osnvvgusjvhdqnvkmqsngkoogmrqyruq HTTP/1.1" 206 2
127.0.0.1 - - [22/Jul/2024:09:11:13 +0000] "DELETE /devstoreaccount1/cont/osnvvgusjvhdqnvkmqsngkoogmrqyruq HTTP/1.1" 202 -
+ 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'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 18 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=19
+ 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 1431
+ 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=1431
+ 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 = 1431.
The process with pid = 1431 is running.
Sent terminate signal to process with pid 1431.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1431.
The process with pid = 1431 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1431.
The process with pid = 1431 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1431.
The process with pid = 1431 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1431.
The process with pid = 1431 is running.
Waiting for server to stop
Found pid = 1431 in the list of running processes.
The process with pid = 1431 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
+ 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/
+ value=1
+ sed --follow-symlinks -i 's|[01]|1|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=27172864
+ sed --follow-symlinks -i 's|[[:digit:]]\+|27172864|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=52338688
+ sed --follow-symlinks -i 's|[[:digit:]]\+|52338688|' /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
x86_64
Adding azure configuration
+ [[ -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/
+ 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=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
+ 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=0
+ sudo cat /etc/clickhouse-server/config.d/block_number.xml
+ sed 's|[01]|0|'
+ 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
Setting max_server_memory_usage_to_ram_ratio to 0.5
+ total_mem=32086444
+ total_mem=32856518656
+ max_server_memory_usage_to_ram_ratio=0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
Setting max_memory_usage_for_user=9856955596 and max_memory_usage for queries to 10G
+ local max_users_mem
+ max_users_mem=9856955596
+ echo 'Setting max_memory_usage_for_user=9856955596 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|s3default|'
+ 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
+ '[' SLRU = SLRU ']'
+ sudo cat /etc/clickhouse-server/config.d/storage_conf.xml
+ sed 's|LRU|SLRU|'
+ mv /etc/clickhouse-server/config.d/storage_conf.xml.tmp /etc/clickhouse-server/config.d/storage_conf.xml
++ date +%-d
+ '[' 0 -eq 1 ']'
+ 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
127.0.0.1 - - [22/Jul/2024:09:41:51 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [22/Jul/2024:09:41:51 +0000] "PUT /devstoreaccount1/cont/nxmydahepfxixdfhluncsfuwowkdljdt?blockid=zitmcehdfqfahrhrojeotdlsaamqlsklvipnbchsuoxhxwxjdbmocymhdomueirk&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:09:41:51 +0000] "PUT /devstoreaccount1/cont/nxmydahepfxixdfhluncsfuwowkdljdt?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:09:41:51 +0000] "GET /devstoreaccount1/cont/nxmydahepfxixdfhluncsfuwowkdljdt HTTP/1.1" 206 4
127.0.0.1 - - [22/Jul/2024:09:41:51 +0000] "GET /devstoreaccount1/cont/nxmydahepfxixdfhluncsfuwowkdljdt HTTP/1.1" 206 2
127.0.0.1 - - [22/Jul/2024:09:41:51 +0000] "DELETE /devstoreaccount1/cont/nxmydahepfxixdfhluncsfuwowkdljdt HTTP/1.1" 202 -
+ 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
+ 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 2796
+ 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-07-22 11:42:45,294 Run func tests '/usr/bin/clickhouse-test --client-option http_make_head_request=1 --global_time_limit=1200 '
2024-07-22 11:42:45,795 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=0 --global_time_limit=1200 '
2024-07-22 11:42:46,297 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 --global_time_limit=1200 '
2024-07-22 11:42:46,798 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_3 --client-option join_algorithm='partial_merge' group_by_use_nulls=1 http_make_head_request=0 --global_time_limit=1200 '
2024-07-22 11:42:47,299 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 use_query_cache=1 --global_time_limit=1200 '
2024-07-22 11:42:47,800 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 http_make_head_request=1 --global_time_limit=1200 '
2024-07-22 11:42:48,301 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-07-22 11:42:48,803 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_7 --client-option join_use_nulls=1 join_algorithm='grace_hash' group_by_use_nulls=1 http_make_head_request=1 --global_time_limit=1200 '
2024-07-22 11:42:49,304 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-07-22 11:42:49,805 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_9 --client-option join_algorithm='auto' max_rows_in_join=1000 group_by_use_nulls=1 --global_time_limit=1200 '
2024-07-22 11:42:50,306 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 use_query_cache=1 http_make_head_request=1 --global_time_limit=1200 '
2024-07-22 11:42:50,808 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-07-22 11:42:51,309 Run func tests '/usr/bin/clickhouse-test --order=random --client-option implicit_transaction=1 throw_on_unsupported_query_inside_transaction=0 http_make_head_request=0 --global_time_limit=1200 '
2024-07-22 11:42:51,810 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 http_make_head_request=0 --global_time_limit=1200 '
2024-07-22 11:42:52,311 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 use_query_cache=1 --global_time_limit=1200 '
2024-07-22 11:42:52,812 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 optimize_trivial_approximate_count_query=1 --global_time_limit=1200 '
2024-07-22 11:42:53,313 Will wait functests to finish
2024-07-22 11:42:53,313 Finished 4 from 16 processes
2024-07-22 11:42:58,317 Finished 6 from 16 processes
2024-07-22 11:43:03,322 Finished 6 from 16 processes
2024-07-22 11:43:08,324 Finished 6 from 16 processes
2024-07-22 11:43:13,328 Finished 6 from 16 processes
2024-07-22 11:43:18,333 Finished 6 from 16 processes
2024-07-22 11:43:23,339 Finished 6 from 16 processes
2024-07-22 11:43:28,341 Finished 6 from 16 processes
2024-07-22 11:43:33,345 Finished 6 from 16 processes
2024-07-22 11:43:38,349 Finished 6 from 16 processes
2024-07-22 11:43:43,353 Finished 6 from 16 processes
2024-07-22 11:43:48,357 Finished 6 from 16 processes
2024-07-22 11:43:53,363 Finished 6 from 16 processes
2024-07-22 11:43:58,365 Finished 6 from 16 processes
2024-07-22 11:44:03,369 Finished 6 from 16 processes
2024-07-22 11:44:08,373 Finished 6 from 16 processes
2024-07-22 11:44:13,374 Finished 6 from 16 processes
2024-07-22 11:44:18,377 Finished 6 from 16 processes
2024-07-22 11:44:23,379 Finished 6 from 16 processes
2024-07-22 11:44:28,381 Finished 6 from 16 processes
2024-07-22 11:44:33,386 Finished 6 from 16 processes
2024-07-22 11:44:38,389 Finished 6 from 16 processes
2024-07-22 11:44:43,393 Finished 6 from 16 processes
2024-07-22 11:44:48,397 Finished 6 from 16 processes
2024-07-22 11:44:53,401 Finished 6 from 16 processes
2024-07-22 11:44:58,405 Finished 6 from 16 processes
2024-07-22 11:45:03,409 Finished 6 from 16 processes
2024-07-22 11:45:08,413 Finished 6 from 16 processes
2024-07-22 11:45:13,417 Finished 6 from 16 processes
2024-07-22 11:45:18,423 Finished 6 from 16 processes
2024-07-22 11:45:23,427 Finished 6 from 16 processes
2024-07-22 11:45:28,429 Finished 6 from 16 processes
2024-07-22 11:45:33,433 Finished 6 from 16 processes
2024-07-22 11:45:38,437 Finished 6 from 16 processes
2024-07-22 11:45:43,441 Finished 6 from 16 processes
2024-07-22 11:45:48,445 Finished 6 from 16 processes
2024-07-22 11:45:53,449 Finished 6 from 16 processes
2024-07-22 11:45:58,454 Finished 6 from 16 processes
2024-07-22 11:46:03,457 Finished 6 from 16 processes
2024-07-22 11:46:08,461 Finished 6 from 16 processes
2024-07-22 11:46:13,465 Finished 6 from 16 processes
2024-07-22 11:46:18,469 Finished 6 from 16 processes
2024-07-22 11:46:23,473 Finished 6 from 16 processes
2024-07-22 11:46:28,477 Finished 6 from 16 processes
2024-07-22 11:46:33,481 Finished 6 from 16 processes
2024-07-22 11:46:38,485 Finished 6 from 16 processes
2024-07-22 11:46:43,489 Finished 6 from 16 processes
2024-07-22 11:46:48,493 Finished 6 from 16 processes
2024-07-22 11:46:53,495 Finished 6 from 16 processes
2024-07-22 11:46:58,497 Finished 6 from 16 processes
2024-07-22 11:47:03,501 Finished 6 from 16 processes
2024-07-22 11:47:08,505 Finished 6 from 16 processes
2024-07-22 11:47:13,509 Finished 6 from 16 processes
2024-07-22 11:47:18,513 Finished 6 from 16 processes
2024-07-22 11:47:23,517 Finished 6 from 16 processes
2024-07-22 11:47:28,521 Finished 6 from 16 processes
2024-07-22 11:47:33,525 Finished 6 from 16 processes
2024-07-22 11:47:38,529 Finished 6 from 16 processes
2024-07-22 11:47:43,533 Finished 6 from 16 processes
2024-07-22 11:47:48,537 Finished 6 from 16 processes
2024-07-22 11:47:53,541 Finished 6 from 16 processes
2024-07-22 11:47:58,545 Finished 6 from 16 processes
2024-07-22 11:48:03,550 Finished 6 from 16 processes
2024-07-22 11:48:08,555 Finished 6 from 16 processes
2024-07-22 11:48:13,557 Finished 6 from 16 processes
2024-07-22 11:48:18,561 Finished 6 from 16 processes
2024-07-22 11:48:23,565 Finished 6 from 16 processes
2024-07-22 11:48:28,572 Finished 6 from 16 processes
2024-07-22 11:48:33,573 Finished 6 from 16 processes
2024-07-22 11:48:38,577 Finished 6 from 16 processes
2024-07-22 11:48:43,581 Finished 6 from 16 processes
2024-07-22 11:48:48,585 Finished 6 from 16 processes
2024-07-22 11:48:53,590 Finished 6 from 16 processes
2024-07-22 11:48:58,593 Finished 6 from 16 processes
2024-07-22 11:49:03,594 Finished 6 from 16 processes
2024-07-22 11:49:08,599 Finished 6 from 16 processes
2024-07-22 11:49:13,601 Finished 6 from 16 processes
2024-07-22 11:49:18,605 Finished 6 from 16 processes
2024-07-22 11:49:23,609 Finished 6 from 16 processes
2024-07-22 11:49:28,613 Finished 6 from 16 processes
2024-07-22 11:49:33,617 Finished 6 from 16 processes
2024-07-22 11:49:38,621 Finished 6 from 16 processes
2024-07-22 11:49:43,625 Finished 6 from 16 processes
2024-07-22 11:49:48,629 Finished 7 from 16 processes
2024-07-22 11:49:53,633 Finished 7 from 16 processes
2024-07-22 11:49:58,637 Finished 7 from 16 processes
2024-07-22 11:50:03,641 Finished 7 from 16 processes
2024-07-22 11:50:08,645 Finished 7 from 16 processes
2024-07-22 11:50:13,649 Finished 7 from 16 processes
2024-07-22 11:50:18,653 Finished 7 from 16 processes
2024-07-22 11:50:23,657 Finished 7 from 16 processes
2024-07-22 11:50:28,661 Finished 7 from 16 processes
2024-07-22 11:50:33,665 Finished 7 from 16 processes
2024-07-22 11:50:38,669 Finished 7 from 16 processes
2024-07-22 11:50:43,673 Finished 7 from 16 processes
2024-07-22 11:50:48,677 Finished 7 from 16 processes
2024-07-22 11:50:53,681 Finished 7 from 16 processes
2024-07-22 11:50:58,686 Finished 7 from 16 processes
2024-07-22 11:51:03,689 Finished 7 from 16 processes
2024-07-22 11:51:08,693 Finished 7 from 16 processes
2024-07-22 11:51:13,697 Finished 7 from 16 processes
2024-07-22 11:51:18,701 Finished 7 from 16 processes
2024-07-22 11:51:23,705 Finished 7 from 16 processes
2024-07-22 11:51:28,709 Finished 7 from 16 processes
2024-07-22 11:51:33,713 Finished 7 from 16 processes
2024-07-22 11:51:38,717 Finished 7 from 16 processes
2024-07-22 11:51:43,723 Finished 7 from 16 processes
2024-07-22 11:51:48,725 Finished 7 from 16 processes
2024-07-22 11:51:53,729 Finished 7 from 16 processes
2024-07-22 11:51:58,733 Finished 7 from 16 processes
2024-07-22 11:52:03,734 Finished 7 from 16 processes
2024-07-22 11:52:08,737 Finished 7 from 16 processes
2024-07-22 11:52:13,742 Finished 7 from 16 processes
2024-07-22 11:52:18,745 Finished 7 from 16 processes
2024-07-22 11:52:23,749 Finished 7 from 16 processes
2024-07-22 11:52:28,754 Finished 7 from 16 processes
2024-07-22 11:52:33,757 Finished 7 from 16 processes
2024-07-22 11:52:38,761 Finished 7 from 16 processes
2024-07-22 11:52:43,765 Finished 7 from 16 processes
2024-07-22 11:52:48,770 Finished 7 from 16 processes
2024-07-22 11:52:53,773 Finished 7 from 16 processes
2024-07-22 11:52:58,778 Finished 7 from 16 processes
2024-07-22 11:53:03,781 Finished 7 from 16 processes
2024-07-22 11:53:08,784 Finished 7 from 16 processes
2024-07-22 11:53:13,785 Finished 7 from 16 processes
2024-07-22 11:53:18,789 Finished 7 from 16 processes
2024-07-22 11:53:23,793 Finished 7 from 16 processes
2024-07-22 11:53:28,797 Finished 7 from 16 processes
2024-07-22 11:53:33,801 Finished 8 from 16 processes
2024-07-22 11:53:38,806 Finished 8 from 16 processes
2024-07-22 11:53:43,812 Finished 8 from 16 processes
2024-07-22 11:53:48,814 Finished 8 from 16 processes
2024-07-22 11:53:53,817 Finished 8 from 16 processes
2024-07-22 11:53:58,821 Finished 8 from 16 processes
2024-07-22 11:54:03,825 Finished 8 from 16 processes
2024-07-22 11:54:08,829 Finished 8 from 16 processes
2024-07-22 11:54:13,832 Finished 8 from 16 processes
2024-07-22 11:54:18,833 Finished 8 from 16 processes
2024-07-22 11:54:23,837 Finished 8 from 16 processes
2024-07-22 11:54:28,841 Finished 8 from 16 processes
2024-07-22 11:54:33,845 Finished 8 from 16 processes
2024-07-22 11:54:38,850 Finished 8 from 16 processes
2024-07-22 11:54:43,853 Finished 8 from 16 processes
2024-07-22 11:54:48,857 Finished 8 from 16 processes
2024-07-22 11:54:53,861 Finished 8 from 16 processes
2024-07-22 11:54:58,865 Finished 8 from 16 processes
2024-07-22 11:55:03,869 Finished 8 from 16 processes
2024-07-22 11:55:08,873 Finished 8 from 16 processes
2024-07-22 11:55:13,877 Finished 8 from 16 processes
2024-07-22 11:55:18,882 Finished 8 from 16 processes
2024-07-22 11:55:23,885 Finished 8 from 16 processes
2024-07-22 11:55:28,889 Finished 8 from 16 processes
2024-07-22 11:55:33,893 Finished 8 from 16 processes
2024-07-22 11:55:38,897 Finished 8 from 16 processes
2024-07-22 11:55:43,901 Finished 8 from 16 processes
2024-07-22 11:55:48,905 Finished 8 from 16 processes
2024-07-22 11:55:53,909 Finished 8 from 16 processes
2024-07-22 11:55:58,913 Finished 8 from 16 processes
2024-07-22 11:56:03,917 Finished 8 from 16 processes
2024-07-22 11:56:08,923 Finished 8 from 16 processes
2024-07-22 11:56:13,925 Finished 8 from 16 processes
2024-07-22 11:56:18,929 Finished 8 from 16 processes
2024-07-22 11:56:23,933 Finished 8 from 16 processes
2024-07-22 11:56:28,938 Finished 8 from 16 processes
2024-07-22 11:56:33,941 Finished 8 from 16 processes
2024-07-22 11:56:38,947 Finished 8 from 16 processes
2024-07-22 11:56:43,949 Finished 8 from 16 processes
2024-07-22 11:56:48,954 Finished 8 from 16 processes
2024-07-22 11:56:53,957 Finished 8 from 16 processes
2024-07-22 11:56:58,961 Finished 8 from 16 processes
2024-07-22 11:57:03,965 Finished 8 from 16 processes
2024-07-22 11:57:08,969 Finished 8 from 16 processes
2024-07-22 11:57:13,973 Finished 8 from 16 processes
2024-07-22 11:57:18,977 Finished 8 from 16 processes
2024-07-22 11:57:23,981 Finished 8 from 16 processes
2024-07-22 11:57:28,985 Finished 8 from 16 processes
2024-07-22 11:57:33,989 Finished 8 from 16 processes
2024-07-22 11:57:38,993 Finished 8 from 16 processes
2024-07-22 11:57:43,997 Finished 8 from 16 processes
2024-07-22 11:57:49,003 Finished 9 from 16 processes
2024-07-22 11:57:54,005 Finished 9 from 16 processes
2024-07-22 11:57:59,009 Finished 9 from 16 processes
2024-07-22 11:58:04,013 Finished 9 from 16 processes
2024-07-22 11:58:09,017 Finished 9 from 16 processes
2024-07-22 11:58:14,021 Finished 9 from 16 processes
2024-07-22 11:58:19,025 Finished 9 from 16 processes
2024-07-22 11:58:24,026 Finished 9 from 16 processes
2024-07-22 11:58:29,029 Finished 9 from 16 processes
2024-07-22 11:58:34,033 Finished 9 from 16 processes
2024-07-22 11:58:39,037 Finished 9 from 16 processes
2024-07-22 11:58:44,041 Finished 9 from 16 processes
2024-07-22 11:58:49,045 Finished 9 from 16 processes
2024-07-22 11:58:54,049 Finished 9 from 16 processes
2024-07-22 11:58:59,054 Finished 9 from 16 processes
2024-07-22 11:59:04,057 Finished 9 from 16 processes
2024-07-22 11:59:09,061 Finished 9 from 16 processes
2024-07-22 11:59:14,066 Finished 9 from 16 processes
2024-07-22 11:59:19,071 Finished 9 from 16 processes
2024-07-22 11:59:24,074 Finished 9 from 16 processes
2024-07-22 11:59:29,077 Finished 9 from 16 processes
2024-07-22 11:59:34,081 Finished 9 from 16 processes
2024-07-22 11:59:39,084 Finished 9 from 16 processes
2024-07-22 11:59:44,089 Finished 9 from 16 processes
2024-07-22 11:59:49,094 Finished 9 from 16 processes
2024-07-22 11:59:54,097 Finished 9 from 16 processes
2024-07-22 11:59:59,101 Finished 9 from 16 processes
2024-07-22 12:00:04,103 Finished 9 from 16 processes
2024-07-22 12:00:09,105 Finished 9 from 16 processes
2024-07-22 12:00:14,109 Finished 9 from 16 processes
2024-07-22 12:00:19,113 Finished 9 from 16 processes
2024-07-22 12:00:24,118 Finished 9 from 16 processes
2024-07-22 12:00:29,121 Finished 9 from 16 processes
2024-07-22 12:00:34,126 Finished 9 from 16 processes
2024-07-22 12:00:39,129 Finished 9 from 16 processes
2024-07-22 12:00:44,133 Finished 9 from 16 processes
2024-07-22 12:00:49,137 Finished 9 from 16 processes
2024-07-22 12:00:54,141 Finished 9 from 16 processes
2024-07-22 12:00:59,145 Finished 9 from 16 processes
2024-07-22 12:01:04,149 Finished 9 from 16 processes
2024-07-22 12:01:09,153 Finished 9 from 16 processes
2024-07-22 12:01:14,157 Finished 9 from 16 processes
2024-07-22 12:01:19,159 Finished 9 from 16 processes
2024-07-22 12:01:24,161 Finished 9 from 16 processes
2024-07-22 12:01:29,166 Finished 9 from 16 processes
2024-07-22 12:01:34,170 Finished 9 from 16 processes
2024-07-22 12:01:39,173 Finished 9 from 16 processes
2024-07-22 12:01:44,178 Finished 9 from 16 processes
2024-07-22 12:01:49,181 Finished 9 from 16 processes
2024-07-22 12:01:54,187 Finished 9 from 16 processes
2024-07-22 12:01:59,189 Finished 9 from 16 processes
2024-07-22 12:02:04,193 Finished 9 from 16 processes
2024-07-22 12:02:09,197 Finished 9 from 16 processes
2024-07-22 12:02:14,198 Finished 9 from 16 processes
2024-07-22 12:02:19,201 Finished 9 from 16 processes
2024-07-22 12:02:24,205 Finished 9 from 16 processes
2024-07-22 12:02:29,210 Finished 9 from 16 processes
2024-07-22 12:02:34,213 Finished 9 from 16 processes
2024-07-22 12:02:39,217 Finished 9 from 16 processes
2024-07-22 12:02:44,221 Finished 9 from 16 processes
2024-07-22 12:02:49,225 Finished 9 from 16 processes
2024-07-22 12:02:54,229 Finished 11 from 16 processes
2024-07-22 12:02:59,233 Finished 13 from 16 processes
2024-07-22 12:03:04,235 Finished 13 from 16 processes
2024-07-22 12:03:09,237 Finished 13 from 16 processes
2024-07-22 12:03:14,241 Finished 13 from 16 processes
2024-07-22 12:03:19,245 Finished 14 from 16 processes
2024-07-22 12:03:24,249 Finished 14 from 16 processes
2024-07-22 12:03:29,253 Finished 15 from 16 processes
2024-07-22 12:03:34,258 Finished 15 from 16 processes
2024-07-22 12:03:39,261 Finished 15 from 16 processes
2024-07-22 12:03:44,262 Finished 15 from 16 processes
2024-07-22 12:03:49,265 Finished 15 from 16 processes
2024-07-22 12:03:54,270 Finished 15 from 16 processes
2024-07-22 12:03:59,276 Finished 15 from 16 processes
2024-07-22 12:04:04,281 All processes finished
2024-07-22 12:04:04,281 Compressing stress logs
2024-07-22 12:04:04,292 Logs compressed
2024-07-22 12:04:04,292 Will terminate gdb (if any)
2024-07-22 12:04:04,292 Running command: kill -TERM $(pidof gdb)
2024-07-22 12:04:04,295 Running command: timeout 50s tail --pid=$(pidof gdb) -f /dev/null || kill -9 $(pidof gdb) ||:
Quit
2024-07-22 12:04:05,313 Running command: kill -CONT $(cat /var/run/clickhouse-server/clickhouse-server.pid) && clickhouse client -q 'SELECT 1 FORMAT Null'
2024-07-22 12:04:05,531 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-07-22 12:04:05,695 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-07-22 12:04:05,910 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-07-22 12:04:06,124 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-07-22 12:04:06,339 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-07-22 12:04:06,553 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-07-22 12:04:06,768 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-07-22 12:04:06,932 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-07-22 12:04:07,147 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-07-22 12:04:07,362 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-07-22 12:04:07,576 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-07-22 12:04:07,791 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-07-22 12:04:07,955 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-07-22 12:09:09,857 Checking if some queries hung
Using queries from '/usr/share/clickhouse-test/queries' directory
Connecting to ClickHouse server... OK
Connected to server 24.3.5.47.altinitystable @ b6642564dbf296d6e55b907d7af6c8087470b672 HEAD
Running 1 stateless tests (MainProcess).
00001_select_1: [ OK ]
1 tests passed. 0 tests skipped. 0.38 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. 19326 0.052 1.12 MiB 0.014 1 174 ['Debug'] 0.989 Key {} is removed from metadata
2. 16340 0.044 941.46 KiB 0.012 1 461 ['Debug'] 0.008 Submitting key {} for removal
3. 14613 0.04 800.25 KiB 0.01 1 198 ['Trace'] 0 Access granted: {}{}
4. 13513 0.037 17.67 MiB 0.224 1 163 ['Trace'] 0.001 Query {} to stage {}{}
5. 13494 0.037 2.02 MiB 0.026 3 131 ['Trace'] 1 {} Creating query context from {} context, user_id: {}, parent context user: {}
6. 13486 0.037 2.73 MiB 0.035 1 132 ['Debug'] 0 (from {}{}{}){}{} {} (stage: {})
7. 13436 0.036 17.96 MiB 0.228 1 163 ['Trace'] 0.001 Query {} from stage {} to stage {}{}
8. 12358 0.034 348.83 KiB 0.004 1 130 ['Debug'] 0 Processed in {} sec.
9. 11093 0.03 1022.51 KiB 0.013 1 487 ['Trace'] 0 Aggregated. {} to {} rows (from {}) in {} sec. ({:.3f} rows/sec., {}/sec.)
10. 10107 0.027 1.72 MiB 0.022 1 269 ['Information'] 0 Done writing part of data into temporary file {}, compressed {}, uncompressed {}
11. 10107 0.027 1.33 MiB 0.017 1 273 ['Information'] 0 Sorting and writing part of data into temporary file {}
12. 9643 0.026 775.39 KiB 0.01 1 128 ['Debug'] 0 Read {} rows, {} in {} sec., {} rows/sec., {}/sec.
13. 9538 0.026 428.03 KiB 0.005 1 1 ['Trace'] 1 Processing requests batch, size: {}, bytes: {}
14. 9125 0.025 269.32 KiB 0.003 1 491 ['Trace'] 0 Aggregation method: {}
15. 6992 0.019 75.11 KiB 0.001 1 477 ['Trace'] 0 Aggregating
16. 6943 0.019 793.29 KiB 0.01 709 492 ['Trace'] 0 Bypassing cache because file segment state is `PARTIALLY_DOWNLOADED_NO_CONTINUATION` and downloaded part already used
17. 5273 0.014 429.99 KiB 0.005 4 231 ['Debug'] 0.995 {} Authenticating user '{}' from {}
18. 5271 0.014 591.96 KiB 0.007 4 231 ['Debug'] 0.995 {} Authenticated with global context as user {}
19. 5252 0.014 461.60 KiB 0.006 4 231 ['Debug'] 0.995 {} Logout, user_id: {}
20. 5227 0.014 571.70 KiB 0.007 3 201 ['Debug'] 1 {} Creating session context with user_id: {}
21. 4469 0.012 523.65 KiB 0.006 228 366 ['Trace'] 0.633 Renaming temporary part {} to {} with tid {}.
22. 4203 0.011 137.23 KiB 0.002 2 200 ['Trace'] 1 TCP Request. Address: {}
23. 4196 0.011 389.61 KiB 0.005 1 200 ['Debug'] 1 Connected {} version {}.{}.{}, revision: {}{}{}.
24. 3949 0.011 273.88 KiB 0.003 226 658 ['Trace'] 0.731 Trying to reserve {} using storage policy from min volume index {}
25. 3910 0.011 338.53 KiB 0.004 53 59 ['Trace'] 0 Reading {} ranges in{}order from part {}, approx. {} rows starting from {}
26. 3630 0.01 166.65 KiB 0.002 1 149 ['Debug'] 0.161 Peak memory usage{}: {}.
27. 3591 0.01 170.09 KiB 0.002 1 353 ['Trace'] 0.547 filled checksums {}
28. 3256 0.009 1.57 MiB 0.02 1 422 ['Debug'] 0.93 Objects with paths [{}] were removed from S3
29. 3191 0.009 71.67 KiB 0.001 1 430 ['Trace'] 0 Merging aggregated data
30. 2905 0.008 3.44 MiB 0.044 1 386 ['Debug'] 0.952 metadata and objects were removed for [{}], only metadata were removed for [{}].
31. 2624 0.007 822.92 KiB 0.01 2061 411 ['Information'] 0.002 Setting download as failed: {}
32. 2592 0.007 244.01 KiB 0.003 1 29 ['Debug'] 0 Reading {} marks from part {}, total {} rows starting from the beginning of the part
33. 2124 0.006 56.00 KiB 0.001 1 130 ['Debug'] 1 Done processing connection.
34. 2089 0.006 175.29 KiB 0.002 1 375 ['Trace'] 0 An entry for key={} found in cache: sum_of_sizes={}, median_size={}
35. 2084 0.006 102.75 KiB 0.001 1 262 ['Trace'] 0 Merging partially aggregated blocks (bucket = {}).
36. 2083 0.006 310.82 KiB 0.004 1 262 ['Debug'] 0 Merged partially aggregated blocks for bucket #{}. Got {} rows, {} from {} source rows in {} sec. ({:.3f} rows/sec., {}/sec.)
37. 2054 0.006 3.66 MiB 0.046 2 131 ['Error'] 1 Database {} does not exist. Maybe you meant {}?
38. 1945 0.005 113.05 KiB 0.001 14 14 ['Trace'] 1 Flushing system log, {} entries to flush up to offset {}
39. 1945 0.005 70.02 KiB 0.001 14 14 ['Trace'] 1 Flushed system log up to offset {}
40. 1912 0.005 380.29 KiB 0.005 2 90 ['Trace'] 1 HTTP Request for {}. Method: {}, Address: {}, User-Agent: {}{}, Content Type: {}, Transfer Encoding: {}, X-Forwarded-For: {}
41. 1912 0.005 692.06 KiB 0.009 2 90 ['Trace'] 1 Request URI: {}
42. 1881 0.005 38.58 KiB 0 2 90 ['Debug'] 0.461 Done processing query
43. 1774 0.005 141.54 KiB 0.002 1 403 ['Trace'] 0 Statistics updated for key={}: new sum_of_sizes={}, median_size={}
44. 1768 0.005 201.61 KiB 0.002 1 21 ['Debug'] 0 Reading {} marks from part {}, total {} rows starting from the beginning of the part, column {}
45. 1548 0.004 124.88 KiB 0.002 1273 337 ['Trace'] 0 No space left in cache to reserve {} bytes, will continue without cache download
46. 1492 0.004 59.74 KiB 0.001 1 371 ['Trace'] 0 Converting aggregation data to two-level.
47. 1483 0.004 183.10 KiB 0.002 1 2 ['Trace'] 1 MemoryTracking: was {}, peak {}, free memory in arenas {}, will set to {} (RSS), difference: {}
48. 1481 0.004 65.92 KiB 0.001 1 148 ['Debug'] 0 Max size of temporary block: {} rows, {}.
49. 1481 0.004 199.59 KiB 0.002 1 148 ['Debug'] 0 Writing part of aggregation data into temporary file {}
50. 1481 0.004 362.94 KiB 0.004 1 148 ['Debug'] 0 Written part in {:.3f} sec., {} rows, {} uncompressed, {} compressed, {:.3f} uncompressed bytes per row, {:.3f} compressed bytes per row, compression rate: {:.3f} ({:.3f} rows/sec., {}/sec. uncompressed, {}/sec. compressed)
51. 1465 0.004 132.00 KiB 0.002 27 293 ['Trace'] 0.904 Insert entry {} to queue with type {}
52. 1383 0.004 63.28 KiB 0.001 1 352 ['Debug'] 0 Aggregated. {} to {} rows (from {})
53. 1367 0.004 26.70 KiB 0 1 352 ['Trace'] 0 Aggregating in order
54. 1318 0.004 101.68 KiB 0.001 1 87 ['Trace'] 0 Query span trace_id for opentelemetry log: {}
55. 1265 0.003 157.50 KiB 0.002 1 64 ['Trace'] 0 PREWHERE condition was split into {} steps: {}
56. 1233 0.003 43.35 KiB 0.001 1 40 ['Trace'] 1 Keeper request. Address: {}
57. 1166 0.003 99.73 KiB 0.001 25 253 ['Trace'] 0.996 Part {} local references is zero, will check blobs can be removed in zookeeper
58. 1155 0.003 215.18 KiB 0.003 25 250 ['Trace'] 0.997 Removing zookeeper lock {} for part {} (files to keep: [{}])
59. 1149 0.003 35.91 KiB 0 1 37 ['Debug'] 1 Receive four letter command {}
60. 1109 0.003 34.21 KiB 0 174 113 ['Debug'] 0.017 Key condition: {}
61. 1101 0.003 102.71 KiB 0.001 1 286 ['Debug'] 0 Merge sorted {} blocks, {} rows in {} sec., {} rows/sec., {}/sec
62. 1073 0.003 124.55 KiB 0.002 172 113 ['Debug'] 0.018 Selected {}/{} parts by partition key, {} parts by primary key, {}/{} marks by primary key, {} marks to read from {} ranges
63. 951 0.003 37.79 KiB 0 19 32 ['Debug'] 0.91 Committing part {} to zookeeper
64. 930 0.003 36.02 KiB 0 19 32 ['Debug'] 0.909 Part {} committed to zookeeper
65. 915 0.002 47.36 KiB 0.001 152 106 ['Trace'] 0.021 Spreading mark ranges among streams (default reading)
66. 896 0.002 34.72 KiB 0 150 105 ['Debug'] 0.021 Reading approx. {} rows with {} streams
67. 880 0.002 37.63 KiB 0 13 199 ['Trace'] 1 Blobs of part {} cannot be removed
68. 867 0.002 20.82 KiB 0 14 50 ['Trace'] 1 Sending part {}
69. 867 0.002 55.88 KiB 0.001 14 32 ['Trace'] 1 Trying to reserve {} on the selected disk: {} (with type {})
70. 867 0.002 140.05 KiB 0.002 14 32 ['Debug'] 1 Fetching part {} from {}:{}
71. 867 0.002 138.54 KiB 0.002 14 32 ['Trace'] 1 Set zookeeper temporary ephemeral lock {}
72. 867 0.002 85.16 KiB 0.001 14 32 ['Debug'] 1 Downloading part {} unique id {} metadata onto disk {}.
73. 867 0.002 24.55 KiB 0 14 32 ['Trace'] 1 Checking disk {} with type {}
74. 867 0.002 66.89 KiB 0.001 14 32 ['Trace'] 1 Disk for fetch is not provided, getting disk from reservation {} with type '{}'
75. 867 0.002 74.51 KiB 0.001 14 32 ['Trace'] 1 Trying to fetch with zero-copy replication, but disk is not provided, will try to select
76. 867 0.002 16.11 KiB 0 14 32 ['Debug'] 1 Downloading files {}
77. 867 0.002 44.87 KiB 0.001 14 32 ['Trace'] 1 Disk {} (with type {}) supports zero-copy replication
78. 865 0.002 92.57 KiB 0.001 14 32 ['Debug'] 1 Download of part {} unique id {} metadata onto disk {} finished.
79. 865 0.002 141.60 KiB 0.002 14 32 ['Trace'] 1 Zookeeper temporary ephemeral lock {} created
80. 849 0.002 131.27 KiB 0.002 10 196 ['Trace'] 1 Found {} ({}) zookeeper locks for {}
81. 845 0.002 135.62 KiB 0.002 14 32 ['Debug'] 1 Fetched part {} from {}:{}{}
82. 769 0.002 39.21 KiB 0 64 348 ['Debug'] 0.948 Selected {} parts from {} to {}
83. 764 0.002 50.04 KiB 0.001 13 20 ['Debug'] 1 Part {} is rendered obsolete by fetching part {}
84. 760 0.002 32.22 KiB 0 1 267 ['Information'] 0 There are {} temporary sorted parts to merge
85. 750 0.002 93.42 KiB 0.001 40 52 ['Debug'] 0 Part: {}, sum_marks: {}, approx mark size: {}, prefetch_step_bytes: {}, prefetch_step_marks: {}, (ranges: {})
86. 707 0.002 48.05 KiB 0.001 1 66 ['Debug'] 0.052 Schedule load job '{}' into {}
87. 707 0.002 14.50 KiB 0 1 335 ['Debug'] 1 Stop worker in {}
88. 707 0.002 48.74 KiB 0.001 1 242 ['Debug'] 1 Finish load job '{}' with status {}
89. 707 0.002 45.98 KiB 0.001 1 242 ['Debug'] 1 Execute load job '{}' in {}
90. 707 0.002 22.10 KiB 0 1 288 ['Debug'] 0.549 Spawn loader worker #{} in {}
91. 706 0.002 55.54 KiB 0.001 1 66 ['Debug'] 0.051 Prioritize load job '{}': {} -> {}
92. 704 0.002 15.35 KiB 0 78 309 ['Trace'] 1 Execution took {} ms.
93. 696 0.002 46.41 KiB 0.001 8 23 ['Debug'] 1 There is no part {} in ZooKeeper, it was only in filesystem
94. 678 0.002 17.21 KiB 0 26 290 ['Debug'] 0.906 Pulled {} entries to queue.
95. 678 0.002 39.06 KiB 0 26 290 ['Debug'] 0.906 Pulling {} entries to queue: {} - {}
96. 672 0.002 68.92 KiB 0.001 173 246 ['Trace'] 0 Predownload failed because of space limit. Will read from remote filesystem starting from offset: {}
97. 648 0.002 21.52 KiB 0 1 288 ['Debug'] 0.508 Change current priority: {} -> {}
98. 640 0.002 5.63 KiB 0 2 66 ['Trace'] 0.003 No tables
99. 613 0.002 59.47 KiB 0.001 1 29 ['Debug'] 0 Before join block: '{}'
100. 607 0.002 97.99 KiB 0.001 1 29 ['Debug'] 0 After join block: '{}'
Top messages without format string (fmt::runtime):
count pattern runtime_message line
1. 50 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)
2. 29 virtualboolDBReplicatedMergeMuta virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): 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/excep ('/Exception.cpp',222)
3. 29 Exceptionwhileexecutingbackgroun Exception while executing background task {900edf4e-fb2f-4a7c-beec-aafc2ca4d925::all_127_132_1}: Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):
0. ./contrib ('/Exception.cpp',222)
4. 13 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)
5. 11 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)
6. 6 CodeDBExceptionReceivedfromlocal Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table shard_1.data_01850 does not exist. Maybe you meant shard_0.data_01850?. Stack trace:
0. ./contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String cons ('/executeQuery.cpp',218)
7. 5 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)
8. 4 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)
9. 4 CodeDBExceptionSyntaxerrorfailed Code: 62. DB::Exception: Syntax error: failed at position 32 ('DROP'): DROP COLUMN c. Expected one of: ALTER command, token, OpeningRoundBracket: In scope SELECT formatQuery('ALTER TABLE a (DROP COLUMN b), DROP COLUMN c'). (SYNTAX_ERROR) (version 24.3.5.47 ('/executeQuery.cpp',218)
10. 2 CodeDBExceptionReceivedfromDBExc Code: 241. DB::Exception: Received from 127.0.0.3:9000. DB::Exception: Memory tracker (for query): fault injected. Would use 1.01 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. Stack trace:
0. ./contri ('/executeQuery.cpp',218)
11. 1 Electiontimeoutinitiateleaderele Election timeout, initiate leader election ('/LoggerWrapper.h',43)
12. 1 bgappendentriesthreadinitiated bg append_entries thread initiated ('/LoggerWrapper.h',43)
13. 1 newconfigurationlogidxprevlogidx new configuration: log idx 199, prev log idx 13
peer 1, DC ID 0, localhost:9234, voting member, 1
my id: 1, leader: 1, term: 3 ('/LoggerWrapper.h',43)
14. 1 stdexceptionCodetypestdruntimeer std::exception. Code: 1001, type: std::runtime_error, e.what() = ran out of bytes (version 24.3.5.47.altinitystable (altinity build)) (from [::1]:48542) (comment: 02688_aggregate_states.sql) (in query: SELECT '\x01\x01\x01'::AggregateFunction(groupBitmap, ('/executeQuery.cpp',218)
15. 1 invalidelectiontimeoutupperbound invalid election timeout upper bound detected, adjusted to 0 ('/LoggerWrapper.h',43)
16. 1 snapshotidxlogtermcreatedcompact snapshot idx 10198 log_term 3 created, compact the log store if needed ('/LoggerWrapper.h',43)
17. 1 voidDBReplicatedMergeTreePartChe void DB::ReplicatedMergeTreePartCheckThread::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: P ('/Exception.cpp',222)
18. 1 waitforHBforms wait for HB, for 50 + [0, 0] ms ('/LoggerWrapper.h',43)
19. 1 CodeDBExceptionstdruntimeerrorra Code: 1001. DB::Exception: std::runtime_error: ran out of bytes. (STD_EXCEPTION), Stack trace (when copying this message, always include the lines below):
0. ./contrib/llvm-project/libcxx/include/exception:141: std::runtime_error::runtime_error(char const ('/TCPHandler.cpp',701)
20. 1 Forkedachildprocesstowatch Forked a child process to watch ('',0)
21. 1 INITRAFTSERVERcommitindextermele === INIT RAFT SERVER ===
commit index 198
term 2
election timer allowed
log store start 1, end 198
config log idx 13, prev log idx 1
-- ASYNC REPLICATION -- ('/LoggerWrapper.h',43)
22. 1 configatindexiscommittedprevconf config at index 199 is committed, prev config log idx 13 ('/LoggerWrapper.h',43)
23. 1 statemachinecommitindexprecommit state machine commit index 198, precommit index 198, last log index 198 ('/LoggerWrapper.h',43)
24. 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)
25. 1 globalmanagerdoesnotexistwilluse global manager does not exist. will use local thread for commit and append ('/LoggerWrapper.h',43)
26. 1 peerDCIDlocalhostvotingmembermyi peer 1: DC ID 0, localhost:9234, voting member, 1
my id: 1, voting_member
num peers: 0 ('/LoggerWrapper.h',43)
27. 1 createsnapshotidxlogtermdoneusel create snapshot idx 10198 log_term 3 done: 372 us elapsed ('/LoggerWrapper.h',43)
28. 1 PRIORITYdecaytargetmine [PRIORITY] decay, target 1 -> 1, mine 1 ('/LoggerWrapper.h',43)
29. 1 BECOMELEADERappendednewconfigat [BECOME LEADER] appended new config at 199 ('/LoggerWrapper.h',43)
30. 1 startingup starting up ('',0)
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) 181 /var/lib/clickhouse/disks/s3/store/937/937ce959-940a-4514-8b79-171abf8d0ddd/tmp_merge_202407_88_131_4/ is in use (by merge/mutation/INSERT) (consider increasing temporary_directories_lifetime setting) (skipped 1 similar messages)
2. Query {} to stage {}{} 79 Query SELECT _CAST(1, 'UInt8') AS `like('a�b', 'a%�b')` FROM system.one AS __table1 to stage Complete
3. Query {} from stage {} to stage {}{} 79 Query SELECT _CAST(1, 'UInt8') AS `like('a�b', 'a%�b')` FROM system.one AS __table1 from stage FetchColumns to stage Complete
4. 29 creating a snapshot for index 10198
5. (from {}{}{}){}{} {} (stage: {}) 1 (from [::1]:60172) (comment: 02682_quantiles_too_large_size.sql) -- This query throw high-level exception instead of low-level "too large size passed to allocator":
SELECT * FROM format(RowBinary, 'ik2 String, Sum AggregateFunction(sum, UInt16), A$g AggregateFunction(quantiles(0.4, 0.9), UInt64), GroupArray AggregateFunction(groupArray, String)', '295TMi44400000005942762421546108502
�
z
*
ParalcelParsingInputFormat
te Date,
I
�
!
STRING
d Tuple(UInt8)
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvTabSeparatedWithNamesAndTypes
d Date, a S)ring, x UInt32, y UInt64, z Float32
29TabSeparatevvvvvvvdRawWithNames
a UInt32
26TabSeparatedR,�b UInt32
26TabSeparatedRawWithNthNames
vvvvv
1
key U7878
'); (stage: Complete)
Top short messages:
c message_format_string substr(any(message), 1, 120) min_length_without_exception_boilerplate
1. 7 {} ThreadFuzzer is enabled. Application will run slowly and unstable. 27
2. 3 Found {} on {} Found snapshot_198.bin.zstd on LocalSnapshotDisk 18
3. 3 Creating {}: {} Creating table test_5ewzcur6.tp_1: CREATE TABLE IF NOT EXISTS test_5ewzcur6.tp_1 UUID '9098752c-c4b0-4660-ab37-85ba98599 146
4. 1 {}:{}: '{}' src/Processors/Transforms/MergeJoinTransform.cpp:836: ' UInt32(size = 1) UInt32(size = 1) UInt32(size = 1)' 81
Top messages by level:
(0.005564691571415799,'Database {} does not exist. Maybe you meant {}?') Error
(0.00021402659890060768,'Not enabled four letter command {}') Warning
(0.027381858672005592,'Sorting and writing part of data into temporary file {}') Information
(0.052357950004470175,'Key {} is removed from metadata') Debug
(0.0396003391915213,'Access granted: {}{}') Trace
2024-07-22 12:09:31,330 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=2796
+ clickhouse stop --max-tries 90 --do-not-kill
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Sent terminate signal to process with pid 2796.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 2796.
The process with pid = 2796 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
+ 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 - - [22/Jul/2024:10:09:40 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [22/Jul/2024:10:09:40 +0000] "PUT /devstoreaccount1/cont/xnbzkouchlsnppbwmuovqbjmvtqserwc?blockid=rxqzqeqbndsbqxbkgvsfkexkrdspszbgrmxutragbiqjabxkarusggvtoegcxvne&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:10:09:40 +0000] "PUT /devstoreaccount1/cont/xnbzkouchlsnppbwmuovqbjmvtqserwc?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [22/Jul/2024:10:09:40 +0000] "GET /devstoreaccount1/cont/xnbzkouchlsnppbwmuovqbjmvtqserwc HTTP/1.1" 206 4
127.0.0.1 - - [22/Jul/2024:10:09:40 +0000] "GET /devstoreaccount1/cont/xnbzkouchlsnppbwmuovqbjmvtqserwc HTTP/1.1" 206 2
127.0.0.1 - - [22/Jul/2024:10:09:40 +0000] "DELETE /devstoreaccount1/cont/xnbzkouchlsnppbwmuovqbjmvtqserwc 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'
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 25712
+ 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=25712
+ 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 = 25712.
The process with pid = 25712 is running.
Sent terminate signal to process with pid 25712.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 25712.
The process with pid = 25712 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 25712.
The process with pid = 25712 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 25712.
The process with pid = 25712 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 25712.
The process with pid = 25712 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 25712.
The process with pid = 25712 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
+ grep -v a.myext
+ 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
+ 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/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_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 - - [22/Jul/2024:10:10:46 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
==================
WARNING: ThreadSanitizer: data race (pid=26706)
Write of size 2 at 0x7b9c00008050 by main thread:
#0 __tsan_memcpy (clickhouse+0x7003377) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#1 DB::SettingsTraits::Data::operator=(DB::SettingsTraits::Data const&) build_docker/./src/Core/Settings.h:1221:1 (clickhouse+0x167aa75e) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#2 DB::BaseSettings::operator=(DB::BaseSettings const&) build_docker/./src/Core/BaseSettings.h:56:60 (clickhouse+0x167f891f) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#3 DB::Settings::operator=(DB::Settings const&) build_docker/./src/Core/Settings.h:1227:8 (clickhouse+0x167f891f)
#4 DB::Context::setSettings(DB::Settings const&) build_docker/./src/Interpreters/Context.cpp:2078:14 (clickhouse+0x167f891f)
#5 DB::ClientBase::adjustSettings() build_docker/./src/Client/ClientBase.cpp:722:21 (clickhouse+0x193c680f) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#6 DB::LocalServer::main(std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>> const&) build_docker/./programs/local/LocalServer.cpp:472:5 (clickhouse+0xf24f0ed) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#7 Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:315:8 (clickhouse+0x1cfea73e) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#8 mainEntryClickHouseLocal(int, char**) build_docker/./programs/local/LocalServer.cpp:895:20 (clickhouse+0xf25c2a8) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#9 main build_docker/./programs/main.cpp:498:21 (clickhouse+0x708fbd8) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
Previous read of size 1 at 0x7b9c00008050 by thread T642:
#0 DB::SettingFieldNumber::operator bool() const build_docker/./src/Core/SettingsFields.h:45:36 (clickhouse+0x17c192c3) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#1 DB::ThreadStatus::finalizePerformanceCounters() build_docker/./src/Interpreters/ThreadStatusExt.cpp:415:35 (clickhouse+0x17c192c3)
#2 DB::ThreadStatus::detachFromGroup() build_docker/./src/Interpreters/ThreadStatusExt.cpp:263:5 (clickhouse+0x17c181cf) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#3 DB::CurrentThread::detachFromGroupIfNotDetached() build_docker/./src/Interpreters/ThreadStatusExt.cpp:631:21 (clickhouse+0x17c16394) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#4 std::__1::function> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()::operator()()::'lambda'()::operator()() const build_docker/./src/Common/threadPoolCallbackRunner.h:27:13 (clickhouse+0x18fcbbde) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#5 BasicScopeGuard> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()::operator()()::'lambda'()>::invoke() build_docker/./base/base/../base/scope_guard.h:101:9 (clickhouse+0x18fcbbde)
#6 BasicScopeGuard> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()::operator()()::'lambda'()>::~BasicScopeGuard() build_docker/./base/base/../base/scope_guard.h:50:26 (clickhouse+0x18fcbbde)
#7 std::__1::function> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()::operator()() build_docker/./src/Common/threadPoolCallbackRunner.h:43:9 (clickhouse+0x18fcbb62) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#8 decltype(std::declval>()()) std::__1::__invoke[abi:v15000]> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()&>(std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0x18fcbb62)
#9 std::__1::__packaged_task_func> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'(), std::__1::allocator> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()>, std::__1::shared_ptr ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1694:12 (clickhouse+0x18fcbb62)
#10 std::__1::__packaged_task_function ()>::operator()() const build_docker/./contrib/llvm-project/libcxx/include/future:1876:12 (clickhouse+0x18fce23c) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#11 std::__1::packaged_task ()>::operator()() build_docker/./contrib/llvm-project/libcxx/include/future:1953:24 (clickhouse+0x18fce23c)
#12 std::__1::function> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'()::operator()() const build_docker/./src/Common/threadPoolCallbackRunner.h:50:70 (clickhouse+0x18fcbccc) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#13 decltype(std::declval>()()) std::__1::__invoke[abi:v15000]> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'()&>(std::__1::shared_ptr&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0x18fcbccc)
#14 void std::__1::__invoke_void_return_wrapper::__call> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'()&>(std::__1::function> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'()&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9 (clickhouse+0x18fcbccc)
#15 std::__1::__function::__default_alloc_func> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'(), void ()>::operator()[abi:v15000]() build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 (clickhouse+0x18fcbccc)
#16 void std::__1::__function::__policy_invoker::__call_impl> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 (clickhouse+0x18fcbccc)
#17 std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 (clickhouse+0xf06e3ae) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#18 std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 (clickhouse+0xf06e3ae)
#19 ThreadPoolImpl>::worker(std::__1::__list_iterator, void*>) build_docker/./src/Common/ThreadPool.cpp:455:13 (clickhouse+0xf06e3ae)
#20 void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 (clickhouse+0xf07277c) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#21 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+0xf07277c)
#22 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+0xf07277c)
#23 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+0xf07277c)
#24 ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() build_docker/./src/Common/ThreadPool.h:223:13 (clickhouse+0xf07277c)
#25 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+0xf0726e1) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#26 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+0xf0726e1)
#27 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+0xf0726e1)
#28 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+0xf0726e1)
#29 std::__1::__function::__policy_func::operator()[abi:v15000]() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848:16 (clickhouse+0xf06a68e) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#30 std::__1::function::operator()() const build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:1187:12 (clickhouse+0xf06a68e)
#31 ThreadPoolImpl::worker(std::__1::__list_iterator) build_docker/./src/Common/ThreadPool.cpp:455:13 (clickhouse+0xf06a68e)
#32 void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()::operator()() const build_docker/./src/Common/ThreadPool.cpp:217:73 (clickhouse+0xf070551) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#33 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+0xf070551)
#34 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+0xf070551)
#35 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+0xf070551)
Location is heap block of size 12480 at 0x7b9c00007000 allocated by main thread:
#0 operator new(unsigned long, std::align_val_t) (clickhouse+0x708dc5b) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#1 DB::Context::createGlobal(DB::ContextSharedPart*) build_docker/./src/Interpreters/Context.cpp:822:41 (clickhouse+0x167e4b4b) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#2 DB::LocalServer::processConfig() build_docker/./programs/local/LocalServer.cpp:589:22 (clickhouse+0xf251454) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#3 DB::LocalServer::main(std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>> const&) build_docker/./programs/local/LocalServer.cpp:471:5 (clickhouse+0xf24f0e5) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#4 Poco::Util::Application::run() build_docker/./base/poco/Util/src/Application.cpp:315:8 (clickhouse+0x1cfea73e) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#5 mainEntryClickHouseLocal(int, char**) build_docker/./programs/local/LocalServer.cpp:895:20 (clickhouse+0xf25c2a8) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#6 main build_docker/./programs/main.cpp:498:21 (clickhouse+0x708fbd8) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
Thread T642 'ThreadPool' (tid=27350, running) created by thread T169 at:
#0 pthread_create (clickhouse+0x70076eb) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#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+0xf06fb9e) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#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+0xf06fb9e)
#3 void ThreadPoolImpl::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool) build_docker/./src/Common/ThreadPool.cpp:217:35 (clickhouse+0xf069401) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#4 ThreadPoolImpl::scheduleOrThrow(std::__1::function, Priority, unsigned long, bool) build_docker/./src/Common/ThreadPool.cpp:288:5 (clickhouse+0xf0721e6) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#5 ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool)::'lambda0'()>(void&&) build_docker/./src/Common/ThreadPool.h:203:38 (clickhouse+0xf0721e6)
#6 void ThreadPoolImpl>::scheduleImpl(std::__1::function, Priority, std::__1::optional, bool) build_docker/./src/Common/ThreadPool.cpp:217:35 (clickhouse+0xf06bf43) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#7 ThreadPoolImpl>::scheduleOrThrowOnError(std::__1::function, Priority) build_docker/./src/Common/ThreadPool.cpp:276:5 (clickhouse+0xf06bb6a) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#8 std::__1::function (std::__1::function&&, Priority)> DB::threadPoolCallbackRunner>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(std::__1::function&&, Priority)::operator()(std::__1::function&&, Priority) build_docker/./src/Common/threadPoolCallbackRunner.h:50:18 (clickhouse+0x15da2dd7) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#9 decltype(std::declval()(std::declval>(), std::declval())) std::__1::__invoke[abi:v15000] (std::__1::function&&, Priority)> DB::threadPoolCallbackRunner>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(std::__1::function&&, Priority)&, std::__1::function, Priority>(void&&, std::__1::function&&, Priority&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23 (clickhouse+0x15da2a84) (BuildId: 6a01a5ab06f9d10a67b667a43f41b931c2ef54e7)
#10 std::__1::future std::__1::__invoke_void_return_wrapper, false>::__call (std::__1::function&&, Priority)> DB::threadPoolCallbackRunner>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(std::__1::function&&, Priority)&, std::__1::function, Priority>(std::__1::function (std::__1::function&&, Priority)> DB::threadPoolCallbackRunner>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(std::__1::function&&, Priority)&, std::__1::function&&, Priority&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470:16 (clickhouse+0x15da2a84)
#11 std::__1::__function::__default_alloc_func (std::__1::function&&, Priority)> DB::threadPoolCallbackRunner>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(std::__1::function&&, Priority), std::__1::future (std::__1::function&&, Priority)>::operator()[abi:v15000](std::__1::function&&, Priority&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:235:12 (clickhouse+0x15da2a84)
#12 std::__1::future std::__1::__function::__policy_invoker (std::__1::function&&, Priority)>::__call_impl (std::__1::function&&, Priority)> DB::threadPoolCallbackRunner>(ThreadPoolImpl>&, std::__1::basic_string, std::__1::allocator> const&)::'lambda'(std::__1::function&&, Priority), std::__1::future (std::__1::function&&, Priority)>>(std::__1::__function::__policy_storage const*, std::__1::function&&, Priority&&) build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716:16 (clickhouse+0x15da2a84)
#13 std::__1::__function::__policy_func (std::__1::function