{{ message }}
roachtest: fix cdc/initial-scan-only/parquet/metamorphic auth on GCE#168987
Draft
aerfrei wants to merge 1 commit intocockroachdb:masterfrom
Draft
roachtest: fix cdc/initial-scan-only/parquet/metamorphic auth on GCE#168987aerfrei wants to merge 1 commit intocockroachdb:masterfrom
aerfrei wants to merge 1 commit intocockroachdb:masterfrom
Conversation
The test was skipped because it failed on the GCE nightly worker with: unable to list files in gcs bucket: ... metadata: GCE metadata "instance/service-accounts/default/token?scopes=.../devstorage.read_write" not defined The test creates a cloud storage sink with AUTH=implicit, which works for the cluster nodes (their attached service account has the right scope), but not for the roachtest process itself, which runs on a TeamCity GCE worker without devstorage.read_write. The test process needs to read the sink output back to fingerprint it, which is what triggers the failure. Switch the URI used by the local read path to AUTH=specified, populating CREDENTIALS from the GOOGLE_EPHEMERAL_CREDENTIALS env var (the same convention already used by query_comparison_util.go). The cluster-side sink URI is left untouched. If the env var is missing, fail with TransientFailure so CI surfaces it as an infra issue rather than a real test regression. Fixes: cockroachdb#119295 Fixes: cockroachdb#127940 Epic: none Release note: None
Contributor
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The test was skipped because it failed on the GCE nightly worker with:
unable to list files in gcs bucket: ... metadata: GCE metadata
"instance/service-accounts/default/token?scopes=.../devstorage.read_write"
not defined
The test creates a cloud storage sink with AUTH=implicit, which works for the cluster nodes (their attached service account has the right scope), but not for the roachtest process itself, which runs on a TeamCity GCE worker without devstorage.read_write. The test process needs to read the sink output back to fingerprint it, which is what triggers the failure.
Switch the URI used by the local read path to AUTH=specified, populating CREDENTIALS from the GOOGLE_EPHEMERAL_CREDENTIALS env var (the same convention already used by query_comparison_util.go). The cluster-side sink URI is left untouched. If the env var is missing, fail with TransientFailure so CI surfaces it as an infra issue rather than a real test regression.
Fixes: #119295
Fixes: #127940
Epic: none
Release note: None