cockroachdb / cockroachdb/cockroach
roachtest: cluster_creation failed
- 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/21409183?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyAwsBazel/21409183?buildTab=artifacts#/kv95/enc=false/nodes=3/batch=16) on release-25.4 @ [63425122b3ebb6401edbbb426b417270fa4933c0](https://github.com/cockroachdb/cockroach/commits/63425122b3ebb6401edbbb426b417270fa4933c0):
```
test kv95/enc=false/nodes=3/batch=16 failed: (test_runner.go:891).func4: in provider: aws: aws create failed due to capacity for machine type m6id.2xlarge 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 m6id.2xlarge --image-id ami-08692707dfc6f8b64 --key-name teamcity-runner-Pj0YIiVaLY7LQEZiEyjAfE1Sf-c= --region us-east-2 --security-group-ids sg-04d72b57e29d671f1 --subnet-id subnet-0e71591c1fe06645e --tag-specifications ResourceType=instance,Tags=[{Key=usage,Value=roachtest},{Key=roachtest-branch,Value=release-25-4},{Key=lifetime,Value=12h0m0s},{Key=arch,Value=fips},{Key=created,Value=2026-07-02T07:13:53Z},{Key=Name,Value=teamcity-21409183-1782973208-38-n4cpu8-0002},{Key=Cluster,Value=teamcity-21409183-1782973208-38-n4cpu8},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-21409183-1782973208-38-n4cpu8}] ResourceType=volume,Tags=[{Key=usage,Value=roachtest},{Key=roachtest-branch,Value=release-25-4},{Key=lifetime,Value=12h0m0s},{Key=arch,Value=fips},{Key=created,Value=2026-07-02T07:13:53Z},{Key=Name,Value=teamcity-21409183-1782973208-38-n4cpu8-0002},{Key=Cluster,Value=teamcity-21409183-1782973208-38-n4cpu8},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-21409183-1782973208-38-n4cpu8}] --user-data file:///tmp/aws-startup-script1950041547 --iam-instance-profile Name=roachprod-testing --block-device-mapping file:///tmp/aws-block-device-mapping1809557309 --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 m6id.2xlarge capacity in the Availability Zone you requested (us-east-2c). Our system will be working on provisioning additional capacity. You can currently get m6id.2xlarge 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:
- cloud=aws
- coverageBuild=false
- cpu=8
- runtimeAssertionsBuild=false
- ssd=0
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
- #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]
- #171526 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-24.1.30-rc]
- #171104 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-26.1]
/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-65358
Contributor guide
Research direction
Start with the linked TeamCity failure artifacts and the roachtest README, then trace cluster creation for AWS in the roachtest code. Compare this failure with the related cross-branch issues listed in the report. The issue does not state a desired change or acceptance condition, so the definition of done is not established.
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
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100