Skip to content

CI: fix Bugfix validation master-build lookup for the new S3 prefix scheme - #117580

Merged
fm4v merged 1 commit into
masterfrom
fix-bugfix-validation-master-builds
Sep 1, 2026
Merged

fm4v merged 1 commit into
masterfrom
fix-bugfix-validation-master-builds

Conversation

@fm4v

@fm4v fm4v commented Sep 1, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

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

Follow-up for #110081, which moved build artifacts under the normalized workflow name: REFs/master/<sha>/masterci/build_<bt>/clickhouse. find_master_builds in ci/jobs/scripts/bugfix_validation.py still probed the old REFs/master/<sha>/build_<bt>/clickhouse path. While the master_commits window still contained pre-change commits the probe kept finding old-layout builds, but once the window rolled past the layout change, every candidate returned 403 and both Bugfix validation (functional tests) jobs started failing on every pull request with:

AssertionError: Could not find master builds in S3

Example: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=116057&sha=6dbaa58acfc2c84f8f0da5956bb01700c8cc1216&name_0=PR (from #116057). I verified the last 30 master commits: build_amd_asan_ubsan/clickhouse is 403 on the old path and 200 under masterci/ for all of them.

The same stale pattern also exists in ci/jobs/parser_memory_check.py, ci/jobs/performance_tests.py, and ci/jobs/update_toolchain_dockerfile.py; those are not touched here.

Caused by: #110081
Related: 83e3e3d


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

Version info

  • Merged into: 26.9.1.503 (included in 26.9 and later)

…cheme

Follow-up for #110081, which moved build artifacts under the normalized workflow name: `REFs/master/<sha>/masterci/build_<bt>/clickhouse`. `find_master_builds` still probed the old `REFs/master/<sha>/build_<bt>/clickhouse` path, so once every commit in the `master_commits` window had only new-layout builds, both `Bugfix validation (functional tests)` jobs started failing with `AssertionError: Could not find master builds in S3` on every pull request, for example #116057.
@clickhouse-gh

clickhouse-gh Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [267f7b7]

Summary: ✅


AI Review

Summary

This PR updates find_master_builds to probe the workflow-scoped masterci artifact prefix introduced by #110081 instead of the old flat REFs/master/<sha>/build_<bt>/clickhouse path. The producer side in praktika uploads build artifacts under REFs/master/<sha>/<workflow>/<job>, and the new lookup matches that layout for the Build (...) providers consumed by bugfix validation. I did not find a correctness, safety, or PR-metadata issue in the current diff.

Missing context / blind spots
  • ⚠️ I could not independently validate a live master artifact from this environment: sampled anonymous HEAD requests against clickhouse-builds returned 403 for both old and new paths, so the current review is based on the repo’s producer/consumer code paths and the reproduction in the PR description rather than a successful live probe. A passing Bugfix validation job on this branch would close that gap.
Final Verdict

✅ No blockers or majors found in the current diff.

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Sep 1, 2026
@fm4v
fm4v enabled auto-merge September 1, 2026 21:12
@fm4v
fm4v added this pull request to the merge queue Sep 1, 2026
Merged via the queue into master with commit 41b739a Sep 1, 2026
174 checks passed
@fm4v
fm4v deleted the fix-bugfix-validation-master-builds branch September 1, 2026 22:06
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 1, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Sep 2, 2026
Picks up ClickHouse#117580, which repairs the bugfix-validation master-build S3 lookup.
Without it `Bugfix validation (functional tests, amd64/aarch64)` aborts before
running any test and reds the Workflow Post Hook.
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Sep 5, 2026
Picks up three merged fixes that post-date this branch's previous master
merge and that its CI run was red on:

  ClickHouse#117580  Bugfix validation master-build lookup for the new S3 prefix
  ClickHouse#117459  date-dependent toYYYYMM documentation example
  ClickHouse#117412  integration tests' nested-container memory budget

Co-Authored-By: Claude Opus 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants