+ 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.42.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static.
(Reading database ... 58488 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static_23.8.16.42.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-common-static (23.8.16.42.altinitystable+asan) ...
Setting up clickhouse-common-static (23.8.16.42.altinitystable+asan) ...
+ dpkg -i package_folder/clickhouse-common-static-dbg_23.8.16.42.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static-dbg.
(Reading database ... 58502 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static-dbg_23.8.16.42.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-common-static-dbg (23.8.16.42.altinitystable+asan) ...
Setting up clickhouse-common-static-dbg (23.8.16.42.altinitystable+asan) ...
+ dpkg -i package_folder/clickhouse-server_23.8.16.42.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-server.
(Reading database ... 58511 files and directories currently installed.)
Preparing to unpack .../clickhouse-server_23.8.16.42.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-server (23.8.16.42.altinitystable+asan) ...
Setting up clickhouse-server (23.8.16.42.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.42.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-client.
(Reading database ... 58530 files and directories currently installed.)
Preparing to unpack .../clickhouse-client_23.8.16.42.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-client (23.8.16.42.altinitystable+asan) ...
Setting up clickhouse-client (23.8.16.42.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=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 '' ]]
+ ARM=aarch64
++ uname -m
+ OS=x86_64
x86_64
Adding azure configuration
+ [[ -n 1 ]]
+ echo x86_64
+ [[ '' -eq 1 ]]
+ [[ x86_64 == \a\a\r\c\h\6\4 ]]
+ echo 'Adding azure configuration'
+ ln -sf /usr/share/clickhouse-test/config/config.d/azure_storage_conf.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/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=32086448
+ total_mem=32856522752
+ max_server_memory_usage_to_ram_ratio=0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
Setting max_memory_usage_for_user=9856956825 and max_memory_usage for queries to 10G
+ local max_users_mem
+ max_users_mem=9856956825
+ echo 'Setting max_memory_usage_for_user=9856956825 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
+ ./minio server --address :11111 ./minio_data
+ local url=http://localhost:11111
+ params=('--silent' '--verbose')
+ local params
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
trying to connect to minio
+ [[ 0 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=1
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
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
+ [[ 2 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ counter=3
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
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
trying to connect to minio
+ [[ 4 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=5
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 5 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ counter=6
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
trying to connect to minio
+ [[ 6 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=7
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
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
+ grep AccessDenied
+ curl --silent --verbose http://localhost:11111
+ [[ 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:44379 http://127.0.0.1:44379
Documentation: https://docs.min.io
WARNING: Console endpoint is listening on a dynamic port (44379), please use --console-address ":PORT" to choose a static port.
+ counter=11
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
AccessDenied
Access Denied./180096D2A9D762DAb5c55d0c-e5f1-4881-bdb4-bbe534fcd5ca
+ lsof -i :11111
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
minio 249 root 10u IPv6 20267 0t0 TCP *:11111 (LISTEN)
+ sleep 5
+ setup_minio stateless
+ local test_type=stateless
+ ./mc alias set clickminio http://localhost:11111 clickhouse clickhouse
Added `clickminio` successfully.
+ ./mc admin user add clickminio test testtest
Added user `test` successfully.
+ ./mc admin policy set clickminio readwrite user=test
Policy `readwrite` is set on user `test`
+ ./mc mb clickminio/test
Bucket created successfully `clickminio/test`.
+ '[' stateless = stateless ']'
+ ./mc policy set public clickminio/test
Access permission for `clickminio/test` is set to `public`
+ upload_data 0_stateless /usr/share/clickhouse-test
+ local query_dir=0_stateless
+ local test_path=/usr/share/clickhouse-test
+ local data_path=/usr/share/clickhouse-test/queries/0_stateless/data_minio
++ ls /usr/share/clickhouse-test/queries/0_stateless/data_minio
02366_data.jsonl
+ for file in $(ls "${data_path}")
+ echo 02366_data.jsonl
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02366_data.jsonl clickminio/test/02366_data.jsonl
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/02366_data.jsonl` -> `clickminio/test/02366_data.jsonl`
Total: 0 B, Transferred: 0 B, Speed: 0 B/s
02731.arrow
+ for file in $(ls "${data_path}")
+ echo 02731.arrow
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02731.arrow clickminio/test/02731.arrow
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/02731.arrow` -> `clickminio/test/02731.arrow`
Total: 0 B, Transferred: 3.82 MiB, Speed: 89.59 MiB/s
+ 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
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: 59.33 MiB/s
+ for file in $(ls "${data_path}")
+ echo a.tsv
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/a.tsv clickminio/test/a.tsv
a.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/a.tsv` -> `clickminio/test/a.tsv`
Total: 0 B, Transferred: 24 B, Speed: 2.48 KiB/s
b.tsv
+ for file in $(ls "${data_path}")
+ echo b.tsv
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/b.tsv clickminio/test/b.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/b.tsv` -> `clickminio/test/b.tsv`
Total: 0 B, Transferred: 33 B, Speed: 3.52 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: 3.19 KiB/s
+ for file in $(ls "${data_path}")
+ echo tsv_with_header.tsv
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/tsv_with_header.tsv clickminio/test/tsv_with_header.tsv
tsv_with_header.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/tsv_with_header.tsv` -> `clickminio/test/tsv_with_header.tsv`
Total: 0 B, Transferred: 44 B, Speed: 4.18 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
127.0.0.1 - - [21/Oct/2024:22:01:40 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:01:41 +0000] "PUT /devstoreaccount1/cont/uxdjwmaaskjqahrshxoyadngpfyfctmr?blockid=vqgekhongxesnqixhutgwgvqyqshnjiwcxfkyldrhpykmyhmalifixmykllaimai&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:01:41 +0000] "PUT /devstoreaccount1/cont/uxdjwmaaskjqahrshxoyadngpfyfctmr?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:01:41 +0000] "GET /devstoreaccount1/cont/uxdjwmaaskjqahrshxoyadngpfyfctmr HTTP/1.1" 206 4
127.0.0.1 - - [21/Oct/2024:22:01:41 +0000] "GET /devstoreaccount1/cont/uxdjwmaaskjqahrshxoyadngpfyfctmr HTTP/1.1" 206 2
127.0.0.1 - - [21/Oct/2024:22:01:41 +0000] "DELETE /devstoreaccount1/cont/uxdjwmaaskjqahrshxoyadngpfyfctmr HTTP/1.1" 202 -
+ counter=8
+ clickhouse-client --query 'SELECT 1'
1
+ attach_gdb_to_clickhouse
++ kill -l SIGRTMIN
+ RTMIN=34
+ echo '
set follow-fork-mode parent
handle SIGHUP nostop noprint pass
handle SIGINT nostop noprint pass
handle SIGQUIT nostop noprint pass
handle SIGPIPE nostop noprint pass
handle SIGTERM nostop noprint pass
handle SIGUSR1 nostop noprint pass
handle SIGUSR2 nostop noprint pass
handle SIG34 nostop noprint pass
info signals
continue
backtrace full
thread apply all backtrace full
info registers
disassemble /s
up
disassemble /s
up
disassemble /s
p "done"
detach
quit
'
+ sleep 5
+ ts '%Y-%m-%d %H:%M:%S'
++ cat /var/run/clickhouse-server/clickhouse-server.pid
+ gdb -batch -command script.gdb -p 530
+ 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/47jbxi4a
INFO:root:Content length is 1271623680 bytes
INFO:root:Downloading finished
INFO:root:Will unpack data from temp path /tmp/47jbxi4a to clickhouse db /var/lib/clickhouse/
INFO:root:Unpack finished
INFO:root:Will remove downloaded file /tmp/47jbxi4a 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/1zu525qm
INFO:root:Content length is 563968000 bytes
INFO:root:Downloading finished
INFO:root:Will unpack data from temp path /tmp/1zu525qm to clickhouse db /var/lib/clickhouse/
INFO:root:Unpack finished
INFO:root:Will remove downloaded file /tmp/1zu525qm 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=530
+ 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 = 530.
The process with pid = 530 is running.
Sent terminate signal to process with pid 530.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 530.
The process with pid = 530 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 530.
The process with pid = 530 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 530.
The process with pid = 530 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 530.
The process with pid = 530 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 530.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 966 in the list of running processes.
The process with pid = 966 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 is running.
Waiting for server to stop
Found pid = 530 in the list of running processes.
The process with pid = 530 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
+ 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
127.0.0.1 - - [21/Oct/2024:22:03:53 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [21/Oct/2024:22:03:53 +0000] "PUT /devstoreaccount1/cont/uohbkgcwshfprrfpxygksxfxktdroomn?blockid=jirwkkxjenwukuugamnovtrjwhewmyntaztqwqqxmbffdtkgraecsdievkflymei&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:03:53 +0000] "PUT /devstoreaccount1/cont/uohbkgcwshfprrfpxygksxfxktdroomn?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:03:53 +0000] "GET /devstoreaccount1/cont/uohbkgcwshfprrfpxygksxfxktdroomn HTTP/1.1" 206 4
127.0.0.1 - - [21/Oct/2024:22:03:53 +0000] "GET /devstoreaccount1/cont/uohbkgcwshfprrfpxygksxfxktdroomn HTTP/1.1" 206 2
127.0.0.1 - - [21/Oct/2024:22:03:53 +0000] "DELETE /devstoreaccount1/cont/uohbkgcwshfprrfpxygksxfxktdroomn HTTP/1.1" 202 -
+ counter=11
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 11 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=12
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 12 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=13
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 13 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=14
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 14 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=15
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 15 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=16
+ clickhouse-client --query 'SELECT 1'
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 1021
+ 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=1021
+ 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 = 1021.
The process with pid = 1021 is running.
Sent terminate signal to process with pid 1021.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1021.
The process with pid = 1021 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1021.
The process with pid = 1021 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1021.
The process with pid = 1021 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1021.
The process with pid = 1021 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1021.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 is running.
Waiting for server to stop
Found pid = 1021 in the list of running processes.
The process with pid = 1021 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
+ SRC_PATH=/usr/share/clickhouse-test/config
Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server
+ echo 'Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server'
+ mkdir -p /etc/clickhouse-server/config.d/
+ mkdir -p /etc/clickhouse-server/users.d/
+ mkdir -p /etc/clickhouse-client
+ ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_write.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/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 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
+ 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
Setting max_server_memory_usage_to_ram_ratio to 0.5
+ total_mem=32086448
+ total_mem=32856522752
+ max_server_memory_usage_to_ram_ratio=0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
Setting max_memory_usage_for_user=9856956825 and max_memory_usage for queries to 10G
+ local max_users_mem
+ max_users_mem=9856956825
+ echo 'Setting max_memory_usage_for_user=9856956825 and max_memory_usage for queries to 10G'
+ cat
+ 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'
127.0.0.1 - - [21/Oct/2024:22:22:31 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 9 -gt 120 ']'
+ clickhouse start --user root
127.0.0.1 - - [21/Oct/2024:22:22:31 +0000] "PUT /devstoreaccount1/cont/qoeitqhehbsasygwyqunpplweldbvvum?blockid=jdbtcujhtiledwouonpbtyfoeluctesgtubgygszbzivmbhxsbqeowtwzeqpwnbc&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:22:31 +0000] "PUT /devstoreaccount1/cont/qoeitqhehbsasygwyqunpplweldbvvum?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:22:31 +0000] "GET /devstoreaccount1/cont/qoeitqhehbsasygwyqunpplweldbvvum HTTP/1.1" 206 4
+ sleep 0.5
127.0.0.1 - - [21/Oct/2024:22:22:31 +0000] "GET /devstoreaccount1/cont/qoeitqhehbsasygwyqunpplweldbvvum HTTP/1.1" 206 2
127.0.0.1 - - [21/Oct/2024:22:22:31 +0000] "DELETE /devstoreaccount1/cont/qoeitqhehbsasygwyqunpplweldbvvum HTTP/1.1" 202 -
+ counter=10
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 10 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=11
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 11 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=12
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 12 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=13
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 13 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=14
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 14 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=15
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 15 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=16
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 16 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=17
+ clickhouse-client --query 'SELECT 1'
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 1908
+ 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-10-22 00:23:36,887 Run func tests '/usr/bin/clickhouse-test --global_time_limit=1200 '
2024-10-22 00:23:37,388 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_1 --client-option join_use_nulls=1 join_algorithm='parallel_hash' memory_tracker_fault_probability=0.001 group_by_use_nulls=1 --global_time_limit=1200 '
2024-10-22 00:23:37,890 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-10-22 00:23:38,391 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-10-22 00:23:38,892 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 use_query_cache=1 --global_time_limit=1200 '
2024-10-22 00:23:39,393 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-10-22 00:23:39,895 Run func tests '/usr/bin/clickhouse-test --order=random --client-option memory_tracker_fault_probability=0.001 --global_time_limit=1200 '
2024-10-22 00:23:40,396 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-10-22 00:23:40,897 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 use_query_cache=1 --global_time_limit=1200 '
2024-10-22 00:23:41,398 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_9 --client-option join_algorithm='auto' max_rows_in_join=1000 use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 '
2024-10-22 00:23:41,899 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 --global_time_limit=1200 '
2024-10-22 00:23:42,400 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-10-22 00:23:42,901 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-10-22 00:23:43,402 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_13 --client-option join_use_nulls=1 join_algorithm='partial_merge' use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 '
2024-10-22 00:23:43,904 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-10-22 00:23:44,404 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-10-22 00:23:44,905 Will wait functests to finish
2024-10-22 00:23:44,906 Finished 0 from 16 processes
2024-10-22 00:23:49,911 Finished 0 from 16 processes
2024-10-22 00:23:54,915 Finished 0 from 16 processes
2024-10-22 00:23:59,919 Finished 0 from 16 processes
2024-10-22 00:24:04,923 Finished 0 from 16 processes
2024-10-22 00:24:09,927 Finished 0 from 16 processes
2024-10-22 00:24:14,931 Finished 0 from 16 processes
2024-10-22 00:24:19,935 Finished 0 from 16 processes
2024-10-22 00:24:24,939 Finished 0 from 16 processes
2024-10-22 00:24:29,943 Finished 0 from 16 processes
2024-10-22 00:24:34,948 Finished 0 from 16 processes
2024-10-22 00:24:39,951 Finished 0 from 16 processes
2024-10-22 00:24:44,955 Finished 0 from 16 processes
2024-10-22 00:24:49,959 Finished 0 from 16 processes
2024-10-22 00:24:54,963 Finished 0 from 16 processes
2024-10-22 00:24:59,968 Finished 0 from 16 processes
2024-10-22 00:25:04,971 Finished 0 from 16 processes
2024-10-22 00:25:09,976 Finished 0 from 16 processes
2024-10-22 00:25:14,979 Finished 0 from 16 processes
2024-10-22 00:25:19,983 Finished 0 from 16 processes
2024-10-22 00:25:24,987 Finished 0 from 16 processes
2024-10-22 00:25:29,991 Finished 0 from 16 processes
2024-10-22 00:25:34,995 Finished 0 from 16 processes
2024-10-22 00:25:39,999 Finished 0 from 16 processes
2024-10-22 00:25:45,003 Finished 0 from 16 processes
2024-10-22 00:25:50,007 Finished 0 from 16 processes
2024-10-22 00:25:55,011 Finished 0 from 16 processes
2024-10-22 00:26:00,015 Finished 0 from 16 processes
2024-10-22 00:26:05,020 Finished 0 from 16 processes
2024-10-22 00:26:10,023 Finished 0 from 16 processes
2024-10-22 00:26:15,027 Finished 0 from 16 processes
2024-10-22 00:26:20,031 Finished 0 from 16 processes
2024-10-22 00:26:25,036 Finished 0 from 16 processes
2024-10-22 00:26:30,039 Finished 0 from 16 processes
2024-10-22 00:26:35,040 Finished 0 from 16 processes
2024-10-22 00:26:40,045 Finished 0 from 16 processes
2024-10-22 00:26:45,049 Finished 0 from 16 processes
2024-10-22 00:26:50,051 Finished 0 from 16 processes
2024-10-22 00:26:55,055 Finished 0 from 16 processes
2024-10-22 00:27:00,059 Finished 0 from 16 processes
2024-10-22 00:27:05,063 Finished 0 from 16 processes
2024-10-22 00:27:10,067 Finished 0 from 16 processes
2024-10-22 00:27:15,071 Finished 0 from 16 processes
2024-10-22 00:27:20,076 Finished 0 from 16 processes
2024-10-22 00:27:25,079 Finished 0 from 16 processes
2024-10-22 00:27:30,083 Finished 0 from 16 processes
2024-10-22 00:27:35,088 Finished 0 from 16 processes
2024-10-22 00:27:40,091 Finished 0 from 16 processes
2024-10-22 00:27:45,095 Finished 0 from 16 processes
2024-10-22 00:27:50,099 Finished 0 from 16 processes
2024-10-22 00:27:55,104 Finished 0 from 16 processes
2024-10-22 00:28:00,107 Finished 0 from 16 processes
2024-10-22 00:28:05,111 Finished 0 from 16 processes
2024-10-22 00:28:10,115 Finished 0 from 16 processes
2024-10-22 00:28:15,119 Finished 0 from 16 processes
2024-10-22 00:28:20,123 Finished 0 from 16 processes
2024-10-22 00:28:25,127 Finished 0 from 16 processes
2024-10-22 00:28:30,131 Finished 0 from 16 processes
2024-10-22 00:28:35,135 Finished 0 from 16 processes
2024-10-22 00:28:40,139 Finished 0 from 16 processes
2024-10-22 00:28:45,143 Finished 0 from 16 processes
2024-10-22 00:28:50,147 Finished 0 from 16 processes
2024-10-22 00:28:55,151 Finished 0 from 16 processes
2024-10-22 00:29:00,155 Finished 0 from 16 processes
2024-10-22 00:29:05,159 Finished 0 from 16 processes
2024-10-22 00:29:10,161 Finished 0 from 16 processes
2024-10-22 00:29:15,166 Finished 0 from 16 processes
2024-10-22 00:29:20,171 Finished 0 from 16 processes
2024-10-22 00:29:25,172 Finished 0 from 16 processes
2024-10-22 00:29:30,175 Finished 0 from 16 processes
2024-10-22 00:29:35,176 Finished 0 from 16 processes
2024-10-22 00:29:40,179 Finished 0 from 16 processes
2024-10-22 00:29:45,183 Finished 0 from 16 processes
2024-10-22 00:29:50,187 Finished 0 from 16 processes
2024-10-22 00:29:55,191 Finished 0 from 16 processes
2024-10-22 00:30:00,195 Finished 0 from 16 processes
2024-10-22 00:30:05,199 Finished 0 from 16 processes
2024-10-22 00:30:10,204 Finished 0 from 16 processes
2024-10-22 00:30:15,207 Finished 0 from 16 processes
2024-10-22 00:30:20,211 Finished 0 from 16 processes
2024-10-22 00:30:25,215 Finished 0 from 16 processes
2024-10-22 00:30:30,219 Finished 0 from 16 processes
2024-10-22 00:30:35,223 Finished 0 from 16 processes
2024-10-22 00:30:40,227 Finished 0 from 16 processes
2024-10-22 00:30:45,231 Finished 0 from 16 processes
2024-10-22 00:30:50,235 Finished 0 from 16 processes
2024-10-22 00:30:55,239 Finished 0 from 16 processes
2024-10-22 00:31:00,243 Finished 0 from 16 processes
2024-10-22 00:31:05,247 Finished 0 from 16 processes
2024-10-22 00:31:10,251 Finished 0 from 16 processes
2024-10-22 00:31:15,256 Finished 0 from 16 processes
2024-10-22 00:31:20,259 Finished 0 from 16 processes
2024-10-22 00:31:25,263 Finished 0 from 16 processes
2024-10-22 00:31:30,267 Finished 0 from 16 processes
2024-10-22 00:31:35,271 Finished 0 from 16 processes
2024-10-22 00:31:40,275 Finished 0 from 16 processes
2024-10-22 00:31:45,279 Finished 0 from 16 processes
2024-10-22 00:31:50,283 Finished 0 from 16 processes
2024-10-22 00:31:55,287 Finished 0 from 16 processes
2024-10-22 00:32:00,291 Finished 0 from 16 processes
2024-10-22 00:32:05,296 Finished 0 from 16 processes
2024-10-22 00:32:10,299 Finished 0 from 16 processes
2024-10-22 00:32:15,303 Finished 0 from 16 processes
2024-10-22 00:32:20,307 Finished 0 from 16 processes
2024-10-22 00:32:25,311 Finished 0 from 16 processes
2024-10-22 00:32:30,313 Finished 0 from 16 processes
2024-10-22 00:32:35,318 Finished 0 from 16 processes
2024-10-22 00:32:40,318 Finished 0 from 16 processes
2024-10-22 00:32:45,323 Finished 0 from 16 processes
2024-10-22 00:32:50,327 Finished 0 from 16 processes
2024-10-22 00:32:55,332 Finished 0 from 16 processes
2024-10-22 00:33:00,335 Finished 1 from 16 processes
2024-10-22 00:33:05,339 Finished 3 from 16 processes
2024-10-22 00:33:10,343 Finished 5 from 16 processes
2024-10-22 00:33:15,347 Finished 7 from 16 processes
2024-10-22 00:33:20,352 Finished 7 from 16 processes
2024-10-22 00:33:25,357 Finished 7 from 16 processes
2024-10-22 00:33:30,359 Finished 7 from 16 processes
2024-10-22 00:33:35,363 Finished 7 from 16 processes
2024-10-22 00:33:40,367 Finished 7 from 16 processes
2024-10-22 00:33:45,371 Finished 7 from 16 processes
2024-10-22 00:33:50,376 Finished 7 from 16 processes
2024-10-22 00:33:55,379 Finished 7 from 16 processes
2024-10-22 00:34:00,383 Finished 7 from 16 processes
2024-10-22 00:34:05,387 Finished 7 from 16 processes
2024-10-22 00:34:10,392 Finished 7 from 16 processes
2024-10-22 00:34:15,395 Finished 7 from 16 processes
2024-10-22 00:34:20,399 Finished 7 from 16 processes
2024-10-22 00:34:25,404 Finished 7 from 16 processes
2024-10-22 00:34:30,409 Finished 7 from 16 processes
2024-10-22 00:34:35,414 Finished 8 from 16 processes
2024-10-22 00:34:40,419 Finished 8 from 16 processes
2024-10-22 00:34:45,424 Finished 8 from 16 processes
2024-10-22 00:34:50,430 Finished 8 from 16 processes
2024-10-22 00:34:55,435 Finished 8 from 16 processes
2024-10-22 00:35:00,439 Finished 8 from 16 processes
2024-10-22 00:35:05,444 Finished 8 from 16 processes
2024-10-22 00:35:10,449 Finished 8 from 16 processes
2024-10-22 00:35:15,451 Finished 8 from 16 processes
2024-10-22 00:35:20,456 Finished 8 from 16 processes
2024-10-22 00:35:25,457 Finished 8 from 16 processes
2024-10-22 00:35:30,458 Finished 8 from 16 processes
2024-10-22 00:35:35,463 Finished 8 from 16 processes
2024-10-22 00:35:40,468 Finished 8 from 16 processes
2024-10-22 00:35:45,473 Finished 8 from 16 processes
2024-10-22 00:35:50,479 Finished 8 from 16 processes
2024-10-22 00:35:55,483 Finished 8 from 16 processes
2024-10-22 00:36:00,484 Finished 8 from 16 processes
2024-10-22 00:36:05,489 Finished 8 from 16 processes
2024-10-22 00:36:10,491 Finished 8 from 16 processes
2024-10-22 00:36:15,496 Finished 8 from 16 processes
2024-10-22 00:36:20,499 Finished 8 from 16 processes
2024-10-22 00:36:25,504 Finished 8 from 16 processes
2024-10-22 00:36:30,507 Finished 8 from 16 processes
2024-10-22 00:36:35,512 Finished 8 from 16 processes
2024-10-22 00:36:40,517 Finished 8 from 16 processes
2024-10-22 00:36:45,520 Finished 8 from 16 processes
2024-10-22 00:36:50,525 Finished 8 from 16 processes
2024-10-22 00:36:55,530 Finished 8 from 16 processes
2024-10-22 00:37:00,536 Finished 8 from 16 processes
2024-10-22 00:37:05,541 Finished 8 from 16 processes
2024-10-22 00:37:10,542 Finished 8 from 16 processes
2024-10-22 00:37:15,547 Finished 8 from 16 processes
2024-10-22 00:37:20,553 Finished 8 from 16 processes
2024-10-22 00:37:25,558 Finished 8 from 16 processes
2024-10-22 00:37:30,563 Finished 8 from 16 processes
2024-10-22 00:37:35,567 Finished 8 from 16 processes
2024-10-22 00:37:40,572 Finished 8 from 16 processes
2024-10-22 00:37:45,577 Finished 8 from 16 processes
2024-10-22 00:37:50,580 Finished 8 from 16 processes
2024-10-22 00:37:55,581 Finished 8 from 16 processes
2024-10-22 00:38:00,584 Finished 8 from 16 processes
2024-10-22 00:38:05,589 Finished 8 from 16 processes
2024-10-22 00:38:10,593 Finished 8 from 16 processes
2024-10-22 00:38:15,597 Finished 8 from 16 processes
2024-10-22 00:38:20,601 Finished 8 from 16 processes
2024-10-22 00:38:25,606 Finished 8 from 16 processes
2024-10-22 00:38:30,611 Finished 8 from 16 processes
2024-10-22 00:38:35,617 Finished 8 from 16 processes
2024-10-22 00:38:40,622 Finished 8 from 16 processes
2024-10-22 00:38:45,627 Finished 8 from 16 processes
2024-10-22 00:38:50,632 Finished 8 from 16 processes
2024-10-22 00:38:55,638 Finished 8 from 16 processes
2024-10-22 00:39:00,643 Finished 8 from 16 processes
2024-10-22 00:39:05,646 Finished 8 from 16 processes
2024-10-22 00:39:10,651 Finished 8 from 16 processes
2024-10-22 00:39:15,652 Finished 8 from 16 processes
2024-10-22 00:39:20,657 Finished 8 from 16 processes
2024-10-22 00:39:25,662 Finished 8 from 16 processes
2024-10-22 00:39:30,667 Finished 8 from 16 processes
2024-10-22 00:39:35,673 Finished 8 from 16 processes
2024-10-22 00:39:40,677 Finished 8 from 16 processes
2024-10-22 00:39:45,682 Finished 8 from 16 processes
2024-10-22 00:39:50,686 Finished 8 from 16 processes
2024-10-22 00:39:55,692 Finished 8 from 16 processes
2024-10-22 00:40:00,697 Finished 8 from 16 processes
2024-10-22 00:40:05,698 Finished 8 from 16 processes
2024-10-22 00:40:10,701 Finished 8 from 16 processes
2024-10-22 00:40:15,707 Finished 8 from 16 processes
2024-10-22 00:40:20,712 Finished 8 from 16 processes
2024-10-22 00:40:25,717 Finished 8 from 16 processes
2024-10-22 00:40:30,721 Finished 8 from 16 processes
2024-10-22 00:40:35,721 Finished 8 from 16 processes
2024-10-22 00:40:40,727 Finished 8 from 16 processes
2024-10-22 00:40:45,732 Finished 8 from 16 processes
2024-10-22 00:40:50,737 Finished 8 from 16 processes
2024-10-22 00:40:55,743 Finished 8 from 16 processes
2024-10-22 00:41:00,743 Finished 8 from 16 processes
2024-10-22 00:41:05,744 Finished 8 from 16 processes
2024-10-22 00:41:10,746 Finished 8 from 16 processes
2024-10-22 00:41:15,751 Finished 8 from 16 processes
2024-10-22 00:41:20,756 Finished 8 from 16 processes
2024-10-22 00:41:25,758 Finished 8 from 16 processes
2024-10-22 00:41:30,764 Finished 8 from 16 processes
2024-10-22 00:41:35,767 Finished 8 from 16 processes
2024-10-22 00:41:40,768 Finished 8 from 16 processes
2024-10-22 00:41:45,774 Finished 8 from 16 processes
2024-10-22 00:41:50,779 Finished 8 from 16 processes
2024-10-22 00:41:55,781 Finished 8 from 16 processes
2024-10-22 00:42:00,786 Finished 8 from 16 processes
2024-10-22 00:42:05,791 Finished 8 from 16 processes
2024-10-22 00:42:10,797 Finished 8 from 16 processes
2024-10-22 00:42:15,802 Finished 8 from 16 processes
2024-10-22 00:42:20,807 Finished 8 from 16 processes
2024-10-22 00:42:25,813 Finished 8 from 16 processes
2024-10-22 00:42:30,818 Finished 8 from 16 processes
2024-10-22 00:42:35,820 Finished 8 from 16 processes
2024-10-22 00:42:40,825 Finished 8 from 16 processes
2024-10-22 00:42:45,830 Finished 8 from 16 processes
2024-10-22 00:42:50,833 Finished 8 from 16 processes
2024-10-22 00:42:55,837 Finished 8 from 16 processes
2024-10-22 00:43:00,842 Finished 8 from 16 processes
2024-10-22 00:43:05,847 Finished 8 from 16 processes
2024-10-22 00:43:10,852 Finished 8 from 16 processes
Recursive internal problem.
2024-10-22 00:43:15,855 Finished 8 from 16 processes
2024-10-22 00:43:20,860 Finished 8 from 16 processes
2024-10-22 00:43:25,863 Finished 8 from 16 processes
2024-10-22 00:43:30,867 Finished 8 from 16 processes
2024-10-22 00:43:35,871 Finished 8 from 16 processes
2024-10-22 00:43:40,875 Finished 9 from 16 processes
2024-10-22 00:43:45,879 Finished 9 from 16 processes
2024-10-22 00:43:50,880 Finished 11 from 16 processes
2024-10-22 00:43:55,883 Finished 12 from 16 processes
2024-10-22 00:44:00,887 Finished 12 from 16 processes
2024-10-22 00:44:05,892 Finished 12 from 16 processes
2024-10-22 00:44:10,898 Finished 12 from 16 processes
2024-10-22 00:44:15,903 Finished 13 from 16 processes
2024-10-22 00:44:20,908 Finished 13 from 16 processes
2024-10-22 00:44:25,911 Finished 14 from 16 processes
2024-10-22 00:44:30,916 Finished 14 from 16 processes
2024-10-22 00:44:35,921 Finished 14 from 16 processes
2024-10-22 00:44:40,927 Finished 14 from 16 processes
2024-10-22 00:44:45,928 Finished 14 from 16 processes
2024-10-22 00:44:50,933 Finished 14 from 16 processes
2024-10-22 00:44:55,939 Finished 14 from 16 processes
2024-10-22 00:45:00,944 Finished 14 from 16 processes
2024-10-22 00:45:05,949 Finished 14 from 16 processes
2024-10-22 00:45:10,954 Finished 14 from 16 processes
2024-10-22 00:45:15,960 Finished 14 from 16 processes
2024-10-22 00:45:20,965 Finished 14 from 16 processes
2024-10-22 00:45:25,967 Finished 14 from 16 processes
2024-10-22 00:45:30,970 Finished 14 from 16 processes
2024-10-22 00:45:35,975 Finished 14 from 16 processes
2024-10-22 00:45:40,977 Finished 14 from 16 processes
2024-10-22 00:45:45,983 Finished 14 from 16 processes
2024-10-22 00:45:50,988 Finished 14 from 16 processes
2024-10-22 00:45:55,994 Finished 14 from 16 processes
2024-10-22 00:46:00,999 Finished 14 from 16 processes
2024-10-22 00:46:06,003 Finished 14 from 16 processes
2024-10-22 00:46:11,008 Finished 14 from 16 processes
2024-10-22 00:46:16,013 Finished 14 from 16 processes
2024-10-22 00:46:21,019 Finished 14 from 16 processes
2024-10-22 00:46:26,023 Finished 14 from 16 processes
2024-10-22 00:46:31,028 Finished 14 from 16 processes
2024-10-22 00:46:36,033 Finished 14 from 16 processes
2024-10-22 00:46:41,039 Finished 14 from 16 processes
2024-10-22 00:46:46,044 Finished 14 from 16 processes
2024-10-22 00:46:51,049 Finished 14 from 16 processes
2024-10-22 00:46:56,055 Finished 14 from 16 processes
2024-10-22 00:47:01,060 Finished 14 from 16 processes
2024-10-22 00:47:06,065 Finished 14 from 16 processes
2024-10-22 00:47:11,071 Finished 14 from 16 processes
2024-10-22 00:47:16,076 Finished 14 from 16 processes
2024-10-22 00:47:21,082 Finished 14 from 16 processes
2024-10-22 00:47:26,087 Finished 14 from 16 processes
2024-10-22 00:47:31,088 Finished 14 from 16 processes
2024-10-22 00:47:36,093 Finished 14 from 16 processes
2024-10-22 00:47:41,099 Finished 14 from 16 processes
2024-10-22 00:47:46,104 Finished 14 from 16 processes
2024-10-22 00:47:51,109 Finished 14 from 16 processes
2024-10-22 00:47:56,115 Finished 14 from 16 processes
2024-10-22 00:48:01,120 Finished 14 from 16 processes
2024-10-22 00:48:06,125 Finished 14 from 16 processes
2024-10-22 00:48:11,131 Finished 14 from 16 processes
2024-10-22 00:48:16,135 Finished 14 from 16 processes
2024-10-22 00:48:21,140 Finished 14 from 16 processes
2024-10-22 00:48:26,145 Finished 14 from 16 processes
2024-10-22 00:48:31,151 Finished 14 from 16 processes
2024-10-22 00:48:36,156 Finished 14 from 16 processes
2024-10-22 00:48:41,159 Finished 14 from 16 processes
2024-10-22 00:48:46,164 Finished 14 from 16 processes
2024-10-22 00:48:51,169 Finished 14 from 16 processes
2024-10-22 00:48:56,175 Finished 14 from 16 processes
2024-10-22 00:49:01,180 Finished 14 from 16 processes
2024-10-22 00:49:06,185 Finished 14 from 16 processes
2024-10-22 00:49:11,191 Finished 14 from 16 processes
2024-10-22 00:49:16,196 Finished 14 from 16 processes
2024-10-22 00:49:21,201 Finished 14 from 16 processes
2024-10-22 00:49:26,203 Finished 14 from 16 processes
2024-10-22 00:49:31,208 Finished 14 from 16 processes
2024-10-22 00:49:36,213 Finished 14 from 16 processes
2024-10-22 00:49:41,219 Finished 14 from 16 processes
2024-10-22 00:49:46,224 Finished 14 from 16 processes
2024-10-22 00:49:51,229 Finished 14 from 16 processes
2024-10-22 00:49:56,235 Finished 14 from 16 processes
2024-10-22 00:50:01,240 Finished 14 from 16 processes
2024-10-22 00:50:06,243 Finished 14 from 16 processes
2024-10-22 00:50:11,247 Finished 14 from 16 processes
2024-10-22 00:50:16,252 Finished 14 from 16 processes
2024-10-22 00:50:21,258 Finished 14 from 16 processes
2024-10-22 00:50:26,263 Finished 14 from 16 processes
2024-10-22 00:50:31,268 Finished 14 from 16 processes
2024-10-22 00:50:36,273 Finished 14 from 16 processes
2024-10-22 00:50:41,279 Finished 14 from 16 processes
2024-10-22 00:50:46,284 Finished 14 from 16 processes
2024-10-22 00:50:51,287 Finished 14 from 16 processes
2024-10-22 00:50:56,291 Finished 14 from 16 processes
2024-10-22 00:51:01,296 Finished 14 from 16 processes
2024-10-22 00:51:06,299 Finished 14 from 16 processes
2024-10-22 00:51:11,304 Finished 14 from 16 processes
2024-10-22 00:51:16,309 Finished 14 from 16 processes
2024-10-22 00:51:21,315 Finished 14 from 16 processes
2024-10-22 00:51:26,320 Finished 14 from 16 processes
2024-10-22 00:51:31,323 Finished 14 from 16 processes
2024-10-22 00:51:36,327 Finished 14 from 16 processes
2024-10-22 00:51:41,332 Finished 14 from 16 processes
2024-10-22 00:51:46,337 Finished 14 from 16 processes
2024-10-22 00:51:51,343 Finished 14 from 16 processes
2024-10-22 00:51:56,347 Finished 14 from 16 processes
2024-10-22 00:52:01,351 Finished 14 from 16 processes
2024-10-22 00:52:06,356 Finished 14 from 16 processes
2024-10-22 00:52:11,360 Finished 14 from 16 processes
2024-10-22 00:52:16,365 Finished 14 from 16 processes
2024-10-22 00:52:21,367 Finished 14 from 16 processes
2024-10-22 00:52:26,372 Finished 14 from 16 processes
2024-10-22 00:52:31,378 Finished 14 from 16 processes
2024-10-22 00:52:36,383 Finished 14 from 16 processes
2024-10-22 00:52:41,388 Finished 14 from 16 processes
2024-10-22 00:52:46,393 Finished 14 from 16 processes
2024-10-22 00:52:51,399 Finished 14 from 16 processes
2024-10-22 00:52:56,404 Finished 14 from 16 processes
2024-10-22 00:53:01,409 Finished 14 from 16 processes
2024-10-22 00:53:06,411 Finished 14 from 16 processes
2024-10-22 00:53:11,416 Finished 14 from 16 processes
2024-10-22 00:53:16,421 Finished 14 from 16 processes
2024-10-22 00:53:21,427 Finished 14 from 16 processes
2024-10-22 00:53:26,432 Finished 15 from 16 processes
2024-10-22 00:53:31,437 Finished 15 from 16 processes
2024-10-22 00:53:36,443 Finished 15 from 16 processes
2024-10-22 00:53:41,448 All processes finished
2024-10-22 00:53:41,448 Compressing stress logs
2024-10-22 00:53:41,493 Logs compressed
2024-10-22 00:53:41,493 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-10-22 00:56:34,358 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-10-22 00:56:34,495 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-10-22 00:56:35,629 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-10-22 00:56:37,773 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-10-22 00:56:40,927 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-10-22 00:56:44,931 Failed to prepare for hung check: Cannot drop databases after stress tests. Probably server consumed too much memory and cannot execute simple queries
2024-10-22 00:56:44,932 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-10-22 00:58:15,711 Hung check failed with exit code 1
2024-10-22 00:58:15,712 Stress test finished
+ echo -e 'Test script exit code\tOK\t\N\t'
+ rg -Fa 'No queries hung' /test_output/test_results.tsv
+ grep -Fa OK
++ 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=1908
+ clickhouse stop --max-tries 90 --do-not-kill
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1908.
The process with pid = 1908 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 - - [21/Oct/2024:22:58:18 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [21/Oct/2024:22:58:18 +0000] "PUT /devstoreaccount1/cont/smxrurpnliifoyzhzvgckzwebpldmyvb?blockid=tihjvyuihohelcemmgggcckovdtdupvkcncvootkzjlfenttsjgjbmmmxudatuve&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:58:18 +0000] "PUT /devstoreaccount1/cont/smxrurpnliifoyzhzvgckzwebpldmyvb?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [21/Oct/2024:22:58:18 +0000] "GET /devstoreaccount1/cont/smxrurpnliifoyzhzvgckzwebpldmyvb HTTP/1.1" 206 4
127.0.0.1 - - [21/Oct/2024:22:58:18 +0000] "GET /devstoreaccount1/cont/smxrurpnliifoyzhzvgckzwebpldmyvb HTTP/1.1" 206 2
127.0.0.1 - - [21/Oct/2024:22:58:18 +0000] "DELETE /devstoreaccount1/cont/smxrurpnliifoyzhzvgckzwebpldmyvb 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'
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 40418
+ 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=40418
+ 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 = 40418.
The process with pid = 40418 is running.
Sent terminate signal to process with pid 40418.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 40418.
The process with pid = 40418 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 40418.
The process with pid = 40418 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 40418.
The process with pid = 40418 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 40418.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 is running.
Waiting for server to stop
Found pid = 40418 in the list of running processes.
The process with pid = 40418 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
+ 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 [ 2404 ] {691a4750-ea09-4df2-a30d-ac44f6eeb578} : Logical error: \'\''inserted\'\''.\\n [ 2401 ] {691a4750-ea09-4df2-a30d-ac44f6eeb578} : Logical error: \'\''inserted\'\''.\\n [ 1906 ] {} Application: Child process was terminated by signal 6.\\n [ 2404 ] {691a4750-ea09-4df2-a30d-ac44f6eeb578} : Logical error: \'\''inserted\'\''.\\n [ 2401 ] {691a4750-ea09-4df2-a30d-ac44f6eeb578} : Logical error: \'\''inserted\'\''.\\n [ 1906 ] {} 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-10-22 00:34:35 Thread 400 "LoadMarksThread" received signal SIGABRT, Aborted.\\n2024-10-22 00:34:35 [Switching to Thread 0x7f0e6e3b7640 (LWP 2404)]\\n2024-10-22 00:34:35 0x00007f11b339f9fc in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-10-22 00:34:35 #0 0x00007f11b339f9fc in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-10-22 00:34:35 No symbol table info available.\\n2024-10-22 00:34:35 #1 0x00007f11b334b476 in raise () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-10-22 00:34:35 No symbol table info available.\\n2024-10-22 00:34:35 #2 0x00007f11b33317f3 in abort () from /lib/x86_64-linux-gnu/libc.so.6\\n2024-10-22 00:34:35 No symbol table info available.\\n2024-10-22 00:34:35 #3 0x000055d0d42e3048 in DB::abortOnFailedAssertion (description=...) at ./src/Common/Exception.cpp:50\\n2024-10-22 00:34:35 always_false = false\\n2024-10-22 00:34:35 #4 0x000055d0e8f1cafe in DB::CleanupQueue::add (this=, key=...) at ./src/Interpreters/Cache/Metadata.cpp:376\\n2024-10-22 00:34:35 inserted = \\n2024-10-22 00:34:35 #5 0x000055d0e8f11d96 in DB::LockedKey::~LockedKey (this=0x6030025e66d0) at ./src/Interpreters/Cache/Metadata.cpp:677\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #6 0x000055d0e8f214ad in std::__1::default_delete::operator()[abi:v15000](DB::LockedKey*) const (this=, __ptr=0x6030025e66d0) at ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #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-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #8 0x000055d0e8ee7499 in std::__1::__shared_count::__release_shared[abi:v15000]() (this=0x603001ba3810) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #9 std::__1::__shared_weak_count::__release_shared[abi:v15000]() (this=0x603001ba3810) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #10 std::__1::shared_ptr::~shared_ptr[abi:v15000]() (this=0x7f0e6d79e1e0) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:702\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #11 DB::FileSegment::complete (this=) at ./src/Interpreters/Cache/FileSegment.cpp:718\\n2024-10-22 00:34:36 watch = {event = {t = 348}, watch = {start_ns = 2236535902918, stop_ns = 0, clock_type = 1, is_running = true}}\\n2024-10-22 00:34:36 locked_key = {__ptr_ = 0x6030025e66d0, __cntrl_ = 0x603001ba3810}\\n2024-10-22 00:34:36 segment_lock = {> = {__m_ = 0x612002d4dc48, __owns_ = true}, }\\n2024-10-22 00:34:36 is_downloader = \\n2024-10-22 00:34:36 is_last_holder = \\n2024-10-22 00:34:36 current_downloaded_size = \\n2024-10-22 00:34:36 scope_exit616 = \\n2024-10-22 00:34:36 #12 0x000055d0e8eedb8f in DB::FileSegmentsHolder::completeAndPopFrontImpl (this=0x6030014dea40) at ./src/Interpreters/Cache/FileSegment.cpp:921\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #13 DB::FileSegmentsHolder::~FileSegmentsHolder (this=) at ./src/Interpreters/Cache/FileSegment.cpp:933\\n2024-10-22 00:34:36 file_segment_it = \\n2024-10-22 00:34:36 watch = {event = {t = 353}, watch = {start_ns = 2236535902237, stop_ns = 0, clock_type = 1, is_running = true}}\\n2024-10-22 00:34:36 #14 0x000055d0e4a54492 in std::__1::default_delete::operator()[abi:v15000](DB::FileSegmentsHolder*) const (this=, __ptr=0x6030014dea40) at ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #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-10-22 00:34:36 __tmp = 0x6030014dea40\\n2024-10-22 00:34:36 #16 std::__1::unique_ptr >::~unique_ptr[abi:v15000]() (this=) at ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:259\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #17 DB::CachedOnDiskReadBufferFromFile::~CachedOnDiskReadBufferFromFile (this=0x61800445e498) at ./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:535\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #18 0x000055d0e4a416f9 in std::__1::__shared_count::__release_shared[abi:v15000]() (this=0x61800445e480) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:174\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #19 std::__1::__shared_weak_count::__release_shared[abi:v15000]() (this=0x61800445e480) at ./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215\\n2024-10-22 00:34:36 No locals.\\n2024-10-22 00:34:36 #20 std::__1::shared_ptr::~shared_ptr[abi:v15000]() (this=0x6160017126c8) 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
+ zstd --threads=0
+ clickhouse-local --path /var/lib/clickhouse/ --only-system-tables -q 'select * from system.trace_log format TSVWithNamesAndTypes'
+ 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