Skip to content

TEMP: run new iceberg perf vs 26.6 - #124388

Closed
arsenmuk wants to merge 4 commits into
masterfrom
arsenmuk/test-ice-suite-with-26.6
Closed

arsenmuk wants to merge 4 commits into
masterfrom
arsenmuk/test-ice-suite-with-26.6

Conversation

@arsenmuk

@arsenmuk arsenmuk commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Related: #119147

Temporary CI experiment: run all queries and profiles in the new Iceberg local and S3 performance suites against the pinned 26.6.8.7 release on ARM and AMD. Do not merge.

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

TEMP - DON'T MERGE


Workflow [PR]
Sync PR [sync-upstream/pr/124388]

@arsenmuk arsenmuk added the pr-performance Pull request with some performance improvements label Oct 7, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [5ab2bf7]

Summary: ❌

job_name test_name status info comment
AST fuzzer (amd_debug) FAIL
Logical error: 'Equal values are not contiguous within the range assumed to be sorted' (STID: 2508-3e4f) FAIL cidb

AI Review

Summary

This PR repurposes the performance-comparison jobs to run the new Iceberg local/S3 suites against a pinned 26.6.8.7 build and adds include-based shared perf fragments plus a job-local SeaweedFS fixture. I found two harness correctness issues and one reproducibility issue, so I would not rely on the job outcomes as-is.

Findings
  • ❌ Blockers
    • [ci/jobs/scripts/seaweedfs_service.py:69] The new helper reduced the final authenticated S3 readiness probe from three retries to one. setup_seaweedfs.sh still only proves anonymous root GET + filer write readiness, so one transient miss on aws s3 ls now fails the whole job and can reintroduce SeaweedFS startup flakes. Suggested fix: restore a bounded retry loop around is_healthy, or make the setup script wait for the same authenticated probe.
    • [ci/jobs/performance_tests.py:2346] release_base is still a supported mode in this script, but the new Iceberg-only filter runs after that mode checks out the baseline tests/performance tree. The pinned 26.6.8.7 ref does not contain iceberg_suite_*, so a release_base invocation now fails on assert test_files before it can fall back to the non-S3 path. Suggested fix: gate the Iceberg-only selection to master_head, or explicitly disable/remove release_base for this temporary experiment.
  • ⚠️ Majors
    • [ci/docker/performance-comparison/Dockerfile:53] CI now bakes SeaweedFS 4.42, while setup_seaweedfs.sh still defaults to 4.48. Runs that download weed instead of using the baked binary will measure a different object-store build than CI, which undermines perf reproducibility. Suggested fix: drive both paths from one shared version or env default.
Final Verdict
  • Status: ⚠️ Request changes
  • Minimum required actions:
    • restore bounded retries for the post-setup authenticated SeaweedFS health probe;
    • either gate the Iceberg-only test selection to master_head or explicitly drop the still-supported release_base path for this experiment;
    • sync the SeaweedFS version between the Docker image and setup_seaweedfs.sh.

LLVM Coverage Report

Measured on commit 5ab2bf7.

Metric Baseline Current Δ
Lines 88.30% 88.30% +0.00%
Functions 91.80% 91.80% +0.00%
Branches 79.70% 79.70% +0.00%

Changed lines: Uncovered code analysis did not run: No coverable C/C++ source files changed (contrib/ is excluded from coverage).

Newly covered: +187 lines in 56 files (-99 lines lost coverage) · Details

Full report

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Oct 7, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). label Oct 7, 2026
if returncode != 0:
print(f"SeaweedFS setup exited with {returncode}; see {log_path}")
return False
if not is_healthy(access_key, secret_key):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The refactor regresses the final readiness check from a bounded retry loop to a single aws s3 ls probe.

setup_seaweedfs.sh only waits for anonymous GET / plus a filer-side write; it never waits for this authenticated S3 LIST path. In the old code we retried that probe three times, so one transient miss here did not fail the whole job. Can we keep a small retry loop around is_healthy (or make the setup script wait for the same authenticated probe) before returning failure?

&& rm -rf /awscliv2.zip /aws

# Keep SEAWEEDFS_VERSION in sync with the default in setup_seaweedfs.sh
ARG SEAWEEDFS_VERSION=4.42

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hard-codes SeaweedFS 4.42, but setup_seaweedfs.sh still defaults to 4.48.

That means CI and any run that downloads weed instead of using the baked binary are now benchmarking different object-store builds. For a perf-only experiment this makes local reproduction and cross-job comparisons hard to trust. Please drive both paths from one shared version/env default.

test_files = [
file
for file in test_discovery.list_test_files("./tests/performance/")
if file.startswith("iceberg_suite_") and (not args.test or args.test in file)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This filter is unconditional, but release_base still checks out the baseline tests/performance tree a few lines above.

The pinned 26.6.8.7 ref (7d517d94ef268330a7ee49460332764f92f38d5b) does not contain any iceberg_suite_* files, so a release_base invocation now slices an empty list and trips assert test_files before the needs_s3 fallback can run. Please either gate the Iceberg-only selection to master_head or explicitly disable/remove the release_base path for this temporary experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). pr-ci pr-performance Pull request with some performance improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant