2017-03-10T08:37:55.612+00:00 (Cmd) merge --archive /couchbase/testBackups/ --repo testRepo --start 2017-03-09T21_01_58.87715463Z --end 2017-03-10T08_05_44.262830586Z 2017-03-10T08:37:55.612+00:00 Merging backups [2017-03-09T21_01_58.87715463Z 2017-03-10T07_53_23.250779779Z 2017-03-10T08_01_35.198289591Z 2017-03-10T08_05_44.262830586Z] 2017-03-10T08:37:55.612+00:00 Creating the merge directory for backup testRepo [FDB INFO] Forestdb blockcache size 2147483648 initialized in 39972 us [FDB INFO] Forestdb opened database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_0.fdb [FDB INFO] Forestdb opened database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_1.fdb [FDB INFO] Forestdb closed database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_0.fdb [FDB INFO] Forestdb closed database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_1.fdb 2017-03-10T08:37:55.690+00:00 Merging data from 2017-03-10T07_53_23.250779779Z 2017-03-10T08:37:55.690+00:00 (Plan) Executing transfer plan 2017-03-10T08:37:55.690+00:00 (Plan) Transfering bucket configuration for travel-sample 2017-03-10T08:37:55.691+00:00 (Plan) Transfering views definitions for travel-sample 2017-03-10T08:37:55.691+00:00 (Plan) Transfering GSI index definitions for travel-sample 2017-03-10T08:37:55.692+00:00 (Plan) Transfering full text index definitions for travel-sample 2017-03-10T08:37:55.693+00:00 (Plan) Deciding which key value data to transfer for travel-sample [FDB INFO] Forestdb opened database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_0.fdb [FDB INFO] Forestdb opened database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_1.fdb [FDB INFO] Forestdb closed database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_0.fdb [FDB INFO] Forestdb closed database file /couchbase/testBackups/testRepo/2017-03-10T07_53_23.250779779Z/travel-sample-25e20207d23f66f845c95123edf1d1a8/data/shard_1.fdb 2017-03-10T08:37:55.784+00:00 (Plan) Transfering new key value data for travel-sample panic: runtime error: integer divide by zero [signal 0x8 code=0x1 addr=0x5f6be9 pc=0x5f6be9] goroutine 1 [running]: github.com/couchbase/backup/storage.(*DataBackup).GetPartitionInfo(0xc82013e090, 0x23d, 0x23d, 0x0, 0x0) github.com/couchbase/backup/storage.(*DataBackup).GetPartitionInfo(0xc82013e090, 0x23d, 0x23d, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/storage/databackup.go:234 +0x39 github.com/couchbase/backup/archive.(*bucketDir).lastPositions(0xc820017640, 0x0, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/archive/dir_bucket.go:97 +0x219 github.com/couchbase/backup/archive.(*archiveSink).GetDataRange(0xc82000fc20, 0xc82005834f, 0xd, 0xc82005835d, 0x20, 0x86b500, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/archive/sink.go:180 +0x13a github.com/couchbase/backup/plan.(*data).execute(0xc820017480, 0x7f84014e7d80, 0xc82000fca0, 0x7f84014e7df8, 0xc82000fc20, 0xc820011a00, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/plan/data.go:49 +0x1a0 github.com/couchbase/backup/plan.(*serial).execute(0xc8200d6900, 0x7f84014e7d80, 0xc82000fca0, 0x7f84014e7df8, 0xc82000fc20, 0xc820011a00, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/plan/serial.go:65 +0x127 github.com/couchbase/backup/plan.(*parallel).execute(0xc8200d68d0, 0x7f84014e7d80, 0xc82000fca0, 0x7f84014e7df8, 0xc82000fc20, 0xc820011a00, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/plan/parallel.go:65 +0x127 github.com/couchbase/backup/plan.(*serial).execute(0xc8200d68a0, 0x7f84014e7d80, 0xc82000fca0, 0x7f84014e7df8, 0xc82000fc20, 0xc820011a00, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/plan/serial.go:65 +0x127 github.com/couchbase/backup/plan.(*Plan).ExecutePlan(0xc820011a00, 0x7f84014e7d80, 0xc82000fca0, 0x7f84014e7df8, 0xc82000fc20, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/plan/plan.go:98 +0xc1 github.com/couchbase/backup/archive.(*Archive).MergeIncrBackups(0xc8200136b0, 0x7ffe3ae046b9, 0x8, 0x7ffe3ae046ca, 0x1d, 0x7ffe3ae046ee, 0x1e, 0x0, 0x0, 0x0) /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/archive/archive.go:349 +0xa04 main.parseMergeCommand() /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/cmd/cbbackupmgr/merge.go:58 +0x539 main.main() /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/cmd/cbbackupmgr/main.go:100 +0x504 goroutine 17 [syscall, locked to thread]: runtime.goexit() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/asm_amd64.s:1721 +0x1 goroutine 5 [syscall]: os/signal.loop() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/os/signal/signal_unix.go:22 +0x18 created by os/signal.init.1 /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/os/signal/signal_unix.go:28 +0x37 goroutine 6 [chan receive]: main.sigHandler() /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/cmd/cbbackupmgr/main.go:307 +0x171 created by main.parseMergeCommand /home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/backup/cmd/cbbackupmgr/merge.go:56 +0x4e3 goroutine 18 [select, locked to thread]: runtime.gopark(0x9d72d8, 0xc820024728, 0x8ff030, 0x6, 0x447518, 0x2) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/proc.go:185 +0x163 runtime.selectgoImpl(0xc820024728, 0x0, 0x18) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/select.go:392 +0xa64 runtime.selectgo(0xc820024728) /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/select.go:212 +0x12 runtime.ensureSigM.func1() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/signal1_unix.go:227 +0x353 runtime.goexit() /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/asm_amd64.s:1721 +0x1