cockroachdb / cockroachdb/cockroach

roachtest: cluster_creation failed

Open
#174,930 355 comments 0 reactions 0 assignees View on GitHub
branch-master 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_Roachtests_RoachtestNightlyGcePrivateBazel/21506130?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_Roachtests_RoachtestNightlyGcePrivateBazel/21506130?buildTab=artifacts#/ledger/nodes=6/multi-az) on master @ [f3d9dd8405adad545c70b300675fef9e5e12e0cb](https://github.com/cockroachdb/cockroach/commits/f3d9dd8405adad545c70b300675fef9e5e12e0cb):

```
test ledger/nodes=6/multi-az failed: (test_runner.go:1381).func5: in provider: gce: BulkInsert failed for us-central1-b: BulkInsert operation failed for zone us-central1-b: gce create failed due to capacity in zone(s) [us-central1-b]: grpc: SERVICE UNAVAILABLE: errors:{code:"VM_MIN_COUNT_NOT_REACHED" message:"Requested minimum count of 2 VMs could not be created."} errors:{code:"ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS" error_details:{help:{links:{description:"Troubleshooting documentation" url:"https://cloud.google.com/compute/docs/resource-error"}}} error_details:{localized_message:{locale:"en-US" message:"A n2-standard-16 VM instance with 2 local SSD(s) is currently unavailable in the us-central1-b zone. Consider trying your request in the us-central1-a, us-central1-f, us-central1-c zone(s), which currently has capacity to accommodate your request. Alternatively, you can try your request again with a different VM hardware configuration or at a later time. For more information, see the troubleshooting documentation."}} error_details:{error_info:{domain:"compute.googleapis.com" metadatas:{key:"attachment" value:"local-ssd:2"} metadatas:{key:"vmType" value:"n2-standard-16"} metadatas:{key:"zone" value:"us-central1-b"} metadatas:{key:"zonesAvailable" value:"us-central1-a,us-central1-f,us-central1-c"} reason:"resource_availability"}} message:"The zone 'projects/crl-e2e-infra/zones/us-central1-b' does not have enough resources available to fulfill the request. 'NULL:0/NULL:0/NULL:0 (state:STOCKOUT, sub-state:STOCKOUT, resource type:compute)'."} [code 2/Unknown] [owner=test-eng]
```

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

- #174920 release-26.2: roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-26.2]
- #174730 basalt-26.3: roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake basalt-red branch-basalt-26.3]
- #174643 release-26.3.2-rc: roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-26.3.2-rc]
- #174642 release-26.2.7-rc: roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-26.2.7-rc]
- #174641 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.4.17-rc]
- #174639 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.2.24-rc]
- #174394 basalt-26.3: roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake basalt-green branch-basalt-26.3]
- #173893 basalt-26.3.1-rc: roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-basalt-26.3.1-rc]
- #173220 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.4.15-rc]
- #173219 roachtest: cluster_creation failed [O-roachtest O-robot T-testeng X-infra-flake branch-release-25.2.23-rc]

/cc @cockroachlabs/test-eng

[Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Jira issue: CRDB-68101

Contributor guide

Open the contributing guide

Research direction

Start with the failure log and the roachtest README, then inspect test_runner.go around line 1381 and the linked TeamCity artifacts. Determine whether the GCE capacity error is transient or requires a change to cluster creation; the issue does not define a specific fix or completion condition.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.