cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

kvserver: flake in TestStoreMetrics on 22.2 with tenant

Open yuzefovich opened this issue 4 years ago • 2 comments

Unrelated PR build.

Failed
=== RUN   TestStoreMetrics
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/d220ac54548e03726afbc72442fd0656/logTestStoreMetrics3392518511
    test_log_scope.go:79: use -show-logs to present logs inline
*
* INFO: Running test with the default test tenant. If you are only seeing a test case failure when this message appears, there may be a problem with your test case running within tenants.
*
    client_metrics_test.go:168: gauge rocksdb.table-readers-mem-estimate = 0 < min 50
    client_metrics_test.go:375: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d220ac54548e03726afbc72442fd0656/logTestStoreMetrics3392518511
--- FAIL: TestStoreMetrics (13.01s)

Jira issue: CRDB-21471

yuzefovich avatar Nov 15 '22 03:11 yuzefovich

@coolcom200 — can you check if that PR build included your fix commit?

jbowens avatar Nov 21 '22 20:11 jbowens

I believe that PR (#91166) is not included in this build as in the latest commit 67c3f524b94ccc53f995267a0f254fa97e822cab the test does not have the compactions disabled.

https://github.com/cockroachdb/cockroach/blob/67c3f524b94ccc53f995267a0f254fa97e822cab/pkg/kv/kvserver/client_metrics_test.go#L285-L287

https://github.com/cockroachdb/cockroach/blob/06ae2280c6dfa972c09b3518322aa57e6379a92a/pkg/kv/kvserver/client_metrics_test.go#L286-L289

coolcom200 avatar Nov 21 '22 21:11 coolcom200