From 0d18742de149fe47c60626a167ca16ee9eeb198b Mon Sep 17 00:00:00 2001 From: Andrey Zvonov <32552679+zvonand@users.noreply.github.com> Date: Mon, 20 Jul 2026 08:19:22 +0200 Subject: [PATCH] Merge pull request #2050 from Altinity/ci/test-fixes-stable-25.8 Stable-25.8: Fix consistently-failing stateless tests --- tests/clickhouse-test | 4 ++++ .../0_stateless/04326_parquet_v3_geoparquet_wkb_alloc.sh | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/clickhouse-test b/tests/clickhouse-test index 5b1d66d16a4f..60a54caa752f 100755 --- a/tests/clickhouse-test +++ b/tests/clickhouse-test @@ -1077,6 +1077,7 @@ class FailureReason(enum.Enum): NO_STATEFUL = "no-stateful" NO_OPENSSL_FIPS = "no-openssl-fips" ENCRYPTED_STORAGE = "encrypted-storage" + OLD_ANALYZER = "old-analyzer" # UNKNOWN reasons NO_REFERENCE = "no reference file" @@ -1661,6 +1662,9 @@ class TestCase: if "no-parallel-replicas" in tags and args.no_parallel_replicas: return FailureReason.NO_PARALLEL_REPLICAS + if "no-old-analyzer" in tags and is_old_analyzer_used(args): + return FailureReason.OLD_ANALYZER + if "no-async-insert" in tags and args.no_async_insert: return FailureReason.NO_ASYNC_INSERT diff --git a/tests/queries/0_stateless/04326_parquet_v3_geoparquet_wkb_alloc.sh b/tests/queries/0_stateless/04326_parquet_v3_geoparquet_wkb_alloc.sh index ab20e680abd3..48d84da9acee 100755 --- a/tests/queries/0_stateless/04326_parquet_v3_geoparquet_wkb_alloc.sh +++ b/tests/queries/0_stateless/04326_parquet_v3_geoparquet_wkb_alloc.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -# Tags: no-fasttest +# Tags: no-fasttest, no-ubsan # no-fasttest: needs pyarrow to write the GeoParquet file. +# no-ubsan: memory tracking isn't reliably enforced in the standalone UBSan build (jemalloc off), so the oversized reserve isn't rejected. See Altinity/ClickHouse#2049. # Regression test for an untracked-allocation DoS in the Parquet V3 GeoParquet (WKB) reader. # The WKB reader took an element count straight off the wire and `reserve`d a std::vector of that