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.21k stars 3.82k forks source link

ccl/backupccl: TestCleanupIntentsDuringBackupPerformanceRegression failed #130081

Closed github-actions[bot] closed 2 months ago

github-actions[bot] commented 2 months ago

ccl/backupccl.TestCleanupIntentsDuringBackupPerformanceRegression failed on master @ ca0a938b682d34257bdfb139779cb79f4f3310d1:

=== RUN   TestCleanupIntentsDuringBackupPerformanceRegression
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestCleanupIntentsDuringBackupPerformanceRegression3278341991
    test_log_scope.go:81: use -show-logs to present logs inline
    backup_intents_test.go:121: -- test log scope end --
test logs left over in: outputs.zip/logTestCleanupIntentsDuringBackupPerformanceRegression3278341991
--- FAIL: TestCleanupIntentsDuringBackupPerformanceRegression (34.41s)
=== RUN   TestCleanupIntentsDuringBackupPerformanceRegression/abort=false
    test_server_shim.go:157: automatically injected an external process virtual cluster under test; see comment at top of test_server_shim.go for details.
    backup_intents_test.go:117: 
            Error Trace:    github.com/cockroachdb/cockroach/pkg/ccl/backupccl_test/pkg/ccl/backupccl/backup_intents_test.go:117
                                        github.com/cockroachdb/cockroach/pkg/testutils/subtest.go:28
            Error:          Received unexpected error:
                            pq: restart transaction: TransactionRetryWithProtoRefreshError: TransactionRetryError: retry txn (RETRY_ASYNC_WRITE_FAILURE - missing intent on: /Tenant/10/Table/104/1/1000705444815110145/0): "sql txn" meta={id=c6ec3991 key=/Tenant/10/Table/104/1/1000705427842367489/0 iso=Serializable pri=0.04078490 epo=0 ts=1725461478.528083500,1 min=1725461460.742355724,0 seq=11} lock=true stat=PENDING rts=1725461478.528083500,1 wto=false gul=1725461461.242355724,0
            Test:           TestCleanupIntentsDuringBackupPerformanceRegression/abort=false
    --- FAIL: TestCleanupIntentsDuringBackupPerformanceRegression/abort=false (26.47s)

Parameters:

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/disaster-recovery

This test on roachdash | Improve this report!

Jira issue: CRDB-41868

dt commented 2 months ago

Looks like a one-off TransactionRetryWithProtoRefreshError; we'll close this unless it happens again.