-
Notifications
You must be signed in to change notification settings - Fork 113
Spanner: should restore database from a backup using an encryption key failed #1464
Description
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.
commit: dcc997f
buildURL: Build Status, Sponge
status: failed
Test output
Command failed: node backups.js restoreBackupWithEncryptionKey test-instance-1630664380 test-database-1630664380-r-enc test-backup-1630664380-enc long-door-651 projects/long-door-651/locations/us-central1/keyRings/test-key-ring-node/cryptoKeys/test-key backups.js restoreBackupWithEncryptionKeyRestores 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-1630664380/databases/test-database-1630664380-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:179:52)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:80: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:75:23)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
at processTicksAndRejections (internal/process/task_queues.js:79:11) {
code: 6,
details: 'Database already exists: projects/long-door-651/instances/test-instance-1630664380/databases/test-database-1630664380-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-1630664380 test-database-1630664380-r-enc test-backup-1630664380-enc long-door-651 projects/long-door-651/locations/us-central1/keyRings/test-key-ring-node/cryptoKeys/test-key
backups.js restoreBackupWithEncryptionKeyRestores 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-1630664380/databases/test-database-1630664380-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:179:52)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:80: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:75:23)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
at processTicksAndRejections (internal/process/task_queues.js:79:11) {
code: 6,
details: 'Database already exists: projects/long-door-651/instances/test-instance-1630664380/databases/test-database-1630664380-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>