+ 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 /usr/share/clickhouse-test/ci/attach_gdb.lib
++ source /usr/share/clickhouse-test/ci/utils.lib
+ source /usr/share/clickhouse-test/ci/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_23.8.16.41.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static.
(Reading database ... 58479 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static_23.8.16.41.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-common-static (23.8.16.41.altinitystable+asan) ...
Setting up clickhouse-common-static (23.8.16.41.altinitystable+asan) ...
+ dpkg -i package_folder/clickhouse-common-static-dbg_23.8.16.41.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static-dbg.
(Reading database ... 58493 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static-dbg_23.8.16.41.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-common-static-dbg (23.8.16.41.altinitystable+asan) ...
Setting up clickhouse-common-static-dbg (23.8.16.41.altinitystable+asan) ...
+ dpkg -i package_folder/clickhouse-server_23.8.16.41.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-server.
(Reading database ... 58502 files and directories currently installed.)
Preparing to unpack .../clickhouse-server_23.8.16.41.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-server (23.8.16.41.altinitystable+asan) ...
Setting up clickhouse-server (23.8.16.41.altinitystable+asan) ...
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.
Symlink /usr/bin/clickhouse-copier already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-copier 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 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'
[1mPassword for default user is empty string. See /etc/clickhouse-server/users.xml and /etc/clickhouse-server/users.d to change it.[0m
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_23.8.16.41.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-client.
(Reading database ... 58521 files and directories currently installed.)
Preparing to unpack .../clickhouse-client_23.8.16.41.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-client (23.8.16.41.altinitystable+asan) ...
Setting up clickhouse-client (23.8.16.41.altinitystable+asan) ...
+ 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=100000
+ THREAD_FUZZER_SLEEP_TIME_US=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=10000
+ THREAD_FUZZER_pthread_mutex_lock_BEFORE_SLEEP_TIME_US=10000
+ export THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US=10000
+ THREAD_FUZZER_pthread_mutex_lock_AFTER_SLEEP_TIME_US=10000
+ export THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US=10000
+ THREAD_FUZZER_pthread_mutex_unlock_BEFORE_SLEEP_TIME_US=10000
+ export THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US=10000
+ THREAD_FUZZER_pthread_mutex_unlock_AFTER_SLEEP_TIME_US=10000
+ export THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY=0.01
+ THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY=0.01
+ export THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY=0.01
+ THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY=0.01
+ export ZOOKEEPER_FAULT_INJECTION=1
+ ZOOKEEPER_FAULT_INJECTION=1
+ configure
+ export USE_DATABASE_ORDINARY=1
+ USE_DATABASE_ORDINARY=1
+ export EXPORT_S3_STORAGE_POLICIES=1
+ EXPORT_S3_STORAGE_POLICIES=1
+ /usr/share/clickhouse-test/config/install.sh
+ DEST_SERVER_PATH=/etc/clickhouse-server
+ DEST_CLIENT_PATH=/etc/clickhouse-client
+++ dirname /usr/share/clickhouse-test/config/install.sh
++ cd /usr/share/clickhouse-test/config
++ pwd -P
+ SRC_PATH=/usr/share/clickhouse-test/config
+ 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/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/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/disks.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/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/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/metadata_cache.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/
+ '[' /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/
+ [[ -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/
+ create_snapshot_on_exit=0
+ sed --follow-symlinks -i 's|true|0|' /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/users.d/s3_cache.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
+ sudo chown clickhouse /etc/clickhouse-server/config.d/keeper_port.xml
+ sudo chgrp clickhouse /etc/clickhouse-server/config.d/keeper_port.xml
+ echo 'ASAN_OPTIONS='\''malloc_context_size=10 verbosity=1 allocator_release_to_os_interval_ms=10000'\'''
+ export 'ASAN_OPTIONS=malloc_context_size=10 allocator_release_to_os_interval_ms=10000'
+ ASAN_OPTIONS='malloc_context_size=10 allocator_release_to_os_interval_ms=10000'
+ sudo chown root: /var/lib/clickhouse
+ echo '1'
+ local total_mem
++ awk '/MemTotal/ { print $(NF-1) }' /proc/meminfo
+ total_mem=32098980
+ total_mem=32869355520
+ max_server_memory_usage_to_ram_ratio=0.5
Setting max_server_memory_usage_to_ram_ratio to 0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
+ local max_users_mem
+ max_users_mem=9860806656
Setting max_memory_usage_for_user=9860806656 and max_memory_usage for queries to 10G
+ echo 'Setting max_memory_usage_for_user=9860806656 and max_memory_usage for queries to 10G'
+ cat
+ 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
+ ./minio server --address :11111 ./minio_data
+ params=('--silent' '--verbose')
+ local params
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 0 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ counter=1
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
trying to connect to minio
+ [[ 1 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ 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
trying to connect to minio
+ [[ 3 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=4
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 4 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ counter=5
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 5 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ counter=6
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 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
trying to connect to minio
+ [[ 7 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ 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:38053 http://127.0.0.1:38053
Documentation: https://docs.min.io
WARNING: Console endpoint is listening on a dynamic port (38053), please use --console-address ":PORT" to choose a static port.
+ counter=11
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
AccessDenied
Access Denied./17F802A6970423B69aab94c6-df91-4342-b9c4-70056219fea0
+ lsof -i :11111
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
minio 248 root 10u IPv6 42808 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
+ 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
02366_data.jsonl
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/02366_data.jsonl` -> `clickminio/test/02366_data.jsonl`
Total: 0 B, Transferred: 0 B, Speed: 0 B/s
+ for file in $(ls "${data_path}")
+ echo 02731.arrow
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02731.arrow clickminio/test/02731.arrow
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: 142.46 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: 82.53 MiB/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.20 KiB/s
+ 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
b.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/b.tsv` -> `clickminio/test/b.tsv`
Total: 0 B, Transferred: 33 B, Speed: 4.55 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: 4.76 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.11 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
+ counter=0
+ 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'
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
127.0.0.1 - - [23/Sep/2024:23:16:25 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 201 -
127.0.0.1 - - [23/Sep/2024:23:16:25 +0000] "PUT /devstoreaccount1/cont/smqrbqswtsjliwexyovkcffbpmahcmzx?blockid=ohqbofbgzprtowtgrvpaysuvsrktzqilhyktvdrkybvzmzqxxpyfwhmkpvuqbgxh&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [23/Sep/2024:23:16:25 +0000] "PUT /devstoreaccount1/cont/smqrbqswtsjliwexyovkcffbpmahcmzx?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [23/Sep/2024:23:16:25 +0000] "GET /devstoreaccount1/cont/smqrbqswtsjliwexyovkcffbpmahcmzx HTTP/1.1" 206 4
127.0.0.1 - - [23/Sep/2024:23:16:25 +0000] "GET /devstoreaccount1/cont/smqrbqswtsjliwexyovkcffbpmahcmzx HTTP/1.1" 206 2
127.0.0.1 - - [23/Sep/2024:23:16:25 +0000] "DELETE /devstoreaccount1/cont/smqrbqswtsjliwexyovkcffbpmahcmzx HTTP/1.1" 202 -
+ counter=10
+ 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 519
+ run_with_retry 60 clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\'''
+ [[ hxB =~ e ]]
+ set_e=false
+ set +e
+ local total_retries=60
+ shift
+ local retry=0
+ '[' 0 -ge 60 ']'
+ clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\'''
Connected to clickhouse-server after attaching gdb
+ false
+ return
+ setup_logs_replication
+ set +x
File /tmp/export-logs-config.sh does not exist, do not setup
+ /s3downloader --url-prefix https://s3.amazonaws.com/clickhouse-datasets --dataset-names hits visits
INFO:root:Will fetch following datasets: hits, visits
INFO:root:Processing hits
INFO:root:Downloading from https://s3.amazonaws.com/clickhouse-datasets/hits/partitions/hits_v1.tar to temp path /tmp/tbrnv4_1
INFO:root:Content length is 1271623680 bytes
INFO:root:Downloading finished
INFO:root:Will unpack data from temp path /tmp/tbrnv4_1 to clickhouse db /var/lib/clickhouse/
INFO:root:Unpack finished
INFO:root:Will remove downloaded file /tmp/tbrnv4_1 from filesystem if it exists
INFO:root:Processing of hits finished
INFO:root:Processing visits
INFO:root:Downloading from https://s3.amazonaws.com/clickhouse-datasets/visits/partitions/visits_v1.tar to temp path /tmp/9s535sjt
INFO:root:Content length is 563968000 bytes
INFO:root:Downloading finished
INFO:root:Will unpack data from temp path /tmp/9s535sjt to clickhouse db /var/lib/clickhouse/
INFO:root:Unpack finished
INFO:root:Will remove downloaded file /tmp/9s535sjt from filesystem if it exists
INFO:root:Processing of visits finished
INFO:root:Fetch finished, enjoy your tables!
+ chmod 777 -R /var/lib/clickhouse
+ clickhouse-client --query 'ATTACH DATABASE IF NOT EXISTS datasets ENGINE = Ordinary'
+ clickhouse-client --query 'CREATE DATABASE IF NOT EXISTS test'
+ stop
+ local max_tries=90
+ local check_hang=true
+ local pid
++ cat /var/run/clickhouse-server/clickhouse-server.pid
+ pid=519
+ 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 = 519.
The process with pid = 519 is running.
Sent terminate signal to process with pid 519.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 519.
The process with pid = 519 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 519.
The process with pid = 519 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 519.
The process with pid = 519 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 519.
The process with pid = 519 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 519.
The process with pid = 519 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 519.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 is running.
Waiting for server to stop
Found pid = 519 in the list of running processes.
The process with pid = 519 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
+ start
+ counter=0
+ 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'
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
127.0.0.1 - - [23/Sep/2024:23:18:38 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [23/Sep/2024:23:18:38 +0000] "PUT /devstoreaccount1/cont/qybiixffxidznqutlidqlcqicvfhpdwi?blockid=uaizcnbcyoqiywxkuuotmxxnfksxxieainotoyfundcukbedxwhiqesckvuctdeg&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [23/Sep/2024:23:18:38 +0000] "PUT /devstoreaccount1/cont/qybiixffxidznqutlidqlcqicvfhpdwi?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [23/Sep/2024:23:18:38 +0000] "GET /devstoreaccount1/cont/qybiixffxidznqutlidqlcqicvfhpdwi HTTP/1.1" 206 4
127.0.0.1 - - [23/Sep/2024:23:18:38 +0000] "GET /devstoreaccount1/cont/qybiixffxidznqutlidqlcqicvfhpdwi HTTP/1.1" 206 2
127.0.0.1 - - [23/Sep/2024:23:18:38 +0000] "DELETE /devstoreaccount1/cont/qybiixffxidznqutlidqlcqicvfhpdwi HTTP/1.1" 202 -
+ counter=9
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 9 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=10
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 10 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=11
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 11 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=12
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 12 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=13
+ clickhouse-client --query 'SELECT 1'
1
+ attach_gdb_to_clickhouse
++ kill -l SIGRTMIN
+ RTMIN=34
+ echo '
set follow-fork-mode parent
handle SIGHUP nostop noprint pass
handle SIGINT nostop noprint pass
handle SIGQUIT nostop noprint pass
handle SIGPIPE nostop noprint pass
handle SIGTERM nostop noprint pass
handle SIGUSR1 nostop noprint pass
handle SIGUSR2 nostop noprint pass
handle SIG34 nostop noprint pass
info signals
continue
backtrace full
thread apply all backtrace full
info registers
disassemble /s
up
disassemble /s
up
disassemble /s
p "done"
detach
quit
'
+ sleep 5
+ ts '%Y-%m-%d %H:%M:%S'
++ cat /var/run/clickhouse-server/clickhouse-server.pid
+ gdb -batch -command script.gdb -p 1019
+ 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
+ local max_tries=90
+ local check_hang=true
+ local pid
++ cat /var/run/clickhouse-server/clickhouse-server.pid
+ pid=1019
+ 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 = 1019.
The process with pid = 1019 is running.
Sent terminate signal to process with pid 1019.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1019.
The process with pid = 1019 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1019.
The process with pid = 1019 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1019.
The process with pid = 1019 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1019.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 is running.
Waiting for server to stop
Found pid = 1019 in the list of running processes.
The process with pid = 1019 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 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/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/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/disks.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/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/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/metadata_cache.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/
+ '[' /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/
+ [[ -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/
+ create_snapshot_on_exit=1
+ sed --follow-symlinks -i 's|true|1|' /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 ]]
+ ln -sf /usr/share/clickhouse-test/config/config.d/s3_storage_policy_by_default.xml /etc/clickhouse-server/config.d/
+ ARM=aarch64
++ uname -m
x86_64
Adding azure configuration
+ 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/
+ ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/s3_cache.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
+ sudo chown clickhouse /etc/clickhouse-server/config.d/keeper_port.xml
+ sudo chgrp clickhouse /etc/clickhouse-server/config.d/keeper_port.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=32098980
+ total_mem=32869355520
+ max_server_memory_usage_to_ram_ratio=0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
+ local max_users_mem
+ max_users_mem=9860806656
+ echo 'Setting max_memory_usage_for_user=9860806656 and max_memory_usage for queries to 10G'
+ cat
Setting max_memory_usage_for_user=9860806656 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
+ start
+ counter=0
+ 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'
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
127.0.0.1 - - [23/Sep/2024:23:39:03 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [23/Sep/2024:23:39:03 +0000] "PUT /devstoreaccount1/cont/fsulgesfwmwlihpdntklfghdnthpfsax?blockid=ouemzpibosevahrdufqwynssmenzncklogfwpqnxxszfyvlaiwtxrkbferjcmsaf&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [23/Sep/2024:23:39:03 +0000] "PUT /devstoreaccount1/cont/fsulgesfwmwlihpdntklfghdnthpfsax?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [23/Sep/2024:23:39:03 +0000] "GET /devstoreaccount1/cont/fsulgesfwmwlihpdntklfghdnthpfsax HTTP/1.1" 206 4
127.0.0.1 - - [23/Sep/2024:23:39:03 +0000] "GET /devstoreaccount1/cont/fsulgesfwmwlihpdntklfghdnthpfsax HTTP/1.1" 206 2
127.0.0.1 - - [23/Sep/2024:23:39:03 +0000] "DELETE /devstoreaccount1/cont/fsulgesfwmwlihpdntklfghdnthpfsax HTTP/1.1" 202 -
+ 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'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 19 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=20
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 20 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=21
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 21 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=22
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 22 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=23
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 23 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=24
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 24 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=25
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 25 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=26
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 26 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=27
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 27 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=28
+ 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 1872
+ 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-09-24 01:40:22,177 Run func tests '/usr/bin/clickhouse-test --global_time_limit=1200 '
2024-09-24 01:40:22,678 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_1 --client-option join_use_nulls=1 join_algorithm='parallel_hash' use_query_cache=1 memory_tracker_fault_probability=0.001 group_by_use_nulls=1 --global_time_limit=1200 '
2024-09-24 01:40:23,179 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 --global_time_limit=1200 '
2024-09-24 01:40:23,681 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_3 --client-option join_algorithm='partial_merge' group_by_use_nulls=1 --global_time_limit=1200 '
2024-09-24 01:40:24,182 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 use_query_cache=1 --global_time_limit=1200 '
2024-09-24 01:40:24,683 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 join_algorithm='full_sorting_merge' group_by_use_nulls=1 --global_time_limit=1200 '
2024-09-24 01:40:25,185 Run func tests '/usr/bin/clickhouse-test --order=random --client-option use_query_cache=1 memory_tracker_fault_probability=0.001 --global_time_limit=1200 '
2024-09-24 01:40:25,686 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 --global_time_limit=1200 '
2024-09-24 01:40:26,187 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 --global_time_limit=1200 '
2024-09-24 01:40:26,688 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-09-24 01:40:27,189 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 --global_time_limit=1200 '
2024-09-24 01:40:27,690 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 join_algorithm='parallel_hash' memory_tracker_fault_probability=0.001 group_by_use_nulls=1 --global_time_limit=1200 '
2024-09-24 01:40:28,191 Run func tests '/usr/bin/clickhouse-test --order=random --client-option implicit_transaction=1 throw_on_unsupported_query_inside_transaction=0 --global_time_limit=1200 '
2024-09-24 01:40:28,693 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_13 --client-option join_use_nulls=1 join_algorithm='partial_merge' group_by_use_nulls=1 --global_time_limit=1200 '
2024-09-24 01:40:29,194 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 --global_time_limit=1200 '
2024-09-24 01:40:29,695 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_15 --client-option join_algorithm='full_sorting_merge' group_by_use_nulls=1 --global_time_limit=1200 '
2024-09-24 01:40:30,196 Will wait functests to finish
2024-09-24 01:40:30,196 Finished 0 from 16 processes
2024-09-24 01:40:35,200 Finished 0 from 16 processes
2024-09-24 01:40:40,204 Finished 0 from 16 processes
2024-09-24 01:40:45,208 Finished 0 from 16 processes
2024-09-24 01:40:50,212 Finished 0 from 16 processes
2024-09-24 01:40:55,216 Finished 0 from 16 processes
2024-09-24 01:41:00,220 Finished 0 from 16 processes
2024-09-24 01:41:05,223 Finished 0 from 16 processes
2024-09-24 01:41:10,224 Finished 0 from 16 processes
2024-09-24 01:41:15,228 Finished 0 from 16 processes
2024-09-24 01:41:20,233 Finished 0 from 16 processes
2024-09-24 01:41:25,236 Finished 0 from 16 processes
2024-09-24 01:41:30,240 Finished 0 from 16 processes
2024-09-24 01:41:35,244 Finished 0 from 16 processes
2024-09-24 01:41:40,249 Finished 0 from 16 processes
2024-09-24 01:41:45,252 Finished 0 from 16 processes
2024-09-24 01:41:50,256 Finished 0 from 16 processes
2024-09-24 01:41:55,260 Finished 0 from 16 processes
2024-09-24 01:42:00,264 Finished 0 from 16 processes
2024-09-24 01:42:05,268 Finished 0 from 16 processes
2024-09-24 01:42:10,272 Finished 0 from 16 processes
2024-09-24 01:42:15,277 Finished 0 from 16 processes
2024-09-24 01:42:20,280 Finished 0 from 16 processes
2024-09-24 01:42:25,284 Finished 0 from 16 processes
2024-09-24 01:42:30,288 Finished 0 from 16 processes
2024-09-24 01:42:35,292 Finished 0 from 16 processes
2024-09-24 01:42:40,296 Finished 0 from 16 processes
2024-09-24 01:42:45,301 Finished 0 from 16 processes
2024-09-24 01:42:50,304 Finished 0 from 16 processes
2024-09-24 01:42:55,308 Finished 0 from 16 processes
2024-09-24 01:43:00,312 Finished 0 from 16 processes
2024-09-24 01:43:05,316 Finished 0 from 16 processes
2024-09-24 01:43:10,320 Finished 0 from 16 processes
2024-09-24 01:43:15,325 Finished 0 from 16 processes
2024-09-24 01:43:20,330 Finished 0 from 16 processes
2024-09-24 01:43:25,332 Finished 0 from 16 processes
2024-09-24 01:43:30,336 Finished 0 from 16 processes
2024-09-24 01:43:35,340 Finished 0 from 16 processes
2024-09-24 01:43:40,344 Finished 0 from 16 processes
2024-09-24 01:43:45,348 Finished 0 from 16 processes
2024-09-24 01:43:50,352 Finished 0 from 16 processes
2024-09-24 01:43:55,356 Finished 0 from 16 processes
2024-09-24 01:44:00,360 Finished 0 from 16 processes
2024-09-24 01:44:05,360 Finished 0 from 16 processes
2024-09-24 01:44:10,364 Finished 0 from 16 processes
2024-09-24 01:44:15,368 Finished 0 from 16 processes
2024-09-24 01:44:20,372 Finished 0 from 16 processes
2024-09-24 01:44:25,377 Finished 0 from 16 processes
2024-09-24 01:44:30,380 Finished 0 from 16 processes
2024-09-24 01:44:35,384 Finished 0 from 16 processes
2024-09-24 01:44:40,388 Finished 0 from 16 processes
2024-09-24 01:44:45,388 Finished 0 from 16 processes
2024-09-24 01:44:50,392 Finished 0 from 16 processes
2024-09-24 01:44:55,397 Finished 0 from 16 processes
2024-09-24 01:45:00,400 Finished 0 from 16 processes
2024-09-24 01:45:05,404 Finished 0 from 16 processes
2024-09-24 01:45:10,409 Finished 0 from 16 processes
2024-09-24 01:45:15,414 Finished 0 from 16 processes
2024-09-24 01:45:20,416 Finished 0 from 16 processes
2024-09-24 01:45:25,417 Finished 0 from 16 processes
2024-09-24 01:45:30,422 Finished 0 from 16 processes
2024-09-24 01:45:35,427 Finished 0 from 16 processes
2024-09-24 01:45:40,432 Finished 0 from 16 processes
2024-09-24 01:45:45,436 Finished 0 from 16 processes
2024-09-24 01:45:50,440 Finished 0 from 16 processes
2024-09-24 01:45:55,444 Finished 0 from 16 processes
2024-09-24 01:46:00,448 Finished 0 from 16 processes
2024-09-24 01:46:05,452 Finished 0 from 16 processes
2024-09-24 01:46:10,456 Finished 0 from 16 processes
2024-09-24 01:46:15,460 Finished 0 from 16 processes
2024-09-24 01:46:20,464 Finished 0 from 16 processes
2024-09-24 01:46:25,465 Finished 0 from 16 processes
2024-09-24 01:46:30,468 Finished 0 from 16 processes
2024-09-24 01:46:35,473 Finished 0 from 16 processes
2024-09-24 01:46:40,476 Finished 0 from 16 processes
2024-09-24 01:46:45,480 Finished 0 from 16 processes
2024-09-24 01:46:50,484 Finished 0 from 16 processes
2024-09-24 01:46:55,488 Finished 0 from 16 processes
2024-09-24 01:47:00,492 Finished 0 from 16 processes
2024-09-24 01:47:05,496 Finished 0 from 16 processes
2024-09-24 01:47:10,501 Finished 0 from 16 processes
2024-09-24 01:47:15,504 Finished 0 from 16 processes
2024-09-24 01:47:20,508 Finished 0 from 16 processes
2024-09-24 01:47:25,512 Finished 0 from 16 processes
2024-09-24 01:47:30,517 Finished 0 from 16 processes
2024-09-24 01:47:35,520 Finished 0 from 16 processes
2024-09-24 01:47:40,525 Finished 0 from 16 processes
2024-09-24 01:47:45,529 Finished 0 from 16 processes
2024-09-24 01:47:50,532 Finished 0 from 16 processes
2024-09-24 01:47:55,536 Finished 0 from 16 processes
2024-09-24 01:48:00,540 Finished 0 from 16 processes
2024-09-24 01:48:05,544 Finished 0 from 16 processes
2024-09-24 01:48:10,548 Finished 0 from 16 processes
2024-09-24 01:48:15,552 Finished 0 from 16 processes
2024-09-24 01:48:20,556 Finished 0 from 16 processes
2024-09-24 01:48:25,560 Finished 0 from 16 processes
2024-09-24 01:48:30,564 Finished 0 from 16 processes
2024-09-24 01:48:35,568 Finished 0 from 16 processes
2024-09-24 01:48:40,572 Finished 0 from 16 processes
2024-09-24 01:48:45,576 Finished 0 from 16 processes
2024-09-24 01:48:50,580 Finished 0 from 16 processes
2024-09-24 01:48:55,584 Finished 0 from 16 processes
2024-09-24 01:49:00,589 Finished 0 from 16 processes
2024-09-24 01:49:05,592 Finished 0 from 16 processes
2024-09-24 01:49:10,596 Finished 0 from 16 processes
2024-09-24 01:49:15,600 Finished 0 from 16 processes
2024-09-24 01:49:20,604 Finished 0 from 16 processes
2024-09-24 01:49:25,608 Finished 0 from 16 processes
2024-09-24 01:49:30,612 Finished 0 from 16 processes
2024-09-24 01:49:35,616 Finished 0 from 16 processes
2024-09-24 01:49:40,620 Finished 0 from 16 processes
2024-09-24 01:49:45,624 Finished 0 from 16 processes
2024-09-24 01:49:50,628 Finished 0 from 16 processes
2024-09-24 01:49:55,632 Finished 0 from 16 processes
2024-09-24 01:50:00,636 Finished 0 from 16 processes
2024-09-24 01:50:05,640 Finished 0 from 16 processes
2024-09-24 01:50:10,644 Finished 0 from 16 processes
2024-09-24 01:50:15,648 Finished 0 from 16 processes
2024-09-24 01:50:20,652 Finished 0 from 16 processes
2024-09-24 01:50:25,656 Finished 0 from 16 processes
2024-09-24 01:50:30,661 Finished 0 from 16 processes
2024-09-24 01:50:35,665 Finished 0 from 16 processes
2024-09-24 01:50:40,668 Finished 0 from 16 processes
2024-09-24 01:50:45,672 Finished 0 from 16 processes
2024-09-24 01:50:50,676 Finished 0 from 16 processes
2024-09-24 01:50:55,680 Finished 0 from 16 processes
2024-09-24 01:51:00,684 Finished 0 from 16 processes
2024-09-24 01:51:05,688 Finished 0 from 16 processes
2024-09-24 01:51:10,692 Finished 0 from 16 processes
2024-09-24 01:51:15,696 Finished 0 from 16 processes
2024-09-24 01:51:20,700 Finished 0 from 16 processes
2024-09-24 01:51:25,704 Finished 0 from 16 processes
2024-09-24 01:51:30,709 Finished 0 from 16 processes
2024-09-24 01:51:35,712 Finished 0 from 16 processes
2024-09-24 01:51:40,716 Finished 0 from 16 processes
2024-09-24 01:51:45,720 Finished 0 from 16 processes
2024-09-24 01:51:50,725 Finished 0 from 16 processes
2024-09-24 01:51:55,728 Finished 0 from 16 processes
2024-09-24 01:52:00,733 Finished 0 from 16 processes
2024-09-24 01:52:05,734 Finished 0 from 16 processes
2024-09-24 01:52:10,736 Finished 0 from 16 processes
2024-09-24 01:52:15,740 Finished 0 from 16 processes
2024-09-24 01:52:20,744 Finished 0 from 16 processes
2024-09-24 01:52:25,748 Finished 0 from 16 processes
2024-09-24 01:52:30,754 Finished 0 from 16 processes
2024-09-24 01:52:35,757 Finished 0 from 16 processes
2024-09-24 01:52:40,760 Finished 0 from 16 processes
2024-09-24 01:52:45,764 Finished 0 from 16 processes
2024-09-24 01:52:50,768 Finished 0 from 16 processes
2024-09-24 01:52:55,772 Finished 0 from 16 processes
2024-09-24 01:53:00,776 Finished 0 from 16 processes
2024-09-24 01:53:05,780 Finished 0 from 16 processes
2024-09-24 01:53:10,784 Finished 0 from 16 processes
2024-09-24 01:53:15,788 Finished 0 from 16 processes
2024-09-24 01:53:20,792 Finished 0 from 16 processes
2024-09-24 01:53:25,796 Finished 0 from 16 processes
2024-09-24 01:53:30,801 Finished 0 from 16 processes
2024-09-24 01:53:35,804 Finished 0 from 16 processes
2024-09-24 01:53:40,808 Finished 0 from 16 processes
2024-09-24 01:53:45,812 Finished 0 from 16 processes
2024-09-24 01:53:50,816 Finished 0 from 16 processes
2024-09-24 01:53:55,821 Finished 0 from 16 processes
2024-09-24 01:54:00,826 Finished 0 from 16 processes
2024-09-24 01:54:05,828 Finished 0 from 16 processes
2024-09-24 01:54:10,833 Finished 0 from 16 processes
2024-09-24 01:54:15,836 Finished 0 from 16 processes
2024-09-24 01:54:20,840 Finished 0 from 16 processes
2024-09-24 01:54:25,845 Finished 0 from 16 processes
2024-09-24 01:54:30,850 Finished 0 from 16 processes
2024-09-24 01:54:35,852 Finished 0 from 16 processes
2024-09-24 01:54:40,856 Finished 0 from 16 processes
2024-09-24 01:54:45,860 Finished 0 from 16 processes
2024-09-24 01:54:50,864 Finished 0 from 16 processes
2024-09-24 01:54:55,869 Finished 0 from 16 processes
2024-09-24 01:55:00,874 Finished 0 from 16 processes
2024-09-24 01:55:05,876 Finished 0 from 16 processes
2024-09-24 01:55:10,880 Finished 0 from 16 processes
2024-09-24 01:55:15,884 Finished 0 from 16 processes
2024-09-24 01:55:20,888 Finished 0 from 16 processes
2024-09-24 01:55:25,892 Finished 0 from 16 processes
2024-09-24 01:55:30,896 Finished 0 from 16 processes
2024-09-24 01:55:35,900 Finished 0 from 16 processes
2024-09-24 01:55:40,904 Finished 0 from 16 processes
2024-09-24 01:55:45,908 Finished 0 from 16 processes
2024-09-24 01:55:50,909 Finished 0 from 16 processes
2024-09-24 01:55:55,914 Finished 0 from 16 processes
2024-09-24 01:56:00,916 Finished 0 from 16 processes
2024-09-24 01:56:05,920 Finished 0 from 16 processes
2024-09-24 01:56:10,924 Finished 0 from 16 processes
2024-09-24 01:56:15,928 Finished 0 from 16 processes
2024-09-24 01:56:20,932 Finished 0 from 16 processes
2024-09-24 01:56:25,936 Finished 0 from 16 processes
2024-09-24 01:56:30,940 Finished 0 from 16 processes
2024-09-24 01:56:35,944 Finished 0 from 16 processes
2024-09-24 01:56:40,948 Finished 0 from 16 processes
2024-09-24 01:56:45,952 Finished 0 from 16 processes
2024-09-24 01:56:50,956 Finished 0 from 16 processes
2024-09-24 01:56:55,960 Finished 0 from 16 processes
2024-09-24 01:57:00,965 Finished 2 from 16 processes
2024-09-24 01:57:05,968 Finished 2 from 16 processes
2024-09-24 01:57:10,972 Finished 3 from 16 processes
2024-09-24 01:57:15,976 Finished 3 from 16 processes
2024-09-24 01:57:20,980 Finished 3 from 16 processes
2024-09-24 01:57:25,984 Finished 3 from 16 processes
2024-09-24 01:57:30,988 Finished 3 from 16 processes
2024-09-24 01:57:35,992 Finished 3 from 16 processes
2024-09-24 01:57:40,997 Finished 3 from 16 processes
2024-09-24 01:57:46,000 Finished 3 from 16 processes
2024-09-24 01:57:51,004 Finished 3 from 16 processes
2024-09-24 01:57:56,008 Finished 3 from 16 processes
2024-09-24 01:58:01,012 Finished 4 from 16 processes
2024-09-24 01:58:06,017 Finished 5 from 16 processes
2024-09-24 01:58:11,020 Finished 5 from 16 processes
2024-09-24 01:58:16,025 Finished 5 from 16 processes
2024-09-24 01:58:21,029 Finished 5 from 16 processes
2024-09-24 01:58:26,032 Finished 5 from 16 processes
2024-09-24 01:58:31,037 Finished 5 from 16 processes
2024-09-24 01:58:36,042 Finished 5 from 16 processes
2024-09-24 01:58:41,048 Finished 5 from 16 processes
2024-09-24 01:58:46,053 Finished 5 from 16 processes
2024-09-24 01:58:51,058 Finished 5 from 16 processes
2024-09-24 01:58:56,064 Finished 5 from 16 processes
Recursive internal problem.
2024-09-24 01:59:01,068 Finished 5 from 16 processes
2024-09-24 01:59:06,072 Finished 5 from 16 processes
2024-09-24 01:59:11,076 Finished 5 from 16 processes
2024-09-24 01:59:16,080 Finished 7 from 16 processes
2024-09-24 01:59:21,084 Finished 8 from 16 processes
2024-09-24 01:59:26,088 Finished 8 from 16 processes
2024-09-24 01:59:31,093 Finished 9 from 16 processes
2024-09-24 01:59:36,096 Finished 9 from 16 processes
2024-09-24 01:59:41,100 Finished 9 from 16 processes
2024-09-24 01:59:46,104 Finished 9 from 16 processes
2024-09-24 01:59:51,108 Finished 10 from 16 processes
2024-09-24 01:59:56,112 Finished 10 from 16 processes
2024-09-24 02:00:01,117 Finished 10 from 16 processes
2024-09-24 02:00:06,120 Finished 10 from 16 processes
2024-09-24 02:00:11,124 Finished 10 from 16 processes
2024-09-24 02:00:16,128 Finished 10 from 16 processes
2024-09-24 02:00:21,132 Finished 10 from 16 processes
2024-09-24 02:00:26,136 Finished 12 from 16 processes
2024-09-24 02:00:31,141 Finished 13 from 16 processes
2024-09-24 02:00:36,144 Finished 13 from 16 processes
2024-09-24 02:00:41,149 Finished 13 from 16 processes
2024-09-24 02:00:46,152 Finished 13 from 16 processes
2024-09-24 02:00:51,157 Finished 13 from 16 processes
2024-09-24 02:00:56,162 Finished 13 from 16 processes
2024-09-24 02:01:01,168 Finished 13 from 16 processes
2024-09-24 02:01:06,172 Finished 13 from 16 processes
2024-09-24 02:01:11,176 Finished 13 from 16 processes
2024-09-24 02:01:16,180 Finished 13 from 16 processes
2024-09-24 02:01:21,185 Finished 13 from 16 processes
2024-09-24 02:01:26,190 Finished 13 from 16 processes
2024-09-24 02:01:31,196 Finished 13 from 16 processes
2024-09-24 02:01:36,201 Finished 13 from 16 processes
2024-09-24 02:01:41,206 Finished 13 from 16 processes
2024-09-24 02:01:46,211 Finished 13 from 16 processes
2024-09-24 02:01:51,216 Finished 13 from 16 processes
2024-09-24 02:01:56,221 Finished 13 from 16 processes
2024-09-24 02:02:01,226 Finished 13 from 16 processes
2024-09-24 02:02:06,228 Finished 13 from 16 processes
2024-09-24 02:02:11,232 Finished 13 from 16 processes
2024-09-24 02:02:16,237 Finished 13 from 16 processes
2024-09-24 02:02:21,240 Finished 13 from 16 processes
2024-09-24 02:02:26,245 Finished 13 from 16 processes
2024-09-24 02:02:31,248 Finished 13 from 16 processes
2024-09-24 02:02:36,253 Finished 13 from 16 processes
2024-09-24 02:02:41,256 Finished 14 from 16 processes
2024-09-24 02:02:46,261 Finished 14 from 16 processes
2024-09-24 02:02:51,267 Finished 14 from 16 processes
2024-09-24 02:02:56,272 Finished 14 from 16 processes
2024-09-24 02:03:01,276 Finished 14 from 16 processes
2024-09-24 02:03:06,280 Finished 14 from 16 processes
2024-09-24 02:03:11,284 Finished 14 from 16 processes
2024-09-24 02:03:16,289 Finished 14 from 16 processes
2024-09-24 02:03:21,294 Finished 14 from 16 processes
2024-09-24 02:03:26,300 Finished 14 from 16 processes
2024-09-24 02:03:31,304 Finished 14 from 16 processes
2024-09-24 02:03:36,308 Finished 14 from 16 processes
2024-09-24 02:03:41,313 Finished 14 from 16 processes
2024-09-24 02:03:46,316 Finished 14 from 16 processes
2024-09-24 02:03:51,320 Finished 14 from 16 processes
2024-09-24 02:03:56,324 Finished 14 from 16 processes
2024-09-24 02:04:01,329 Finished 14 from 16 processes
2024-09-24 02:04:06,334 Finished 14 from 16 processes
2024-09-24 02:04:11,336 Finished 14 from 16 processes
2024-09-24 02:04:16,340 Finished 14 from 16 processes
2024-09-24 02:04:21,345 Finished 14 from 16 processes
2024-09-24 02:04:26,348 Finished 14 from 16 processes
2024-09-24 02:04:31,352 Finished 14 from 16 processes
2024-09-24 02:04:36,356 Finished 14 from 16 processes
2024-09-24 02:04:41,361 Finished 14 from 16 processes
2024-09-24 02:04:46,366 Finished 14 from 16 processes
2024-09-24 02:04:51,372 Finished 14 from 16 processes
2024-09-24 02:04:56,376 Finished 14 from 16 processes
2024-09-24 02:05:01,381 Finished 14 from 16 processes
2024-09-24 02:05:06,386 Finished 14 from 16 processes
2024-09-24 02:05:11,388 Finished 14 from 16 processes
2024-09-24 02:05:16,393 Finished 14 from 16 processes
2024-09-24 02:05:21,398 Finished 14 from 16 processes
2024-09-24 02:05:26,400 Finished 14 from 16 processes
2024-09-24 02:05:31,405 Finished 14 from 16 processes
2024-09-24 02:05:36,408 Finished 14 from 16 processes
2024-09-24 02:05:41,412 Finished 14 from 16 processes
2024-09-24 02:05:46,416 Finished 14 from 16 processes
2024-09-24 02:05:51,421 Finished 14 from 16 processes
2024-09-24 02:05:56,424 Finished 14 from 16 processes
2024-09-24 02:06:01,429 Finished 14 from 16 processes
2024-09-24 02:06:06,434 Finished 14 from 16 processes
2024-09-24 02:06:11,439 Finished 14 from 16 processes
2024-09-24 02:06:16,444 Finished 14 from 16 processes
2024-09-24 02:06:21,448 Finished 14 from 16 processes
2024-09-24 02:06:26,452 Finished 14 from 16 processes
2024-09-24 02:06:31,457 Finished 14 from 16 processes
2024-09-24 02:06:36,460 Finished 14 from 16 processes
2024-09-24 02:06:41,464 Finished 14 from 16 processes
2024-09-24 02:06:46,468 Finished 14 from 16 processes
2024-09-24 02:06:51,472 Finished 14 from 16 processes
2024-09-24 02:06:56,476 Finished 14 from 16 processes
2024-09-24 02:07:01,480 Finished 14 from 16 processes
2024-09-24 02:07:06,484 Finished 14 from 16 processes
2024-09-24 02:07:11,489 Finished 14 from 16 processes
2024-09-24 02:07:16,492 Finished 14 from 16 processes
2024-09-24 02:07:21,497 Finished 14 from 16 processes
2024-09-24 02:07:26,502 Finished 14 from 16 processes
2024-09-24 02:07:31,508 Finished 14 from 16 processes
2024-09-24 02:07:36,513 Finished 14 from 16 processes
2024-09-24 02:07:41,516 Finished 14 from 16 processes
2024-09-24 02:07:46,520 Finished 14 from 16 processes
2024-09-24 02:07:51,524 Finished 14 from 16 processes
2024-09-24 02:07:56,528 Finished 15 from 16 processes
2024-09-24 02:08:01,533 Finished 15 from 16 processes
2024-09-24 02:08:06,536 Finished 15 from 16 processes
2024-09-24 02:08:11,540 Finished 15 from 16 processes
2024-09-24 02:08:16,545 Finished 15 from 16 processes
2024-09-24 02:08:21,548 Finished 15 from 16 processes
2024-09-24 02:08:26,552 Finished 15 from 16 processes
2024-09-24 02:08:31,556 Finished 15 from 16 processes
2024-09-24 02:08:36,560 Finished 15 from 16 processes
2024-09-24 02:08:41,565 Finished 15 from 16 processes
2024-09-24 02:08:46,570 Finished 15 from 16 processes
2024-09-24 02:08:51,576 Finished 15 from 16 processes
2024-09-24 02:08:56,581 Finished 15 from 16 processes
2024-09-24 02:09:01,587 Finished 15 from 16 processes
2024-09-24 02:09:06,592 All processes finished
2024-09-24 02:09:06,592 Compressing stress logs
2024-09-24 02:09:06,613 Logs compressed
2024-09-24 02:09:06,614 Will terminate gdb (if any)
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
2024-09-24 02:12:00,436 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0' returned non-zero exit status 210.
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
2024-09-24 02:12:00,588 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0' returned non-zero exit status 210.
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
2024-09-24 02:12:01,751 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0' returned non-zero exit status 210.
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
2024-09-24 02:12:03,918 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0' returned non-zero exit status 210.
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
2024-09-24 02:12:07,077 Failed to SHOW or DROP databasese, will retry Command 'clickhouse client -q "SHOW DATABASES" --max_untracked_memory=1Gi --memory_profiler_step=1Gi --max_memory_usage_for_user=0' returned non-zero exit status 210.
2024-09-24 02:12:11,082 Failed to prepare for hung check: Cannot drop databases after stress tests. Probably server consumed too much memory and cannot execute simple queries
2024-09-24 02:12:11,082 Checking if some queries hung
Using queries from '/usr/share/clickhouse-test/queries' directory
Connecting to ClickHouse server...Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
Connection error, will retry: [Errno 111] Connection refused
All connection tries failed
Server is not responding. Cannot execute 'SELECT 1' query.
Cannot get server pid with pidof -s clickhouse-server, got : Command 'pidof -s clickhouse-server' returned non-zero exit status 1.
Got server pid None
Cannot get server pid with pidof -s clickhouse-server, got : Command 'pidof -s clickhouse-server' returned non-zero exit status 1.
Collecting stacktraces from system.stacktraces table:
Error occurred while receiving stack traces from client: Command '/usr/bin/clickhouse-client --max_untracked_memory=1Gi --max_memory_usage_for_user=0 --memory_profiler_step=1Gi --allow_introspection_functions=1 --skip_unavailable_shards=1 --query "SELECT thread_name, thread_id, query_id, trace, arrayStringConcat(arrayMap(x, y -> concat(x, ': ', y), arrayMap(x -> addressToLine(x), trace), arrayMap(x -> demangle(addressToSymbol(x)), trace)), '
') as trace_str FROM system.stack_trace FORMAT Vertical"' returned non-zero exit status 210.
Unable to locate ClickHouse server process listening at TCP port 9000. It must have crashed or exited prematurely!
Traceback (most recent call last):
File "/usr/bin/clickhouse-test", line 2848, in
main(args)
File "/usr/bin/clickhouse-test", line 2274, in main
raise Exception(msg)
Exception: Server is not responding. Cannot execute 'SELECT 1' query.
2024-09-24 02:13:41,895 Hung check failed with exit code 1
2024-09-24 02:13:41,895 Stress test finished
+ echo -e 'Test script exit code\tOK\t\N\t'
+ grep -Fa OK
+ rg -Fa 'No queries hung' /test_output/test_results.tsv
++ head_escaped /test_output/hung_check.log
++ head -n 100 /test_output/hung_check.log
++ escaped
++ clickhouse local -S 's String' --input-format=LineAsString -q 'select substr(s, 1, 300)
from table format CustomSeparated settings format_custom_row_after_delimiter='\''\\\\n'\'''
+ echo -e 'Hung check failed, possible deadlock found (see hung_check.log)\tFAIL\t\N\tUsing queries from \'\''/usr/share/clickhouse-test/queries\'\'' directory\\nConnecting to ClickHouse server...Connection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\nConnection error, will retry: [Errno 111] Connection refused\\n'
+ stop
+ local max_tries=90
+ local check_hang=true
+ local pid
++ cat /var/run/clickhouse-server/clickhouse-server.pid
+ pid=1872
+ clickhouse stop --max-tries 90 --do-not-kill
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1872.
The process with pid = 1872 does not exist.
+ 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 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 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 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 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
+ start
+ counter=0
+ 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 - - [24/Sep/2024:00:13:44 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [24/Sep/2024:00:13:44 +0000] "PUT /devstoreaccount1/cont/eiovuwycakjelroyhqvcrlvpetrtwzau?blockid=xafcjomawztcibywbtbpbgctpuzacawlmwkjvjyrnwxzwafnhuadhovxcmafswya&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [24/Sep/2024:00:13:44 +0000] "PUT /devstoreaccount1/cont/eiovuwycakjelroyhqvcrlvpetrtwzau?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [24/Sep/2024:00:13:44 +0000] "GET /devstoreaccount1/cont/eiovuwycakjelroyhqvcrlvpetrtwzau HTTP/1.1" 206 4
127.0.0.1 - - [24/Sep/2024:00:13:44 +0000] "GET /devstoreaccount1/cont/eiovuwycakjelroyhqvcrlvpetrtwzau HTTP/1.1" 206 2
127.0.0.1 - - [24/Sep/2024:00:13:44 +0000] "DELETE /devstoreaccount1/cont/eiovuwycakjelroyhqvcrlvpetrtwzau 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'
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 32589
+ 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
+ local max_tries=90
+ local check_hang=true
+ local pid
++ cat /var/run/clickhouse-server/clickhouse-server.pid
+ pid=32589
+ clickhouse stop --max-tries 90 --do-not-kill
API: PutObjectPart(bucket=test, object=common/qww/ktzauevsmalusstowkqmqsqxamrtv)
Time: 00:15:03 UTC 09/24/2024
DeploymentID: 9aab94c6-df91-4342-b9c4-70056219fea0
RequestID: 17F805DCE8874216
RemoteHost: ::1
Host: localhost:11111
UserAgent: aws-sdk-cpp/1.11.61 Linux/5.15.0-73-generic x86_64 Clang/16.0.6
Error: open /minio_data/.minio.sys/multipart/99e500f245363bfcce143284e4cc0e34bc4c8393bb6cb0b130e5ebcf408f443d/c8fd8799-3948-470d-bb15-9f73f4c9c39d/00002.70a28ef89bc7c6810437cfee2b80e274.10514753: no such file or directory (*fs.PathError)
uploadID=c8fd8799-3948-470d-bb15-9f73f4c9c39d, partPath=/minio_data/.minio.sys/multipart/99e500f245363bfcce143284e4cc0e34bc4c8393bb6cb0b130e5ebcf408f443d/c8fd8799-3948-470d-bb15-9f73f4c9c39d/00002.70a28ef89bc7c6810437cfee2b80e274.10514753, filepath=/minio_data/.minio.sys/tmp/9506252c-4305-4eb8-a325-aa44704429d9/c8fd8799-3948-470d-bb15-9f73f4c9c39d.05d350ca-de2b-4699-8ca3-3ca2d32deb30
1: cmd/fs-v1-multipart.go:121:cmd.(*FSObjects).backgroundAppend()
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 32589.
The process with pid = 32589 is running.
Sent terminate signal to process with pid 32589.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 32589.
The process with pid = 32589 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 32589.
The process with pid = 32589 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 32589.
The process with pid = 32589 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 32589.
The process with pid = 32589 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 32589.
The process with pid = 32589 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 32589.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 is running.
Waiting for server to stop
Found pid = 32589 in the list of running processes.
The process with pid = 32589 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
+ rg -Fa ================== /var/log/clickhouse-server/stderr.log
+ rg -v 'in query:'
+ rg -Fa WARNING /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
script.gdb:13: Error in sourced command file:
No stack.
+ echo -e 'No OOM messages in clickhouse-server.log\tOK\t\N\t'
+ rg -Fa 'Code: 49. DB::Exception: ' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log
+ echo -e 'No logical errors\tOK\t\N\t'
+ '[' -s /test_output/logical_errors.txt ']'
+ rm /test_output/logical_errors.txt
+ rg --text 'Code: 499.*The specified key does not exist' /var/log/clickhouse-server/clickhouse-server.err.log /var/log/clickhouse-server/clickhouse-server.final.log /var/log/clickhouse-server/clickhouse-server.initial.log /var/log/clickhouse-server/clickhouse-server.stress.log
+ echo -e 'No lost s3 keys\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
++ trim_server_logs fatal_messages.txt
++ head -n 100 /test_output/fatal_messages.txt
++ grep -Eo ' \[ [0-9]+ \] \{.*'
++ escaped
++ clickhouse local -S 's String' --input-format=LineAsString -q 'select substr(s, 1, 300)
from table format CustomSeparated settings format_custom_row_after_delimiter='\''\\\\n'\'''
+ echo -e 'Fatal message in clickhouse-server.log (see fatal_messages.txt)\tFAIL\t\N\t [ 2335 ] {d3afe93c-d90a-4111-89b1-c62033765f5d} : Logical error: \'\''inserted\'\''.\\n [ 2409 ] {d3afe93c-d90a-4111-89b1-c62033765f5d} : Logical error: \'\''inserted\'\''.\\n [ 1870 ] {} Application: Child process was terminated by signal 6.\\n [ 2335 ] {d3afe93c-d90a-4111-89b1-c62033765f5d} : Logical error: \'\''inserted\'\''.\\n [ 2409 ] {d3afe93c-d90a-4111-89b1-c62033765f5d} : Logical error: \'\''inserted\'\''.\\n [ 1870 ] {} Application: Child process was terminated by signal 6.\\n'
+ '[' -s /test_output/fatal_messages.txt ']'
+ rg -Faz '########################################' /test_output/fatal_messages.txt /test_output/gdb.log /test_output/hung_check.log /test_output/stress_run_logs.tar.zst /test_output/test_results.tsv
+ rg -Fa ' received signal ' /test_output/gdb.log
++ get_gdb_log_context
++ rg -A50 -Fa ' received signal ' /test_output/gdb.log
++ head_escaped
++ head -n 100
++ escaped
++ clickhouse local -S 's String' --input-format=LineAsString -q 'select substr(s, 1, 300)
from table format CustomSeparated settings format_custom_row_after_delimiter='\''\\\\n'\'''
+ echo -e 'Found signal in gdb.log\tFAIL\t\N\t2024-09-24 01:58:08 Thread 357 "LoadMarksThread" received signal SIGABRT, Aborted.\\n2024-09-24 01:58:08 [Switching to Thread 0x7fe322ef2640 (LWP 2335)]\\n2024-09-24 01:58:08 0x00007fe63678c9fc in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-09-24 01:58:08 #0 0x00007fe63678c9fc in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-09-24 01:58:08 No symbol table info available.\\n2024-09-24 01:58:08 #1 0x00007fe636738476 in raise () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-09-24 01:58:08 No symbol table info available.\\n2024-09-24 01:58:08 #2 0x00007fe63671e7f3 in abort () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-09-24 01:58:09 No symbol table info available.\\n2024-09-24 01:58:09 #3 0x00005597c6d12fc8 in DB::abortOnFailedAssertion (description=...) at ./src/Common/Exception.cpp:50\\n2024-09-24 01:58:09 always_false = false\\n2024-09-24 01:58:09 #4 0x00005597db94a33e in DB::CleanupQueue::add (this=, key=...) at ./src/Interpreters/Cache/Metadata.cpp:376\\n2024-09-24 01:58:09 inserted = \\n2024-09-24 01:58:09 #5 0x00005597db93f5d6 in DB::LockedKey::~LockedKey (this=0x6030017ec300) at ./src/Interpreters/Cache/Metadata.cpp:677\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #6 0x00005597db94eced in std::__1::default_delete::operator()[abi:v15000](DB::LockedKey*) const (this=, __ptr=0x6030017ec300) at ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #7 std::__1::__shared_ptr_pointer, std::__1::allocator >::__on_zero_shared (this=) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:263\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #8 0x00005597db914cd9 in std::__1::__shared_count::__release_shared[abi:v15000]() (this=0x6030002f7430) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #9 std::__1::__shared_weak_count::__release_shared[abi:v15000]() (this=0x6030002f7430) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #10 std::__1::shared_ptr::~shared_ptr[abi:v15000]() (this=0x7fe3222b51e0) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #11 DB::FileSegment::complete (this=) at ./src/Interpreters/Cache/FileSegment.cpp:718\\n2024-09-24 01:58:09 watch = {event = {t = 348}, watch = {start_ns = 2791286274928, stop_ns = 0, clock_type = 1, is_running = true}}\\n2024-09-24 01:58:09 locked_key = {__ptr_ = 0x6030017ec300, __cntrl_ = 0x6030002f7430}\\n2024-09-24 01:58:09 segment_lock = {> = {__m_ = 0x6120003b4248, __owns_ = true}, }\\n2024-09-24 01:58:09 is_downloader = \\n2024-09-24 01:58:09 is_last_holder = \\n2024-09-24 01:58:09 current_downloaded_size = \\n2024-09-24 01:58:09 scope_exit616 = \\n2024-09-24 01:58:09 #12 0x00005597db91b3cf in DB::FileSegmentsHolder::completeAndPopFrontImpl (this=0x603001ade7d0) at ./src/Interpreters/Cache/FileSegment.cpp:921\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #13 DB::FileSegmentsHolder::~FileSegmentsHolder (this=) at ./src/Interpreters/Cache/FileSegment.cpp:933\\n2024-09-24 01:58:09 file_segment_it = \\n2024-09-24 01:58:09 watch = {event = {t = 353}, watch = {start_ns = 2791286274228, stop_ns = 0, clock_type = 1, is_running = true}}\\n2024-09-24 01:58:09 #14 0x00005597d7483a52 in std::__1::default_delete::operator()[abi:v15000](DB::FileSegmentsHolder*) const (this=, __ptr=0x603001ade7d0) at ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #15 std::__1::unique_ptr >::reset[abi:v15000](DB::FileSegmentsHolder*) (this=, __p=0x0) at ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:305\\n2024-09-24 01:58:09 __tmp = 0x603001ade7d0\\n2024-09-24 01:58:09 #16 std::__1::unique_ptr >::~unique_ptr[abi:v15000]() (this=) at ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #17 DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile (this=0x61800355bc98) at ./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:535\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #18 0x00005597d7470cb9 in std::__1::__shared_count::__release_shared[abi:v15000]() (this=0x61800355bc80) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #19 std::__1::__shared_weak_count::__release_shared[abi:v15000]() (this=0x61800355bc80) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215\\n2024-09-24 01:58:09 No locals.\\n2024-09-24 01:58:09 #20 std::__1::shared_ptr::~shared_ptr[abi:v15000]() (this=0x61600461d8c8) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702\\n'
+ 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 --path /var/lib/clickhouse/ --only-system-tables -q 'select * from system.query_log format TSVWithNamesAndTypes'
+ zstd --threads=0
+ for table in query_log trace_log
+ clickhouse-local --path /var/lib/clickhouse/ --only-system-tables -q 'select * from system.trace_log format TSVWithNamesAndTypes'
+ zstd --threads=0
+ mv /var/log/clickhouse-server/stderr.log /test_output/
+ clickhouse-local --structure 'test String, res String, time Nullable(Float32), desc String' -q 'SELECT '\''failure'\'', test FROM table WHERE res != '\''OK'\'' order by
(test like '\''%Sanitizer%'\'') DESC,
(test like '\''%Killed by signal%'\'') DESC,
(test like '\''%gdb.log%'\'') DESC,
(test ilike '\''%possible deadlock%'\'') DESC,
(test like '\''%start%'\'') DESC,
(test like '\''%dmesg%'\'') DESC,
(test like '\''%OOM%'\'') DESC,
(test like '\''%Signal 9%'\'') DESC,
(test like '\''%Fatal message%'\'') DESC,
rowNumberInAllBlocks()
LIMIT 1'
+ '[' -s /test_output/check_status.tsv ']'
+ rg 'OOM in dmesg|Signal 9' /test_output/check_status.tsv
+ collect_core_dumps
+ find . -type f -maxdepth 1 -name 'core.*'
+ read core