cockroachdb / cockroachdb/cockroach

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

Open
#175,523 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/bb2803f0-20da-4132-9bf9-2818a577ee69?testReportRun=3&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/logTestAdminAPIDatabaseDetails1643072967
test_log_scope.go:82: use -show-logs to present logs inline
test_server_shim.go:168: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details.
test_server_shim.go:639: DRPC is enabled (via testserver factory defaults)
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/logTestAdminAPIDatabaseDetails1643072967
--- FAIL: TestAdminAPIDatabaseDetails (157.21s)
```

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

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

/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 TestAdminAPIDatabaseDetails in pkg/server/application_api/schema_inspection_test.go, especially the assertion around lines 456-469, and inspect the linked test report and captured logs. Reproduce the failure with the race-enabled test configuration. Done means the ApproximateDiskBytes check no longer reports zero and the test passes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, databases, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.