Details
-
Bug
-
Resolution: Won't Fix
-
Critical
-
Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
Build: 7.0.0-4291
Panic found in teardown of the test : test_oso_server_crash_while_building
./testrunner -i /tmp/testexec.20732.ini -p reset_services=True,reset_services=True -t gsi.recovery_gsi.CollectionsSecondaryIndexingRecoveryTests.test_oso_server_crash_while_building,default_bucket=false,defer_build=False,java_sdk_client=True,nodes_init=3,services_init=kv-kv:n1ql-index,all_collections=True,num_items_in_collection=10000,percent_update=30,percent_delete=10,targetProcess=indexer
In the tear down of this test, once bucket is deleted, we see the below panic:
2021-01-26T02:26:49.763-08:00 [Info] Indexer::initPartnInstance Initialized Slice:
|
Index: 4332282837403380860 Slice: SliceId: 0 File: /opt/couchbase/var/lib/couchbase/data/@2i/test_bucket_idx_oso_scope_1_oso_collection_1job_title_join_yr_name_partitioned_name4_4332282837403380860_6.index Index: 4332282837403380860 Partition: 6
|
2021-01-26T02:26:49.763-08:00 [Info] Indexer::initPartnInstance Initialized Partition:
|
Index: 4332282837403380860 Partition: PartitionId: 7 Endpoints: [:9105]
|
2021-01-26T02:26:49.770-08:00 [Error] Indexer::initPartnInstance Failed to check bucket type ephemeral: No bucket named test_bucket
|
2021-01-26T02:26:49.770-08:00 [Error] Indexer::initPartnInstance Error creating slice No bucket named test_bucket. Abort.
|
2021-01-26T02:26:49.770-08:00 [Fatal] Indexer::Unable to Bootstrap Indexer from Persisted Metadata Error creating slice No bucket named test_bucket
|
panic: Error creating slice No bucket named test_bucket
|
|
goroutine 1 [running]:
|
github.com/couchbase/indexing/secondary/common.CrashOnError(...)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/common/util.go:413
|
github.com/couchbase/indexing/secondary/indexer.(*indexer).handleStorageWarmupDone(0xc00005d180, 0x145f740, 0xc0046c81e0)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:6305 +0xb2f
|
github.com/couchbase/indexing/secondary/indexer.(*indexer).handleWorkerMsgs(0xc00005d180, 0x145f740, 0xc0046c81e0)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:1191 +0x1492
|
github.com/couchbase/indexing/secondary/indexer.(*indexer).run(0xc00005d180)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:854 +0x17e
|
github.com/couchbase/indexing/secondary/indexer.NewIndexer(0xc000103290, 0x26, 0x7ffd000001ed, 0x0, 0x0)
|
/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/indexer.go:424 +0x1ef8
|
main.main()
|
goproj/src/github.com/couchbase/indexing/secondary/cmd/indexer/main.go:169 +0x11c4
|
2021-01-26T02:26:54.921-08:00 [Info] Indexer started with command line: [/opt/couchbase/bin/indexer -adminPort=9100 -scanPort=9101 -httpPort=9102 -streamInitPort=9103 -streamCatchupPort=9104 -streamMaintPort=9105 --httpsPort=19102 --certFile=/opt/couchbase/var/lib/couchbase/config/memcached-cert.pem --keyFile=/opt/couchbase/var/lib/couchbase/config/memcached-key.pem -vbuckets=1024 -cluster=127.0.0.1:8091 -storageDir=/opt/couchbase/var/lib/couchbase/data/@2i -diagDir=/opt/couchbase/var/lib/couchbase/crash -logDir=/opt/couchbase/var/lib/couchbase/logs -nodeUUID=d59502c127157531822d29dbc6083f0e -ipv6=false -isEnterprise=true]
|
2021-01-26T02:26:54.931-08:00 [Info] Indexer::NewIndexer Status Warmup
|
|
Logs attached. 172.23.100.22 is the index node. 172.23.100.17 is the node where bucket deleted.