cockroachdb / cockroachdb/cockroach

basalt-26.3.2-rc-20260908: backup: TestRestoreJobMessages failed

Open
#175,046 1 comment 0 reactions 0 assignees View on GitHub
A-disaster-recovery branch-basalt-26.3.2-rc-20260908 C-test-failure O-robot release-blocker T-disaster-recovery
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

backup.TestRestoreJobMessages [failed](https://mesolite.cluster.engflow.com/invocations/default/f0916551-4348-4015-a964-7d1ed87aeec5?testReportRun=1&testReportShard=5&testReportAttempt=1#targets-Ly9wa2cvYmFja3VwOmJhY2t1cF90ZXN0) on basalt-26.3.2-rc-20260908 @ [807558e5e81666af257c811e925e4cae570abc28](https://github.com/cockroachdb/cockroach/commits/807558e5e81666af257c811e925e4cae570abc28):

```
=== RUN TestRestoreJobMessages
test_log_scope.go:172: test logs captured to: outputs.zip/logTestRestoreJobMessages2364751629
test_log_scope.go:82: use -show-logs to present logs inline
test_server_shim.go:168: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details.
restore_test.go:276:
Error Trace: pkg/backup/restore_test.go:276
pkg/testutils/soon.go:76
pkg/util/retry/retry.go:393
pkg/testutils/soon.go:82
pkg/testutils/soon.go:59
pkg/testutils/soon.go:38
pkg/backup/restore_test.go:263
Error: "2" is not greater than "2"
Test: TestRestoreJobMessages
testutils.go:385: no Invalid Descriptors
panic.go:694: -- test log scope end --
test logs left over in: outputs.zip/logTestRestoreJobMessages2364751629
--- FAIL: TestRestoreJobMessages (29.25s)
```

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

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

Same failure on other branches

- #173769 backup: TestRestoreJobMessages failed [A-disaster-recovery C-test-failure O-robot P-3 T-disaster-recovery branch-master v26.4.0-prerelease]

/cc @cockroachlabs/disaster-recovery

[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*TestRestoreJobMessages.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Contributor guide

Open the contributing guide

Research direction

Start with pkg/backup/restore_test.go around lines 263-276 and inspect the captured logs for TestRestoreJobMessages, including the failure from the race-enabled run. Compare the same failure reported in issue #173769 and identify why the expected count is not increasing. Done means TestRestoreJobMessages passes without the reported assertion failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.