cockroachdb / cockroachdb/cockroach

sql: TestShowRangesMultipleStores failed

Open
#172,704 7 comments 0 reactions 1 assignee Claimed by @michae2 View on GitHub
branch-master C-test-failure O-robot T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

sql.TestShowRangesMultipleStores [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsAwsLinuxArm64_UnitTests/21432572?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsAwsLinuxArm64_UnitTests/21432572?buildTab=artifacts#/) on master @ [d82eba970685f334111326c50dd61aae91f91767](https://github.com/cockroachdb/cockroach/commits/d82eba970685f334111326c50dd61aae91f91767):

```
=== RUN TestShowRangesMultipleStores
test_log_scope.go:172: test logs captured to: /artifacts/tmp/_tmp/17b9b212a9f8f930df1697330cbbbb63/logTestShowRangesMultipleStores2485409586
test_log_scope.go:82: use -show-logs to present logs inline
show_ranges_test.go:153: -- test log scope end --
--- FAIL: TestShowRangesMultipleStores (58.81s)
=== RUN TestShowRangesMultipleStores/SHOW_RANGES_FROM_DATABASE_system_WITH_DETAILS
soon.go:64: condition failed to evaluate within 45s: from sql_runner.go:401: query '
SELECT DISTINCT
(
array_position(replica_localities, lease_holder_locality)
= array_position(replicas, lease_holder)
)
FROM [SHOW RANGES FROM DATABASE system WITH DETAILS]
WHERE lease_holder != 0': expected:
true
got:
true
NULL

goroutine dump: /artifacts/tmp/_tmp/17b9b212a9f8f930df1697330cbbbb63/goroutine_dump_2733141221.txt
--- FAIL: TestShowRangesMultipleStores/SHOW_RANGES_FROM_DATABASE_system_WITH_DETAILS (45.81s)
```
Help

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

[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*TestShowRangesMultipleStores.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Jira issue: CRDB-65969

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.