cockroachdb / cockroachdb/cockroach

basalt-26.3.2-rc-20260908: server/application_api: TestAdminAPIDatabaseDetails failed

Open
#175,470 0 comments 0 reactions 0 assignees View on GitHub
branch-basalt-26.3.2-rc-20260908 C-test-failure O-robot release-blocker T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

server/application_api.TestAdminAPIDatabaseDetails [failed](https://mesolite.cluster.engflow.com/invocations/default/154a6740-7ddc-4b24-b932-f3322ce63402?testReportRun=1&testReportShard=7&testReportAttempt=1#targets-Ly9wa2cvc2VydmVyL2FwcGxpY2F0aW9uX2FwaTphcHBsaWNhdGlvbl9hcGlfdGVzdA==) on basalt-26.3.2-rc-20260908 @ [807558e5e81666af257c811e925e4cae570abc28](https://github.com/cockroachdb/cockroach/commits/807558e5e81666af257c811e925e4cae570abc28):

```
=== RUN TestAdminAPIDatabaseDetails
test_log_scope.go:172: test logs captured to: outputs.zip/logTestAdminAPIDatabaseDetails1940871449
test_log_scope.go:82: use -show-logs to present logs inline
test_server_shim.go:168: automatically injected an external process virtual cluster under test; see comment at top of test_server_shim.go for details.
schema_inspection_test.go:469:
Error Trace: pkg/server/application_api/schema_inspection_test.go:469
pkg/testutils/soon.go:76
pkg/util/retry/retry.go:393
pkg/testutils/soon.go:82
pkg/testutils/soon.go:59
pkg/testutils/soon.go:38
pkg/server/application_api/schema_inspection_test.go:456
Error: "0" is not positive
Test: TestAdminAPIDatabaseDetails
Messages: ApproximateDiskBytes
schema_inspection_test.go:473: -- test log scope end --
test logs left over in: outputs.zip/logTestAdminAPIDatabaseDetails1940871449
--- FAIL: TestAdminAPIDatabaseDetails (220.43s)
```

Parameters:
- attempt=1
- race=true
- run=1
- shard=7
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #175003 server/application_api: TestAdminAPIDatabaseDetails failed [C-test-failure O-robot T-observability branch-master release-blocker]

/cc @cockroachlabs/obs-prs

[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*TestAdminAPIDatabaseDetails.*&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 pkg/server/application_api/schema_inspection_test.go around lines 456-473 and inspect the linked failure report or captured outputs.zip logs. Determine why ApproximateDiskBytes is zero in TestAdminAPIDatabaseDetails, then confirm the test passes with a positive value and no regression on the referenced branches.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, databases, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.