Description
Build
5.1.0-1004 (first Scorch toybuild)
Testcase
./testrunner -i INI.ini -t
fts.stable_topology_fts.StableTopFTS.create_simple_default_index,items=1000,cluster=D,F,D,F,standard_buckets=1,sasl_buckets=1,index_per_bucket=3,upd_del_fields=['is_manager','dept','manages.team_size'],GROUP=P0
[2017-12-14 15:49:38,670] - [fts_base:3333] INFO - 2017/12/14 15:48:12 merging err: merging failed: snappy: corrupt input
[2017-12-14 15:49:38,670] - [fts_base:3333] INFO - 2017/12/14 15:48:12 merging err: merging failed: snappy: corrupt input
[2017-12-14 15:49:38,670] - [fts_base:3333] INFO - 2017/12/14 15:48:12 merging err: merging failed: snappy: corrupt input
[2017-12-14 15:49:38,671] - [fts_base:3333] INFO - 2017/12/14 15:48:12 merging err: merging failed: snappy: corrupt input
[2017-12-14 15:49:38,671] - [fts_base:3333] INFO - panic: runtime error: slice bounds out of range
[2017-12-14 15:49:38,671] - [fts_base:3333] INFO -
[2017-12-14 15:49:38,672] - [fts_base:3333] INFO - goroutine 365 [running]:
[2017-12-14 15:49:38,672] - [fts_base:3333] INFO - panic(0xc95e20, 0x1357a10)
[2017-12-14 15:49:38,672] - [fts_base:3333] INFO - /home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.3/go/src/runtime/panic.go:531 +0x1cf fp=0xc420d21380 sp=0xc420d212e8
[2017-12-14 15:49:38,672] - [fts_base:3333] INFO - runtime.panicslice()
[2017-12-14 15:49:38,673] - [fts_base:3333] INFO - /home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.3/go/src/runtime/panic.go:35 +0x5e fp=0xc420d213a0 sp=0xc420d21380
[2017-12-14 15:49:38,673] - [fts_base:3333] INFO - github.com/blevesearch/bleve/index/scorch/segment/zap.(*Segment).getStoredMetaAndCompressed(0xc420e08640, 0x0, 0x8, 0xc420bcc460, 0x0, 0x410fd2, 0xc420065800, 0x7fc3d10c1000)
[2017-12-14 15:49:38,673] - [fts_base:3333] INFO - /home/couchbase/jenkins/workspace/watson-toy/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/read.go:23 +0x1df fp=0xc420d213f0 sp=0xc420d213a0
[2017-12-14 15:49:38,673] - [fts_base:3333] INFO - github.com/blevesearch/bleve/index/scorch/segment/zap.(*Segment).VisitDocument(0xc420e08640, 0x0, 0xc420d216e8, 0xc420d217a0, 0xc420d21710)
[2017-12-14 15:49:38,673] - [fts_base:3333] INFO - /home/couchbase/jenkins/workspace/watson-toy/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/segment.go:201 +0x7e fp=0xc420d214f0 sp=0xc420d213f0
[2017-12-14 15:49:38,674] - [fts_base:3333] INFO - github.com/blevesearch/bleve/index/scorch/segment/zap.mergeStoredAndRemap(0xc420834190, 0xa, 0xa, 0xc4208341e0, 0xa, 0xa, 0xc420ba71a0, 0xc420dee000, 0xe, 0xe, ...)
[2017-12-14 15:49:38,674] - [fts_base:3333] INFO - /home/couchbase/jenkins/workspace/watson-toy/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/merge.go:359 +0x63c fp=0xc420d21a50 sp=0xc420d214f0
[2017-12-14 15:49:38,674] - [fts_base:3333] INFO - github.com/blevesearch/bleve/index/scorch/segment/zap.Merge(0xc420834190, 0xa, 0xa, 0xc4208341e0, 0xa, 0xa, 0xc420af0200, 0x7c, 0x400, 0x2, ...)
[2017-12-14 15:49:38,674] - [fts_base:3333] INFO - /home/couchbase/jenkins/workspace/watson-toy/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/merge.go:59 +0x25e fp=0xc420d21b90 sp=0xc420d21a50
[2017-12-14 15:49:38,674] - [fts_base:3333] INFO - github.com/blevesearch/bleve/index/scorch.(*Scorch).planMergeAtSnapshot(0xc420b451e0, 0xc420edf3e0, 0xc420d21eb0, 0x1)
[2017-12-14 15:49:38,674] - [fts_base:3333] INFO - /home/couchbase/jenkins/workspace/watson-toy/godeps/src/github.com/blevesearch/bleve/index/scorch/merge.go:135 +0x7f8 fp=0xc420d21e58 sp=0xc420d21b90
[2017-12-14 15:49:38,674] - [fts_base:3333] INFO - github.com/blevesearch/bleve/index/scorch.(*Scorch).mergerLoop(0xc420b451e0)
[2017-12-14 15:49:38,675] - [fts_base:3333] INFO - /home/couchbase/jenkins/workspace/watson-toy/godeps/src/github.com/blevesearch/bleve/index/scorch/merge.go:75 +0x2bf fp=0xc420d21fd8 sp=0xc420d21e58
[2017-12-14 15:49:38,675] - [fts_base:3333] INFO - runtime.goexit()
[2017-12-14 15:49:38,675] - [fts_base:3333] INFO - /home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.3/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420d21fe0 sp=0xc420d21fd8
[2017-12-14 15:49:38,675] - [fts_base:3333] INFO - created by github.com/blevesearch/bleve/index/scorch.(*Scorch).Open
[2017-12-14 15:49:38,675] - [fts_base:3333] INFO - /home/couchbase/jenkins/workspace/watson-toy/godeps/src/github.com/blevesearch/bleve/index/scorch/scorch.go:148 +0x341
Causes multiple crashes, leaving the cluster in a bad state - all subsequent tests fail.