++ rg -v '#' /usr/share/zoneinfo/zone.tab
++ awk '{print $3}'
++ shuf
++ head -n1
+ TZ=America/Glace_Bay
Choosen random timezone America/Glace_Bay
+ echo 'Choosen random timezone America/Glace_Bay'
+ ln -snf /usr/share/zoneinfo/America/Glace_Bay /etc/localtime
+ echo America/Glace_Bay
+ dpkg -i package_folder/clickhouse-common-static_24.12.2.20214.altinityantalya+tsan_amd64.deb
Selecting previously unselected package clickhouse-common-static.
(Reading database ... 48425 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static_24.12.2.20214.altinityantalya+tsan_amd64.deb ...
Unpacking clickhouse-common-static (24.12.2.20214.altinityantalya+tsan) ...
Setting up clickhouse-common-static (24.12.2.20214.altinityantalya+tsan) ...
+ dpkg -i package_folder/clickhouse-common-static-dbg_24.12.2.20214.altinityantalya+tsan_amd64.deb
Selecting previously unselected package clickhouse-common-static-dbg.
(Reading database ... 48452 files and directories currently installed.)
Preparing to unpack .../clickhouse-common-static-dbg_24.12.2.20214.altinityantalya+tsan_amd64.deb ...
Unpacking clickhouse-common-static-dbg (24.12.2.20214.altinityantalya+tsan) ...
Setting up clickhouse-common-static-dbg (24.12.2.20214.altinityantalya+tsan) ...
+ dpkg -i package_folder/clickhouse-server_24.12.2.20214.altinityantalya+tsan_amd64.deb
Selecting previously unselected package clickhouse-server.
(Reading database ... 48459 files and directories currently installed.)
Preparing to unpack .../clickhouse-server_24.12.2.20214.altinityantalya+tsan_amd64.deb ...
Unpacking clickhouse-server (24.12.2.20214.altinityantalya+tsan) ...
Setting up clickhouse-server (24.12.2.20214.altinityantalya+tsan) ...
ClickHouse binary is already located at /usr/bin/clickhouse
Symlink /usr/bin/clickhouse-server already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-server to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-client to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-local to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-benchmark to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-obfuscator to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-git-import to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-compressor to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-format to /usr/bin/clickhouse.
Symlink /usr/bin/clickhouse-extract-from-config already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-extract-from-config to /usr/bin/clickhouse.
Symlink /usr/bin/clickhouse-keeper already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-keeper to /usr/bin/clickhouse.
Symlink /usr/bin/clickhouse-keeper-converter already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-keeper-converter to /usr/bin/clickhouse.
Creating symlink /usr/bin/clickhouse-disks to /usr/bin/clickhouse.
Creating symlink /usr/bin/ch to /usr/bin/clickhouse.
Creating symlink /usr/bin/chl to /usr/bin/clickhouse.
Creating symlink /usr/bin/chc to /usr/bin/clickhouse.
Creating clickhouse group if it does not exist.
groupadd -r clickhouse
Creating clickhouse user if it does not exist.
useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse clickhouse
Will set ulimits for clickhouse user in /etc/security/limits.d/clickhouse.conf.
Creating config directory /etc/clickhouse-server/config.d that is used for tweaks of main server configuration.
Creating config directory /etc/clickhouse-server/users.d that is used for tweaks of users configuration.
Config file /etc/clickhouse-server/config.xml already exists, will keep it and extract path info from it.
/etc/clickhouse-server/config.xml has /var/lib/clickhouse/ as data path.
/etc/clickhouse-server/config.xml has /var/log/clickhouse-server/ as log path.
Users config file /etc/clickhouse-server/users.xml already exists, will keep it and extract users info from it.
Log directory /var/log/clickhouse-server/ already exists.
Creating data directory /var/lib/clickhouse/.
Creating pid directory /var/run/clickhouse-server.
chown -R clickhouse:clickhouse '/var/log/clickhouse-server/'
chown -R clickhouse:clickhouse '/var/run/clickhouse-server'
chown clickhouse:clickhouse '/var/lib/clickhouse/'
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.12.2.20214.altinityantalya+tsan_amd64.deb
Selecting previously unselected package clickhouse-client.
(Reading database ... 48476 files and directories currently installed.)
Preparing to unpack .../clickhouse-client_24.12.2.20214.altinityantalya+tsan_amd64.deb ...
Unpacking clickhouse-client (24.12.2.20214.altinityantalya+tsan) ...
Setting up clickhouse-client (24.12.2.20214.altinityantalya+tsan) ...
+ ln -s /repo/tests/clickhouse-test /usr/bin/clickhouse-test
+ source /repo/tests/docker_scripts/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
+ /repo/tests/config/install.sh
+ DEST_SERVER_PATH=/etc/clickhouse-server
+ DEST_CLIENT_PATH=/etc/clickhouse-client
+++ dirname /repo/tests/config/install.sh
++ cd /repo/tests/config
++ pwd -P
+ SRC_PATH=/repo/tests/config
+ '[' 0 -ge 2 ']'
+ FAST_TEST=0
+ NO_AZURE=0
+ [[ 0 -gt 0 ]]
+ echo 'Going to install test configs from /repo/tests/config into /etc/clickhouse-server'
+ mkdir -p /etc/clickhouse-server/config.d/
Going to install test configs from /repo/tests/config into /etc/clickhouse-server
+ mkdir -p /etc/clickhouse-server/users.d/
+ mkdir -p /etc/clickhouse-client
+ ln -sf /repo/tests/config/config.d/zookeeper_write.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/max_num_to_warn.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/listen.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/text_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/blob_storage_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/custom_settings_prefixes.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/database_catalog_drop_table_concurrency.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/enable_access_control_improvements.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/macros.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/secure_ports.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/clusters.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/graphite.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/graphite_alternative.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/grpc_protocol.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/database_atomic.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/max_concurrent_queries.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/merge_tree_settings.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/backoff_failed_mutation.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/merge_tree_old_dirs_cleanup.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/test_cluster_with_incorrect_pw.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/keeper_port.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/logging_no_rotate.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/merge_tree.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/lost_forever_check.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/tcp_with_proxy.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/prometheus.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/top_level_domains_lists.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/top_level_domains_path.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/transactions.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/encryption.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/CORS.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/zookeeper_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/logger_trace.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/named_collection.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/ssl_certs.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/filesystem_cache_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/session_log.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/system_unfreeze.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/enable_zero_copy_replication.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/nlp.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/forbidden_headers.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/enable_keeper_map.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/custom_disks_base_path.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/display_name.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/compressed_marks_and_index.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/disable_s3_env_credentials.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/enable_wait_for_shutdown_replicated_tables.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/backups.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/filesystem_caches_path.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/validate_tcp_client_information.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/zero_copy_destructive_operations.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/block_number.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/handlers.yaml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/serverwide_trace_collector.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/rocksdb.xml /etc/clickhouse-server/config.d/
+ '[' 0 '!=' 1 ']'
+ ln -sf /repo/tests/config/config.d/legacy_geobase.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/users.d/log_queries.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/readonly.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/access_management.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/database_atomic_drop_detach_sync.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/opentelemetry.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/remote_queries.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/session_log_test.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/memory_profiler.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/no_fsync_metadata.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/filelog.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/enable_blobs_check.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/marks.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/insert_keeper_retries.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/prefetch_settings.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/nonconst_timezone.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/allow_introspection_functions.yaml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/replicated_ddl_entry.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/limits.yaml /etc/clickhouse-server/users.d/
+ [[ -n '' ]]
+ ln -sf /repo/tests/config/users.d/timeouts.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/ints_dictionary.xml /etc/clickhouse-server/
+ ln -sf /repo/tests/config/strings_dictionary.xml /etc/clickhouse-server/
+ ln -sf /repo/tests/config/decimals_dictionary.xml /etc/clickhouse-server/
+ ln -sf /repo/tests/config/executable_dictionary.xml /etc/clickhouse-server/
+ ln -sf /repo/tests/config/executable_pool_dictionary.xml /etc/clickhouse-server/
+ ln -sf /repo/tests/config/test_function.xml /etc/clickhouse-server/
+ ln -sf /repo/tests/config/top_level_domains /etc/clickhouse-server/
+ ln -sf /repo/tests/config/regions_hierarchy.txt /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/regions_names_en.txt /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/regions_names_es.txt /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/ext-en.txt /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/ext-ru.txt /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/lem-en.bin /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/server.key /etc/clickhouse-server/
+ ln -sf /repo/tests/config/server.crt /etc/clickhouse-server/
+ ln -sf /repo/tests/config/dhparam.pem /etc/clickhouse-server/
+ ln -sf --backup=simple --suffix=_original.xml /repo/tests/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 /repo/tests/config/config.d/zookeeper.xml /etc/clickhouse-server/config.d/
+ [[ -n '' ]]
+ rm -f /etc/clickhouse-server/config.d/cannot_allocate_thread_injection.xml
+ value=0
+ sed --follow-symlinks -i 's|[01]|0|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=538624
+ sed --follow-symlinks -i 's|[[:digit:]]\+|538624|' /etc/clickhouse-server/config.d/keeper_port.xml
+ value=39286784
+ sed --follow-symlinks -i 's|[[:digit:]]\+|39286784|' /etc/clickhouse-server/config.d/keeper_port.xml
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ '' == \1 ]]
+ [[ '' == \1 ]]
+ [[ 1 == \1 ]]
+ [[ 0 != \1 ]]
+ ln -sf /repo/tests/config/config.d/azure_storage_conf.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/storage_conf.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/storage_conf_02944.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/storage_conf_02963.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/config.d/storage_conf_02961.xml /etc/clickhouse-server/config.d/
+ ln -sf /repo/tests/config/users.d/s3_cache.xml /etc/clickhouse-server/users.d/
+ ln -sf /repo/tests/config/users.d/s3_cache_new.xml /etc/clickhouse-server/users.d/
+ [[ '' == \1 ]]
+ ln -sf /repo/tests/config/client_config.xml /etc/clickhouse-client/config.xml
+ /repo/tests/docker_scripts/setup_minio.sh stateful
+ azurite-blob --blobHost 0.0.0.0 --blobPort 10000 --silent --inMemoryPersistence
+ 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
+ ./minio server --address :11111 ./minio_data
+ local counter=0
+ local max_counter=60
+ local url=http://localhost:11111
+ params=('--silent' '--verbose')
+ local params
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
+ [[ 0 == \6\0 ]]
+ echo 'trying to connect to minio'
+ sleep 1
trying to connect to minio
(node:210) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
In-memory extent storage is enabled with a limit of 15667.21 MB (16428257280 bytes, 50% of total memory).
Azurite Blob service is starting on 0.0.0.0:10000
Azurite Blob service successfully listens on http://0.0.0.0:10000
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-2025 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:45367 http://127.0.0.1:45367
Docs: https://min.io/docs/minio/linux/index.html
+ counter=1
+ curl --silent --verbose http://localhost:11111
+ grep AccessDenied
AccessDenied
Access Denied./1831DCE9CE0E909D7dc7eb22d3288ec80374614e9088e31d3668a6922ead55932dd2a8e56373820f
+ lsof -i :11111
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
minio 234 root 8u IPv4 30157 0t0 TCP localhost:11111 (LISTEN)
minio 234 root 9u IPv6 30158 0t0 TCP *:11111 (LISTEN)
minio 234 root 10u IPv6 30159 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 /repo/tests/
+ local query_dir=1_stateful
+ local test_path=/repo/tests/
+ local data_path=/repo/tests//queries/1_stateful/data_minio
+ '[' -d /repo/tests//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=325
+ config_logs_export_cluster /etc/clickhouse-server/config.d/system_logs_export.yaml
+ ./mc admin trace clickminio
+ set +x
File /tmp/export-logs-config.sh does not exist, do not setup
+ cache_policy=
+ '[' 1 -eq 1 ']'
+ cache_policy=SLRU
+ echo 'Using cache policy: SLRU'
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
+ counter=3
+ clickhouse-client --query 'SELECT 1'
Code: 210. DB::NetException: Connection refused (localhost:9000). (NETWORK_ERROR)
+ '[' 3 -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=4
+ clickhouse-client --query 'SELECT 1'
1
+ setup_logs_replication
File /tmp/export-logs-config.sh does not exist, do not setup
+ set +x
+ clickhouse-client --query 'SHOW DATABASES'
INFORMATION_SCHEMA
default
information_schema
system
+ clickhouse-client --query 'CREATE DATABASE datasets'
+ clickhouse-client
+ 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 --max_memory_usage 30G --max_memory_usage_for_user 30G --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 --queries "/repo/tests/queries" "${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 --queries /repo/tests/queries --hung-check --print-time ''
+ ts '%Y-%m-%d %H:%M:%S'
+ tee test_output/test_result.txt
2025-03-31 07:40:20 Using queries from '/repo/tests/queries' directory
2025-03-31 07:40:21 Connecting to ClickHouse server... OK
2025-03-31 07:40:21 Connected to server 24.12.2.20214.altinityantalya @ 346d5dd79ed997c4fd978d0a119c4169a74dfdf5 HEAD
2025-03-31 07:40:21 Won't run stateless tests because they were manually disabled.
2025-03-31 07:40:21 Found 133 parallel tests and 6 sequential tests
2025-03-31 07:41:01 Running about 66 stateful tests (Process-3).
2025-03-31 07:41:01 00173_group_by_use_nulls: [ OK ] 40.62 sec.
2025-03-31 07:41:02 00002_count_visits: [ OK ] 0.98 sec.
2025-03-31 07:41:03 Running about 66 stateful tests (Process-4).
2025-03-31 07:41:03 00082_quantiles: [ OK ] 42.18 sec.
2025-03-31 07:41:04 00031_array_enumerate_uniq: [ OK ] 1.53 sec.
2025-03-31 07:41:15 00051_min_max_array: [ OK ] 11.11 sec.
2025-03-31 07:41:16 00172_early_constant_folding: [ OK ] 0.63 sec.
2025-03-31 07:41:54 00093_prewhere_array_join: [ OK ] 38.43 sec.
2025-03-31 07:41:57 00023_totals_limit: [ OK ] 3.08 sec.
2025-03-31 07:42:35 00063_loyalty_joins: [ OK ] 37.82 sec.
2025-03-31 07:42:40 00046_uniq_upto_distributed: [ OK ] 4.24 sec.
2025-03-31 07:42:42 00012_sorting_distributed: [ OK ] 2.24 sec.
2025-03-31 07:42:43 00059_merge_sorting_empty_array_joined: [ OK ] 0.94 sec.
2025-03-31 07:43:02 00072_compare_date_and_string_index: [ OK ] 19.48 sec.
2025-03-31 07:43:05 00013_sorting_of_nested: [ OK ] 2.99 sec.
2025-03-31 07:43:10 00043_any_left_join: [ OK ] 4.64 sec.
2025-03-31 07:43:11 00176_distinct_limit_by_limit_bug_43377: [ OK ] 0.88 sec.
2025-03-31 07:43:12 00141_transform: [ OK ] 1.33 sec.
2025-03-31 07:44:00 00077_log_tinylog_stripelog: [ OK ] 47.84 sec.
2025-03-31 07:44:01 00021_1_select_with_in: [ OK ] 0.53 sec.
2025-03-31 07:44:04 00159_parallel_formatting_http: [ OK ] 180.73 sec.
2025-03-31 07:44:05 00085_monotonic_evaluation_segfault: [ OK ] 0.88 sec.
2025-03-31 07:44:05 00154_avro: [ OK ] 4.03 sec.
2025-03-31 07:44:22 00044_any_left_join_string: [ OK ] 17.07 sec.
2025-03-31 07:44:27 00167_parallel_parsing_with_names_and_types: [ OK ] 22.54 sec.
2025-03-31 07:45:42 00159_parallel_formatting_tsv_and_friends: [ OK ] 74.37 sec.
2025-03-31 07:45:56 00086_array_reduce: [ OK ] 14.61 sec.
2025-03-31 07:45:59 00139_like: [ OK ] 96.71 sec.
2025-03-31 07:46:25 00174_distinct_in_order: [ OK ] 28.39 sec.
2025-03-31 07:46:25 00007_uniq: [ OK ] 0.75 sec.
2025-03-31 07:46:27 00054_merge_tree_partitions: [ OK ] 1.78 sec.
2025-03-31 07:46:28 00021_2_select_with_in: [ OK ] 0.68 sec.
2025-03-31 07:47:34 00089_position_functions_with_non_constant_arg: [ OK ] 95.65 sec.
2025-03-31 07:47:45 00161_parallel_parsing_with_names: [ OK ] 10.80 sec.
2025-03-31 07:47:50 00009_uniq_distributed: [ OK ] 5.04 sec.
2025-03-31 07:48:10 00091_prewhere_two_conditions: [ OK ] 102.03 sec.
2025-03-31 07:48:25 00162_mmap_compression_none: [ OK ] 34.47 sec.
2025-03-31 07:48:26 00081_group_by_without_key_and_totals: [ OK ] 1.38 sec.
2025-03-31 07:48:31 00150_quantiles_timing_precision: [ OK ] 4.84 sec.
2025-03-31 07:48:33 00006_agregates: [ OK ] 1.88 sec.
2025-03-31 07:48:34 00032_aggregate_key64: [ OK ] 1.23 sec.
2025-03-31 07:48:49 00094_order_by_array_join_limit: [ OK ] 39.13 sec.
2025-03-31 07:49:01 00146_aggregate_function_uniq: [ OK ] 26.39 sec.
2025-03-31 07:49:01 00090_thread_pool_deadlock: [ OK ] 10.55 sec.
2025-03-31 07:49:01 00142_system_columns: [ OK ] 0.53 sec.
2025-03-31 07:49:05 00016_any_if_distributed_cond_always_false: [ OK ] 4.48 sec.
2025-03-31 07:49:07 00015_totals_and_no_aggregate_functions: [ OK ] 1.98 sec.
2025-03-31 07:49:10 00088_global_in_one_shard_and_rows_before_limit: [ OK ] 9.00 sec.
2025-03-31 07:49:11 00083_array_filter: [ OK ] 3.44 sec.
2025-03-31 07:49:11 00055_index_and_not: [ OK ] 0.78 sec.
2025-03-31 07:49:11 00166_explain_estimate: [ OK ] 0.68 sec.
2025-03-31 07:49:18 00074_full_join: [ OK ] 6.99 sec.
2025-03-31 07:49:47 00053_replicate_segfault: [ OK ] 35.76 sec.
2025-03-31 07:49:49 00011_sorting: [ OK ] 2.43 sec.
2025-03-31 07:50:01 00067_union_all: [ OK ] 11.55 sec.
2025-03-31 07:50:02 00021_3_select_with_in: [ OK ] 0.64 sec.
2025-03-31 07:50:02 00017_aggregation_uninitialized_memory: [ OK ] 0.58 sec.
2025-03-31 07:50:05 00022_merge_prewhere: [ OK ] 3.08 sec.
2025-03-31 07:50:39 00079_array_join_not_used_joined_column: [ OK ] 33.76 sec.
2025-03-31 07:50:57 00049_max_string_if: [ OK ] 17.87 sec.
2025-03-31 07:50:58 00159_parallel_formatting_json_and_friends_2: [ OK ] 99.67 sec.
2025-03-31 07:51:04 00075_left_array_join: [ OK ] 7.20 sec.
2025-03-31 07:51:07 00008_uniq: [ OK ] 2.78 sec.
2025-03-31 07:51:10 00156_max_execution_speed_sample_merge: [ OK ] 12.06 sec.
2025-03-31 07:51:11 00073_uniq_array: [ OK ] 0.73 sec.
2025-03-31 07:51:12 00183_prewhere_conditions_order: [ OK ] 0.63 sec.
2025-03-31 07:51:13 00052_group_by_in: [ OK ] 1.68 sec.
2025-03-31 07:51:17 00181_cross_join_compression: [ OK ] 9.95 sec.
2025-03-31 07:51:18 00151_order_by_read_in_order: [ OK ] 1.14 sec.
2025-03-31 07:51:19 00048_min_max: [ OK ] 0.53 sec.
2025-03-31 07:51:20 00076_system_columns_bytes: [ OK ] 0.73 sec.
2025-03-31 07:51:23 00148_monotonic_functions_and_index: [ OK ] 9.26 sec.
2025-03-31 07:51:24 00010_quantiles_segfault: [ OK ] 1.68 sec.
2025-03-31 07:51:25 00039_primary_key: [ OK ] 0.59 sec.
2025-03-31 07:51:28 00040_aggregating_materialized_view: [ OK ] 8.80 sec.
2025-03-31 07:51:30 00068_subquery_in_prewhere: [ OK ] 1.53 sec.
2025-03-31 07:51:46 00041_aggregating_materialized_view: [ OK ] 20.68 sec.
2025-03-31 07:53:59 00167_read_bytes_from_fs: [ OK ] 149.29 sec.
2025-03-31 07:54:00 00097_constexpr_in_index: [ OK ] 0.52 sec.
2025-03-31 07:54:02 00060_move_to_prewhere_and_sets: [ OK ] 2.08 sec.
2025-03-31 07:54:07 00034_aggregate_key_fixed_string: [ OK ] 5.39 sec.
2025-03-31 07:54:11 00092_obfuscator: [ OK ] 4.04 sec.
2025-03-31 07:54:18 00145_aggregate_functions_statistics: [ OK ] 7.04 sec.
2025-03-31 07:54:28 00153_aggregate_arena_race: [ OK ] 9.10 sec.
2025-03-31 07:54:44 00071_merge_tree_optimize_aio: [ OK ] 177.90 sec.
2025-03-31 07:54:46 00080_array_join_and_union: [ OK ] 2.13 sec.
2025-03-31 07:54:48 00020_distinct_order_by_distributed: [ OK ] 1.98 sec.
2025-03-31 07:54:53 00033_aggregate_key_string: [ OK ] 4.84 sec.
2025-03-31 07:55:31 00024_random_counters: [ OK ] 63.45 sec.
2025-03-31 07:55:32 00066_sorting_distributed_many_replicas: [ OK ] 0.78 sec.
2025-03-31 07:57:00 00169_contingency: [ OK ] 87.82 sec.
2025-03-31 07:57:31 00095_hyperscan_profiler: [ OK ] 31.06 sec.
2025-03-31 07:57:31 00001_count_hits: [ OK ] 0.53 sec.
2025-03-31 07:57:47 00171_grouping_aggregated_transform_bug: [ OK ] 15.86 sec.
2025-03-31 07:58:46 00172_hits_joins: [ OK ] 232.82 sec.
2025-03-31 07:58:48 00062_loyalty: [ OK ] 2.53 sec.
2025-03-31 07:58:49 00069_duplicate_aggregation_keys: [ OK ] 0.58 sec.
2025-03-31 07:58:59 00030_array_enumerate_uniq: [ OK ] 10.05 sec.
2025-03-31 07:59:23 00163_column_oriented_formats: [ OK ] 24.29 sec.
2025-03-31 07:59:25 00084_external_aggregation: [ OK ] 98.18 sec.
2025-03-31 07:59:26 00045_uniq_upto: [ OK ] 2.53 sec.
2025-03-31 07:59:29 00144_functions_of_aggregation_states: [ OK ] 3.69 sec.
2025-03-31 07:59:30 00098_primary_key_memory_allocated: [ OK ] 0.58 sec.
2025-03-31 07:59:31 00087_where_0: [ OK ] 0.73 sec.
2025-03-31 08:00:40 00078_group_by_arrays: [ OK ] 74.51 sec.
2025-03-31 08:00:59 00149_quantiles_timing_distributed: [ OK ] 19.13 sec.
2025-03-31 08:02:12 00184_parallel_hash_returns_same_res_as_hash: [ OK ] 161.57 sec.
2025-03-31 08:03:11 00038_uniq_state_merge2: [ OK ] 58.52 sec.
2025-03-31 08:03:16 00036_aggregate_hashed: [ OK ] 5.69 sec.
2025-03-31 08:03:18 00159_parallel_formatting_json_and_friends_1: [ OK ] 138.37 sec.
2025-03-31 08:03:21 00047_bar: [ OK ] 4.00 sec.
2025-03-31 08:03:24 00014_filtering_arrays: [ OK ] 3.69 sec.
2025-03-31 08:03:32 00182_simple_squashing_transform_bug: [ OK ] 13.66 sec.
2025-03-31 08:03:32 00005_filtering: [ OK ] 0.73 sec.
2025-03-31 08:03:38 00065_loyalty_with_storage_join: [ OK ] 13.56 sec.
2025-03-31 08:03:52 00177_memory_bound_merging: [ OK ] 19.98 sec.
2025-03-31 08:03:56 00042_any_left_join: [ OK ] 3.74 sec.
2025-03-31 08:04:05 00061_storage_buffer: [ OK ] 8.55 sec.
2025-03-31 08:04:09 00175_obfuscator_schema_inference: [ OK ] 4.64 sec.
2025-03-31 08:04:13 00096_obfuscator_save_load: [ OK ] 3.84 sec.
2025-03-31 08:04:15 00175_counting_resources_in_subqueries: [ OK ] 2.19 sec.
2025-03-31 08:04:55 00178_quantile_ddsketch: [ OK ] 39.53 sec.
2025-03-31 08:05:18 00165_jit_aggregate_functions: [ OK ] 23.44 sec.
2025-03-31 08:05:33 00159_parallel_formatting_csv_and_friends: [ OK ] 115.42 sec.
2025-03-31 08:05:37 00147_global_in_aggregate_function: [ OK ] 18.78 sec.
2025-03-31 08:05:41 00035_aggregate_keys128: [ OK ] 3.69 sec.
2025-03-31 08:05:42 00050_min_max: [ OK ] 9.11 sec.
2025-03-31 08:05:47 00056_view: [ OK ] 4.09 sec.
2025-03-31 08:05:49 00143_transform_non_const_default: [ OK ] 2.33 sec.
2025-03-31 08:05:49 00176_bson_parallel_parsing: [ SKIPPED ] 0.00 sec.
2025-03-31 08:05:49 Reason: disabled
2025-03-31 08:05:53 00004_top_counters: [ OK ] 3.84 sec.
2025-03-31 08:06:10 00160_decode_xml_component: [ OK ] 29.05 sec.
2025-03-31 08:06:23 00164_quantileBfloat16: [ OK ] 13.02 sec.
2025-03-31 08:06:23
2025-03-31 08:06:23 54 tests passed. 0 tests skipped. 1562.37 s elapsed (Process-4).
2025-03-31 08:06:30 00037_uniq_state_merge1: [ OK ] 37.24 sec.
2025-03-31 08:06:30
2025-03-31 08:06:30 78 tests passed. 1 tests skipped. 1569.34 s elapsed (Process-3).
2025-03-31 08:06:30 Running 6 stateful tests (MainProcess).
2025-03-31 08:07:56 00180_no_seek_avoiding_when_reading_from_cache: [ OK ] 85.52 sec.
2025-03-31 08:10:08 00170_s3_cache: [ OK ] 132.24 sec.
2025-03-31 08:10:48 00158_cache_dictionary_has: [ OK ] 39.85 sec.
2025-03-31 08:10:48 00157_cache_dictionary: [ SKIPPED ] 0.00 sec.
2025-03-31 08:10:48 Reason: not running for current build
2025-03-31 08:10:48 00152_insert_different_granularity: [ SKIPPED ] 0.00 sec.
2025-03-31 08:10:48 Reason: not running for current build
2025-03-31 08:10:49 00140_rename: [ OK ] 1.24 sec.
2025-03-31 08:10:49
2025-03-31 08:10:49 4 tests passed. 2 tests skipped. 258.97 s elapsed (MainProcess).
2025-03-31 08:10:49 Checking the hung queries: done
2025-03-31 08:10:49
2025-03-31 08:10:49 No queries hung.
2025-03-31 08:10:49 All tests have finished.
+ set -e
+ echo 'Files in current directory'
+ ls -la ./
Files in current directory
total 127160
drwxr-xr-x 1 root root 4096 Mar 31 07:37 .
drwxr-xr-x 1 root root 4096 Mar 31 07:37 ..
lrwxrwxrwx 1 root root 7 Sep 11 2024 bin -> usr/bin
drwxr-xr-x 2 root root 4096 Apr 18 2022 boot
drwxr-xr-x 14 root root 3840 Mar 31 07:36 dev
-rwxr-xr-x 1 root root 0 Mar 31 07:36 .dockerenv
drwxr-xr-x 1 root root 4096 Mar 31 07:37 etc
drwxr-xr-x 2 root root 4096 Apr 18 2022 home
lrwxrwxrwx 1 root root 7 Sep 11 2024 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Sep 11 2024 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 9 Sep 11 2024 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 10 Sep 11 2024 libx32 -> usr/libx32
-rwxr-xr-x 1 root root 26927256 Jan 15 17:53 mc
drwxr-xr-x 2 root root 4096 Sep 11 2024 media
-rwxr-xr-x 1 root root 103174296 Jan 15 17:53 minio
drwxr-xr-x 4 root root 4096 Mar 31 07:37 minio_data
drwxr-xr-x 2 root root 4096 Sep 11 2024 mnt
drwxr-xr-x 1 root root 4096 Jan 14 17:08 opt
-rw-r--r-- 1 root root 0 Feb 14 2024 .package-cache-mutate
drwxrwxr-x 2 1000 1000 4096 Mar 31 07:36 package_folder
dr-xr-xr-x 307 root root 0 Mar 31 07:36 proc
drwxrwxr-x 17 1000 1000 4096 Mar 31 07:35 repo
-rw-rw-r-- 1 root root 863 Jan 15 17:27 requirements.txt
drwx------ 1 root root 4096 Mar 31 07:37 root
drwxr-xr-x 1 root root 4096 Mar 31 07:37 run
lrwxrwxrwx 1 root root 8 Sep 11 2024 sbin -> usr/sbin
-rwxrwxr-x 1 root root 10851 Jan 14 17:07 setup_export_logs.sh
drwxr-xr-x 2 root root 4096 Sep 11 2024 srv
dr-xr-xr-x 13 root root 0 Mar 31 07:36 sys
drwxrwxr-x 2 1000 1000 4096 Mar 31 07:40 test_output
drwxrwxrwt 1 root root 4096 Mar 31 08:10 tmp
drwxr-xr-x 1 root root 4096 Sep 11 2024 usr
drwxr-xr-x 1 root root 4096 Sep 11 2024 var
Files in root directory
+ echo 'Files in root directory'
+ ls -la /
total 127160
drwxr-xr-x 1 root root 4096 Mar 31 07:37 .
drwxr-xr-x 1 root root 4096 Mar 31 07:37 ..
lrwxrwxrwx 1 root root 7 Sep 11 2024 bin -> usr/bin
drwxr-xr-x 2 root root 4096 Apr 18 2022 boot
drwxr-xr-x 14 root root 3840 Mar 31 07:36 dev
-rwxr-xr-x 1 root root 0 Mar 31 07:36 .dockerenv
drwxr-xr-x 1 root root 4096 Mar 31 07:37 etc
drwxr-xr-x 2 root root 4096 Apr 18 2022 home
lrwxrwxrwx 1 root root 7 Sep 11 2024 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Sep 11 2024 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 9 Sep 11 2024 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 10 Sep 11 2024 libx32 -> usr/libx32
-rwxr-xr-x 1 root root 26927256 Jan 15 17:53 mc
drwxr-xr-x 2 root root 4096 Sep 11 2024 media
-rwxr-xr-x 1 root root 103174296 Jan 15 17:53 minio
drwxr-xr-x 4 root root 4096 Mar 31 07:37 minio_data
drwxr-xr-x 2 root root 4096 Sep 11 2024 mnt
drwxr-xr-x 1 root root 4096 Jan 14 17:08 opt
-rw-r--r-- 1 root root 0 Feb 14 2024 .package-cache-mutate
drwxrwxr-x 2 1000 1000 4096 Mar 31 07:36 package_folder
dr-xr-xr-x 307 root root 0 Mar 31 07:36 proc
drwxrwxr-x 17 1000 1000 4096 Mar 31 07:35 repo
-rw-rw-r-- 1 root root 863 Jan 15 17:27 requirements.txt
drwx------ 1 root root 4096 Mar 31 07:37 root
drwxr-xr-x 1 root root 4096 Mar 31 07:37 run
lrwxrwxrwx 1 root root 8 Sep 11 2024 sbin -> usr/sbin
-rwxrwxr-x 1 root root 10851 Jan 14 17:07 setup_export_logs.sh
drwxr-xr-x 2 root root 4096 Sep 11 2024 srv
dr-xr-xr-x 13 root root 0 Mar 31 07:36 sys
drwxrwxr-x 2 1000 1000 4096 Mar 31 07:40 test_output
drwxrwxrwt 1 root root 4096 Mar 31 08:10 tmp
drwxr-xr-x 1 root root 4096 Sep 11 2024 usr
drwxr-xr-x 1 root root 4096 Sep 11 2024 var
+ /repo/tests/docker_scripts/process_functional_tests_result.py
2025-03-31 08:10:49,659 File /repo/tests/broken_tests.json with broken tests found
2025-03-31 08:10:49,660 Find files in result folder test_result.txt,run.log,minio.log
2025-03-31 08:10:49,661 Is flaky check: False
2025-03-31 08:10:49,661 Result parsed
File /repo/tests/analyzer_tech_debt.txt with broken tests found
Broken tests in the list: 3
Broken tests in the list: 3
2025-03-31 08:10:49,661 Result written
+ sudo clickhouse stop
==4681==Installed the sigaction for signal 11
==4681==Installed the sigaction for signal 7
==4681==Installed the sigaction for signal 8
==4681==Using llvm-symbolizer found at: /usr/bin/llvm-symbolizer-19
***** Running under ThreadSanitizer v3 (pid 4681) *****
ThreadSanitizer: growing sync allocator: 0 out of 1048576*1024
ThreadSanitizer: growing heap block allocator: 0 out of 262144*4096
ThreadSanitizer: growing heap block allocator: 1 out of 262144*4096
ThreadSanitizer: growing sync allocator: 1 out of 1048576*1024
ThreadSanitizer: growing heap block allocator: 2 out of 262144*4096
ThreadSanitizer: growing sync allocator: 2 out of 1048576*1024
ThreadSanitizer: growing sync allocator: 3 out of 1048576*1024
ThreadSanitizer: growing sync allocator: 4 out of 1048576*1024
ThreadSanitizer: growing heap block allocator: 3 out of 262144*4096
ThreadSanitizer: growing sync allocator: 5 out of 1048576*1024
ThreadSanitizer: growing sync allocator: 6 out of 1048576*1024
ThreadSanitizer: forked new process with pid 4684, parent had 1 threads
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Sent terminate signal to process with pid 354.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
/var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 354.
The process with pid = 354 is running.
Waiting for server to stop
Now there is no clickhouse-server process.
Server stopped
Stats: SizeClassAllocator64: 10M mapped (1M rss) in 20235 allocations; remains 5797
01 ( 16): mapped: 256K allocs: 1024 frees: 768 inuse: 256 num_freed_chunks 16128 avail: 16384 rss: 16K releases: 1 last released: 240K region: 0x720400000000
02 ( 32): mapped: 256K allocs: 7168 frees: 6656 inuse: 512 num_freed_chunks 7680 avail: 8192 rss: 176K releases: 1 last released: 80K region: 0x720800000000
03 ( 48): mapped: 256K allocs: 5632 frees: 4608 inuse: 1024 num_freed_chunks 4437 avail: 5461 rss: 252K releases: 0 last released: 0K region: 0x720c00000000
04 ( 64): mapped: 256K allocs: 1792 frees: 1408 inuse: 384 num_freed_chunks 3712 avail: 4096 rss: 108K releases: 1 last released: 144K region: 0x721000000000
05 ( 80): mapped: 256K allocs: 384 frees: 128 inuse: 256 num_freed_chunks 3020 avail: 3276 rss: 28K releases: 1 last released: 220K region: 0x721400000000
06 ( 96): mapped: 256K allocs: 256 frees: 0 inuse: 256 num_freed_chunks 2474 avail: 2730 rss: 20K releases: 0 last released: 0K region: 0x721800000000
07 ( 112): mapped: 256K allocs: 384 frees: 128 inuse: 256 num_freed_chunks 2084 avail: 2340 rss: 28K releases: 2 last released: 216K region: 0x721c00000000
08 ( 128): mapped: 256K allocs: 640 frees: 384 inuse: 256 num_freed_chunks 1792 avail: 2048 rss: 80K releases: 1 last released: 176K region: 0x722000000000
09 ( 144): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 1692 avail: 1820 rss: 8K releases: 0 last released: 0K region: 0x722400000000
10 ( 160): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 1510 avail: 1638 rss: 8K releases: 0 last released: 0K region: 0x722800000000
11 ( 176): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 1361 avail: 1489 rss: 4K releases: 0 last released: 0K region: 0x722c00000000
12 ( 192): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 1237 avail: 1365 rss: 16K releases: 0 last released: 0K region: 0x723000000000
13 ( 208): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 1132 avail: 1260 rss: 4K releases: 0 last released: 0K region: 0x723400000000
14 ( 224): mapped: 256K allocs: 512 frees: 256 inuse: 256 num_freed_chunks 914 avail: 1170 rss: 80K releases: 2 last released: 152K region: 0x723800000000
15 ( 240): mapped: 256K allocs: 256 frees: 0 inuse: 256 num_freed_chunks 836 avail: 1092 rss: 40K releases: 0 last released: 0K region: 0x723c00000000
16 ( 256): mapped: 256K allocs: 256 frees: 0 inuse: 256 num_freed_chunks 768 avail: 1024 rss: 40K releases: 0 last released: 0K region: 0x724000000000
17 ( 320): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 691 avail: 819 rss: 16K releases: 0 last released: 0K region: 0x724400000000
18 ( 384): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 554 avail: 682 rss: 8K releases: 0 last released: 0K region: 0x724800000000
19 ( 448): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 457 avail: 585 rss: 8K releases: 0 last released: 0K region: 0x724c00000000
20 ( 512): mapped: 256K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 384 avail: 512 rss: 4K releases: 0 last released: 0K region: 0x725000000000
21 ( 640): mapped: 256K allocs: 102 frees: 0 inuse: 102 num_freed_chunks 307 avail: 409 rss: 4K releases: 0 last released: 0K region: 0x725400000000
22 ( 768): mapped: 256K allocs: 85 frees: 0 inuse: 85 num_freed_chunks 256 avail: 341 rss: 4K releases: 0 last released: 0K region: 0x725800000000
23 ( 896): mapped: 256K allocs: 73 frees: 0 inuse: 73 num_freed_chunks 219 avail: 292 rss: 8K releases: 0 last released: 0K region: 0x725c00000000
24 ( 1024): mapped: 256K allocs: 64 frees: 0 inuse: 64 num_freed_chunks 192 avail: 256 rss: 12K releases: 0 last released: 0K region: 0x726000000000
25 ( 1280): mapped: 256K allocs: 204 frees: 102 inuse: 102 num_freed_chunks 102 avail: 204 rss: 188K releases: 1 last released: 60K region: 0x726400000000
26 ( 1536): mapped: 256K allocs: 42 frees: 0 inuse: 42 num_freed_chunks 128 avail: 170 rss: 8K releases: 0 last released: 0K region: 0x726800000000
27 ( 1792): mapped: 256K allocs: 36 frees: 0 inuse: 36 num_freed_chunks 110 avail: 146 rss: 4K releases: 0 last released: 0K region: 0x726c00000000
28 ( 2048): mapped: 256K allocs: 32 frees: 0 inuse: 32 num_freed_chunks 96 avail: 128 rss: 8K releases: 0 last released: 0K region: 0x727000000000
29 ( 2560): mapped: 256K allocs: 25 frees: 0 inuse: 25 num_freed_chunks 77 avail: 102 rss: 20K releases: 0 last released: 0K region: 0x727400000000
30 ( 3072): mapped: 256K allocs: 21 frees: 0 inuse: 21 num_freed_chunks 64 avail: 85 rss: 8K releases: 0 last released: 0K region: 0x727800000000
31 ( 3584): mapped: 256K allocs: 18 frees: 0 inuse: 18 num_freed_chunks 55 avail: 73 rss: 12K releases: 0 last released: 0K region: 0x727c00000000
32 ( 4096): mapped: 256K allocs: 16 frees: 0 inuse: 16 num_freed_chunks 48 avail: 64 rss: 12K releases: 0 last released: 0K region: 0x728000000000
33 ( 5120): mapped: 256K allocs: 12 frees: 0 inuse: 12 num_freed_chunks 39 avail: 51 rss: 16K releases: 0 last released: 0K region: 0x728400000000
34 ( 6144): mapped: 256K allocs: 10 frees: 0 inuse: 10 num_freed_chunks 32 avail: 42 rss: 12K releases: 0 last released: 0K region: 0x728800000000
35 ( 7168): mapped: 256K allocs: 9 frees: 0 inuse: 9 num_freed_chunks 27 avail: 36 rss: 52K releases: 0 last released: 0K region: 0x728c00000000
36 ( 8192): mapped: 256K allocs: 8 frees: 0 inuse: 8 num_freed_chunks 24 avail: 32 rss: 16K releases: 0 last released: 0K region: 0x729000000000
37 ( 10240): mapped: 256K allocs: 6 frees: 0 inuse: 6 num_freed_chunks 19 avail: 25 rss: 12K releases: 0 last released: 0K region: 0x729400000000
38 ( 12288): mapped: 256K allocs: 5 frees: 0 inuse: 5 num_freed_chunks 16 avail: 21 rss: 12K releases: 0 last released: 0K region: 0x729800000000
39 ( 14336): mapped: 256K allocs: 4 frees: 0 inuse: 4 num_freed_chunks 14 avail: 18 rss: 16K releases: 0 last released: 0K region: 0x729c00000000
42 ( 24576): mapped: 256K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 8 avail: 10 rss: 16K releases: 0 last released: 0K region: 0x72a800000000
43 ( 28672): mapped: 256K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 7 avail: 9 rss: 28K releases: 0 last released: 0K region: 0x72ac00000000
44 ( 32768): mapped: 256K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 6 avail: 8 rss: 32K releases: 0 last released: 0K region: 0x72b000000000
45 ( 40960): mapped: 256K allocs: 1 frees: 0 inuse: 1 num_freed_chunks 5 avail: 6 rss: 4K releases: 0 last released: 0K region: 0x72b400000000
Stats: LargeMmapAllocator: allocated 16 times, remains 0 (0 K) max 4 M; by size logs: 20:16;
+ [[ -n '' ]]
+ kill 325
+ 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