cockroachdb / cockroachdb/cockroach

backup: TestDataDriven_in_progress_import_rollback failed

Open
#168,822 2 comments 0 reactions 1 assignee Claimed by @suj-krishnan View on GitHub
A-disaster-recovery branch-master C-test-failure O-robot P-2 T-disaster-recovery
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

backup.TestDataDriven_in_progress_import_rollback [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsAwsLinuxArm64_UnitTests/21321982?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsAwsLinuxArm64_UnitTests/21321982?buildTab=artifacts#/) on master @ [f6ac2462ec38594facfa39b8aa81afb79e41c665](https://github.com/cockroachdb/cockroach/commits/f6ac2462ec38594facfa39b8aa81afb79e41c665):

```
query-sql
SELECT count(*) FROM d.foofoo;
----
1
datadriven_test.go:518:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/10293/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/backup/backup_test_/backup_test.runfiles/com_github_cockroachdb_cockroach/pkg/backup/testdata/backup-restore/in-progress-import-rollback:100:
exec-sql
SET CLUSTER SETTING jobs.debug.pausepoints = 'import.after_ingest';
----
datadriven_test.go:518:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/10293/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/backup/backup_test_/backup_test.runfiles/com_github_cockroachdb_cockroach/pkg/backup/testdata/backup-restore/in-progress-import-rollback:104:
exec-sql
CREATE TABLE foo_offline (i INT PRIMARY KEY, s STRING);
----
datadriven_test.go:518:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/10293/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/backup/backup_test_/backup_test.runfiles/com_github_cockroachdb_cockroach/pkg/backup/testdata/backup-restore/in-progress-import-rollback:108:
import expect-pausepoint tag=never_unpause
IMPORT INTO foo_offline (i,s) CSV DATA ('nodelocal://1/export1/export*-n*.0.csv')
----
job paused at pausepoint
datadriven_test.go:518:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/10293/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/backup/backup_test_/backup_test.runfiles/com_github_cockroachdb_cockroach/pkg/backup/testdata/backup-restore/in-progress-import-rollback:116:
exec-sql
DROP INDEX foo@foo_to_drop_idx;
----
NOTICE: the data for dropped indexes is reclaimed asynchronously
HINT: The reclamation delay can be customized in the zone configuration for the table.
datadriven_test.go:518:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/10293/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/backup/backup_test_/backup_test.runfiles/com_github_cockroachdb_cockroach/pkg/backup/testdata/backup-restore/in-progress-import-rollback:122:
exec-sql
CREATE INDEX foo_new_idx ON foo (s);
----
datadriven_test.go:518:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/10293/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/backup/backup_test_/backup_test.runfiles/com_github_cockroachdb_cockroach/pkg/backup/testdata/backup-restore/in-progress-import-rollback:126:
exec-sql
BACKUP INTO LATEST IN 'nodelocal://1/cluster/' with revision_history;
----
datadriven_test.go:518:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/10293/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/backup/backup_test_/backup_test.runfiles/com_github_cockroachdb_cockroach/pkg/backup/testdata/backup-restore/in-progress-import-rollback:130:
exec-sql
BACKUP DATABASE d INTO LATEST IN 'nodelocal://1/database/' with revision_history;

expected:

found:
pq: backup exhausted retries in initial state: writing backup index metadata: opening object for writing: grpc: context canceled [code 1/Canceled]
testutils.go:368: no Invalid Descriptors
panic.go:694: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/e341ce115e3d3bfe2c6f0cd00b719ec2/logTestDataDriven_in_progress_import_rollback308589471
--- FAIL: TestDataDriven_in_progress_import_rollback (11.48s)
```
Help

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

/cc @cockroachdb/disaster-recovery

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

Jira issue: CRDB-63130

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.