+ 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/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.3.19.34.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static.
(Reading database ... 55077 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static_23.3.19.34.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-common-static (23.3.19.34.altinitystable+asan) ...
Setting up clickhouse-common-static (23.3.19.34.altinitystable+asan) ...
+ dpkg -i package_folder/clickhouse-common-static-dbg_23.3.19.34.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static-dbg.
(Reading database ... 55091 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static-dbg_23.3.19.34.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-common-static-dbg (23.3.19.34.altinitystable+asan) ...
Setting up clickhouse-common-static-dbg (23.3.19.34.altinitystable+asan) ...
+ dpkg -i package_folder/clickhouse-server_23.3.19.34.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-server.
(Reading database ... 55100 files and directories currently installed.)
Preparing to unpack .../clickhouse-server_23.3.19.34.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-server (23.3.19.34.altinitystable+asan) ...
Setting up clickhouse-server (23.3.19.34.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.
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
Processing triggers for systemd (245.4-4ubuntu3.23) ...
+ dpkg -i package_folder/clickhouse-client_23.3.19.34.altinitystable+asan_amd64.deb
Selecting previously unselected package clickhouse-client.
(Reading database ... 55114 files and directories currently installed.)
Preparing to unpack .../clickhouse-client_23.3.19.34.altinitystable+asan_amd64.deb ...
Unpacking clickhouse-client (23.3.19.34.altinitystable+asan) ...
Setting up clickhouse-client (23.3.19.34.altinitystable+asan) ...
++ clickhouse local -q 'select value like '\''% -fsanitize=thread %'\'' from system.build_options where name='\''CXX_FLAGS'\'''
+ is_tsan_build=0
+ '[' 0 -eq 0 ']'
+ 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'
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/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_test.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/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/
+ '[' /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/timeouts.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/ints_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/strings_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/decimals_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/executable_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/executable_pool_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/test_function.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/top_level_domains /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/regions_hierarchy.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/regions_names_en.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/ext-en.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/ext-ru.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/lem-en.bin /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/server.key /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/server.crt /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/dhparam.pem /etc/clickhouse-server/
+ ln -sf --backup=simple --suffix=_original.xml /usr/share/clickhouse-test/config/config.d/query_masking_rules.xml /etc/clickhouse-server/config.d/
+ [[ -n 1 ]]
+ [[ 1 -eq 1 ]]
+ rm -f /etc/clickhouse-server/config.d/zookeeper.xml
+ ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_fault_injection.xml /etc/clickhouse-server/config.d/
+ create_snapshot_on_exit=0
+ sed --follow-symlinks -i 's|true|0|' /etc/clickhouse-server/config.d/keeper_port.xml
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ [[ 1 -eq 1 ]]
+ ln -sf /usr/share/clickhouse-test/config/users.d/database_ordinary.xml /etc/clickhouse-server/users.d/
+ [[ -n '' ]]
+ ARM=aarch64
++ uname -m
+ OS=x86_64
+ [[ -n 1 ]]
+ echo x86_64
+ [[ '' -eq 1 ]]
+ [[ x86_64 == \a\a\r\c\h\6\4 ]]
x86_64
Adding azure configuration
+ 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
+ total_mem=32098980
+ total_mem=32869355520
+ max_server_memory_usage_to_ram_ratio=0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
Setting max_server_memory_usage_to_ram_ratio to 0.5
+ local max_users_mem
+ max_users_mem=9860806656
+ echo 'Setting max_memory_usage_for_user=9860806656 and max_memory_usage for queries to 10G'
+ cat
Setting max_memory_usage_for_user=9860806656 and max_memory_usage for queries to 10G
+ cat
+ cat
+ ./setup_minio.sh stateless
+ azurite-blob --blobHost 0.0.0.0 --blobPort 10000 --debug /azurite_log
+ export MINIO_ROOT_USER=clickhouse
+ MINIO_ROOT_USER=clickhouse
+ export MINIO_ROOT_PASSWORD=clickhouse
+ MINIO_ROOT_PASSWORD=clickhouse
+ main stateless
+ local query_dir
++ check_arg stateless
++ local query_dir
++ '[' '!' 1 -eq 1 ']'
++ case "$1" in
++ query_dir=0_stateless
++ echo 0_stateless
+ query_dir=0_stateless
+ '[' '!' -f ./minio ']'
+ start_minio
+ mkdir -p ./minio_data
+ ./minio --version
Azurite Blob service is starting on 0.0.0.0:10000
Azurite Blob service successfully listens on http://0.0.0.0:10000
minio version RELEASE.2022-01-03T18-22-58Z
+ wait_for_it
+ local counter=0
+ local max_counter=60
+ local url=http://localhost:11111
+ params=(--silent --verbose)
+ local params
+ ./minio server --address :11111 ./minio_data
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
trying to connect to minio
+ [[ 0 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=1
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
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
trying to connect to minio
+ [[ 5 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=6
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 6 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ counter=7
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 7 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
+ counter=8
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
trying to connect to minio
+ [[ 8 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=9
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
trying to connect to minio
+ [[ 9 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
+ counter=10
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 10 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
API: http://172.17.0.2:11111 http://127.0.0.1:11111
Console: http://172.17.0.2:46775 http://127.0.0.1:46775
Documentation: https://docs.min.io
WARNING: Console endpoint is listening on a dynamic port (46775), please use --console-address ":PORT" to choose a static port.
+ counter=11
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
AccessDenied
Access Denied./17BC24D4F62776082f67bfb6-e096-4e54-b828-5f503763ac83
+ lsof -i :11111
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
minio 248 root 10u IPv6 49520 0t0 TCP *:11111 (LISTEN)
+ sleep 5
+ setup_minio stateless
+ local test_type=stateless
+ ./mc alias set clickminio http://localhost:11111 clickhouse clickhouse
Added `clickminio` successfully.
+ ./mc admin user add clickminio test testtest
Added user `test` successfully.
+ ./mc admin policy set clickminio readwrite user=test
Policy `readwrite` is set on user `test`
+ ./mc mb clickminio/test
Bucket created successfully `clickminio/test`.
+ '[' stateless = stateless ']'
+ ./mc policy set public clickminio/test
Access permission for `clickminio/test` is set to `public`
+ upload_data 0_stateless /usr/share/clickhouse-test
+ local query_dir=0_stateless
+ local test_path=/usr/share/clickhouse-test
+ local data_path=/usr/share/clickhouse-test/queries/0_stateless/data_minio
++ ls /usr/share/clickhouse-test/queries/0_stateless/data_minio
+ for file in $(ls "${data_path}")
+ echo 02366_data.jsonl
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/02366_data.jsonl clickminio/test/02366_data.jsonl
02366_data.jsonl
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/02366_data.jsonl` -> `clickminio/test/02366_data.jsonl`
Total: 0 B, Transferred: 0 B, Speed: 0 B/s
a.tsv
+ for file in $(ls "${data_path}")
+ echo a.tsv
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/a.tsv clickminio/test/a.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/a.tsv` -> `clickminio/test/a.tsv`
Total: 0 B, Transferred: 24 B, Speed: 2.94 KiB/s
+ for file in $(ls "${data_path}")
+ echo b.tsv
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/b.tsv clickminio/test/b.tsv
b.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/b.tsv` -> `clickminio/test/b.tsv`
Total: 0 B, Transferred: 33 B, Speed: 4.92 KiB/s
+ for file in $(ls "${data_path}")
+ echo c.tsv
c.tsv
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/c.tsv clickminio/test/c.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/c.tsv` -> `clickminio/test/c.tsv`
Total: 0 B, Transferred: 33 B, Speed: 4.72 KiB/s
tsv_with_header.tsv
+ for file in $(ls "${data_path}")
+ echo tsv_with_header.tsv
+ ./mc cp /usr/share/clickhouse-test/queries/0_stateless/data_minio/tsv_with_header.tsv clickminio/test/tsv_with_header.tsv
`/usr/share/clickhouse-test/queries/0_stateless/data_minio/tsv_with_header.tsv` -> `clickminio/test/tsv_with_header.tsv`
Total: 0 B, Transferred: 44 B, Speed: 5.76 KiB/s
+ setup_aws_credentials
+ local minio_root_user=clickhouse
+ local minio_root_password=clickhouse
+ mkdir -p /root/.aws
+ cat
+ start
+ counter=0
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 0 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=1
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 1 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=2
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 2 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=3
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 3 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=4
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 4 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=5
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 5 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=6
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 6 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=7
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 7 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=8
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 8 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=9
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 9 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=10
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 10 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=11
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 11 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
127.0.0.1 - - [12/Mar/2024:22:27:50 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 201 -
127.0.0.1 - - [12/Mar/2024:22:27:50 +0000] "PUT /devstoreaccount1/cont/bduyqueurnbfjrquqvzrimwczqbihrif?blockid=piglodgsaxkvhcgwyhhchekryghqnqueegtcbychnnvgvfgiiinqwrvvjblcqjio&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [12/Mar/2024:22:27:50 +0000] "PUT /devstoreaccount1/cont/bduyqueurnbfjrquqvzrimwczqbihrif?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [12/Mar/2024:22:27:50 +0000] "GET /devstoreaccount1/cont/bduyqueurnbfjrquqvzrimwczqbihrif HTTP/1.1" 206 4
127.0.0.1 - - [12/Mar/2024:22:27:50 +0000] "GET /devstoreaccount1/cont/bduyqueurnbfjrquqvzrimwczqbihrif HTTP/1.1" 206 2
127.0.0.1 - - [12/Mar/2024:22:27:50 +0000] "DELETE /devstoreaccount1/cont/bduyqueurnbfjrquqvzrimwczqbihrif HTTP/1.1" 202 -
+ counter=12
+ clickhouse-client --query 'SELECT 1'
1
++ 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 499
+ clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\'''
Connected to clickhouse-server after attaching gdb
real 0m0.186s
user 0m0.106s
sys 0m0.031s
+ shellcheck disable=SC2086
/run.sh: line 59: shellcheck: command not found
+ /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/ozzy1w_5
INFO:root:Content length is 1271623680 bytes
INFO:root:Downloading finished
INFO:root:Will unpack data from temp path /tmp/ozzy1w_5 to clickhouse db /var/lib/clickhouse/
INFO:root:Unpack finished
INFO:root:Will remove downloaded file /tmp/ozzy1w_5 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/chuz9zuj
INFO:root:Content length is 563968000 bytes
INFO:root:Downloading finished
INFO:root:Will unpack data from temp path /tmp/chuz9zuj to clickhouse db /var/lib/clickhouse/
INFO:root:Unpack finished
INFO:root:Will remove downloaded file /tmp/chuz9zuj 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=499
+ 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 = 499.
The process with pid = 499 is running.
Sent terminate signal to process with pid 499.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 499.
The process with pid = 499 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 499.
The process with pid = 499 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 499.
The process with pid = 499 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 499.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 is running.
Waiting for server to stop
Found pid = 499 in the list of running processes.
The process with pid = 499 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
127.0.0.1 - - [12/Mar/2024:22:29:14 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
+ counter=10
+ clickhouse-client --query 'SELECT 1'
127.0.0.1 - - [12/Mar/2024:22:29:14 +0000] "PUT /devstoreaccount1/cont/mcnfgmeqerocaeuyddvyzzjytxiwghor?blockid=phzbnoqrrxkalzgcatyatvtvaydhtpppllvmjwengqukeupejnspwlsmwjfcovzc&comp=block HTTP/1.1" 201 -
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
127.0.0.1 - - [12/Mar/2024:22:29:14 +0000] "PUT /devstoreaccount1/cont/mcnfgmeqerocaeuyddvyzzjytxiwghor?comp=blocklist HTTP/1.1" 201 -
+ '[' 10 -gt 120 ']'
+ clickhouse start --user root
127.0.0.1 - - [12/Mar/2024:22:29:14 +0000] "GET /devstoreaccount1/cont/mcnfgmeqerocaeuyddvyzzjytxiwghor HTTP/1.1" 206 4
+ sleep 0.5
127.0.0.1 - - [12/Mar/2024:22:29:14 +0000] "GET /devstoreaccount1/cont/mcnfgmeqerocaeuyddvyzzjytxiwghor HTTP/1.1" 206 2
127.0.0.1 - - [12/Mar/2024:22:29:14 +0000] "DELETE /devstoreaccount1/cont/mcnfgmeqerocaeuyddvyzzjytxiwghor 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'
1
++ 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 971
+ clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\'''
Connected to clickhouse-server after attaching gdb
real 0m0.844s
user 0m0.129s
sys 0m0.028s
+ 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=971
+ 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 = 971.
The process with pid = 971 is running.
Sent terminate signal to process with pid 971.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 971.
The process with pid = 971 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 971.
The process with pid = 971 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 971.
The process with pid = 971 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 971.
The process with pid = 971 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 971.
The process with pid = 971 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 971.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 is running.
Waiting for server to stop
Found pid = 971 in the list of running processes.
The process with pid = 971 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/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_test.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/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/
+ '[' /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/timeouts.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/ints_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/strings_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/decimals_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/executable_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/executable_pool_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/test_function.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/top_level_domains /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/regions_hierarchy.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/regions_names_en.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/ext-en.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/ext-ru.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/lem-en.bin /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/server.key /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/server.crt /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/dhparam.pem /etc/clickhouse-server/
+ ln -sf --backup=simple --suffix=_original.xml /usr/share/clickhouse-test/config/config.d/query_masking_rules.xml /etc/clickhouse-server/config.d/
+ [[ -n 1 ]]
+ [[ 1 -eq 1 ]]
+ rm -f /etc/clickhouse-server/config.d/zookeeper.xml
+ ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_fault_injection.xml /etc/clickhouse-server/config.d/
+ create_snapshot_on_exit=1
+ sed --follow-symlinks -i 's|true|1|' /etc/clickhouse-server/config.d/keeper_port.xml
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ [[ 1 -eq 1 ]]
+ ln -sf /usr/share/clickhouse-test/config/users.d/database_ordinary.xml /etc/clickhouse-server/users.d/
+ [[ -n 1 ]]
+ [[ 1 -eq 1 ]]
+ ln -sf /usr/share/clickhouse-test/config/config.d/s3_storage_policy_by_default.xml /etc/clickhouse-server/config.d/
+ ARM=aarch64
++ uname -m
+ 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
+ total_mem=32098980
+ total_mem=32869355520
+ max_server_memory_usage_to_ram_ratio=0.5
+ echo 'Setting max_server_memory_usage_to_ram_ratio to 0.5'
+ cat
Setting max_server_memory_usage_to_ram_ratio to 0.5
Setting max_memory_usage_for_user=9860806656 and max_memory_usage for queries to 10G
+ local max_users_mem
+ max_users_mem=9860806656
+ echo 'Setting max_memory_usage_for_user=9860806656 and max_memory_usage for queries to 10G'
+ cat
+ 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
+ start
+ counter=0
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 0 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=1
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 1 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=2
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 2 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=3
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 3 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=4
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 4 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=5
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 5 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=6
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 6 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=7
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 7 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=8
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 8 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=9
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 9 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=10
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 10 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=11
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 11 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=12
+ clickhouse-client --query 'SELECT 1'
127.0.0.1 - - [12/Mar/2024:22:44:59 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 12 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
127.0.0.1 - - [12/Mar/2024:22:44:59 +0000] "PUT /devstoreaccount1/cont/pnltzvugetrcwuevqzrtpqezyzejeork?blockid=fxlwrplbxhjiwoudxqdfgpfajniietsqcnrufwptignogvssczhuvuxezjlraadz&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [12/Mar/2024:22:44:59 +0000] "PUT /devstoreaccount1/cont/pnltzvugetrcwuevqzrtpqezyzejeork?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [12/Mar/2024:22:44:59 +0000] "GET /devstoreaccount1/cont/pnltzvugetrcwuevqzrtpqezyzejeork HTTP/1.1" 206 4
127.0.0.1 - - [12/Mar/2024:22:45:00 +0000] "GET /devstoreaccount1/cont/pnltzvugetrcwuevqzrtpqezyzejeork HTTP/1.1" 206 2
127.0.0.1 - - [12/Mar/2024:22:45:00 +0000] "DELETE /devstoreaccount1/cont/pnltzvugetrcwuevqzrtpqezyzejeork HTTP/1.1" 202 -
+ counter=13
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 13 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=14
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 14 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=15
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 15 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=16
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 16 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=17
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 17 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=18
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 18 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=19
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 19 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=20
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 20 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=21
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 21 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=22
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 22 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=23
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 23 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=24
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 24 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=25
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 25 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=26
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 26 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
+ counter=27
+ clickhouse-client --query 'SELECT 1'
1
++ 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 1811
+ clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\'''
Connected to clickhouse-server after attaching gdb
real 0m0.385s
user 0m0.095s
sys 0m0.051s
+ stress --hung-check --drop-databases --output-folder test_output --skip-func-tests '' --global-time-limit 1200
2024-03-13 01:45:17,010 Run func tests '/usr/bin/clickhouse-test --global_time_limit=1200 '
2024-03-13 01:45:17,512 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_1 --client-option join_use_nulls=1 join_algorithm='parallel_hash' allow_experimental_query_cache=1 use_query_cache=1 memory_tracker_fault_probability=0.001 group_by_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:18,014 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 --global_time_limit=1200 '
2024-03-13 01:45:18,517 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-03-13 01:45:19,020 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:19,522 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 join_algorithm='full_sorting_merge' group_by_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:20,024 Run func tests '/usr/bin/clickhouse-test --order=random --client-option memory_tracker_fault_probability=0.001 --global_time_limit=1200 '
2024-03-13 01:45:20,526 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-03-13 01:45:21,028 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 allow_experimental_query_cache=1 use_query_cache=1 --global_time_limit=1200 '
2024-03-13 01:45:21,530 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_9 --client-option join_algorithm='auto' max_rows_in_join=1000 group_by_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:22,032 Run func tests '/usr/bin/clickhouse-test --order=random --client-option join_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:22,534 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 join_algorithm='parallel_hash' memory_tracker_fault_probability=0.001 group_by_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:23,036 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-03-13 01:45:23,538 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_13 --client-option join_use_nulls=1 join_algorithm='partial_merge' allow_experimental_query_cache=1 use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:24,040 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 --global_time_limit=1200 '
2024-03-13 01:45:24,542 Run func tests '/usr/bin/clickhouse-test --order=random --database=test_15 --client-option join_algorithm='full_sorting_merge' allow_experimental_query_cache=1 use_query_cache=1 group_by_use_nulls=1 --global_time_limit=1200 '
2024-03-13 01:45:25,044 Will wait functests to finish
2024-03-13 01:45:25,044 Finished 0 from 16 processes
2024-03-13 01:45:30,046 Finished 0 from 16 processes
2024-03-13 01:45:35,050 Finished 0 from 16 processes
2024-03-13 01:45:40,054 Finished 0 from 16 processes
2024-03-13 01:45:45,058 Finished 0 from 16 processes
2024-03-13 01:45:50,062 Finished 0 from 16 processes
2024-03-13 01:45:55,066 Finished 0 from 16 processes
2024-03-13 01:46:00,070 Finished 0 from 16 processes
2024-03-13 01:46:05,074 Finished 0 from 16 processes
2024-03-13 01:46:10,078 Finished 0 from 16 processes
2024-03-13 01:46:15,082 Finished 0 from 16 processes
2024-03-13 01:46:20,087 Finished 0 from 16 processes
2024-03-13 01:46:25,090 Finished 0 from 16 processes
2024-03-13 01:46:30,095 Finished 0 from 16 processes
2024-03-13 01:46:35,098 Finished 0 from 16 processes
2024-03-13 01:46:40,102 Finished 0 from 16 processes
2024-03-13 01:46:45,106 Finished 0 from 16 processes
2024-03-13 01:46:50,110 Finished 0 from 16 processes
2024-03-13 01:46:55,114 Finished 0 from 16 processes
2024-03-13 01:47:00,118 Finished 0 from 16 processes
2024-03-13 01:47:05,122 Finished 0 from 16 processes
2024-03-13 01:47:10,126 Finished 0 from 16 processes
2024-03-13 01:47:15,130 Finished 0 from 16 processes
2024-03-13 01:47:20,134 Finished 0 from 16 processes
2024-03-13 01:47:25,138 Finished 0 from 16 processes
2024-03-13 01:47:30,142 Finished 0 from 16 processes
2024-03-13 01:47:35,147 Finished 0 from 16 processes
2024-03-13 01:47:40,150 Finished 0 from 16 processes
2024-03-13 01:47:45,154 Finished 0 from 16 processes
2024-03-13 01:47:50,158 Finished 0 from 16 processes
2024-03-13 01:47:55,160 Finished 0 from 16 processes
2024-03-13 01:48:00,162 Finished 0 from 16 processes
2024-03-13 01:48:05,166 Finished 0 from 16 processes
2024-03-13 01:48:10,170 Finished 0 from 16 processes
2024-03-13 01:48:15,175 Finished 0 from 16 processes
2024-03-13 01:48:20,176 Finished 0 from 16 processes
2024-03-13 01:48:25,178 Finished 0 from 16 processes
2024-03-13 01:48:30,183 Finished 0 from 16 processes
[Detaching after vfork from child process 7099]
2024-03-13 01:48:35,186 Finished 0 from 16 processes
[Detaching after vfork from child process 7242]
[Detaching after vfork from child process 7315]
[Detaching after vfork from child process 7368]
2024-03-13 01:48:40,191 Finished 0 from 16 processes
2024-03-13 01:48:45,194 Finished 0 from 16 processes
2024-03-13 01:48:50,198 Finished 0 from 16 processes
2024-03-13 01:48:55,202 Finished 0 from 16 processes
2024-03-13 01:49:00,206 Finished 0 from 16 processes
2024-03-13 01:49:05,210 Finished 0 from 16 processes
2024-03-13 01:49:10,214 Finished 0 from 16 processes
2024-03-13 01:49:15,218 Finished 0 from 16 processes
2024-03-13 01:49:20,222 Finished 0 from 16 processes
2024-03-13 01:49:25,226 Finished 0 from 16 processes
2024-03-13 01:49:30,230 Finished 0 from 16 processes
2024-03-13 01:49:35,235 Finished 0 from 16 processes
2024-03-13 01:49:40,238 Finished 0 from 16 processes
2024-03-13 01:49:45,242 Finished 0 from 16 processes
2024-03-13 01:49:50,246 Finished 0 from 16 processes
2024-03-13 01:49:55,250 Finished 0 from 16 processes
2024-03-13 01:50:00,254 Finished 0 from 16 processes
2024-03-13 01:50:05,258 Finished 0 from 16 processes
2024-03-13 01:50:10,262 Finished 0 from 16 processes
2024-03-13 01:50:15,266 Finished 0 from 16 processes
2024-03-13 01:50:20,270 Finished 0 from 16 processes
2024-03-13 01:50:25,274 Finished 0 from 16 processes
2024-03-13 01:50:30,279 Finished 0 from 16 processes
2024-03-13 01:50:35,283 Finished 0 from 16 processes
2024-03-13 01:50:40,286 Finished 0 from 16 processes
2024-03-13 01:50:45,287 Finished 0 from 16 processes
2024-03-13 01:50:50,291 Finished 0 from 16 processes
2024-03-13 01:50:55,294 Finished 0 from 16 processes
2024-03-13 01:51:00,299 Finished 0 from 16 processes
2024-03-13 01:51:05,302 Finished 0 from 16 processes
2024-03-13 01:51:10,307 Finished 0 from 16 processes
2024-03-13 01:51:15,310 Finished 0 from 16 processes
2024-03-13 01:51:20,314 Finished 0 from 16 processes
2024-03-13 01:51:25,318 Finished 0 from 16 processes
2024-03-13 01:51:30,322 Finished 0 from 16 processes
2024-03-13 01:51:35,327 Finished 0 from 16 processes
2024-03-13 01:51:40,330 Finished 0 from 16 processes
2024-03-13 01:51:45,334 Finished 0 from 16 processes
2024-03-13 01:51:50,338 Finished 0 from 16 processes
2024-03-13 01:51:55,342 Finished 0 from 16 processes
2024-03-13 01:52:00,346 Finished 0 from 16 processes
2024-03-13 01:52:05,350 Finished 0 from 16 processes
2024-03-13 01:52:10,354 Finished 0 from 16 processes
2024-03-13 01:52:15,358 Finished 0 from 16 processes
2024-03-13 01:52:20,363 Finished 0 from 16 processes
2024-03-13 01:52:25,366 Finished 0 from 16 processes
2024-03-13 01:52:30,371 Finished 0 from 16 processes
2024-03-13 01:52:35,374 Finished 0 from 16 processes
2024-03-13 01:52:40,378 Finished 0 from 16 processes
2024-03-13 01:52:45,383 Finished 0 from 16 processes
2024-03-13 01:52:50,386 Finished 0 from 16 processes
2024-03-13 01:52:55,390 Finished 0 from 16 processes
2024-03-13 01:53:00,394 Finished 0 from 16 processes
2024-03-13 01:53:05,399 Finished 0 from 16 processes
2024-03-13 01:53:10,404 Finished 0 from 16 processes
2024-03-13 01:53:15,409 Finished 0 from 16 processes
2024-03-13 01:53:20,414 Finished 0 from 16 processes
2024-03-13 01:53:25,418 Finished 0 from 16 processes
2024-03-13 01:53:30,422 Finished 0 from 16 processes
2024-03-13 01:53:35,426 Finished 0 from 16 processes
2024-03-13 01:53:40,430 Finished 0 from 16 processes
2024-03-13 01:53:45,434 Finished 0 from 16 processes
2024-03-13 01:53:50,438 Finished 0 from 16 processes
2024-03-13 01:53:55,442 Finished 0 from 16 processes
2024-03-13 01:54:00,446 Finished 0 from 16 processes
2024-03-13 01:54:05,450 Finished 0 from 16 processes
2024-03-13 01:54:10,454 Finished 0 from 16 processes
2024-03-13 01:54:15,458 Finished 0 from 16 processes
2024-03-13 01:54:20,462 Finished 0 from 16 processes
2024-03-13 01:54:25,466 Finished 0 from 16 processes
2024-03-13 01:54:30,471 Finished 0 from 16 processes
2024-03-13 01:54:35,474 Finished 0 from 16 processes
2024-03-13 01:54:40,478 Finished 0 from 16 processes
2024-03-13 01:54:45,483 Finished 0 from 16 processes
2024-03-13 01:54:50,486 Finished 0 from 16 processes
2024-03-13 01:54:55,490 Finished 0 from 16 processes
2024-03-13 01:55:00,495 Finished 0 from 16 processes
2024-03-13 01:55:05,498 Finished 0 from 16 processes
2024-03-13 01:55:10,502 Finished 0 from 16 processes
2024-03-13 01:55:15,506 Finished 0 from 16 processes
2024-03-13 01:55:20,510 Finished 0 from 16 processes
2024-03-13 01:55:25,514 Finished 0 from 16 processes
2024-03-13 01:55:30,518 Finished 0 from 16 processes
2024-03-13 01:55:35,523 Finished 0 from 16 processes
2024-03-13 01:55:40,526 Finished 0 from 16 processes
2024-03-13 01:55:45,530 Finished 0 from 16 processes
2024-03-13 01:55:50,534 Finished 0 from 16 processes
2024-03-13 01:55:55,538 Finished 1 from 16 processes
2024-03-13 01:56:00,542 Finished 1 from 16 processes
2024-03-13 01:56:05,546 Finished 1 from 16 processes
2024-03-13 01:56:10,551 Finished 1 from 16 processes
2024-03-13 01:56:15,553 Finished 1 from 16 processes
2024-03-13 01:56:20,558 Finished 1 from 16 processes
2024-03-13 01:56:25,562 Finished 1 from 16 processes
2024-03-13 01:56:30,566 Finished 1 from 16 processes
2024-03-13 01:56:35,570 Finished 1 from 16 processes
2024-03-13 01:56:40,575 Finished 1 from 16 processes
2024-03-13 01:56:45,578 Finished 1 from 16 processes
2024-03-13 01:56:50,582 Finished 1 from 16 processes
2024-03-13 01:56:55,586 Finished 1 from 16 processes
2024-03-13 01:57:00,590 Finished 1 from 16 processes
2024-03-13 01:57:05,594 Finished 1 from 16 processes
2024-03-13 01:57:10,598 Finished 1 from 16 processes
2024-03-13 01:57:15,602 Finished 1 from 16 processes
2024-03-13 01:57:20,606 Finished 1 from 16 processes
2024-03-13 01:57:25,611 Finished 1 from 16 processes
2024-03-13 01:57:30,614 Finished 1 from 16 processes
2024-03-13 01:57:35,618 Finished 1 from 16 processes
2024-03-13 01:57:40,623 Finished 1 from 16 processes
2024-03-13 01:57:45,626 Finished 1 from 16 processes
2024-03-13 01:57:50,630 Finished 1 from 16 processes
2024-03-13 01:57:55,634 Finished 1 from 16 processes
2024-03-13 01:58:00,639 Finished 1 from 16 processes
2024-03-13 01:58:05,642 Finished 1 from 16 processes
2024-03-13 01:58:10,647 Finished 1 from 16 processes
2024-03-13 01:58:15,652 Finished 1 from 16 processes
2024-03-13 01:58:20,658 Finished 1 from 16 processes
2024-03-13 01:58:25,662 Finished 1 from 16 processes
2024-03-13 01:58:30,666 Finished 1 from 16 processes
2024-03-13 01:58:35,667 Finished 1 from 16 processes
2024-03-13 01:58:40,670 Finished 1 from 16 processes
2024-03-13 01:58:45,674 Finished 1 from 16 processes
2024-03-13 01:58:50,679 Finished 1 from 16 processes
2024-03-13 01:58:55,682 Finished 1 from 16 processes
2024-03-13 01:59:00,686 Finished 1 from 16 processes
2024-03-13 01:59:05,690 Finished 1 from 16 processes
2024-03-13 01:59:10,694 Finished 1 from 16 processes
2024-03-13 01:59:15,698 Finished 1 from 16 processes
2024-03-13 01:59:20,702 Finished 1 from 16 processes
2024-03-13 01:59:25,706 Finished 1 from 16 processes
2024-03-13 01:59:30,710 Finished 1 from 16 processes
2024-03-13 01:59:35,714 Finished 1 from 16 processes
2024-03-13 01:59:40,719 Finished 1 from 16 processes
2024-03-13 01:59:45,722 Finished 1 from 16 processes
2024-03-13 01:59:50,725 Finished 1 from 16 processes
2024-03-13 01:59:55,730 Finished 1 from 16 processes
2024-03-13 02:00:00,734 Finished 1 from 16 processes
2024-03-13 02:00:05,738 Finished 1 from 16 processes
2024-03-13 02:00:10,742 Finished 1 from 16 processes
2024-03-13 02:00:15,746 Finished 1 from 16 processes
2024-03-13 02:00:20,750 Finished 1 from 16 processes
2024-03-13 02:00:25,754 Finished 1 from 16 processes
2024-03-13 02:00:30,758 Finished 1 from 16 processes
2024-03-13 02:00:35,762 Finished 1 from 16 processes
2024-03-13 02:00:40,766 Finished 1 from 16 processes
2024-03-13 02:00:45,771 Finished 1 from 16 processes
2024-03-13 02:00:50,774 Finished 1 from 16 processes
2024-03-13 02:00:55,775 Finished 1 from 16 processes
2024-03-13 02:01:00,780 Finished 1 from 16 processes
2024-03-13 02:01:05,782 Finished 1 from 16 processes
2024-03-13 02:01:10,787 Finished 1 from 16 processes
2024-03-13 02:01:15,791 Finished 1 from 16 processes
2024-03-13 02:01:20,794 Finished 1 from 16 processes
2024-03-13 02:01:25,798 Finished 1 from 16 processes
2024-03-13 02:01:30,802 Finished 1 from 16 processes
2024-03-13 02:01:35,806 Finished 1 from 16 processes
2024-03-13 02:01:40,811 Finished 1 from 16 processes
2024-03-13 02:01:45,814 Finished 1 from 16 processes
2024-03-13 02:01:50,819 Finished 1 from 16 processes
2024-03-13 02:01:55,822 Finished 1 from 16 processes
2024-03-13 02:02:00,826 Finished 1 from 16 processes
2024-03-13 02:02:05,830 Finished 1 from 16 processes
2024-03-13 02:02:10,831 Finished 1 from 16 processes
2024-03-13 02:02:15,834 Finished 1 from 16 processes
2024-03-13 02:02:20,838 Finished 1 from 16 processes
2024-03-13 02:02:25,842 Finished 1 from 16 processes
2024-03-13 02:02:30,845 Finished 1 from 16 processes
2024-03-13 02:02:35,850 Finished 1 from 16 processes
2024-03-13 02:02:40,854 Finished 1 from 16 processes
2024-03-13 02:02:45,858 Finished 1 from 16 processes
2024-03-13 02:02:50,862 Finished 1 from 16 processes
2024-03-13 02:02:55,866 Finished 1 from 16 processes
2024-03-13 02:03:00,871 Finished 1 from 16 processes
2024-03-13 02:03:05,874 Finished 1 from 16 processes
2024-03-13 02:03:10,878 Finished 1 from 16 processes
2024-03-13 02:03:15,883 Finished 1 from 16 processes
2024-03-13 02:03:20,886 Finished 1 from 16 processes
2024-03-13 02:03:25,890 Finished 1 from 16 processes
2024-03-13 02:03:30,894 Finished 1 from 16 processes
2024-03-13 02:03:35,898 Finished 1 from 16 processes
2024-03-13 02:03:40,903 Finished 1 from 16 processes
2024-03-13 02:03:45,907 Finished 1 from 16 processes
2024-03-13 02:03:50,912 Finished 1 from 16 processes
2024-03-13 02:03:55,914 Finished 1 from 16 processes
2024-03-13 02:04:00,918 Finished 1 from 16 processes
2024-03-13 02:04:05,922 Finished 1 from 16 processes
2024-03-13 02:04:10,926 Finished 1 from 16 processes
2024-03-13 02:04:15,931 Finished 1 from 16 processes
2024-03-13 02:04:20,934 Finished 1 from 16 processes
2024-03-13 02:04:25,938 Finished 1 from 16 processes
2024-03-13 02:04:30,943 Finished 1 from 16 processes
2024-03-13 02:04:35,948 Finished 1 from 16 processes
2024-03-13 02:04:40,950 Finished 1 from 16 processes
2024-03-13 02:04:45,954 Finished 1 from 16 processes
2024-03-13 02:04:50,958 Finished 1 from 16 processes
2024-03-13 02:04:55,962 Finished 1 from 16 processes
2024-03-13 02:05:00,966 Finished 1 from 16 processes
2024-03-13 02:05:05,970 Finished 1 from 16 processes
2024-03-13 02:05:10,974 Finished 1 from 16 processes
2024-03-13 02:05:15,978 Finished 1 from 16 processes
2024-03-13 02:05:20,982 Finished 1 from 16 processes
2024-03-13 02:05:25,986 Finished 1 from 16 processes
2024-03-13 02:05:30,990 Finished 2 from 16 processes
2024-03-13 02:05:35,994 Finished 2 from 16 processes
2024-03-13 02:05:40,998 Finished 3 from 16 processes
2024-03-13 02:05:46,002 Finished 4 from 16 processes
2024-03-13 02:05:51,006 Finished 4 from 16 processes
2024-03-13 02:05:56,010 Finished 5 from 16 processes
2024-03-13 02:06:01,014 Finished 5 from 16 processes
2024-03-13 02:06:06,018 Finished 5 from 16 processes
2024-03-13 02:06:11,022 Finished 6 from 16 processes
2024-03-13 02:06:16,026 Finished 6 from 16 processes
2024-03-13 02:06:21,030 Finished 6 from 16 processes
2024-03-13 02:06:26,034 Finished 6 from 16 processes
2024-03-13 02:06:31,038 Finished 6 from 16 processes
2024-03-13 02:06:36,042 Finished 6 from 16 processes
2024-03-13 02:06:41,044 Finished 6 from 16 processes
2024-03-13 02:06:46,045 Finished 6 from 16 processes
2024-03-13 02:06:51,050 Finished 6 from 16 processes
2024-03-13 02:06:56,054 Finished 6 from 16 processes
2024-03-13 02:07:01,059 Finished 7 from 16 processes
2024-03-13 02:07:06,062 Finished 7 from 16 processes
2024-03-13 02:07:11,067 Finished 8 from 16 processes
2024-03-13 02:07:16,070 Finished 8 from 16 processes
2024-03-13 02:07:21,074 Finished 8 from 16 processes
2024-03-13 02:07:26,078 Finished 8 from 16 processes
2024-03-13 02:07:31,083 Finished 8 from 16 processes
2024-03-13 02:07:36,086 Finished 8 from 16 processes
2024-03-13 02:07:41,090 Finished 8 from 16 processes
2024-03-13 02:07:46,094 Finished 8 from 16 processes
2024-03-13 02:07:51,099 Finished 8 from 16 processes
2024-03-13 02:07:56,102 Finished 10 from 16 processes
2024-03-13 02:08:01,106 Finished 11 from 16 processes
2024-03-13 02:08:06,111 Finished 12 from 16 processes
2024-03-13 02:08:11,114 Finished 14 from 16 processes
2024-03-13 02:08:16,118 Finished 14 from 16 processes
2024-03-13 02:08:21,122 Finished 15 from 16 processes
2024-03-13 02:08:26,127 Finished 15 from 16 processes
2024-03-13 02:08:31,132 Finished 15 from 16 processes
2024-03-13 02:08:36,134 Finished 15 from 16 processes
2024-03-13 02:08:41,138 Finished 15 from 16 processes
2024-03-13 02:08:46,143 Finished 15 from 16 processes
2024-03-13 02:08:51,146 Finished 15 from 16 processes
2024-03-13 02:08:56,150 Finished 15 from 16 processes
2024-03-13 02:09:01,154 Finished 15 from 16 processes
2024-03-13 02:09:06,159 Finished 15 from 16 processes
2024-03-13 02:09:11,162 Finished 15 from 16 processes
2024-03-13 02:09:16,166 Finished 15 from 16 processes
2024-03-13 02:09:21,171 All processes finished
2024-03-13 02:09:21,171 Compressing stress logs
2024-03-13 02:09:21,196 Logs compressed
2024-03-13 02:09:21,196 Will terminate gdb (if any)
2024-03-13 02:14:25,437 Checking if some queries hung
Using queries from '/usr/share/clickhouse-test/queries' directory
Connecting to ClickHouse server... OK
Running 1 stateless tests (MainProcess).
00001_select_1: [ OK ]
1 tests passed. 0 tests skipped. 0.24 s elapsed (MainProcess).
Won't run stateful tests because test data wasn't loaded.
No queries hung.
All tests have finished.
Top patterns of log messages:
count count_% size size_% uniq_loggers uniq_threads levels background_% message_format_string
UInt64 Float64 String Float64 UInt64 UInt64 Array(String) Float64 LowCardinality(String)
143500 0.076 38.08 MiB 0.128 1 534 ['Test'] 0.011 read() returned {}, sample block {}
115033 0.061 27.72 MiB 0.093 1 534 ['Test'] 0.007 First reader returned: {}, requested columns: {}
88322 0.047 31.40 MiB 0.105 1 746 ['Test'] 0.112 Key: {}. Returning with {} bytes, buffer position: {} (offset: {}, predownloaded: {}), buffer available: {}, current range: {}, current offset: {}, file segment state: {}, current write offset: {}, read_type: {}, reading until position: {}, started with offset: {}, remaining ranges: {}
88317 0.047 31.19 MiB 0.105 1 746 ['Test'] 0.112 Current count: {}, position: {}, read range: {}, file segment: {}
88304 0.047 9.12 MiB 0.031 1 746 ['Test'] 0.112 Read {} bytes, read type {}, position: {}, offset: {}, remaining read range: {}
70676 0.038 5.76 MiB 0.019 1 470 ['Test'] 0.012 Downloader id: {}, caller id: {}
60079 0.032 4.96 MiB 0.017 1 746 ['Test'] 0.161 Current file segment: {}, read type: {}, current file offset: {}
59963 0.032 5.66 MiB 0.019 2 235 ['Test'] 0.263 Write file: {}
59890 0.032 7.25 MiB 0.024 1 210 ['Trace'] 0.414 Single part upload has completed. Bucket: {}, Key: {}, Object size: {}, WithPool: {}
59888 0.032 6.45 MiB 0.022 1 235 ['Trace'] 0.264 Making single part upload. Bucket: {}, Key: {}, Size: {}, WithPool: {}
59552 0.032 3.81 MiB 0.013 1 226 ['Trace'] 0.267 Object {} exists after upload
59552 0.032 4.32 MiB 0.014 1 226 ['Trace'] 0.267 Checking object {} exists after upload
54413 0.029 3.32 MiB 0.011 1 746 ['Test'] 0.177 Having {} file segments to read: {}, current offset: {}
47599 0.025 4.90 MiB 0.016 1 762 ['Test'] 0.384 Read S3 object. Bucket: {}, Key: {}, Version: {}, Range: {}-{}
46576 0.025 14.70 MiB 0.049 1 716 ['Test'] 0.032 Completed file segment: {}
46576 0.025 16.08 MiB 0.054 1 716 ['Test'] 0.032 Complete based on current state (is_last_holder: {}, {})
35885 0.019 1.82 MiB 0.006 1 484 ['Test'] 0.026 Updated state from {} to {}
29128 0.015 3.70 MiB 0.012 1 368 ['Test'] 0.027 After execute prewhere {}
29128 0.015 3.89 MiB 0.013 1 368 ['Test'] 0.027 ReadResult::optimize() after: {}
29128 0.015 2.31 MiB 0.008 1 368 ['Test'] 0.027 Executing prewhere actions on block: {}
29128 0.015 4.51 MiB 0.015 1 368 ['Test'] 0.027 ReadResult::optimize() before: {}
26022 0.014 7.37 MiB 0.025 1 165 ['Test'] 0.341 Detached file segment: {}
22521 0.012 1010.57 KiB 0.003 1 478 ['Test'] 0.013 Resetting downloader from {}
18270 0.01 1.74 MiB 0.006 1 134 ['Test'] 0.467 Bypassing cache because `read_from_filesystem_cache_if_exists_otherwise_bypass_cache` option is used
18005 0.01 5.49 MiB 0.018 1 470 ['Test'] 0.016 Complete batch. ({})
15380 0.008 690.18 KiB 0.002 1 3 ['Trace'] 1 Processing requests batch, size: {}, bytes: {}
15365 0.008 712.63 KiB 0.002 1 347 ['Test'] 0 ReadResult::applyFilter() num_rows before: {}
15365 0.008 682.24 KiB 0.002 1 347 ['Test'] 0 ReadResult::applyFilter() num_rows after: {}
15363 0.008 855.26 KiB 0.003 3 161 ['Trace'] 0.001 Access granted: {}{}
12652 0.007 549.42 KiB 0.002 1 103 ['Debug'] 0.075 Peak memory usage{}: {}.
12525 0.007 648.27 KiB 0.002 1 303 ['Test'] 0.063 ReadResult::optimize() combined filter is const False
12292 0.007 1.37 MiB 0.005 1 33 ['Debug'] 0 Reading {} marks from part {}, total {} rows starting from the beginning of the part, column {}
11872 0.006 3.32 MiB 0.011 1 70 ['Debug'] 0 (from {}{}{}){}{} {} (stage: {})
11686 0.006 1.75 MiB 0.006 3 69 ['Debug'] 1 {} Creating query context from {} context, user_id: {}, parent context user: {}
11346 0.006 847.50 KiB 0.003 1 459 ['Test'] 0.025 Added entry into LRU queue, key: {}, offset: {}
10909 0.006 308.08 KiB 0.001 1 69 ['Debug'] 0 Processed in {} sec.
10848 0.006 715.78 KiB 0.002 1 211 ['Debug'] 0.001 Remove from cache. Key: {}, offset: {}
10695 0.006 437.20 KiB 0.001 1 5 ['Test'] 1 Processing of request xid={} took {} ms
10601 0.006 812.29 KiB 0.003 1 208 ['Test'] 0.001 Removed entry from LRU queue, key: {}, offset: {}
10302 0.005 965.38 KiB 0.003 1 480 ['Trace'] 0.003 Aggregated. {} to {} rows (from {}) in {} sec. ({:.3f} rows/sec., {}/sec.)
10173 0.005 302.13 KiB 0.001 1 480 ['Trace'] 0.003 Aggregation method: {}
8593 0.005 261.71 KiB 0.001 1 434 ['Test'] 0 Successfully written {} bytes
8320 0.004 198.25 KiB 0.001 1 117 ['Trace'] 0.004 {} -> {}
8026 0.004 86.22 KiB 0 1 472 ['Trace'] 0.002 Aggregating
6947 0.004 563.04 KiB 0.002 1 64 ['Debug'] 0 Read {} rows, {} in {} sec., {} rows/sec., {}/sec.
6639 0.004 329.47 KiB 0.001 1 163 ['Test'] 1 Nothing to clean up from store/ on disk {}
6053 0.003 714.89 KiB 0.002 198 240 ['Trace'] 0.507 Renaming temporary part {} to {} with tid {}.
6029 0.003 516.64 KiB 0.002 198 240 ['Test'] 0.509 preparePartForCommit: inserting {} into data_parts_indexes
5821 0.003 1.14 MiB 0.004 13 29 ['Trace'] 0 ZooKeeperWithFaultInjection call SUCCEEDED: seed={} func={} path={}
5806 0.003 913.59 KiB 0.003 1 63 ['Test'] 0.167 Trying to lock removal_tid by {}, table: {}, part: {}
5628 0.003 170.14 KiB 0.001 27 379 ['Trace'] 0 Found (RIGHT) boundary mark: {}
5628 0.003 158.21 KiB 0.001 27 379 ['Trace'] 0 Found {} range in {} steps
5628 0.003 164.53 KiB 0.001 27 379 ['Trace'] 0 Found (LEFT) boundary mark: {}
5628 0.003 381.15 KiB 0.001 27 379 ['Trace'] 0 Running binary search on index range for part {} ({} marks)
5604 0.003 388.74 KiB 0.001 196 430 ['Trace'] 0.635 Trying to reserve {} using storage policy from min volume index {}
5546 0.003 453.48 KiB 0.001 1 404 ['Trace'] 0 An entry for key={} found in cache: sum_of_sizes={}, median_size={}
5378 0.003 255.44 KiB 0.001 1 236 ['Trace'] 0.461 filled checksums {}
5085 0.003 333.31 KiB 0.001 2 315 ['Trace'] 0.592 Reserved {} on remote disk {}, having unreserved {}.
4949 0.003 335.47 KiB 0.001 1 583 ['Test'] 0.003 Removing file segment: {}, downloader: {}, state: {}
4949 0.003 141.00 KiB 0 1 583 ['Test'] 0.003 New segment: {}
4949 0.003 157.10 KiB 0.001 1 583 ['Test'] 0.003 Completed segment: {}
4033 0.002 1.74 MiB 0.006 1 197 ['Trace'] 0.99 Objects with paths [{}] were removed from S3
4000 0.002 378.48 KiB 0.001 1 47 ['Debug'] 0 Reading {} marks from part {}, total {} rows starting from the beginning of the part
3970 0.002 325.44 KiB 0.001 35 55 ['Test'] 0.997 removePartsFinally: removing {} from data_parts_indexes
3591 0.002 533.04 KiB 0.002 1 39 ['Test'] 0.08 Caching file `{}` to `{}` with key {}
3576 0.002 78.18 KiB 0 125 130 ['Trace'] 1 Execution took {} ms.
3218 0.002 271.26 KiB 0.001 1 76 ['Trace'] 0.001 Reading {} ranges in order from part {}, approx. {} rows starting from {}
3171 0.002 356.12 KiB 0.001 4 79 ['Debug'] 0.997 {} Authenticated with global context as user {}
3171 0.002 258.30 KiB 0.001 4 79 ['Debug'] 0.997 {} Authenticating user \'{}\' from {}
3156 0.002 345.19 KiB 0.001 3 69 ['Debug'] 1 {} Creating session context with user_id: {}
3005 0.002 136.55 KiB 0 1 41 ['Test'] 0.113 Resize cell {} to downloaded: {}
2907 0.002 151.68 KiB 0 12 26 ['Test'] 1 Adding part {} to current and virtual parts
2884 0.002 64.78 KiB 0 1 417 ['Trace'] 0.01 Merging aggregated data
2847 0.002 3.32 MiB 0.011 1 58 ['Test'] 0.022 Original PREWHERE DAG:\n{}\nPREWHERE actions:\n{}
2847 0.002 355.99 KiB 0.001 1 58 ['Trace'] 0.022 PREWHERE condition was split into {} steps: {}
2814 0.001 429.81 KiB 0.001 21 56 ['Trace'] 0.42 Set zookeeper persistent lock {}
2482 0.001 218.23 KiB 0.001 21 58 ['Test'] 0.936 Removing part {} from mutations (remove_part: {}, remove_covered_parts: {})
2389 0.001 78.04 KiB 0 1 69 ['Trace'] 1 TCP Request. Address: {}
2389 0.001 218.18 KiB 0.001 1 69 ['Debug'] 1 Connected {} version {}.{}.{}, revision: {}{}{}.
2373 0.001 62.57 KiB 0 1 69 ['Debug'] 1 Done processing connection.
2346 0.001 137.46 KiB 0 1 69 ['Test'] 1 Closing connection (open: {}, cancelled: {}, eof: {})
2200 0.001 196.90 KiB 0.001 21 134 ['Trace'] 0.996 Insert entry {} to queue with type {}
2182 0.001 79.20 KiB 0 21 132 ['Test'] 0.997 Adding part {} to mutations
2174 0.001 124.57 KiB 0 11 27 ['Trace'] 1 Flushing system log, {} entries to flush up to offset {}
2174 0.001 77.07 KiB 0 11 27 ['Trace'] 1 Flushed system log up to offset {}
2165 0.001 93.26 KiB 0 21 32 ['Test'] 0.927 Adding parts [{}] to current parts
2165 0.001 225.42 KiB 0.001 21 32 ['Test'] 0.927 Removing {} entry {} from queue with type {}
2141 0.001 263.71 KiB 0.001 1 3 ['Trace'] 1 MemoryTracking: was {}, peak {}, free memory in arenas {}, will set to {} (RSS), difference: {}
2070 0.001 178.17 KiB 0.001 21 108 ['Trace'] 1 Part {} local references is zero, will check blobs can be removed in zookeeper
2068 0.001 344.73 KiB 0.001 21 108 ['Trace'] 1 Remove zookeeper lock {} for part {}
1721 0.001 190.58 KiB 0.001 1 55 ['Trace'] 0 No entry found for query {}
1678 0.001 62.41 KiB 0 148 89 ['Debug'] 0.007 Key condition: {}
1674 0.001 120.12 KiB 0 1 238 ['Trace'] 0.789 Reserved {} on local disk {}, having unreserved {}.
1668 0.001 195.90 KiB 0.001 146 88 ['Debug'] 0.007 Selected {}/{} parts by partition key, {} parts by primary key, {}/{} marks by primary key, {} marks to read from {} ranges
1509 0.001 305.97 KiB 0.001 16 75 ['Trace'] 1 Removed last parent zookeeper lock {} for part {} (part is finally unlocked)
1501 0.001 276.02 KiB 0.001 17 76 ['Trace'] 1 No more children left for for {}, will try to remove the whole node
1501 0.001 333.65 KiB 0.001 16 75 ['Trace'] 1 Removed last parent zookeeper lock {} for part {} with id {}
1478 0.001 76.50 KiB 0 128 85 ['Trace'] 0.008 Spreading mark ranges among streams (default reading)
1399 0.001 100.90 KiB 0 14 30 ['Debug'] 0 Wrote block with ID \'{}\', {} rows{}
1391 0.001 270.55 KiB 0.001 1 282 ['Test'] 0.003 ReadResult::optimize() after colapseZeroTails {}
Top messages without format string (fmt::runtime):
count pattern runtime_message line
UInt64 String String Tuple(String, UInt64)
46 autoDBStorageReplicatedMergeTree auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(DB::StorageReplicatedMergeTree::LogEntryPtr &) const: Code: 999. Coordination::Exception: Connection loss. (KEEPER_EXCEPTION), ('/Exception.cpp',193)
45 Exceptionduringephemeralnodescle Exception during ephemeral nodes clean up: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm-project/li ('/Exception.cpp',193)
44 voidDBStorageReplicatedMergeTree void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 999. Coordination::Exception: Connection loss. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm-project/libcxx/inc ('/Exception.cpp',193)
31 virtualboolDBReplicatedMergeMuta virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 999. Coordination::Exception: Connection loss, path: /clickhouse. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib ('/Exception.cpp',193)
15 voidDBReplicatedMergeTreeCleanup void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Connection loss. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm-project/libcxx/include/exc ('/Exception.cpp',193)
15 Cannotremovetestreplacepartition Cannot remove /test/02271_replace_partition_many/test_7/dest2/replicas/1/is_active: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ('/Exception.cpp',193)
14 Cannotremovetestdbtestreplicassr Cannot remove /test/db/test_2/replicas/s1|r1/active: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm- ('/Exception.cpp',193)
7 CodeCoordinationExceptionConnect Code: 999. Coordination::Exception: Connection loss, path: /test/01307_multiple_leaders_zookeeper_test_9/table/replicas/r1/queue/queue-0000000426. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_dock ('/Exception.cpp',193)
5 Cannotremovetestmultipleleadersz Cannot remove /test/01307_multiple_leaders_zookeeper_test_9/table/replicas/r1/is_active: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below) ('/Exception.cpp',193)
4 createsnapshotidxlogterm create snapshot idx 30000 log_term 3 ('/LoggerWrapper.h',42)
4 creatingasnapshotforindex creating a snapshot for index 30000 ('/LoggerWrapper.h',42)
4 snapshotidxlogtermcreatedcompact snapshot idx 30000 log_term 3 created, compact the log store if needed ('/LoggerWrapper.h',42)
4 createsnapshotidxlogtermdoneusel create snapshot idx 30000 log_term 3 done: 28849 us elapsed ('/LoggerWrapper.h',42)
3 Cannotremoveclickhousetablesinac Cannot remove /clickhouse/tables/01396_inactive_replica_cleanup_nodes_zookeeper_test_7/s1/replicas/1r1/is_active: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always ('/Exception.cpp',193)
2 CodeDBErrnoExceptionCannotrename Code: 521. DB::ErrnoException: Cannot rename /var/lib/clickhouse/metadata/test.sql.tmp to /var/lib/clickhouse/metadata/test.sql because the second path already exists, errno: 17, strerror: File exists. (ATOMIC_RENAME_FAIL) (version 23.3.19.34.altinitystabl ('/executeQuery.cpp',205)
2 Cannotremoveclickhousetablesalte Cannot remove /clickhouse/tables/01213_alter_rename_column_zookeeper_long_test_1/table_for_rename_replicated/replicas/1/is_active: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying thi ('/Exception.cpp',193)
2 CodeDBExceptionSyntaxerrorfailed Code: 62. DB::Exception: Syntax error: failed at position 46 (\'numbers\'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, SETT ('/executeQuery.cpp',205)
2 CodeDBErrnoExceptionCannotrmdirv Code: 566. DB::ErrnoException: Cannot rmdir /var/lib/clickhouse/disks/s3_disk/store/5c8/5c84b1d1-77ab-4c5f-91d0-c8d781271ed8/tmp_insert_201403_1_1_0/, errno: 39, strerror: Directory not empty. (CANNOT_RMDIR), Stack trace (when copying this message, always ('/Exception.cpp',193)
2 CodeDBExceptionEmptyquerySYNTAXE Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54990) (in query: ), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/ll ('/executeQuery.cpp',205)
2 CodeDBExceptionReceivedfromDBExc Code: 241. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Memory tracker (for query): fault injected. Would use 174.99 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. Stack trace:\n\n0. ./buil ('/executeQuery.cpp',205)
1 PocoExceptionCodeecodeIOerrorBro Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, i ('/Exception.cpp',193)
1 Cannotremovetestdbtestlogqueryac Cannot remove /test/db/test_11/log/query-0000000082/active/s1|r1: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./ ('/Exception.cpp',193)
1 CodeCoordinationExceptionOperati Code: 999. Coordination::Exception: Operation timeout (no response) for request Exists for path: /clickhouse/tables/01396_inactive_replica_cleanup_nodes_zookeeper_test_7/s1/replicas/1r1/parts/all_143_143_0 (Operation timeout). (KEEPER_EXCEPTION), Stack tra ('/Exception.cpp',193)
1 PocoExceptionCodeecodeConnection Poco::Exception. Code: 1000, e.code() = 104, Connection reset by peer, Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::IOException::IOException(int) @ 0x ('/Exception.cpp',193)
1 CodeDBExceptionstdruntimeerrorra Code: 1001. DB::Exception: std::runtime_error: ran out of bytes. (STD_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: std::runtime_error::runtime_e ('/TCPHandler.cpp',606)
1 stdexceptionCodetypestdruntimeer std::exception. Code: 1001, type: std::runtime_error, e.what() = ran out of bytes (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44630) (comment: 02688_aggregate_states.sql) (in query: SELECT \'\\x01\\x01\\x01\'::AggregateFunction(groupBitmap, ('/executeQuery.cpp',205)
1 Cannotremovetestdbtestlogquerytr Cannot remove /test/db/test_11/log/query-0000000082/try: Code: 999. Coordination::Exception: Session expired, path: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/l ('/Exception.cpp',193)
1 CodeCoordinationExceptionSession Code: 999. Coordination::Exception: Session expired, path: Session expired (fault injected on recv). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below):\n\n0. ./build_docker/./contrib/llvm-project/libcxx/include/excep ('/Exception.cpp',193)
Top messages that does not match its format string:
message_format_string count() any_message
LowCardinality(String) UInt64 String
{} is in use (by merge/mutation/INSERT) (consider increasing temporary_directories_lifetime setting) 153 /var/lib/clickhouse/disks/s3_disk/store/dc4/dc46f69c-bb96-4148-965e-0d423ca77542/tmp_merge_201403_17_24_1/ is in use (by
Not executing log entry {} for part {} because it is not disjoint with part {} that is currently executing. 74 Not executing log entry queue-0000000018 for part -3_0_0_0_18 because it is not disjoint with part -3_0_0_0_11 that is c
21 virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Poco::Exception. Code: 1000, e.code() = 104, Connection r
Failed communicating with {} with error \'{}\' will try to reconnect session 3 Failed communicating with 05cd7ce2910a with error \'Received error from remote server /?endpoint=DataPartsExchange%3A%2Fc
Top short messages:
c message_format_string substring(any(message), 1, 120)
UInt64 LowCardinality(String) String
60165 Write file: {} Write file: store/a82/a8292532-6c96-489b-aad7-aab82b1d0640/tmp_insert_201403_1_1_0/partition.dat
1104 Table {} doesn\'t exist Code: 60. DB::Exception: Table test_11.table_for_freeze_replicated doesn\'t exist. (UNKNOWN_TABLE) (version 23.3.19.34.al
12 File {} doesn\'t exist Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn\'t exist. (FILE_DOESNT_EXIST) (version 2
10 Terminating Terminating
2 Cannot ALTER column Code: 524. DB::Exception: Cannot ALTER column: Cannot apply mutation because it breaks projection p1. (ALTER_OF_COLUMN_I
2 Decimal math overflow Code: 407. DB::Exception: Decimal math overflow: While processing toDateTime64(9300000000, 9, \'UTC\'). (DECIMAL_OVERFLOW)
2 No additional keys found. Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)
1 Attempt to read after EOF. auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::o
Top messages by level:
(0.0005845302790920296,'Table {} doesn\'t exist') Error
(0.00001323664581277241,'ZooKeeper session has expired. Switching to a new session.') Warning
(0.0006755984022839038,'dropAllData: removing table directory recursive to cleanup garbage') Information
(0.006705155302917992,'Peak memory usage{}: {}.') Debug
(0.03181613134141228,'Single part upload has completed. Bucket: {}, Key: {}, Object size: {}, WithPool: {}') Trace
(0.07694726943880857,'read() returned {}, sample block {}') Test
2024-03-13 02:14:48,931 Stress test finished
+ echo -e 'Test script exit code\tOK\t\N\t'
+ rg -Fa 'No queries hung' /test_output/test_results.tsv
+ grep -Fa OK
No queries hung OK \N
+ stop
+ local max_tries=90
+ local check_hang=true
+ local pid
++ cat /var/run/clickhouse-server/clickhouse-server.pid
+ pid=1811
+ clickhouse stop --max-tries 90 --do-not-kill
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Sent terminate signal to process with pid 1811.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 1811.
The process with pid = 1811 does not exist.
Server stopped
+ return
+ mv /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.stress.log
+ unset THREAD_FUZZER_CPU_TIME_PERIOD_US THREAD_FUZZER_EXPLICIT_MEMORY_EXCEPTION_PROBABILITY THREAD_FUZZER_EXPLICIT_SLEEP_PROBABILITY THREAD_FUZZER_SLEEP_PROBABILITY THREAD_FUZZER_SLEEP_TIME_US 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
+ counter=3
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 3 -gt 120 ']'
+ clickhouse start --user root
+ sleep 0.5
127.0.0.1 - - [12/Mar/2024:23:14:59 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 409 -
127.0.0.1 - - [12/Mar/2024:23:14:59 +0000] "PUT /devstoreaccount1/cont/ertmaynbdvukhmanlphdmyngzmpbbsus?blockid=bczcfnhhdtgxkjxnuyaoeafgwxfmpozeszprpkblanlzkbdqggjnwvpyhtxxfkms&comp=block HTTP/1.1" 201 -
127.0.0.1 - - [12/Mar/2024:23:14:59 +0000] "PUT /devstoreaccount1/cont/ertmaynbdvukhmanlphdmyngzmpbbsus?comp=blocklist HTTP/1.1" 201 -
127.0.0.1 - - [12/Mar/2024:23:14:59 +0000] "GET /devstoreaccount1/cont/ertmaynbdvukhmanlphdmyngzmpbbsus HTTP/1.1" 206 4
127.0.0.1 - - [12/Mar/2024:23:14:59 +0000] "GET /devstoreaccount1/cont/ertmaynbdvukhmanlphdmyngzmpbbsus HTTP/1.1" 206 2
127.0.0.1 - - [12/Mar/2024:23:14:59 +0000] "DELETE /devstoreaccount1/cont/ertmaynbdvukhmanlphdmyngzmpbbsus HTTP/1.1" 202 -
+ 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'
1
++ 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 18535
+ clickhouse-client --query 'SELECT '\''Connected to clickhouse-server after attaching gdb'\'''
Connected to clickhouse-server after attaching gdb
real 0m0.554s
user 0m0.119s
sys 0m0.062s
+ 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=18535
+ 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 = 18535.
The process with pid = 18535 is running.
Sent terminate signal to process with pid 18535.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 18535.
The process with pid = 18535 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 18535.
The process with pid = 18535 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 18535.
The process with pid = 18535 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 18535.
The process with pid = 18535 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 18535.
The process with pid = 18535 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 18535.
The process with pid = 18535 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 18535.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 is running.
Waiting for server to stop
Found pid = 18535 in the list of running processes.
The process with pid = 18535 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 [ 499 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n [ 18535 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n [ 499 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n [ 971 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n [ 1811 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n [ 18535 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n [ 971 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n [ 1811 ] {} KeeperServer: Can\'\''t start NON-SECURE keeper server in FIPS mode, please check the config.\\n'
+ '[' -s /test_output/fatal_messages.txt ']'
+ rg -Fa '########################################' /test_output/fatal_messages.txt /test_output/gdb.log /test_output/stress_run_logs.tar.zst /test_output/test_results.tsv
+ rg -Fa ' received signal ' /test_output/gdb.log
+ dmesg -T
+ grep -q -F -e 'Out of memory: Killed process' -e 'oom_reaper: reaped process' -e oom-kill:constraint=CONSTRAINT_NONE /test_output/dmesg.log
+ echo -e 'No OOM in dmesg\tOK\t\N\t'
+ tar -chf /test_output/coordination.tar /var/lib/clickhouse/coordination
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
+ collect_query_and_trace_logs
+ for table in query_log trace_log
+ clickhouse-local --path /var/lib/clickhouse/ --only-system-tables -q 'select * from system.query_log format TSVWithNamesAndTypes'
+ zstd --threads=0
+ for table in query_log trace_log
+ clickhouse-local --path /var/lib/clickhouse/ --only-system-tables -q 'select * from system.trace_log format TSVWithNamesAndTypes'
+ zstd --threads=0
+ mv /var/log/clickhouse-server/stderr.log /test_output/
+ clickhouse-local --structure 'test String, res String, time Nullable(Float32), desc String' -q 'SELECT '\''failure'\'', test FROM table WHERE res != '\''OK'\'' order by
(test like '\''%Sanitizer%'\'') DESC,
(test like '\''%Killed by signal%'\'') DESC,
(test like '\''%gdb.log%'\'') DESC,
(test ilike '\''%possible deadlock%'\'') DESC,
(test like '\''%start%'\'') DESC,
(test like '\''%dmesg%'\'') DESC,
(test like '\''%OOM%'\'') DESC,
(test like '\''%Signal 9%'\'') DESC,
(test like '\''%Fatal message%'\'') DESC,
rowNumberInAllBlocks()
LIMIT 1'
+ '[' -s /test_output/check_status.tsv ']'
+ collect_core_dumps
+ find . -type f -maxdepth 1 -name 'core.*'
+ read core