cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.07k stars 3.8k forks source link

sql/row: TestNextRowSecondaryIndex failed #115080

Closed cockroach-teamcity closed 11 months ago

cockroach-teamcity commented 11 months ago

sql/row.TestNextRowSecondaryIndex failed with artifacts on master @ 652971ec4edaaa5266dc75d870314a8eddcbfebe:

Fatal error:

panic: test timed out after 57s
running tests:
    TestNextRowSecondaryIndex (5s)

Stack:

goroutine 26963 [running]:
testing.(*M).startAlarm.func1()
    GOROOT/src/testing/testing.go:2259 +0x320
created by time.goFunc
    GOROOT/src/time/sleep.go:176 +0x38
Log preceding fatal error

``` === RUN TestNextRowSecondaryIndex test_log_scope.go:170: test logs captured to: /artifacts/tmp/_tmp/9db56821b86748e0fc537f3d515778f0/logTestNextRowSecondaryIndex4114821351 test_log_scope.go:81: use -show-logs to present logs inline test_server_shim.go:159: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details. ```

Help

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

/cc @cockroachdb/sql-queries

This test on roachdash | Improve this report!

Jira issue: CRDB-33875

mgartner commented 11 months ago
goroutine 23595 [select]:
github.com/cockroachdb/cockroach/pkg/server.(*serverController).startAndWaitForRunningServer(0x4003d76d20, {0x5e84fb8, 0x9086e60}, {0x4a9cdf0?, 0x1bf08eb000?})
    github.com/cockroachdb/cockroach/pkg/server/server_controller_orchestration.go:228 +0xcc
github.com/cockroachdb/cockroach/pkg/server.(*testServer).StartSharedProcessTenant(_, {_, _}, {{0x4a9cdf0, 0xb}, {0xa}, {{0x0, 0x0}, {0x0, 0x0}, ...}, ...})
    github.com/cockroachdb/cockroach/pkg/server/testserver.go:1387 +0x4f0
github.com/cockroachdb/cockroach/pkg/server.(*testServer).startSharedProcessDefaultTestTenant(0x4005298ab0?, {0x5e84fb8, 0x9086e60})
    github.com/cockroachdb/cockroach/pkg/server/testserver.go:666 +0x78
github.com/cockroachdb/cockroach/pkg/server.(*testServer).maybeStartDefaultTestTenant(0x400479fc00, {0x5e84fb8?, 0x9086e60?})
    github.com/cockroachdb/cockroach/pkg/server/testserver.go:716 +0x24c
github.com/cockroachdb/cockroach/pkg/server.(*testServer).Activate(0x400479fc00, {0x5e84fb8, 0x9086e60})
    github.com/cockroachdb/cockroach/pkg/server/testserver.go:842 +0xbc
github.com/cockroachdb/cockroach/pkg/server.(*testServer).Start(0x400479fc00, {0x5e84fb8, 0x9086e60})
    github.com/cockroachdb/cockroach/pkg/server/testserver.go:884 +0xa4
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.(*wrap).Start(0x0?, {0x5e84fb8, 0x9086e60})
    github.com/cockroachdb/cockroach/bazel-out/aarch64-fastbuild/bin/pkg/testutils/serverutils/ts_control_forwarder_generated.go:15 +0x54
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.StartServerOnlyE({_, _}, {{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
    github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:279 +0x188
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.StartServerOnly({_, _}, {{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
    github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:294 +0x6c
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.StartServer({_, _}, {{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
    github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:312 +0x50
github.com/cockroachdb/cockroach/pkg/sql/row.TestNextRowSecondaryIndex(0x4000e8dd40)
    github.com/cockroachdb/cockroach/pkg/sql/row/fetcher_test.go:477 +0xc8
testing.tRunner(0x4000e8dd40, 0x4e066d0)
    GOROOT/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 1
    GOROOT/src/testing/testing.go:1648 +0x33c
mgartner commented 11 months ago

Duplicate of #114210.