Skip to content

Spanner: should restore database from a backup using an encryption key failed #1553

@flaky-bot

Description

@flaky-bot

Note: #1506 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 9bdd28a
buildURL: Build Status, Sponge
status: failed

Test output
Command failed: node backups.js restoreBackupWithEncryptionKey test-instance-1642581595 test-database-1642581595-r-enc test-backup-1642581595-enc long-door-651 projects/long-door-651/locations/us-west1/keyRings/test-key-ring-node/cryptoKeys/test-key backups.js restoreBackupWithEncryptionKey 

Restores a Cloud Spanner database from a backup with an encryption key.

Options:
--version Show version number [boolean]
--help Show help [boolean]

Error: 6 ALREADY_EXISTS: Database already exists: projects/long-door-651/instances/test-instance-1642581595/databases/test-database-1642581595-r-enc
at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:111:35
at Object.onReceiveStatus (/workspace/node_modules/grpc-gcp/build/src/index.js:73:29)
at InterceptingListenerImpl.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:106:23)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:182:78
at processTicksAndRejections (internal/process/task_queues.js:79:11) {
code: 6,
details: 'Database already exists: projects/long-door-651/instances/test-instance-1642581595/databases/test-database-1642581595-r-enc',
metadata: Metadata {
internalRepr: Map {
'google.rpc.resourceinfo-bin' => [Array],
'grpc-status-details-bin' => [Array],
'grpc-server-stats-bin' => [Array]
},
options: {}
}
}

Error: Command failed: node backups.js restoreBackupWithEncryptionKey test-instance-1642581595 test-database-1642581595-r-enc test-backup-1642581595-enc long-door-651 projects/long-door-651/locations/us-west1/keyRings/test-key-ring-node/cryptoKeys/test-key
backups.js restoreBackupWithEncryptionKey

Restores a Cloud Spanner database from a backup with an encryption key.

Options:
--version Show version number [boolean]
--help Show help [boolean]

Error: 6 ALREADY_EXISTS: Database already exists: projects/long-door-651/instances/test-instance-1642581595/databases/test-database-1642581595-r-enc
at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:180:52)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:111:35
at Object.onReceiveStatus (/workspace/node_modules/grpc-gcp/build/src/index.js:73:29)
at InterceptingListenerImpl.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:106:23)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:182:78
at processTicksAndRejections (internal/process/task_queues.js:79:11) {
code: 6,
details: 'Database already exists: projects/long-door-651/instances/test-instance-1642581595/databases/test-database-1642581595-r-enc',
metadata: Metadata {
internalRepr: Map {
'google.rpc.resourceinfo-bin' => [Array],
'grpc-status-details-bin' => [Array],
'grpc-server-stats-bin' => [Array]
},
options: {}
}
}

at checkExecSyncError (child_process.js:635:11) at Object.execSync (child_process.js:671:15) at execSync (system-test/spanner.test.js:24:28) at Context.<anonymous> (system-test/spanner.test.js:1099:20)</pre></details> 

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/nodejs-spanner API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions