cockroachdb / cockroachdb/cockroach

roachtest: cluster_creation failed

Open
#158,429 244 comments 0 reactions 0 assignees View on GitHub
branch-release-25.2.10-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/20786002?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_RoachtestNightlyAwsBazel/20786002?buildTab=artifacts#/kv0/enc=false/nodes=3/cpu=96) on release-25.2.10-rc @ [e63d8b9fc6fc86f9ba0cab9939553551d87cc40d](https://github.com/cockroachdb/cockroach/commits/e63d8b9fc6fc86f9ba0cab9939553551d87cc40d):

```
test kv0/enc=false/nodes=3/cpu=96 failed: (test_runner.go:840).func4: in provider: aws: failed to run: aws ec2 run-instances --associate-public-ip-address --count 1 --instance-type m6id.xlarge --image-id ami-0e83be366243f524a --key-name teamcity-runner-qxL6rlt80iDY8FJmTxdg23pK7q0= --region us-east-2 --security-group-ids sg-04d72b57e29d671f1 --subnet-id subnet-0258dc9d1b6473d84 --tag-specifications ResourceType=instance,Tags=[{Key=usage,Value=roachtest},{Key=roachtest-branch,Value=release-25-2-10-rc},{Key=arch,Value=amd64},{Key=created,Value=2025-11-27T06:59:14Z},{Key=Name,Value=teamcity-20786002-1764225284-22-n4cpu96-0004},{Key=Cluster,Value=teamcity-20786002-1764225284-22-n4cpu96},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-20786002-1764225284-22-n4cpu96},{Key=lifetime,Value=12h0m0s}] ResourceType=volume,Tags=[{Key=usage,Value=roachtest},{Key=roachtest-branch,Value=release-25-2-10-rc},{Key=arch,Value=amd64},{Key=created,Value=2025-11-27T06:59:14Z},{Key=Name,Value=teamcity-20786002-1764225284-22-n4cpu96-0004},{Key=Cluster,Value=teamcity-20786002-1764225284-22-n4cpu96},{Key=spot,Value=true},{Key=roachprod,Value=true},{Key=cluster,Value=teamcity-20786002-1764225284-22-n4cpu96},{Key=lifetime,Value=12h0m0s}] --user-data file:///tmp/aws-startup-script3307814035 --iam-instance-profile Name=roachprod-testing --block-device-mapping file:///tmp/aws-block-device-mapping2677867974 --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.xlarge capacity in the Availability Zone you requested (us-east-2a). Our system will be working on provisioning additional capacity. You can currently get m6id.xlarge capacity by not specifying an Availability Zone in your request or choosing us-east-2b, us-east-2c.: exit status 254 [owner=test-eng]
```

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

- #158428 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.3.6-rc]
- #158427 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-24.3.24-rc]
- #158327 roachtest: cluster_creation failed [O-roachtest O-robot O-rsg T-testeng X-infra-flake branch-release-25.3]
- #158325 roachtest: cluster_creation failed [O-roachtest O-robot O-rsg T-testeng X-infra-flake branch-release-25.3]
- #158127 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-24.3]
- #158126 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-master]
- #158125 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-master]
- #158124 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-master]
- #158123 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.4]
- #158122 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-master]

/cc @cockroachdb/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-57287

Contributor guide

Open the contributing guide

Research direction

The report provides an AWS RunInstances failure from roachtest cluster creation and links the roachtest README, but it does not identify a target change. Start with pkg/cmd/roachtest/README.md and the cluster-creation path, then compare the repeated failures listed in the issue. Done requires an agreed fix and a successful roachtest run without this capacity failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.