cockroachdb / cockroachdb/cockroach

roachtest: cluster_creation failed

Open
#173,155 21 comments 0 reactions 0 assignees View on GitHub
branch-release-25.4.15-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/21454358?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyAwsBazel/21454358?buildTab=artifacts#/cdc/frontier-persistence-benchmark/interval=30s/tables=1/ranges=10000) on release-25.4.15-rc @ [7b399e713413017b73672b6a21d1e1463b2ca97f](https://github.com/cockroachdb/cockroach/commits/7b399e713413017b73672b6a21d1e1463b2ca97f):

```
test cdc/frontier-persistence-benchmark/interval=30s/tables=1/ranges=10000 failed: (test_runner.go:891).func4: in provider: aws: aws create failed due to capacity for machine type m6id.4xlarge in zone(s) [us-east-2b]; suggested zone(s): [us-east-2a us-east-2c]: failed to run: aws ec2 run-instances --associate-public-ip-address --count 1 --instance-type m6id.4xlarge --image-id ami-0e83be366243f524a --key-name teamcity-runner-c7n9SvJ0hPZjnSP1_clDjsMtGOU= --region us-east-2 --security-group-ids sg-04d72b57e29d671f1 --subnet-id subnet-0e3d146e87ebc5a2c --tag-specifications ResourceType=instance,Tags=[{Key=usage,Value=roachtest},{Key=roachtest-branch,Value=release-25-4-15-rc},{Key=Name,Value=teamcity-21454358-1785996639-22-n4cpu16-0001},{Key=Cluster,Value=teamcity-21454358-1785996639-22-n4cpu16},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-21454358-1785996639-22-n4cpu16},{Key=lifetime,Value=12h0m0s},{Key=arch,Value=amd64},{Key=created,Value=2026-08-06T06:33:56Z}] ResourceType=volume,Tags=[{Key=usage,Value=roachtest},{Key=roachtest-branch,Value=release-25-4-15-rc},{Key=Name,Value=teamcity-21454358-1785996639-22-n4cpu16-0001},{Key=Cluster,Value=teamcity-21454358-1785996639-22-n4cpu16},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-21454358-1785996639-22-n4cpu16},{Key=lifetime,Value=12h0m0s},{Key=arch,Value=amd64},{Key=created,Value=2026-08-06T06:33:56Z}] --user-data file:///tmp/aws-startup-script456874480 --iam-instance-profile Name=roachprod-testing --block-device-mapping file:///tmp/aws-block-device-mapping3239586365 --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.4xlarge capacity in the Availability Zone you requested (us-east-2b). Our system will be working on provisioning additional capacity. You can currently get m6id.4xlarge capacity by not specifying an Availability Zone in your request or choosing us-east-2a, us-east-2c.: exit status 254 [owner=test-eng]
```

Parameters:
- cloud=aws
- coverageBuild=false
- cpu=16
- 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

- #173154 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.2.23-rc]
- #172510 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-26.1.8-rc]
- #172508 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-26.1.8-rc]
- #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]

/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)

Contributor guide

Open the contributing guide

Research direction

Start with the roachtest README, the linked TeamCity build log and artifacts, and the AWS InsufficientInstanceCapacity error. Compare the repeated failures listed in the issue and inspect the cluster_creation path or AWS provider entry point identified while tracing the report. Done means establishing whether this capacity failure needs a code or test-handling change and validating the affected roachtest scenario.

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.