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", diff --git a/ci/jobs/functional_tests.py b/ci/jobs/functional_tests.py index e4aaa09c4348..61bb06baaf34 100644 --- a/ci/jobs/functional_tests.py +++ b/ci/jobs/functional_tests.py @@ -162,6 +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 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", } 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;