cockroachdb / cockroachdb/cockroach

basalt-26.3: sql/sqlstats/sslocal: TestNodeLocalInMemoryViewDoesNotReturnPersistedStats failed

Open
#174,245 3 comments 0 reactions 0 assignees View on GitHub
branch-basalt-26.3 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

sql/sqlstats/sslocal.TestNodeLocalInMemoryViewDoesNotReturnPersistedStats [failed](https://mesolite.cluster.engflow.com/invocations/default/58e2707e-c38d-4b70-beb4-0ce6b35b2170?testReportRun=3&testReportShard=1&testReportAttempt=1#targets-Ly9wa2cvc3FsL3NxbHN0YXRzL3NzbG9jYWw6c3Nsb2NhbF90ZXN0) on basalt-26.3 @ [abe45ee7e166185f8b69028bc6d48f2b10e723ce](https://github.com/cockroachdb/cockroach/commits/abe45ee7e166185f8b69028bc6d48f2b10e723ce):

```
=== RUN TestNodeLocalInMemoryViewDoesNotReturnPersistedStats
test_log_scope.go:172: test logs captured to: outputs.zip/logTestNodeLocalInMemoryViewDoesNotReturnPersistedStats162806709
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.
testcluster.go:665: polling for queued jobs to complete: poll-show-jobs: session record deleted
panic.go:694: -- test log scope end --
test logs left over in: outputs.zip/logTestNodeLocalInMemoryViewDoesNotReturnPersistedStats162806709
--- FAIL: TestNodeLocalInMemoryViewDoesNotReturnPersistedStats (1411.79s)
```

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

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

Same failure on other branches

- #173405 sql/sqlstats/sslocal: TestNodeLocalInMemoryViewDoesNotReturnPersistedStats 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:.*TestNodeLocalInMemoryViewDoesNotReturnPersistedStats.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Jira issue: CRDB-67549

Contributor guide

Open the contributing guide

Research direction

Start by running sql/sqlstats/sslocal.TestNodeLocalInMemoryViewDoesNotReturnPersistedStats with race detection and -show-logs. Review the captured test logs and the test_server_shim.go note about the injected external process virtual cluster, focusing on the deleted session record. Done means the failure cause is identified, corrected, and the test passes on basalt-26.3 and the other affected branches.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.