++ rg -v '#' /usr/share/zoneinfo/zone.tab
++ awk '{print $3}'
++ shuf
++ head -n1
+ TZ=Pacific/Guadalcanal
Choosen random timezone Pacific/Guadalcanal
+ echo 'Choosen random timezone Pacific/Guadalcanal'
+ ln -snf /usr/share/zoneinfo/Pacific/Guadalcanal /etc/localtime
+ echo Pacific/Guadalcanal
+ dpkg -i package_folder/clickhouse-common-static_24.8.14.10549.altinitytest+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static.
(Reading database ... 48429 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static_24.8.14.10549.altinitytest+asan_amd64.deb ...
Unpacking clickhouse-common-static (24.8.14.10549.altinitytest+asan) ...
Setting up clickhouse-common-static (24.8.14.10549.altinitytest+asan) ...
+ dpkg -i package_folder/clickhouse-common-static-dbg_24.8.14.10549.altinitytest+asan_amd64.deb
Selecting previously unselected package clickhouse-common-static-dbg.
(Reading database ... 48456 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static-dbg_24.8.14.10549.altinitytest+asan_amd64.deb ...
Unpacking clickhouse-common-static-dbg (24.8.14.10549.altinitytest+asan) ...
Setting up clickhouse-common-static-dbg (24.8.14.10549.altinitytest+asan) ...
+ dpkg -i package_folder/clickhouse-server_24.8.14.10549.altinitytest+asan_amd64.deb
Selecting previously unselected package clickhouse-server.
(Reading database ... 48463 files and directories currently installed.)
Preparing to unpack .../clickhouse-server_24.8.14.10549.altinitytest+asan_amd64.deb ...
Unpacking clickhouse-server (24.8.14.10549.altinitytest+asan) ...
Setting up clickhouse-server (24.8.14.10549.altinitytest+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.
Creating symlink /usr/bin/clickhouse-obfuscator to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-git-import to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-compressor to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-format to /usr/bin/clickhouse.
Symlink /usr/bin/clickhouse-extract-from-config already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-extract-from-config to /usr/bin/clickhouse.
Symlink /usr/bin/clickhouse-keeper already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-keeper to /usr/bin/clickhouse.
Symlink /usr/bin/clickhouse-keeper-converter already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-keeper-converter to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-disks to /usr/bin/clickhouse.
Creating symlink /usr/bin/ch to /usr/bin/clickhouse.
Creating symlink /usr/bin/chl to /usr/bin/clickhouse.
Creating symlink /usr/bin/chc to /usr/bin/clickhouse.
Creating clickhouse group if it does not exist.
groupadd -r clickhouse
Creating clickhouse user if it does not exist.
useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse clickhouse
Will set ulimits for clickhouse user in /etc/security/limits.d/clickhouse.conf.
Creating config directory /etc/clickhouse-server/config.d that is used for tweaks of main server configuration.
Creating config directory /etc/clickhouse-server/users.d that is used for tweaks of users configuration.
Config file /etc/clickhouse-server/config.xml already exists, will keep it and extract path info from it.
/etc/clickhouse-server/config.xml has /var/lib/clickhouse/ as data path.
/etc/clickhouse-server/config.xml has /var/log/clickhouse-server/ as log path.
Users config file /etc/clickhouse-server/users.xml already exists, will keep it and extract users info from it.
Log directory /var/log/clickhouse-server/ already exists.
Creating data directory /var/lib/clickhouse/.
Creating pid directory /var/run/clickhouse-server.
chown -R clickhouse:clickhouse '/var/log/clickhouse-server/'
chown -R clickhouse:clickhouse '/var/run/clickhouse-server'
chown clickhouse:clickhouse '/var/lib/clickhouse/'
Password for the default user is an empty string. See /etc/clickhouse-server/users.xml and /etc/clickhouse-server/users.d to change it.
Setting capabilities for clickhouse binary. This is optional.
chown -R clickhouse:clickhouse '/etc/clickhouse-server'
ClickHouse has been successfully installed.
Start clickhouse-server with:
sudo clickhouse start
Start clickhouse-client with:
clickhouse-client
+ dpkg -i package_folder/clickhouse-client_24.8.14.10549.altinitytest+asan_amd64.deb
Selecting previously unselected package clickhouse-client.
(Reading database ... 48480 files and directories currently installed.)
Preparing to unpack .../clickhouse-client_24.8.14.10549.altinitytest+asan_amd64.deb ...
Unpacking clickhouse-client (24.8.14.10549.altinitytest+asan) ...
Setting up clickhouse-client (24.8.14.10549.altinitytest+asan) ...
+ ln -s /usr/share/clickhouse-test/clickhouse-test /usr/bin/clickhouse-test
+ source /utils.lib
++ sysctl kernel.core_pattern=core.%e.%p-%P
kernel.core_pattern = core.%e.%p-%P
++ sysctl fs.suid_dumpable=1
fs.suid_dumpable = 1
+ /usr/share/clickhouse-test/config/install.sh
+ DEST_SERVER_PATH=/etc/clickhouse-server
+ DEST_CLIENT_PATH=/etc/clickhouse-client
+++ dirname /usr/share/clickhouse-test/config/install.sh
++ cd /usr/share/clickhouse-test/config
++ pwd -P
+ SRC_PATH=/usr/share/clickhouse-test/config
+ echo 'Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server'
+ mkdir -p /etc/clickhouse-server/config.d/
Going to install test configs from /usr/share/clickhouse-test/config into /etc/clickhouse-server
+ mkdir -p /etc/clickhouse-server/users.d/
+ mkdir -p /etc/clickhouse-client
+ ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_write.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/max_num_to_warn.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/listen.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/text_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/blob_storage_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/custom_settings_prefixes.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/database_catalog_drop_table_concurrency.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/enable_access_control_improvements.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/macros.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/secure_ports.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/clusters.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/graphite.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/graphite_alternative.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/grpc_protocol.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/database_atomic.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/max_concurrent_queries.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree_settings.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/backoff_failed_mutation.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree_old_dirs_cleanup.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/test_cluster_with_incorrect_pw.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/keeper_port.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/logging_no_rotate.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/merge_tree.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/lost_forever_check.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/tcp_with_proxy.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/prometheus.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/top_level_domains_lists.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/top_level_domains_path.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/transactions.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/encryption.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/CORS.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/logger_trace.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/named_collection.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/ssl_certs.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/filesystem_cache_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/session_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/system_unfreeze.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/enable_zero_copy_replication.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/nlp.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/forbidden_headers.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/enable_keeper_map.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/custom_disks_base_path.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/display_name.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/compressed_marks_and_index.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/disable_s3_env_credentials.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/enable_wait_for_shutdown_replicated_tables.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/backups.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/filesystem_caches_path.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/validate_tcp_client_information.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/zero_copy_destructive_operations.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/block_number.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/handlers.yaml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/serverwide_trace_collector.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/rocksdb.xml /etc/clickhouse-server/config.d/
+ '[' /etc/clickhouse-server = /etc/clickhouse-server ']'
+ ln -sf /usr/share/clickhouse-test/config/config.d/legacy_geobase.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/log_queries.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/readonly.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/access_management.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/database_atomic_drop_detach_sync.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/opentelemetry.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/remote_queries.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/session_log_test.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/memory_profiler.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/no_fsync_metadata.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/filelog.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/enable_blobs_check.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/marks.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/insert_keeper_retries.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/prefetch_settings.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/nonconst_timezone.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/allow_introspection_functions.yaml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/replicated_ddl_entry.xml /etc/clickhouse-server/users.d/
+ [[ -n '' ]]
+ ln -sf /usr/share/clickhouse-test/config/users.d/timeouts.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/ints_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/strings_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/decimals_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/executable_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/executable_pool_dictionary.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/test_function.xml /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/top_level_domains /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/regions_hierarchy.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/regions_names_en.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/ext-en.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/ext-ru.txt /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/lem-en.bin /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/server.key /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/server.crt /etc/clickhouse-server/
+ ln -sf /usr/share/clickhouse-test/config/dhparam.pem /etc/clickhouse-server/
+ ln -sf --backup=simple --suffix=_original.xml /usr/share/clickhouse-test/config/config.d/query_masking_rules.xml /etc/clickhouse-server/config.d/
+ [[ -n '' ]]
+ rm -f /etc/clickhouse-server/config.d/zookeeper_fault_injection.xml
+ ln -sf /usr/share/clickhouse-test/config/config.d/zookeeper.xml /etc/clickhouse-server/config.d/
+ [[ -n '' ]]
+ rm -f /etc/clickhouse-server/config.d/cannot_allocate_thread_injection.xml
+ value=1
+ sed --follow-symlinks -i 's|[01]|1|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=50708480
+ sed --follow-symlinks -i 's|[[:digit:]]\+|50708480|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=46491648
+ sed --follow-symlinks -i 's|[[:digit:]]\+|46491648|' /etc/clickhouse-server/config.d/keeper_port.xml
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ '' == \1 ]]
+ [[ '' == \1 ]]
+ [[ -n 1 ]]
+ ln -sf /usr/share/clickhouse-test/config/config.d/azure_storage_conf.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02944.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02963.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/config.d/storage_conf_02961.xml /etc/clickhouse-server/config.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/s3_cache.xml /etc/clickhouse-server/users.d/
+ ln -sf /usr/share/clickhouse-test/config/users.d/s3_cache_new.xml /etc/clickhouse-server/users.d/
+ [[ -n '' ]]
+ ln -sf /usr/share/clickhouse-test/config/client_config.xml /etc/clickhouse-client/config.xml
+ ./setup_minio.sh stateful
+ 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 stateful
+ local query_dir
++ check_arg stateful
++ local query_dir
++ '[' '!' 1 -eq 1 ']'
++ case "$1" in
++ query_dir=1_stateful
++ echo 1_stateful
+ query_dir=1_stateful
+ '[' '!' -f ./minio ']'
+ start_minio
+ mkdir -p ./minio_data
+ ./minio --version
minio version RELEASE.2024-08-03T04-33-23Z (commit-id=6efb56851c40da88d1ca15112e2d686a4ecec6b3)
Runtime: go1.22.5 linux/amd64
License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
Copyright: 2015-2024 MinIO, Inc.
+ wait_for_it
+ local counter=0
+ local max_counter=60
+ ./minio server --address :11111 ./minio_data
+ local url=http://localhost:11111
+ params=('--silent' '--verbose')
+ local params
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
trying to connect to minio
+ [[ 0 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
INFO: Formatting 1st pool, 1 set(s), 1 drives per set.
INFO: WARNING: Host local has more than 0 drives of set. A host failure will result in data becoming unavailable.
MinIO Object Storage Server
Copyright: 2015-2026 MinIO, Inc.
License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
Version: RELEASE.2024-08-03T04-33-23Z (go1.22.5 linux/amd64)
API: http://172.17.0.2:11111 http://127.0.0.1:11111
WebUI: http://172.17.0.2:46501 http://127.0.0.1:46501
Docs: https://min.io/docs/minio/linux/index.html
Azurite Blob service is starting on 0.0.0.0:10000
Azurite Blob service successfully listens on http://0.0.0.0:10000
+ counter=1
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
AccessDeniedAccess Denied./18E30913E20AB9047dc7eb22d3288ec80374614e9088e31d3668a6922ead55932dd2a8e56373820f
+ lsof -i :11111
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
minio 229 root 8u IPv6 35091 0t0 TCP *:11111 (LISTEN)
minio 229 root 9u IPv4 35090 0t0 TCP localhost:11111 (LISTEN)
minio 229 root 10u IPv6 35092 0t0 TCP localhost:11111 (LISTEN)
+ sleep 5
+ setup_minio stateful
+ local test_type=stateful
+ ./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 attach clickminio readwrite --user=test
Attached Policies: [readwrite]
To User: test
+ ./mc mb --ignore-existing clickminio/test
Bucket created successfully `clickminio/test`.
+ '[' stateful = stateless ']'
+ upload_data 1_stateful /usr/share/clickhouse-test
+ local query_dir=1_stateful
+ local test_path=/usr/share/clickhouse-test
+ local data_path=/usr/share/clickhouse-test/queries/1_stateful/data_minio
+ '[' -d /usr/share/clickhouse-test/queries/1_stateful/data_minio ']'
+ setup_aws_credentials
+ local minio_root_user=clickhouse
+ local minio_root_password=clickhouse
+ mkdir -p /root/.aws
+ cat
+ MC_ADMIN_PID=318
+ ./mc admin trace clickminio
+ config_logs_export_cluster /etc/clickhouse-server/config.d/system_logs_export.yaml
+ set +x
File /tmp/export-logs-config.sh does not exist, do not setup
+ cache_policy=
+ '[' 1 -eq 1 ']'
+ cache_policy=SLRU
Using cache policy: SLRU
+ echo 'Using cache policy: SLRU'
+ '[' SLRU = SLRU ']'
+ sudo cat /etc/clickhouse-server/config.d/storage_conf.xml
+ sed 's|LRU|SLRU|'
+ mv /etc/clickhouse-server/config.d/storage_conf.xml.tmp /etc/clickhouse-server/config.d/storage_conf.xml
+ [[ -n '' ]]
+ start
+ [[ -n '' ]]
+ counter=0
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 0 -gt 120 ']'
+ timeout 120 sudo -E -u clickhouse /usr/bin/clickhouse-server --config /etc/clickhouse-server/config.xml --daemon --pid-file /var/run/clickhouse-server/clickhouse-server.pid
+ sleep 0.5
+ counter=1
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 1 -gt 120 ']'
+ timeout 120 sudo -E -u clickhouse /usr/bin/clickhouse-server --config /etc/clickhouse-server/config.xml --daemon --pid-file /var/run/clickhouse-server/clickhouse-server.pid
+ sleep 0.5
+ counter=2
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 2 -gt 120 ']'
+ timeout 120 sudo -E -u clickhouse /usr/bin/clickhouse-server --config /etc/clickhouse-server/config.xml --daemon --pid-file /var/run/clickhouse-server/clickhouse-server.pid
+ sleep 0.5
127.0.0.1 - - [29/Oct/2026:15:17:45 +0000] "GET /devstoreaccount1/cont?restype=container HTTP/1.1" 404 -
127.0.0.1 - - [29/Oct/2026:15:17:45 +0000] "PUT /devstoreaccount1/cont?restype=container HTTP/1.1" 201 -
127.0.0.1 - - [29/Oct/2026:15:17:45 +0000] "PUT /devstoreaccount1/cont/qtnkildeluvhwxlpohwzmuvdretdmgoo HTTP/1.1" 201 -
127.0.0.1 - - [29/Oct/2026:15:17:45 +0000] "GET /devstoreaccount1/cont/qtnkildeluvhwxlpohwzmuvdretdmgoo HTTP/1.1" 206 4
127.0.0.1 - - [29/Oct/2026:15:17:45 +0000] "GET /devstoreaccount1/cont/qtnkildeluvhwxlpohwzmuvdretdmgoo HTTP/1.1" 206 2
127.0.0.1 - - [29/Oct/2026:15:17:45 +0000] "DELETE /devstoreaccount1/cont/qtnkildeluvhwxlpohwzmuvdretdmgoo HTTP/1.1" 202 -
+ counter=3
+ clickhouse-client --query 'SELECT 1'
1
+ setup_logs_replication
+ set +x
File /tmp/export-logs-config.sh does not exist, do not setup
+ clickhouse-client --query 'SHOW DATABASES'
INFORMATION_SCHEMA
default
information_schema
system
+ clickhouse-client --query 'CREATE DATABASE datasets'
+ clickhouse-client --multiquery
+ clickhouse-client --query 'SHOW TABLES FROM datasets'
hits_v1
visits_v1
+ [[ -n '' ]]
+ clickhouse-client --query 'CREATE DATABASE test'
+ clickhouse-client --query 'SHOW TABLES FROM test'
+ [[ -n '' ]]
+ clickhouse-client --query 'RENAME TABLE datasets.hits_v1 TO test.hits'
+ clickhouse-client --query 'RENAME TABLE datasets.visits_v1 TO test.visits'
+ 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 'INSERT INTO test.hits_s3 SELECT * FROM test.hits SETTINGS enable_filesystem_cache_on_write_operations=0, max_insert_threads=16'
+ clickhouse-client --query 'SHOW TABLES FROM test'
hits
hits_s3
visits
+ clickhouse-client --query 'SELECT count() FROM test.hits'
8873898
+ clickhouse-client --query 'SELECT count() FROM test.visits'
1676861
+ export -f run_tests
+ run_tests
+ set -x
+ read -ra ADDITIONAL_OPTIONS
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ set +e
+ TEST_ARGS=(-j 2 --testname --shard --zookeeper --check-zookeeper-session --no-stateless --hung-check --print-time --capture-client-stacktrace "${ADDITIONAL_OPTIONS[@]}" "$SKIP_TESTS_OPTION")
+ [[ -n '' ]]
+ clickhouse-test -j 2 --testname --shard --zookeeper --check-zookeeper-session --no-stateless --hung-check --print-time --capture-client-stacktrace --hung-check --print-time ''
+ ts '%Y-%m-%d %H:%M:%S'
+ tee test_output/test_result.txt
2026-10-30 02:19:06 Using queries from '/usr/share/clickhouse-test/queries' directory
2026-10-30 02:19:06 Connecting to ClickHouse server... OK
2026-10-30 02:19:06 Connected to server 24.8.14.10549.altinitytest @ 38117c6c28bbb37309863c5eb26a89f0a6bc5fd3 HEAD
2026-10-30 02:19:07 Won't run stateless tests because they were manually disabled.
2026-10-30 02:19:07 Found 131 parallel tests and 6 sequential tests
2026-10-30 02:19:08 Running about 65 stateful tests (Process-4).
2026-10-30 02:19:08 00141_transform: [ OK ] 1.14 sec.
2026-10-30 02:19:15 Running about 65 stateful tests (Process-3).
2026-10-30 02:19:15 00164_quantileBfloat16: [ OK ] 8.11 sec.
2026-10-30 02:19:18 00023_totals_limit: [ OK ] 3.38 sec.
2026-10-30 02:19:24 00182_simple_squashing_transform_bug: [ OK ] 5.39 sec.
2026-10-30 02:19:25 00044_any_left_join_string: [ OK ] 17.17 sec.
2026-10-30 02:19:31 00173_group_by_use_nulls: [ OK ] 6.19 sec.
2026-10-30 02:19:33 00093_prewhere_array_join: [ OK ] 9.35 sec.
2026-10-30 02:19:34 00066_sorting_distributed_many_replicas: [ OK ] 0.48 sec.
2026-10-30 02:19:35 00153_aggregate_arena_race: [ OK ] 3.89 sec.
2026-10-30 02:19:38 00009_uniq_distributed: [ OK ] 3.13 sec.
2026-10-30 02:19:38 00149_quantiles_timing_distributed: [ OK ] 4.89 sec.
2026-10-30 02:19:39 00004_top_counters: [ OK ] 0.72 sec.
2026-10-30 02:19:43 00080_array_join_and_union: [ OK ] 4.08 sec.
2026-10-30 02:19:46 00065_loyalty_with_storage_join: [ OK ] 3.03 sec.
2026-10-30 02:19:47 00035_aggregate_keys128: [ OK ] 0.77 sec.
2026-10-30 02:19:51 00147_global_in_aggregate_function: [ OK ] 4.39 sec.
2026-10-30 02:19:53 00030_array_enumerate_uniq: [ OK ] 1.68 sec.
2026-10-30 02:19:54 00048_min_max: [ OK ] 0.47 sec.
2026-10-30 02:20:06 00159_parallel_formatting_tsv_and_friends: [ OK ] 27.30 sec.
2026-10-30 02:20:06 00087_where_0: [ OK ] 0.57 sec.
2026-10-30 02:20:12 00020_distinct_order_by_distributed: [ OK ] 5.44 sec.
2026-10-30 02:20:13 00050_min_max: [ OK ] 1.23 sec.
2026-10-30 02:20:18 00063_loyalty_joins: [ OK ] 4.98 sec.
2026-10-30 02:20:30 00172_hits_joins: [ OK ] 36.19 sec.
2026-10-30 02:20:31 00031_array_enumerate_uniq: [ OK ] 1.14 sec.
2026-10-30 02:20:33 00090_thread_pool_deadlock: [ OK ] 14.52 sec.
2026-10-30 02:20:33 00014_filtering_arrays: [ OK ] 0.62 sec.
2026-10-30 02:20:34 00097_constexpr_in_index: [ OK ] 0.47 sec.
2026-10-30 02:20:36 00046_uniq_upto_distributed: [ OK ] 4.79 sec.
2026-10-30 02:20:37 00096_obfuscator_save_load: [ OK ] 3.18 sec.
2026-10-30 02:20:44 00146_aggregate_function_uniq: [ OK ] 7.44 sec.
2026-10-30 02:21:03 00167_parallel_parsing_with_names_and_types: [ OK ] 18.99 sec.
2026-10-30 02:21:05 00067_union_all: [ OK ] 1.58 sec.
2026-10-30 02:21:06 00015_totals_and_no_aggregate_functions: [ OK ] 0.52 sec.
2026-10-30 02:21:06 00059_merge_sorting_empty_array_joined: [ OK ] 0.52 sec.
2026-10-30 02:21:11 00159_parallel_formatting_csv_and_friends: [ OK ] 35.28 sec.
2026-10-30 02:21:16 00040_aggregating_materialized_view: [ OK ] 5.04 sec.
2026-10-30 02:21:19 00159_parallel_formatting_http: [ OK ] 12.51 sec.
2026-10-30 02:21:19 00143_transform_non_const_default: [ OK ] 0.77 sec.
2026-10-30 02:21:29 00077_log_tinylog_stripelog: [ OK ] 12.86 sec.
2026-10-30 02:21:31 00045_uniq_upto: [ OK ] 2.29 sec.
2026-10-30 02:21:46 00078_group_by_arrays: [ OK ] 14.17 sec.
2026-10-30 02:22:02 00159_parallel_formatting_json_and_friends_1: [ OK ] 42.91 sec.
2026-10-30 02:22:03 00073_uniq_array: [ OK ] 0.53 sec.
2026-10-30 02:22:04 00151_order_by_read_in_order: [ OK ] 0.68 sec.
2026-10-30 02:22:05 00154_avro: [ OK ] 1.50 sec.
2026-10-30 02:22:07 00062_loyalty: [ OK ] 1.58 sec.
2026-10-30 02:22:08 00010_quantiles_segfault: [ OK ] 0.73 sec.
2026-10-30 02:22:46 00167_read_bytes_from_fs: [ OK ] 38.63 sec.
2026-10-30 02:22:49 00150_quantiles_timing_precision: [ OK ] 2.48 sec.
2026-10-30 02:22:50 00175_counting_resources_in_subqueries: [ OK ] 0.82 sec.
2026-10-30 02:22:51 00159_parallel_formatting_json_and_friends_2: [ OK ] 65.16 sec.
2026-10-30 02:22:51 00052_group_by_in: [ OK ] 1.22 sec.
2026-10-30 02:22:51 00021_2_select_with_in: [ OK ] 0.58 sec.
2026-10-30 02:22:52 00008_uniq: [ OK ] 1.08 sec.
2026-10-30 02:22:53 00075_left_array_join: [ OK ] 1.48 sec.
2026-10-30 02:22:56 00038_uniq_state_merge2: [ OK ] 4.49 sec.
2026-10-30 02:22:57 00055_index_and_not: [ OK ] 0.58 sec.
2026-10-30 02:22:57 00176_bson_parallel_parsing: [ SKIPPED ] 0.00 sec.
2026-10-30 02:22:57 Reason: disabled
2026-10-30 02:22:57 00041_aggregating_materialized_view: [ OK ] 4.44 sec.
2026-10-30 02:22:58 00032_aggregate_key64: [ OK ] 0.62 sec.
2026-10-30 02:22:59 00013_sorting_of_nested: [ OK ] 1.23 sec.
2026-10-30 02:23:02 00156_max_execution_speed_sample_merge: [ OK ] 4.69 sec.
2026-10-30 02:23:10 00082_quantiles: [ OK ] 7.95 sec.
2026-10-30 02:23:11 00098_primary_key_memory_allocated: [ OK ] 0.43 sec.
2026-10-30 02:23:12 00139_like: [ OK ] 12.81 sec.
2026-10-30 02:23:16 00094_order_by_array_join_limit: [ OK ] 5.34 sec.
2026-10-30 02:23:17 00176_distinct_limit_by_limit_bug_43377: [ OK ] 0.57 sec.
2026-10-30 02:23:18 00076_system_columns_bytes: [ OK ] 0.73 sec.
2026-10-30 02:23:18 00068_subquery_in_prewhere: [ OK ] 0.82 sec.
2026-10-30 02:23:19 00162_mmap_compression_none: [ OK ] 7.04 sec.
2026-10-30 02:23:20 00034_aggregate_key_fixed_string: [ OK ] 1.07 sec.
2026-10-30 02:23:20 00142_system_columns: [ OK ] 0.43 sec.
2026-10-30 02:23:21 00181_cross_join_compression: [ OK ] 2.23 sec.
2026-10-30 02:23:21 00036_aggregate_hashed: [ OK ] 1.23 sec.
2026-10-30 02:23:24 00053_replicate_segfault: [ OK ] 2.98 sec.
2026-10-30 02:23:24 00060_move_to_prewhere_and_sets: [ OK ] 0.77 sec.
2026-10-30 02:23:25 00095_hyperscan_profiler: [ OK ] 4.08 sec.
2026-10-30 02:23:26 00056_view: [ OK ] 1.17 sec.
2026-10-30 02:23:26 00011_sorting: [ OK ] 0.57 sec.
2026-10-30 02:23:26 00039_primary_key: [ OK ] 0.47 sec.
2026-10-30 02:23:28 00145_aggregate_functions_statistics: [ OK ] 1.58 sec.
2026-10-30 02:23:29 00006_agregates: [ OK ] 0.72 sec.
2026-10-30 02:23:32 00175_obfuscator_schema_inference: [ OK ] 3.63 sec.
2026-10-30 02:23:33 00085_monotonic_evaluation_segfault: [ OK ] 1.23 sec.
2026-10-30 02:23:34 00172_early_constant_folding: [ OK ] 0.47 sec.
2026-10-30 02:23:34 00017_aggregation_uninitialized_memory: [ OK ] 0.42 sec.
2026-10-30 02:23:41 00091_prewhere_two_conditions: [ OK ] 6.29 sec.
2026-10-30 02:23:44 00086_array_reduce: [ OK ] 3.28 sec.
2026-10-30 02:23:45 00081_group_by_without_key_and_totals: [ OK ] 0.77 sec.
2026-10-30 02:23:46 00083_array_filter: [ OK ] 0.97 sec.
2026-10-30 02:23:46 00021_1_select_with_in: [ OK ] 0.47 sec.
2026-10-30 02:23:55 00161_parallel_parsing_with_names: [ OK ] 9.00 sec.
2026-10-30 02:23:57 00049_max_string_if: [ OK ] 1.43 sec.
2026-10-30 02:23:58 00061_storage_buffer: [ OK ] 1.58 sec.
2026-10-30 02:23:59 00021_3_select_with_in: [ OK ] 0.48 sec.
2026-10-30 02:24:03 00051_min_max_array: [ OK ] 3.74 sec.
2026-10-30 02:24:04 00144_functions_of_aggregation_states: [ OK ] 0.87 sec.
2026-10-30 02:24:06 00074_full_join: [ OK ] 2.03 sec.
2026-10-30 02:24:06 00001_count_hits: [ OK ] 0.47 sec.
2026-10-30 02:24:07 00166_explain_estimate: [ OK ] 0.52 sec.
2026-10-30 02:24:07 00042_any_left_join: [ OK ] 0.63 sec.
2026-10-30 02:24:11 00092_obfuscator: [ OK ] 3.58 sec.
2026-10-30 02:24:12 00088_global_in_one_shard_and_rows_before_limit: [ OK ] 1.19 sec.
2026-10-30 02:24:15 00079_array_join_not_used_joined_column: [ OK ] 2.53 sec.
2026-10-30 02:24:16 00022_merge_prewhere: [ OK ] 0.93 sec.
2026-10-30 02:24:20 00072_compare_date_and_string_index: [ OK ] 4.59 sec.
2026-10-30 02:24:21 00047_bar: [ OK ] 0.82 sec.
2026-10-30 02:24:26 00165_jit_aggregate_functions: [ OK ] 4.44 sec.
2026-10-30 02:24:26 00007_uniq: [ OK ] 0.47 sec.
2026-10-30 02:24:27 00069_duplicate_aggregation_keys: [ OK ] 0.47 sec.
2026-10-30 02:24:29 00148_monotonic_functions_and_index: [ OK ] 2.83 sec.
2026-10-30 02:24:30 00012_sorting_distributed: [ OK ] 0.68 sec.
2026-10-30 02:24:31 00043_any_left_join: [ OK ] 1.13 sec.
2026-10-30 02:24:32 00005_filtering: [ OK ] 0.53 sec.
2026-10-30 02:24:32 00002_count_visits: [ OK ] 0.42 sec.
2026-10-30 02:24:33 00054_merge_tree_partitions: [ OK ] 1.08 sec.
2026-10-30 02:24:37 00171_grouping_aggregated_transform_bug: [ OK ] 3.83 sec.
2026-10-30 02:24:40 00160_decode_xml_component: [ OK ] 2.48 sec.
2026-10-30 02:24:52 00163_column_oriented_formats: [ OK ] 11.97 sec.
2026-10-30 02:24:53 00016_any_if_distributed_cond_always_false: [ OK ] 1.08 sec.
2026-10-30 02:25:00 00178_quantile_ddsketch: [ OK ] 7.05 sec.
2026-10-30 02:25:04 00071_merge_tree_optimize_aio: [ OK ] 3.89 sec.
2026-10-30 02:25:05 00033_aggregate_key_string: [ OK ] 1.03 sec.
2026-10-30 02:25:24 00089_position_functions_with_non_constant_arg: [ OK ] 18.83 sec.
2026-10-30 02:25:34 00169_contingency: [ OK ] 10.56 sec.
2026-10-30 02:25:55 00084_external_aggregation: [ OK ] 20.23 sec.
2026-10-30 02:25:57 00037_uniq_state_merge1: [ OK ] 2.63 sec.
2026-10-30 02:26:00 00174_distinct_in_order: [ OK ] 2.28 sec.
2026-10-30 02:26:05 00177_memory_bound_merging: [ OK ] 4.99 sec.
2026-10-30 02:26:05
2026-10-30 02:26:05 86 tests passed. 1 tests skipped. 417.84 s elapsed (Process-4).
2026-10-30 02:33:36 Killing process group 3429
2026-10-30 02:33:36 Processes in process group 3429:
2026-10-30 02:33:36 3429 /bin/sh -c /usr/bin/clickhouse-client --log_comment '00024_random_counters.sql' --database=test_vx6jktgq --send_logs_level=warning --multiquery --max_insert_threads 1 --group_by_two_level_threshold 1 --group_by_two_level_threshold_bytes 50000000 --distributed_aggregation_memory_efficient 0 --fsync_metadata 0 --output_format_parallel_formatting 0 --input_format_parallel_parsing 0 --min_chunk_bytes_for_parallel_parsing 8958942 --max_read_buffer_size 884366 --prefer_localhost_replica 0 --max_block_size 23085 --max_joined_block_size_rows 49558 --max_threads 3 --optimize_append_index 0 --optimize_if_chain_to_multiif 1 --optimize_if_transform_strings_to_enum 0 --optimize_read_in_order 0 --optimize_or_like_chain 1 --optimize_substitute_columns 1 --enable_multiple_prewhere_read_steps 0 --read_in_order_two_level_merge_threshold 46 --optimize_aggregation_in_order 1 --aggregation_in_order_max_block_bytes 26339599 --use_uncompressed_cache 1 --min_bytes_to_use_direct_io 3011134305 --min_bytes_to_use_mmap_io 10737418240 --local_filesystem_read_method io_uring --remote_filesystem_read_method threadpool --local_filesystem_read_prefetch 0 --filesystem_cache_segments_batch_size 3 --read_from_filesystem_cache_if_exists_otherwise_bypass_cache 1 --throw_on_error_from_cache_on_write_operations 0 --remote_filesystem_read_prefetch 1 --allow_prefetched_read_pool_for_remote_filesystem 0 --filesystem_prefetch_max_memory_usage 128Mi --filesystem_prefetches_limit 0 --filesystem_prefetch_min_bytes_for_single_read_task 16Mi --filesystem_prefetch_step_marks 0 --filesystem_prefetch_step_bytes 100Mi --compile_aggregate_expressions 0 --compile_sort_description 0 --merge_tree_coarse_index_granularity 28 --optimize_distinct_in_order 0 --max_bytes_before_external_sort 0 --max_bytes_before_external_group_by 0 --max_bytes_before_remerge_sort 1352689977 --min_compress_block_size 1208609 --max_compress_block_size 1631658 --merge_tree_compact_parts_min_granules_to_multibuffer_read 76 --optimize_sorting_by_input_stream_properties 0 --http_response_buffer_size 8716434 --http_wait_end_of_query True --enable_memory_bound_merging_of_aggregation_results 1 --min_count_to_compile_expression 0 --min_count_to_compile_aggregate_expression 3 --min_count_to_compile_sort_description 0 --session_timezone Africa/Juba --use_page_cache_for_disks_without_file_cache True --page_cache_inject_eviction False --merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability 0.14 --prefer_external_sort_block_bytes 1 --cross_join_min_rows_to_compress 0 --cross_join_min_bytes_to_compress 100000000 --min_external_table_block_size_bytes 1 --max_parsing_threads 10 --optimize_functions_to_subcolumns 1 --parallel_replicas_local_plan 1 --allow_merge_tree_settings --ratio_of_defaults_for_sparse_serialization 0.11076816505475406 --prefer_fetch_merged_part_size_threshold 10737418240 --vertical_merge_algorithm_min_rows_to_activate 1 --vertical_merge_algorithm_min_columns_to_activate 62 --allow_vertical_merges_from_compact_to_wide_parts 1 --min_merge_bytes_to_use_direct_io 10737418240 --index_granularity_bytes 30920452 --merge_max_block_size 16834 --index_granularity 54012 --min_bytes_for_wide_part 1073741824 --marks_compress_block_size 66599 --primary_key_compress_block_size 55169 --replace_long_file_name_to_hash 0 --max_file_name_length 38 --min_bytes_for_full_part_storage 0 --compact_parts_max_bytes_to_buffer 449017918 --compact_parts_max_granules_to_buffer 224 --compact_parts_merge_max_bytes_to_prefetch_part 9372605 --cache_populated_by_fetch 1 --concurrent_part_removal_threshold 9 --old_parts_lifetime 387 --allow_repeated_settings --client_logs_file=./client.fatal.log < /usr/share/clickhouse-test/queries/1_stateful/00024_random_counters.sql > /tmp/clickhouse-test/1_stateful/00024_random_counters.stdout 2> /tmp/clickhouse-test/1_stateful/00024_random_counters.stderr
2026-10-30 02:33:36 3430 /usr/bin/clickhouse-client --log_comment 00024_random_counters.sql --database=test_vx6jktgq --send_logs_level=warning --multiquery --max_insert_threads 1 --group_by_two_level_threshold 1 --group_by_two_level_threshold_bytes 50000000 --distributed_aggregation_memory_efficient 0 --fsync_metadata 0 --output_format_parallel_formatting 0 --input_format_parallel_parsing 0 --min_chunk_bytes_for_parallel_parsing 8958942 --max_read_buffer_size 884366 --prefer_localhost_replica 0 --max_block_size 23085 --max_joined_block_size_rows 49558 --max_threads 3 --optimize_append_index 0 --optimize_if_chain_to_multiif 1 --optimize_if_transform_strings_to_enum 0 --optimize_read_in_order 0 --optimize_or_like_chain 1 --optimize_substitute_columns 1 --enable_multiple_prewhere_read_steps 0 --read_in_order_two_level_merge_threshold 46 --optimize_aggregation_in_order 1 --aggregation_in_order_max_block_bytes 26339599 --use_uncompressed_cache 1 --min_bytes_to_use_direct_io 3011134305 --min_bytes_to_use_mmap_io 10737418240 --local_filesystem_read_method io_uring --remote_filesystem_read_method threadpool --local_filesystem_read_prefetch 0 --filesystem_cache_segments_batch_size 3 --read_from_filesystem_cache_if_exists_otherwise_bypass_cache 1 --throw_on_error_from_cache_on_write_operations 0 --remote_filesystem_read_prefetch 1 --allow_prefetched_read_pool_for_remote_filesystem 0 --filesystem_prefetch_max_memory_usage 128Mi --filesystem_prefetches_limit 0 --filesystem_prefetch_min_bytes_for_single_read_task 16Mi --filesystem_prefetch_step_marks 0 --filesystem_prefetch_step_bytes 100Mi --compile_aggregate_expressions 0 --compile_sort_description 0 --merge_tree_coarse_index_granularity 28 --optimize_distinct_in_order 0 --max_bytes_before_external_sort 0 --max_bytes_before_external_group_by 0 --max_bytes_before_remerge_sort 1352689977 --min_compress_block_size 1208609 --max_compress_block_size 1631658 --merge_tree_compact_parts_min_granules_to_multibuffer_read 76 --optimize_sorting_by_input_stream_properties 0 --http_response_buffer_size 8716434 --http_wait_end_of_query True --enable_memory_bound_merging_of_aggregation_results 1 --min_count_to_compile_expression 0 --min_count_to_compile_aggregate_expression 3 --min_count_to_compile_sort_description 0 --session_timezone Africa/Juba --use_page_cache_for_disks_without_file_cache True --page_cache_inject_eviction False --merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability 0.14 --prefer_external_sort_block_bytes 1 --cross_join_min_rows_to_compress 0 --cross_join_min_bytes_to_compress 100000000 --min_external_table_block_size_bytes 1 --max_parsing_threads 10 --optimize_functions_to_subcolumns 1 --parallel_replicas_local_plan 1 --allow_merge_tree_settings --ratio_of_defaults_for_sparse_serialization 0.11076816505475406 --prefer_fetch_merged_part_size_threshold 10737418240 --vertical_merge_algorithm_min_rows_to_activate 1 --vertical_merge_algorithm_min_columns_to_activate 62 --allow_vertical_merges_from_compact_to_wide_parts 1 --min_merge_bytes_to_use_direct_io 10737418240 --index_granularity_bytes 30920452 --merge_max_block_size 16834 --index_granularity 54012 --min_bytes_for_wide_part 1073741824 --marks_compress_block_size 66599 --primary_key_compress_block_size 55169 --replace_long_file_name_to_hash 0 --max_file_name_length 38 --min_bytes_for_full_part_storage 0 --compact_parts_max_bytes_to_buffer 449017918 --compact_parts_max_granules_to_buffer 224 --compact_parts_merge_max_bytes_to_prefetch_part 9372605 --cache_populated_by_fetch 1 --concurrent_part_removal_threshold 9 --old_parts_lifetime 387 --allow_repeated_settings --client_logs_file=./client.fatal.log
2026-10-30 02:33:36 Process group 3429 should be killed
2026-10-30 02:33:36 00024_random_counters: [ FAIL ] 600.01 sec.
2026-10-30 02:33:36 Reason: Timeout! ########## Short fault info ############
2026-10-30 02:33:36 (version 24.8.14.10549.altinitytest (altinity build), build id: , git hash: ) (from thread 3430) Received signal 20
2026-10-30 02:33:36 Signal description: Stopped
2026-10-30 02:33:36 This is a signal used for debugging purposes by the user.
2026-10-30 02:33:36 Stack trace: 0x0000564cba5dd9cd 0x0000564cbabcef47 0x00007f852aefc520 0x00007f852afd2c50 0x0000564caa1a310c 0x0000564cd3d2bb54 0x0000564cd3d2bfb6 0x0000564cba86febd 0x0000564ccc6aaed9 0x0000564ccc6a8eed 0x0000564ccc6a4dd0 0x0000564ccc6bc9d2 0x0000564ccc6be7df 0x0000564ccc6c4cfb 0x0000564cbaa1e307 0x0000564cd3d9e257 0x0000564cbaa3bfac 0x0000564caa233909 0x00007f852aee3d90 0x00007f852aee3e40 0x0000564caa16402e
2026-10-30 02:33:36 ########################################
2026-10-30 02:33:36 (version 24.8.14.10549.altinitytest (altinity build), build id: , git hash: ) (from thread 3430) (no query) Received signal Stopped (20)
2026-10-30 02:33:36 This is a signal used for debugging purposes by the user.
2026-10-30 02:33:36 Stack trace: 0x0000564cba5dd9cd 0x0000564cbabcef47 0x00007f852aefc520 0x00007f852afd2c50 0x0000564caa1a310c 0x0000564cd3d2bb54 0x0000564cd3d2bfb6 0x0000564cba86febd 0x0000564ccc6aaed9 0x0000564ccc6a8eed 0x0000564ccc6a4dd0 0x0000564ccc6bc9d2 0x0000564ccc6be7df 0x0000564ccc6c4cfb 0x0000564cbaa1e307 0x0000564cd3d9e257 0x0000564cbaa3bfac 0x0000564caa233909 0x00007f852aee3d90 0x00007f852aee3e40 0x0000564caa16402e
2026-10-30 02:33:36 0.0. inlined from ./build_docker/./src/Common/StackTrace.cpp:349: StackTrace::tryCapture()
2026-10-30 02:33:36 0. ./build_docker/./src/Common/StackTrace.cpp:318: StackTrace::StackTrace(ucontext_t const&) @ 0x000000001adf69cd
2026-10-30 02:33:36 1.0. inlined from ./src/IO/WriteHelpers.h:83: void DB::writePODBinary(int const&, DB::WriteBuffer&)
2026-10-30 02:33:36 1.1. inlined from ./src/IO/WriteHelpers.h:1026: _ZN2DB11writeBinaryIiQ15is_arithmetic_vIT_EEEvRKS1_RNS_11WriteBufferE
2026-10-30 02:33:36 1. ./build_docker/./src/Common/SignalHandlers.cpp:103: signalHandler(int, siginfo_t*, void*) @ 0x000000001b3e7f47
2026-10-30 02:33:36 2. ? @ 0x00007f852aefc520
2026-10-30 02:33:36 3. ? @ 0x00007f852afd2c50
2026-10-30 02:33:36 4. ___interceptor_poll @ 0x000000000a9bc10c
2026-10-30 02:33:36 5. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::pollImpl(Poco::Timespan&, int) @ 0x0000000034544b54
2026-10-30 02:33:36 6. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:506: Poco::Net::SocketImpl::poll(Poco::Timespan const&, int) @ 0x0000000034544fb6
2026-10-30 02:33:36 7. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:144: DB::ReadBufferFromPocoSocketBase::poll(unsigned long) const @ 0x000000001b088ebd
2026-10-30 02:33:36 8. ./build_docker/./src/Client/ClientBase.cpp:1139: DB::ClientBase::receiveResult(std::shared_ptr, int, bool) @ 0x000000002cec3ed9
2026-10-30 02:33:36 9. ./build_docker/./src/Client/ClientBase.cpp:0: DB::ClientBase::processOrdinaryQuery(String const&, std::shared_ptr) @ 0x000000002cec1eed
2026-10-30 02:33:36 10. ./build_docker/./src/Client/ClientBase.cpp:0: DB::ClientBase::processParsedSingleQuery(String const&, String const&, std::shared_ptr, std::optional, bool) @ 0x000000002cebddd0
2026-10-30 02:33:36 11. ./build_docker/./src/Client/ClientBase.cpp:2278: DB::ClientBase::executeMultiQuery(String const&) @ 0x000000002ced59d2
2026-10-30 02:33:36 12. ./build_docker/./src/Client/ClientBase.cpp:0: DB::ClientBase::processQueryText(String const&) @ 0x000000002ced77df
2026-10-30 02:33:36 13.0. inlined from ./contrib/llvm-project/libcxx/include/string:1499: String::__is_long[abi:v15007]() const
2026-10-30 02:33:36 13.1. inlined from ./contrib/llvm-project/libcxx/include/string:2333: ~basic_string
2026-10-30 02:33:36 13. ./build_docker/./src/Client/ClientBase.cpp:2749: DB::ClientBase::runNonInteractive() @ 0x000000002ceddcfb
2026-10-30 02:33:36 14. ./build_docker/./programs/client/Client.cpp:397: DB::Client::main(std::vector> const&) @ 0x000000001b237307
2026-10-30 02:33:36 15. ./build_docker/./base/poco/Util/src/Application.cpp:0: Poco::Util::Application::run() @ 0x00000000345b7257
2026-10-30 02:33:36 16. ./build_docker/./programs/client/Client.cpp:0: mainEntryClickHouseClient(int, char**) @ 0x000000001b254fac
2026-10-30 02:33:36 17. ./build_docker/./programs/main.cpp:0: main @ 0x000000000aa4c909
2026-10-30 02:33:36 18. ? @ 0x00007f852aee3d90
2026-10-30 02:33:36 19. ? @ 0x00007f852aee3e40
2026-10-30 02:33:36 20. _start @ 0x000000000a97d02e
2026-10-30 02:33:36 ClickHouse version 24.8.14.10549.altinitytest is old and should be upgraded to the latest version.
2026-10-30 02:33:36
2026-10-30 02:33:36 Settings used in the test: --max_insert_threads 1 --group_by_two_level_threshold 1 --group_by_two_level_threshold_bytes 50000000 --distributed_aggregation_memory_efficient 0 --fsync_metadata 0 --output_format_parallel_formatting 0 --input_format_parallel_parsing 0 --min_chunk_bytes_for_parallel_parsing 8958942 --max_read_buffer_size 884366 --prefer_localhost_replica 0 --max_block_size 23085 --max_joined_block_size_rows 49558 --max_threads 3 --optimize_append_index 0 --optimize_if_chain_to_multiif 1 --optimize_if_transform_strings_to_enum 0 --optimize_read_in_order 0 --optimize_or_like_chain 1 --optimize_substitute_columns 1 --enable_multiple_prewhere_read_steps 0 --read_in_order_two_level_merge_threshold 46 --optimize_aggregation_in_order 1 --aggregation_in_order_max_block_bytes 26339599 --use_uncompressed_cache 1 --min_bytes_to_use_direct_io 3011134305 --min_bytes_to_use_mmap_io 10737418240 --local_filesystem_read_method io_uring --remote_filesystem_read_method threadpool --local_filesystem_read_prefetch 0 --filesystem_cache_segments_batch_size 3 --read_from_filesystem_cache_if_exists_otherwise_bypass_cache 1 --throw_on_error_from_cache_on_write_operations 0 --remote_filesystem_read_prefetch 1 --allow_prefetched_read_pool_for_remote_filesystem 0 --filesystem_prefetch_max_memory_usage 128Mi --filesystem_prefetches_limit 0 --filesystem_prefetch_min_bytes_for_single_read_task 16Mi --filesystem_prefetch_step_marks 0 --filesystem_prefetch_step_bytes 100Mi --compile_aggregate_expressions 0 --compile_sort_description 0 --merge_tree_coarse_index_granularity 28 --optimize_distinct_in_order 0 --max_bytes_before_external_sort 0 --max_bytes_before_external_group_by 0 --max_bytes_before_remerge_sort 1352689977 --min_compress_block_size 1208609 --max_compress_block_size 1631658 --merge_tree_compact_parts_min_granules_to_multibuffer_read 76 --optimize_sorting_by_input_stream_properties 0 --http_response_buffer_size 8716434 --http_wait_end_of_query True --enable_memory_bound_merging_of_aggregation_results 1 --min_count_to_compile_expression 0 --min_count_to_compile_aggregate_expression 3 --min_count_to_compile_sort_description 0 --session_timezone Africa/Juba --use_page_cache_for_disks_without_file_cache True --page_cache_inject_eviction False --merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability 0.14 --prefer_external_sort_block_bytes 1 --cross_join_min_rows_to_compress 0 --cross_join_min_bytes_to_compress 100000000 --min_external_table_block_size_bytes 1 --max_parsing_threads 10 --optimize_functions_to_subcolumns 1 --parallel_replicas_local_plan 1
2026-10-30 02:33:36
2026-10-30 02:33:36 MergeTree settings used in test: --ratio_of_defaults_for_sparse_serialization 0.11076816505475406 --prefer_fetch_merged_part_size_threshold 10737418240 --vertical_merge_algorithm_min_rows_to_activate 1 --vertical_merge_algorithm_min_columns_to_activate 62 --allow_vertical_merges_from_compact_to_wide_parts 1 --min_merge_bytes_to_use_direct_io 10737418240 --index_granularity_bytes 30920452 --merge_max_block_size 16834 --index_granularity 54012 --min_bytes_for_wide_part 1073741824 --marks_compress_block_size 66599 --primary_key_compress_block_size 55169 --replace_long_file_name_to_hash 0 --max_file_name_length 38 --min_bytes_for_full_part_storage 0 --compact_parts_max_bytes_to_buffer 449017918 --compact_parts_max_granules_to_buffer 224 --compact_parts_merge_max_bytes_to_prefetch_part 9372605 --cache_populated_by_fetch 1 --concurrent_part_removal_threshold 9 --old_parts_lifetime 387
2026-10-30 02:33:36
2026-10-30 02:33:36 Database: test_vx6jktgq
2026-10-30 02:33:36
2026-10-30 02:33:36 Having 1 errors! 43 tests passed. 0 tests skipped. 869.59 s elapsed (Process-3).
2026-10-30 02:33:44 Running 6 stateful tests (MainProcess).
2026-10-30 02:34:14 00180_no_seek_avoiding_when_reading_from_cache: [ OK ] 30.47 sec.
2026-10-30 02:35:04 00170_s3_cache: [ OK ] 49.22 sec.
2026-10-30 02:36:01 00158_cache_dictionary_has: [ OK ] 57.72 sec.
2026-10-30 02:39:25 00157_cache_dictionary: [ OK ] 203.82 sec.
2026-10-30 02:39:27 00152_insert_different_granularity: [ OK ] 1.83 sec.
2026-10-30 02:39:29 00140_rename: [ OK ] 1.88 sec.
2026-10-30 02:39:29
2026-10-30 02:39:29 6 tests passed. 0 tests skipped. 345.07 s elapsed (MainProcess).
2026-10-30 02:39:29 Checking the hung queries: done
2026-10-30 02:39:29
2026-10-30 02:39:29 No queries hung.
2026-10-30 02:39:29 Has fatal logs from client:
2026-10-30 02:39:29
2026-10-30 02:39:29 ########## Short fault info ############
2026-10-30 02:39:29 (version 24.8.14.10549.altinitytest (altinity build), build id: , git hash: ) (from thread 3430) Received signal 20
2026-10-30 02:39:29 Signal description: Stopped
2026-10-30 02:39:29 This is a signal used for debugging purposes by the user.
2026-10-30 02:39:29 Stack trace: 0x0000564cba5dd9cd 0x0000564cbabcef47 0x00007f852aefc520 0x00007f852afd2c50 0x0000564caa1a310c 0x0000564cd3d2bb54 0x0000564cd3d2bfb6 0x0000564cba86febd 0x0000564ccc6aaed9 0x0000564ccc6a8eed 0x0000564ccc6a4dd0 0x0000564ccc6bc9d2 0x0000564ccc6be7df 0x0000564ccc6c4cfb 0x0000564cbaa1e307 0x0000564cd3d9e257 0x0000564cbaa3bfac 0x0000564caa233909 0x00007f852aee3d90 0x00007f852aee3e40 0x0000564caa16402e
2026-10-30 02:39:29 ########################################
2026-10-30 02:39:29 (version 24.8.14.10549.altinitytest (altinity build), build id: , git hash: ) (from thread 3430) (no query) Received signal Stopped (20)
2026-10-30 02:39:29 This is a signal used for debugging purposes by the user.
2026-10-30 02:39:29 Stack trace: 0x0000564cba5dd9cd 0x0000564cbabcef47 0x00007f852aefc520 0x00007f852afd2c50 0x0000564caa1a310c 0x0000564cd3d2bb54 0x0000564cd3d2bfb6 0x0000564cba86febd 0x0000564ccc6aaed9 0x0000564ccc6a8eed 0x0000564ccc6a4dd0 0x0000564ccc6bc9d2 0x0000564ccc6be7df 0x0000564ccc6c4cfb 0x0000564cbaa1e307 0x0000564cd3d9e257 0x0000564cbaa3bfac 0x0000564caa233909 0x00007f852aee3d90 0x00007f852aee3e40 0x0000564caa16402e
2026-10-30 02:39:29 0.0. inlined from ./build_docker/./src/Common/StackTrace.cpp:349: StackTrace::tryCapture()
2026-10-30 02:39:29 0. ./build_docker/./src/Common/StackTrace.cpp:318: StackTrace::StackTrace(ucontext_t const&) @ 0x000000001adf69cd
2026-10-30 02:39:29 1.0. inlined from ./src/IO/WriteHelpers.h:83: void DB::writePODBinary(int const&, DB::WriteBuffer&)
2026-10-30 02:39:29 1.1. inlined from ./src/IO/WriteHelpers.h:1026: _ZN2DB11writeBinaryIiQ15is_arithmetic_vIT_EEEvRKS1_RNS_11WriteBufferE
2026-10-30 02:39:29 1. ./build_docker/./src/Common/SignalHandlers.cpp:103: signalHandler(int, siginfo_t*, void*) @ 0x000000001b3e7f47
2026-10-30 02:39:29 2. ? @ 0x00007f852aefc520
2026-10-30 02:39:29 3. ? @ 0x00007f852afd2c50
2026-10-30 02:39:29 4. ___interceptor_poll @ 0x000000000a9bc10c
2026-10-30 02:39:29 5. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::pollImpl(Poco::Timespan&, int) @ 0x0000000034544b54
2026-10-30 02:39:29 6. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:506: Poco::Net::SocketImpl::poll(Poco::Timespan const&, int) @ 0x0000000034544fb6
2026-10-30 02:39:29 7. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:144: DB::ReadBufferFromPocoSocketBase::poll(unsigned long) const @ 0x000000001b088ebd
2026-10-30 02:39:29 8. ./build_docker/./src/Client/ClientBase.cpp:1139: DB::ClientBase::receiveResult(std::shared_ptr, int, bool) @ 0x000000002cec3ed9
2026-10-30 02:39:29 9. ./build_docker/./src/Client/ClientBase.cpp:0: DB::ClientBase::processOrdinaryQuery(String const&, std::shared_ptr) @ 0x000000002cec1eed
2026-10-30 02:39:29 10. ./build_docker/./src/Client/ClientBase.cpp:0: DB::ClientBase::processParsedSingleQuery(String const&, String const&, std::shared_ptr, std::optional, bool) @ 0x000000002cebddd0
2026-10-30 02:39:29 11. ./build_docker/./src/Client/ClientBase.cpp:2278: DB::ClientBase::executeMultiQuery(String const&) @ 0x000000002ced59d2
2026-10-30 02:39:29 12. ./build_docker/./src/Client/ClientBase.cpp:0: DB::ClientBase::processQueryText(String const&) @ 0x000000002ced77df
2026-10-30 02:39:29 13.0. inlined from ./contrib/llvm-project/libcxx/include/string:1499: String::__is_long[abi:v15007]() const
2026-10-30 02:39:29 13.1. inlined from ./contrib/llvm-project/libcxx/include/string:2333: ~basic_string
2026-10-30 02:39:29 13. ./build_docker/./src/Client/ClientBase.cpp:2749: DB::ClientBase::runNonInteractive() @ 0x000000002ceddcfb
2026-10-30 02:39:29 14. ./build_docker/./programs/client/Client.cpp:397: DB::Client::main(std::vector> const&) @ 0x000000001b237307
2026-10-30 02:39:29 15. ./build_docker/./base/poco/Util/src/Application.cpp:0: Poco::Util::Application::run() @ 0x00000000345b7257
2026-10-30 02:39:29 16. ./build_docker/./programs/client/Client.cpp:0: mainEntryClickHouseClient(int, char**) @ 0x000000001b254fac
2026-10-30 02:39:29 17. ./build_docker/./programs/main.cpp:0: main @ 0x000000000aa4c909
2026-10-30 02:39:29 18. ? @ 0x00007f852aee3d90
2026-10-30 02:39:29 19. ? @ 0x00007f852aee3e40
2026-10-30 02:39:29 20. _start @ 0x000000000a97d02e
2026-10-30 02:39:29 ClickHouse version 24.8.14.10549.altinitytest is old and should be upgraded to the latest version.
2026-10-30 02:39:29
2026-10-30 02:39:29 All tests have finished.
+ set -e
+ echo 'Files in current directory'
+ ls -la ./
Files in current directory
total 127312
drwxr-xr-x 1 root root 4096 Oct 30 02:39 .
drwxr-xr-x 1 root root 4096 Oct 30 02:39 ..
-rw-rw-r-- 1 1000 1000 119 Oct 30 02:14 analyzer_tech_debt.txt
-rw-rw-r-- 1 root root 2380 Jul 23 10:40 attach_gdb.lib
-rw-r--r-- 1 root root 53 Oct 30 02:17 AzuriteConfig
-rw-r--r-- 1 root root 1481 Oct 30 02:17 __azurite_db_blob_extent__.json
-rw-r--r-- 1 root root 4239 Oct 30 02:17 __azurite_db_blob__.json
-rw-r--r-- 1 root root 44482 Oct 30 02:38 azurite_log
lrwxrwxrwx 1 root root 7 Apr 10 2026 bin -> usr/bin
drwxr-xr-x 2 root root 4096 Oct 30 02:17 __blobstorage__
drwxr-xr-x 2 root root 4096 Apr 18 2022 boot
-rw-rw-r-- 1 1000 1000 2149 Oct 30 02:14 broken_tests.json
-rw-rw-r-- 1 root root 9374 Jul 23 10:40 create.sql
drwxr-xr-x 14 root root 3840 Oct 30 02:17 dev
-rwxr-xr-x 1 root root 0 Oct 30 02:17 .dockerenv
drwxr-xr-x 1 root root 4096 Oct 30 02:17 etc
drwxr-xr-x 10 1000 1000 4096 Jun 15 2021 hadoop-3.3.1
drwxr-xr-x 2 root root 4096 Apr 18 2022 home
lrwxrwxrwx 1 root root 7 Apr 10 2026 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Apr 10 2026 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 9 Apr 10 2026 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 10 Apr 10 2026 libx32 -> usr/libx32
-rwxr-xr-x 1 root root 26927256 Jul 23 10:42 mc
drwxr-xr-x 2 root root 4096 Apr 10 2026 media
-rwxr-xr-x 1 root root 103174296 Jul 23 10:42 minio
drwxr-xr-x 4 root root 4096 Oct 30 02:17 minio_data
drwxr-xr-x 2 root root 4096 Apr 10 2026 mnt
drwxr-xr-x 1 root root 4096 May 7 02:02 opt
-rw-r--r-- 1 root root 0 Mar 25 2026 .package-cache-mutate
drwxrwxr-x 2 1000 1000 4096 Oct 30 02:17 package_folder
dr-xr-xr-x 309 root root 0 Oct 30 02:17 proc
-rwxrwxr-x 1 root root 10295 May 7 02:01 process_functional_tests_result.py
-rw-rw-r-- 1 root root 837 Jul 23 10:40 requirements.txt
drwx------ 1 root root 4096 Oct 30 02:17 root
drwxr-xr-x 1 root root 4096 Oct 30 02:17 run
-rwxrwxr-x 1 root root 21319 Jul 23 10:40 run.sh
lrwxrwxrwx 1 root root 8 Apr 10 2026 sbin -> usr/sbin
-rwxrwxr-x 1 root root 10374 May 7 02:10 setup_export_logs.sh
-rwxrwxr-x 1 root root 360 Jul 23 10:40 setup_hdfs_minicluster.sh
-rwxrwxr-x 1 root root 3456 Jul 23 10:40 setup_minio.sh
drwxr-xr-x 2 root root 4096 Apr 10 2026 srv
-rw-rw-r-- 1 root root 14032 Jul 23 10:40 stress_tests.lib
dr-xr-xr-x 13 root root 0 Oct 30 02:17 sys
drwxrwxr-x 2 1000 1000 4096 Oct 30 02:19 test_output
drwxrwxrwt 1 root root 4096 Oct 30 02:39 tmp
drwxr-xr-x 1 root root 4096 Apr 10 2026 usr
-rw-rw-r-- 1 root root 897 Jul 23 10:40 utils.lib
drwxr-xr-x 1 root root 4096 Apr 10 2026 var
Files in root directory
+ echo 'Files in root directory'
+ ls -la /
total 127312
drwxr-xr-x 1 root root 4096 Oct 30 02:39 .
drwxr-xr-x 1 root root 4096 Oct 30 02:39 ..
-rw-rw-r-- 1 1000 1000 119 Oct 30 02:14 analyzer_tech_debt.txt
-rw-rw-r-- 1 root root 2380 Jul 23 10:40 attach_gdb.lib
-rw-r--r-- 1 root root 53 Oct 30 02:17 AzuriteConfig
-rw-r--r-- 1 root root 1481 Oct 30 02:17 __azurite_db_blob_extent__.json
-rw-r--r-- 1 root root 4239 Oct 30 02:17 __azurite_db_blob__.json
-rw-r--r-- 1 root root 44482 Oct 30 02:38 azurite_log
lrwxrwxrwx 1 root root 7 Apr 10 2026 bin -> usr/bin
drwxr-xr-x 2 root root 4096 Oct 30 02:17 __blobstorage__
drwxr-xr-x 2 root root 4096 Apr 18 2022 boot
-rw-rw-r-- 1 1000 1000 2149 Oct 30 02:14 broken_tests.json
-rw-rw-r-- 1 root root 9374 Jul 23 10:40 create.sql
drwxr-xr-x 14 root root 3840 Oct 30 02:17 dev
-rwxr-xr-x 1 root root 0 Oct 30 02:17 .dockerenv
drwxr-xr-x 1 root root 4096 Oct 30 02:17 etc
drwxr-xr-x 10 1000 1000 4096 Jun 15 2021 hadoop-3.3.1
drwxr-xr-x 2 root root 4096 Apr 18 2022 home
lrwxrwxrwx 1 root root 7 Apr 10 2026 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Apr 10 2026 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 9 Apr 10 2026 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 10 Apr 10 2026 libx32 -> usr/libx32
-rwxr-xr-x 1 root root 26927256 Jul 23 10:42 mc
drwxr-xr-x 2 root root 4096 Apr 10 2026 media
-rwxr-xr-x 1 root root 103174296 Jul 23 10:42 minio
drwxr-xr-x 4 root root 4096 Oct 30 02:17 minio_data
drwxr-xr-x 2 root root 4096 Apr 10 2026 mnt
drwxr-xr-x 1 root root 4096 May 7 02:02 opt
-rw-r--r-- 1 root root 0 Mar 25 2026 .package-cache-mutate
drwxrwxr-x 2 1000 1000 4096 Oct 30 02:17 package_folder
dr-xr-xr-x 309 root root 0 Oct 30 02:17 proc
-rwxrwxr-x 1 root root 10295 May 7 02:01 process_functional_tests_result.py
-rw-rw-r-- 1 root root 837 Jul 23 10:40 requirements.txt
drwx------ 1 root root 4096 Oct 30 02:17 root
drwxr-xr-x 1 root root 4096 Oct 30 02:17 run
-rwxrwxr-x 1 root root 21319 Jul 23 10:40 run.sh
lrwxrwxrwx 1 root root 8 Apr 10 2026 sbin -> usr/sbin
-rwxrwxr-x 1 root root 10374 May 7 02:10 setup_export_logs.sh
-rwxrwxr-x 1 root root 360 Jul 23 10:40 setup_hdfs_minicluster.sh
-rwxrwxr-x 1 root root 3456 Jul 23 10:40 setup_minio.sh
drwxr-xr-x 2 root root 4096 Apr 10 2026 srv
-rw-rw-r-- 1 root root 14032 Jul 23 10:40 stress_tests.lib
dr-xr-xr-x 13 root root 0 Oct 30 02:17 sys
drwxrwxr-x 2 1000 1000 4096 Oct 30 02:19 test_output
drwxrwxrwt 1 root root 4096 Oct 30 02:39 tmp
drwxr-xr-x 1 root root 4096 Apr 10 2026 usr
-rw-rw-r-- 1 root root 897 Jul 23 10:40 utils.lib
drwxr-xr-x 1 root root 4096 Apr 10 2026 var
+ /process_functional_tests_result.py
2026-10-30 02:39:29,533 File /analyzer_tech_debt.txt with broken tests found
2026-10-30 02:39:29,533 File /broken_tests.json with broken tests found
2026-10-30 02:39:29,533 Broken tests in the list: 4
2026-10-30 02:39:29,534 Find files in result folder test_result.txt,run.log,minio.log
2026-10-30 02:39:29,535 Is flaky check: False
2026-10-30 02:39:29,535 Result parsed
2026-10-30 02:39:29,535 Result written
+ sudo clickhouse stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Sent terminate signal to process with pid 347.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 347.
The process with pid = 347 is running.
Waiting for server to stop
Found pid = 347 in the list of running processes.
The process with pid = 347 is running.
Waiting for server to stop
Found pid = 4776 in the list of running processes.
The process with pid = 4776 is running.
Waiting for server to stop
Now there is no clickhouse-server process.
Server stopped
+ [[ -n '' ]]
+ kill 318
+ rg -Fa '' /var/log/clickhouse-server/clickhouse-server.log
+ :
+ zstd --threads=0
+ rm /var/log/clickhouse-server/clickhouse-server.log
+ mv /var/log/clickhouse-server/stderr.log /test_output/
+ [[ -n '' ]]
+ [[ -n '' ]]
+ collect_core_dumps
+ find . -type f -maxdepth 1 -name 'core.*'
+ read -r core