cockroachdb / cockroachdb/cockroach

roachtest: cluster_creation failed

Open
#172,510 211 comments 0 reactions 0 assignees View on GitHub
branch-release-26.1.8-rc O-roachtest O-robot T-testeng X-infra-flake
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

roachtest.cluster_creation [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyAwsBazel/21422038?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyAwsBazel/21422038?buildTab=artifacts#/kv95/enc=false/nodes=3/cpu=32/mt-shared-process) on release-26.1.8-rc @ [e3abeca7ec25cee7ec1962e9dc33131f74eaf950](https://github.com/cockroachdb/cockroach/commits/e3abeca7ec25cee7ec1962e9dc33131f74eaf950):

```
test kv95/enc=false/nodes=3/cpu=32/mt-shared-process failed: (test_runner.go:1017).func4: in provider: aws: aws create failed due to capacity for machine type m7g.xlarge in zone(s) [us-east-2c]; suggested zone(s): [us-east-2a us-east-2b]: failed to run: aws ec2 run-instances --associate-public-ip-address --count 1 --instance-type m7g.xlarge --image-id ami-05983a09f7dc1c18f --key-name teamcity-runner-YeHCpd_Brl2OhHL8fZcY8BoUeD4= --region us-east-2 --security-group-ids sg-04d72b57e29d671f1 --subnet-id subnet-0e71591c1fe06645e --tag-specifications ResourceType=instance,Tags=[{Key=roachtest-branch,Value=release-26-1-8-rc},{Key=usage,Value=roachtest},{Key=lifetime,Value=12h0m0s},{Key=arch,Value=arm64},{Key=created,Value=2026-07-14T12:57:16Z},{Key=Name,Value=teamcity-21422038-1784030114-62-n4cpu32-0004},{Key=Cluster,Value=teamcity-21422038-1784030114-62-n4cpu32},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-21422038-1784030114-62-n4cpu32}] ResourceType=volume,Tags=[{Key=roachtest-branch,Value=release-26-1-8-rc},{Key=usage,Value=roachtest},{Key=lifetime,Value=12h0m0s},{Key=arch,Value=arm64},{Key=created,Value=2026-07-14T12:57:16Z},{Key=Name,Value=teamcity-21422038-1784030114-62-n4cpu32-0004},{Key=Cluster,Value=teamcity-21422038-1784030114-62-n4cpu32},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-21422038-1784030114-62-n4cpu32}] --user-data file:///tmp/aws-startup-script1311001791 --iam-instance-profile Name=roachprod-testing --block-device-mapping file:///tmp/aws-block-device-mapping3168175761 --instance-market-options MarketType=spot,SpotOptions={SpotInstanceType=one-time,InstanceInterruptionBehavior=terminate} --output json: stderr:
An error occurred (InsufficientInstanceCapacity) when calling the RunInstances operation (reached max retries: 2): We currently do not have sufficient m7g.xlarge capacity in the Availability Zone you requested (us-east-2c). Our system will be working on provisioning additional capacity. You can currently get m7g.xlarge capacity by not specifying an Availability Zone in your request or choosing us-east-2a, us-east-2b.: exit status 254 [owner=test-eng]
```

Parameters:
- MetamorphicFilesystem=ext4
- MetamorphicVolumeType=io2
- cloud=aws
- coverageBuild=false
- cpu=32
- diskCount=0
- runtimeAssertionsBuild=false
Help

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md)

See: [How To Investigate \(internal\)](https://cockroachlabs.atlassian.net/l/c/SSSBr8c7)

Same failure on other branches

- #172507 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.4.14-rc]
- #172506 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.2.22-rc]
- #172191 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.4]
- #172020 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.2]
- #171624 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-26.1.6-rc]
- #171623 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.4.12-rc]
- #171620 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.2.20-rc]

/cc @cockroachlabs/test-eng

[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*cluster_creation.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Jira issue: CRDB-65758

Contributor guide

Open the contributing guide

Research direction

Start with the roachtest README and the TeamCity log and artifacts linked in the report; the failure is surfaced at test_runner.go:1017. Compare the repeated cluster_creation failures listed for other branches and inspect the AWS capacity error. Done should mean establishing a project-supported way for this test path to avoid or correctly handle the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud, infrastructure, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.