Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud: use uuid as bucket name #135595

Merged

Conversation

jeffswenson
Copy link
Collaborator

@jeffswenson jeffswenson commented Nov 18, 2024

Previously, the GCS and S3 tests used hard coded bucket names to test
the behavior of buckets that do not exist. Now, the tests use a random
UUID. This change is necessary because someone appears to have created
the GCP bucket which causes the test to fail.

Release Justification: Test Only Change
Release Note: None
Fixes: #135307
Fixes: #135348
Fixes: #135349
Fixes: #135350
Fixes: #135351
Fixes: #135352

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jeffswenson jeffswenson force-pushed the jeffswenson-randomize-bucket-names branch from 80aa5e0 to b0ce78a Compare November 18, 2024 20:21
@jeffswenson jeffswenson changed the title cloud: randomize name of buckets that do not exist cloud: use uuid as bucket name Nov 18, 2024
@jeffswenson jeffswenson marked this pull request as ready for review November 18, 2024 20:22
@jeffswenson jeffswenson requested a review from a team as a code owner November 18, 2024 20:22
@jeffswenson jeffswenson requested review from kev-cao and msbutler and removed request for a team November 18, 2024 20:22
@jeffswenson
Copy link
Collaborator Author

This PR depends on #135619. The roll back and the fix need to be in two different PRs so the fix applies cleanly in all backports.

@jeffswenson jeffswenson added backport-23.2.x Flags PRs that need to be backported to 23.2. backport-24.1.x Flags PRs that need to be backported to 24.1. backport-24.2.x Flags PRs that need to be backported to 24.2 backport-24.3.x Flags PRs that need to be backported to 24.3 backport-24.3.0-rc labels Nov 18, 2024
Copy link
Collaborator

@msbutler msbutler left a comment

Choose a reason for hiding this comment

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

might be best to kick off another cloud nightly

@jeffswenson
Copy link
Collaborator Author

Previously, the GCS and S3 tests used hard coded bucket names to test
the behavior of buckets that do not exist. Now, the tests use a random
UUID. This change is necessary because someone appears to have created
the GCP bucket which causes the test to fail.

Release Justification: Test Only Change
Release Note: None
Fixes: cockroachdb#135307
Fixes: cockroachdb#135348
Fixes: cockroachdb#135349
Fixes: cockroachdb#135350
Fixes: cockroachdb#135351
Fixes: cockroachdb#135352
@jeffswenson jeffswenson force-pushed the jeffswenson-randomize-bucket-names branch from b0ce78a to 627c9ac Compare November 18, 2024 22:39
@jeffswenson
Copy link
Collaborator Author

The cloud azure test is failing, but that seems to be independent of this change.

#135661

@jeffswenson
Copy link
Collaborator Author

Thanks for the review!
bors r+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.2.x Flags PRs that need to be backported to 23.2. backport-24.1.x Flags PRs that need to be backported to 24.1. backport-24.2.x Flags PRs that need to be backported to 24.2 backport-24.3.x Flags PRs that need to be backported to 24.3
Projects
None yet
3 participants