Skip to content

kv/kvserver/protectedts/ptstorage: TestCorruptData failed #67972

@cockroach-teamcity

Description

@cockroach-teamcity

kv/kvserver/protectedts/ptstorage.TestCorruptData failed with artifacts on master @ 2ca4acb22aade1175232187bb2b1754057e89f9b:

=== RUN   TestCorruptData
--- FAIL: TestCorruptData (0.33s)
=== RUN   TestCorruptData/corrupt_hlc_timestamp
    test_log_scope.go:73: test logs captured to: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestCorruptData_corrupt_hlc_timestamp743071762
    test_log_scope.go:74: use -show-logs to present logs inline
E210723 06:26:02.392390 18466 kv/kvserver/protectedts/ptstorage/storage.go:224  [-] 1  failed to parse row as record: failed to parse timestamp for a6a729ae-6379-43ab-81c8-4bd376d46a02: logical part has too many digits
E210723 06:26:02.393380 17261 kv/kvserver/protectedts/ptstorage/storage.go:224  [-] 2  failed to parse row as record: failed to parse timestamp for a6a729ae-6379-43ab-81c8-4bd376d46a02: logical part has too many digits
    storage_test.go:579: 
        	Error Trace:	storage_test.go:579
        	Error:      	"[{ERROR %!s(int64=1627021562393380000) %!s(int64=17261) kv/kvserver/protectedts/ptstorage/storage.go %!s(int64=224) failed to parse row as record: failed to parse timestamp for a6a729ae-6379-43ab-81c8-4bd376d46a02: logical part has too many digits - %!s(uint64=58) %!s(bool=false) DEV %!s(uint32=0) %!s(uint32=0) %!s(uint32=0)} {ERROR %!s(int64=1627021562392390000) %!s(int64=18466) kv/kvserver/protectedts/ptstorage/storage.go %!s(int64=224) failed to parse row as record: failed to parse timestamp for a6a729ae-6379-43ab-81c8-4bd376d46a02: logical part has too many digits - %!s(uint64=57) %!s(bool=false) DEV %!s(uint32=0) %!s(uint32=0) %!s(uint32=0)}]" should have 1 item(s), but has 2
        	Test:       	TestCorruptData/corrupt_hlc_timestamp
    panic.go:613: -- test log scope end --
test logs left over in: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestCorruptData_corrupt_hlc_timestamp743071762
    --- FAIL: TestCorruptData/corrupt_hlc_timestamp (0.16s)
Reproduce

To reproduce, try:

make stressrace TESTS=TestCorruptData PKG=./pkg/kv/kvserver/protectedts/ptstorage TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Parameters in this failure:

  • GOFLAGS=-parallel=4

/cc @cockroachdb/kv ajwerner

This test on roachdash | Improve this report!

Metadata

Metadata

Assignees

Labels

C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.branch-masterFailures and bugs on the master branch.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions