Skip to content

release-26.2: roachtest: GCS failover for oversized artifacts.zip#170601

Open
williamchoe3 wants to merge 2 commits into
cockroachdb:release-26.2from
williamchoe3:backport-release-26.2-170147
Open

release-26.2: roachtest: GCS failover for oversized artifacts.zip#170601
williamchoe3 wants to merge 2 commits into
cockroachdb:release-26.2from
williamchoe3:backport-release-26.2-170147

Conversation

@williamchoe3
Copy link
Copy Markdown
Contributor

@williamchoe3 williamchoe3 commented May 19, 2026

Backport of:

Release justification: Test only changes

Epic: None

Previously, artifacts.zip was uploaded via the TeamCity
publishArtifacts service message. TeamCity's artifact upload limit is
7GB, and some roachtests now produce artifacts.zip files far above that
size.

This change adds a GCS failover path for artifacts.zip when it reaches
the configured threshold. Instead of uploading the large artifacts.zip to
TeamCity, roachtest uploads it to GCS and replaces the local zip with a
small artifacts.zip containing artifacts-failover.txt, which points to the
GCS URI.

Release note: None

(cherry picked from commit 0f323e7)
Previously, artifact upload failover logs were written to per-test logs.
Because failover logic runs after per-test Datadog upload, Datadog
log monitors could not observe failover logs.

In publishTeamCityArtifactsWithFailover, use the runner logger for
failover diagnostics. Runner logs are uploaded to Datadog at the end
of the roachtest run, so log monitors can observe artifact failover
events.

Release note: None

(cherry picked from commit 8d6b376)
@williamchoe3 williamchoe3 requested a review from a team as a code owner May 19, 2026 20:12
@williamchoe3 williamchoe3 added the backport Label PR's that are backports to older release branches label May 19, 2026
@williamchoe3 williamchoe3 requested review from herkolategan and shailendra-patel and removed request for a team May 19, 2026 20:12
@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented May 19, 2026

Merging to release-26.2 in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@blathers-crl
Copy link
Copy Markdown

blathers-crl Bot commented May 19, 2026

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl Bot added the T-testeng TestEng Team label May 19, 2026
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@blathers-crl blathers-crl Bot added the backport-test-only Used to denote the backport has only non-production changes label May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches backport-test-only Used to denote the backport has only non-production changes T-testeng TestEng Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants