From 6d5c3b64b14e2a2069c91fbe41a45231d079c24a Mon Sep 17 00:00:00 2001 From: CarlosFelipeOR Date: Mon, 17 Aug 2026 14:29:51 -0300 Subject: [PATCH 1/3] Raise stateless test timeout to 1200s on slow builds and pin filesystem cache in 00154_avro Signed-off-by: CarlosFelipeOR --- ci/jobs/functional_tests.py | 1 + tests/queries/0_stateless/00154_avro.sql | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ci/jobs/functional_tests.py b/ci/jobs/functional_tests.py index e4aaa09c4348..c8ed62017e70 100644 --- a/ci/jobs/functional_tests.py +++ b/ci/jobs/functional_tests.py @@ -162,6 +162,7 @@ def run_tests( "parallel": "--no-sequential", "sequential": "--no-parallel", "amd_tsan": " --timeout 1200", # NOTE (strtgbb): tsan is slow, increase the timeout to avoid timeout errors + "amd_debug": " --timeout 1200", # NOTE (carlosfelipeor): debug is slow, increase the timeout to avoid timeout errors "flaky check": "--flaky-check", "targeted": "--flaky-check --no-self-parallel", } diff --git a/tests/queries/0_stateless/00154_avro.sql b/tests/queries/0_stateless/00154_avro.sql index 35e446604d97..ebcbf8fad18d 100644 --- a/tests/queries/0_stateless/00154_avro.sql +++ b/tests/queries/0_stateless/00154_avro.sql @@ -3,6 +3,9 @@ DROP TABLE IF EXISTS avro; SET max_threads = 1, max_insert_threads = 0, max_block_size = 8192, min_insert_block_size_rows = 8192, min_insert_block_size_bytes = 1048576; -- lower memory usage +-- test.hits lives on a cache-over-web disk; with the cache off every column read becomes a +-- remote round trip, which turns this test from under a second into minutes. +SET enable_filesystem_cache = 1; CREATE TABLE avro AS test.hits ENGINE = File(Avro); INSERT INTO avro SELECT * FROM test.hits LIMIT 10000; From d6266405ef2bc5684bd2fdc17c5e80973961739e Mon Sep 17 00:00:00 2001 From: CarlosFelipeOR Date: Mon, 17 Aug 2026 22:06:36 -0300 Subject: [PATCH 2/3] Give arm_binary and amd_binary the same 1200s stateless test timeout as amd_debug Signed-off-by: CarlosFelipeOR --- ci/jobs/functional_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/jobs/functional_tests.py b/ci/jobs/functional_tests.py index c8ed62017e70..61bb06baaf34 100644 --- a/ci/jobs/functional_tests.py +++ b/ci/jobs/functional_tests.py @@ -162,7 +162,9 @@ def run_tests( "parallel": "--no-sequential", "sequential": "--no-parallel", "amd_tsan": " --timeout 1200", # NOTE (strtgbb): tsan is slow, increase the timeout to avoid timeout errors - "amd_debug": " --timeout 1200", # NOTE (carlosfelipeor): debug is slow, increase the timeout to avoid timeout errors + "amd_debug": " --timeout 1200", # NOTE (carlosfelipeor): debug jobs hit network-latency tails on Altinity infra + "arm_binary": " --timeout 1200", # NOTE (carlosfelipeor): binary jobs hit network-latency tails on Altinity infra + "amd_binary": " --timeout 1200", # NOTE (carlosfelipeor): binary jobs hit network-latency tails on Altinity infra "flaky check": "--flaky-check", "targeted": "--flaky-check --no-self-parallel", } From 1bd50f3d073b3089841df523a7f67cdf692899a0 Mon Sep 17 00:00:00 2001 From: CarlosFelipeOR Date: Wed, 19 Aug 2026 10:39:40 -0300 Subject: [PATCH 3/3] Set --dns-search='.' on stateless test jobs to stop DNS search expansion from stalling url() tests Signed-off-by: CarlosFelipeOR --- ci/defs/job_configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/defs/job_configs.py b/ci/defs/job_configs.py index 8504ba253fff..aa3e23105873 100644 --- a/ci/defs/job_configs.py +++ b/ci/defs/job_configs.py @@ -117,7 +117,7 @@ # --root/--privileged/--cgroupns=host is required for clickhouse-test --memory-limit # --ulimit nofile is raised so that azurite-rs (the in-process Azure Blob # Storage emulator) does not run out of file descriptors under parallel load - run_in_docker=f"altinityinfra/stateless-test+--memory={LIMITED_MEM}+--cgroupns=host+--cap-add=SYS_PTRACE+--privileged+--security-opt seccomp=unconfined+--ulimit nofile=1048576:1048576+--tmpfs /tmp/clickhouse:mode=1777+--volume=./ci/tmp/var/lib/clickhouse:/var/lib/clickhouse+--volume=./ci/tmp/etc/clickhouse-client:/etc/clickhouse-client+--volume=./ci/tmp/etc/clickhouse-server:/etc/clickhouse-server+--volume=./ci/tmp/etc/clickhouse-server1:/etc/clickhouse-server1+--volume=./ci/tmp/etc/clickhouse-server2:/etc/clickhouse-server2+--volume=./ci/tmp/var/log:/var/log+root+--env=AZURE_STORAGE_KEY=$AZURE_STORAGE_KEY+--env=AZURE_ACCOUNT_NAME=$AZURE_ACCOUNT_NAME+--env=AZURE_CONTAINER_NAME=$AZURE_CONTAINER_NAME+--env=AZURE_STORAGE_ACCOUNT_URL=$AZURE_STORAGE_ACCOUNT_URL+--env=CLICKHOUSE_TEST_STAT_URL=$CLICKHOUSE_TEST_STAT_URL+--env=CLICKHOUSE_TEST_STAT_LOGIN=$CLICKHOUSE_TEST_STAT_LOGIN+--env=CLICKHOUSE_TEST_STAT_PASSWORD=$CLICKHOUSE_TEST_STAT_PASSWORD", + run_in_docker=f"altinityinfra/stateless-test+--memory={LIMITED_MEM}+--cgroupns=host+--cap-add=SYS_PTRACE+--privileged+--dns-search='.'+--security-opt seccomp=unconfined+--ulimit nofile=1048576:1048576+--tmpfs /tmp/clickhouse:mode=1777+--volume=./ci/tmp/var/lib/clickhouse:/var/lib/clickhouse+--volume=./ci/tmp/etc/clickhouse-client:/etc/clickhouse-client+--volume=./ci/tmp/etc/clickhouse-server:/etc/clickhouse-server+--volume=./ci/tmp/etc/clickhouse-server1:/etc/clickhouse-server1+--volume=./ci/tmp/etc/clickhouse-server2:/etc/clickhouse-server2+--volume=./ci/tmp/var/log:/var/log+root+--env=AZURE_STORAGE_KEY=$AZURE_STORAGE_KEY+--env=AZURE_ACCOUNT_NAME=$AZURE_ACCOUNT_NAME+--env=AZURE_CONTAINER_NAME=$AZURE_CONTAINER_NAME+--env=AZURE_STORAGE_ACCOUNT_URL=$AZURE_STORAGE_ACCOUNT_URL+--env=CLICKHOUSE_TEST_STAT_URL=$CLICKHOUSE_TEST_STAT_URL+--env=CLICKHOUSE_TEST_STAT_LOGIN=$CLICKHOUSE_TEST_STAT_LOGIN+--env=CLICKHOUSE_TEST_STAT_PASSWORD=$CLICKHOUSE_TEST_STAT_PASSWORD", digest_config=Job.CacheDigestConfig( include_paths=[ "./ci/jobs/functional_tests.py",