+ apt-get install /packages/clickhouse-server_23.8.16.43.altinitystable_arm64.deb /packages/clickhouse-client_23.8.16.43.altinitystable_arm64.deb /packages/clickhouse-common-static_23.8.16.43.altinitystable_arm64.deb Reading package lists... Building dependency tree... Reading state information... Suggested packages: clickhouse-common-static-dbg Recommended packages: libcap2-bin The following NEW packages will be installed: clickhouse-client clickhouse-common-static clickhouse-server 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/259 MB of archives. After this operation, 847 MB of additional disk space will be used. Get:1 /packages/clickhouse-common-static_23.8.16.43.altinitystable_arm64.deb clickhouse-common-static arm64 23.8.16.43.altinitystable [259 MB] Get:2 /packages/clickhouse-client_23.8.16.43.altinitystable_arm64.deb clickhouse-client arm64 23.8.16.43.altinitystable [95.7 kB] Get:3 /packages/clickhouse-server_23.8.16.43.altinitystable_arm64.deb clickhouse-server arm64 23.8.16.43.altinitystable [122 kB] debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package clickhouse-common-static. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 5275 files and directories currently installed.) Preparing to unpack .../clickhouse-common-static_23.8.16.43.altinitystable_arm64.deb ... Unpacking clickhouse-common-static (23.8.16.43.altinitystable) ... Selecting previously unselected package clickhouse-client. Preparing to unpack .../clickhouse-client_23.8.16.43.altinitystable_arm64.deb ... Unpacking clickhouse-client (23.8.16.43.altinitystable) ... Selecting previously unselected package clickhouse-server. Preparing to unpack .../clickhouse-server_23.8.16.43.altinitystable_arm64.deb ... Unpacking clickhouse-server (23.8.16.43.altinitystable) ... Setting up clickhouse-common-static (23.8.16.43.altinitystable) ... Setting up clickhouse-server (23.8.16.43.altinitystable) ... 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. Symlink /usr/bin/clickhouse-client already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-client to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-local already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-local to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-benchmark already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-benchmark to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-copier already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-copier to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-obfuscator already exists but it points to /clickhouse. Will replace the old symlink 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. Symlink /usr/bin/clickhouse-compressor already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-compressor to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-format already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-format to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-extract-from-config already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-extract-from-config to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-keeper already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-keeper to /usr/bin/clickhouse. Symlink /usr/bin/clickhouse-keeper-converter already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-keeper-converter to /usr/bin/clickhouse. Creating symlink /usr/bin/clickhouse-disks to /usr/bin/clickhouse. Creating clickhouse group if it does not exist. groupadd -r clickhouse Creating clickhouse user if it does not exist. useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse clickhouse Will set ulimits for clickhouse user in /etc/security/limits.d/clickhouse.conf. Creating config directory /etc/clickhouse-server/config.d that is used for tweaks of main server configuration. Creating config directory /etc/clickhouse-server/users.d that is used for tweaks of users configuration. Config file /etc/clickhouse-server/config.xml already exists, will keep it and extract path info from it. /etc/clickhouse-server/config.xml has /var/lib/clickhouse/ as data path. /etc/clickhouse-server/config.xml has /var/log/clickhouse-server/ as log path. Users config file /etc/clickhouse-server/users.xml already exists, will keep it and extract users info from it. Creating log directory /var/log/clickhouse-server/. Creating data directory /var/lib/clickhouse/. Creating pid directory /var/run/clickhouse-server. chown -R clickhouse:clickhouse '/var/log/clickhouse-server/' chown -R clickhouse:clickhouse '/var/run/clickhouse-server' chown clickhouse:clickhouse '/var/lib/clickhouse/' groupadd -r clickhouse-bridge useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse-bridge clickhouse-bridge chown -R clickhouse-bridge:clickhouse-bridge '/usr/bin/clickhouse-odbc-bridge' chown -R clickhouse-bridge:clickhouse-bridge '/usr/bin/clickhouse-library-bridge' Password for default user is 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. Cannot set 'net_admin' or 'ipc_lock' or 'sys_nice' or 'net_bind_service' capability for clickhouse binary. This is optional. Taskstats accounting will be disabled. To enable taskstats accounting you may add the required capability later manually. 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 Synchronizing state of clickhouse-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable clickhouse-server Created symlink /etc/systemd/system/multi-user.target.wants/clickhouse-server.service → /lib/systemd/system/clickhouse-server.service. Setting up clickhouse-client (23.8.16.43.altinitystable) ... + bash -ex /packages/server_test.sh + set -e + trap 'bash -ex /packages/preserve_logs.sh' ERR + test_env=TEST_THE_DEFAULT_PARAMETER=15 + echo TEST_THE_DEFAULT_PARAMETER=15 + systemctl start clickhouse-server + clickhouse-client -q 'SELECT version()' 23.8.16.43.altinitystable ++ cat /var/run/clickhouse-server/clickhouse-server.pid + grep TEST_THE_DEFAULT_PARAMETER=15 /proc/201/environ grep: /proc/201/environ: binary file matches