Skip to content

kvserver: TestStoreMetrics is flaky #81823

@stevendanna

Description

@stevendanna

Describe the problem

The TestStoreMetrics fails quickly under stress on master at 9024015.

> ./dev test ./pkg/kv/kvserver --filter TestStoreMetrics --stress
...
--- FAIL: TestStoreMetrics (8.45s)
    test_log_scope.go:79: test logs captured to: /private/var/tmp/_bazel_ssd/a51ea94df2f483aee3088dde6a3dde4e/sandbox/darwin-sandbox/2148/execroot/com_github_cockroachdb_cockroach/_tmp/d5a35cf87725f62ad73d3efbbbf6e538/logTestStoreMetrics2798440868
    test_log_scope.go:80: use -show-logs to present logs inline
    client_metrics_test.go:158: gauge rocksdb.bloom.filter.prefix.checked = 0 < min 1
    client_metrics_test.go:158: gauge rocksdb.bloom.filter.prefix.useful = 0 < min 1
    client_metrics_test.go:361: -- test log scope end --
FAIL
I220525 13:20:12.118005 1 (gostd) testmain.go:1414  [-] 1  Test //pkg/kv/kvserver:kvserver_test exited with error code 1


ERROR: <nil>

5 runs completed, 1 failures, over 10s
context canceled
FAIL

Jira issue: CRDB-16086

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-storageRelating to our storage engine (Pebble) on-disk storage.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-storageStorage Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions