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

CI: test resources race condition #223

Closed
r-vasquez opened this issue May 21, 2024 · 1 comment
Closed

CI: test resources race condition #223

r-vasquez opened this issue May 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@r-vasquez
Copy link
Contributor

When running CI in 2 different PRs you may encounter the following message if one of the jobs fails to teardown the test cluster:

╷
│ Error: Error creating InstanceGroup: googleapi: Error 409: The resource 'projects/[PROJECTNAME]/zones/us-west2-a/instanceGroups/ci-fd-bs-rp-group' already exists, alreadyExists
│
│   with module.redpanda-cluster.google_compute_instance_group.broker[0],
│   on .terraform/modules/redpanda-cluster/cluster.tf line 63, in resource "google_compute_instance_group" "broker":
│   63: resource "google_compute_instance_group" "broker" {
│
╵
@r-vasquez r-vasquez added the bug Something isn't working label May 21, 2024
@r-vasquez
Copy link
Contributor Author

Same in AWS:

│ Error: creating Security Group (rp-basic-ub-node-sec-group): InvalidGroup.Duplicate: The security group 'rp-basic-ub-node-sec-group' already exists for VPC 'vpc-[redacted]'
│ 	status code: 400, request id: [redacted]'
│
│   with module.redpanda-cluster.aws_security_group.node_sec_group,
│   on aws/modules/redpanda-cluster/network.tf line 1, in resource "aws_security_group" "node_sec_group":
│    1: resource "aws_security_group" "node_sec_group" {
│

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants