cockroachdb / cockroachdb/cockroach

sql: TestExperimentalRelocateVoters failed

Open
#175,296 4 comments 0 reactions 1 assignee Assigned to @himanshu-shrivastava-crl View on GitHub
branch-master C-test-failure O-robot P-3 s390x-test-failure T-sql-foundations
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

sql.TestExperimentalRelocateVoters [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsIbmCloudLinuxS390x_UnitTestsS390x/21513367?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsIbmCloudLinuxS390x_UnitTestsS390x/21513367?buildTab=artifacts#/) on master @ [11498498a6837bce989898f7f06648a57215e9ce](https://github.com/cockroachdb/cockroach/commits/11498498a6837bce989898f7f06648a57215e9ce):

```
=== RUN TestExperimentalRelocateVoters
test_log_scope.go:172: test logs captured to: /artifacts/tmp/_tmp/bd99d454bce9552cf84977d80c7c9635/logTestExperimentalRelocateVoters1767474732
test_log_scope.go:82: use -show-logs to present logs inline
multitenant_admin_function_test.go:845: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/bd99d454bce9552cf84977d80c7c9635/logTestExperimentalRelocateVoters1767474732
--- FAIL: TestExperimentalRelocateVoters (62.46s)
=== RUN TestExperimentalRelocateVoters/ALTER_TABLE_x_EXPERIMENTAL_RELOCATE_VOTERS
multitenant_admin_function_test.go:186: condition failed to evaluate within 45s: from multitenant_admin_function_test.go:194: waiting for 1 ranges with LEARNER replicas to clear

goroutine dump: /artifacts/tmp/_tmp/bd99d454bce9552cf84977d80c7c9635/goroutine_dump_2939348994.txt
--- FAIL: TestExperimentalRelocateVoters/ALTER_TABLE_x_EXPERIMENTAL_RELOCATE_VOTERS (61.70s)
```
Help

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

/cc @cockroachlabs/sql-foundations

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

Jira issue: CRDB-68331

Contributor guide

Open the contributing guide

Research direction

Start with TestExperimentalRelocateVoters in multitenant_admin_function_test.go and reproduce the failure using the linked TeamCity artifacts. Inspect the captured test logs and goroutine dump to determine why learner replicas do not clear within 45 seconds. Done means the test completes successfully on the reported s390x configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, distributed-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.