Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-31638

[XDCR] panic: runtime error: invalid memory address or nil pointer dereference found in rebalance test case

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

      Regression after 6.0.0-1663 due to https://github.com/couchbase/goxdcr/commit/f33e79e97a6359cdf7b106d502d24fef2c951a10

      Testcase finished without any data loss - rev ids were verified properly - test case fails while scanning for panic in logs

      ./testrunner -i /tmp/testexec.9460.ini -p stop-on-failure=False,fail_on_errors=1,get-cbcollect-info=True -t xdcr.rebalanceXDCR.Rebalance.async_rebalance_out_master,items=100000,rdirection=bidirection,ctopology=chain,update=C1-C2,delete=C1-C2,rebalance=C2,GROUP=P1

      Above test case failed due to this panic in logs:

      [2018-10-06 21:28:21,492] - [xdcrnewbasetests:3394] INFO - panic: runtime error: invalid memory address or nil pointer dereference
      [2018-10-06 21:28:21,492] - [xdcrnewbasetests:3394] INFO - [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7cbf79]
      [2018-10-06 21:28:21,493] - [xdcrnewbasetests:3394] INFO - 
      [2018-10-06 21:28:21,493] - [xdcrnewbasetests:3394] INFO - goroutine 26919 [running]:
      [2018-10-06 21:28:21,493] - [xdcrnewbasetests:3394] INFO - github.com/couchbase/goxdcr/utils.(*Utilities).ExponentialBackoffExecutorWithFinishSignal(0xc42016e020, 0xa3ee62, 0x13, 0xbebc200, 0x5, 0x2, 0xc420578200, 0x0, 0x0, 0xc420599560, ...)
      [2018-10-06 21:28:21,493] - [xdcrnewbasetests:3394] INFO - 	goproj/src/github.com/couchbase/goxdcr/utils/utils.go:2416 +0x419
      [2018-10-06 21:28:21,494] - [xdcrnewbasetests:3394] INFO - github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).getHighSeqnoAndVBUuidForServerWithRetry(0xc4201c0180, 0xc4202e7700, 0x13, 0xc420207000, 0x200, 0x200, 0xc4205b4ed0, 0xc420599560)
      [2018-10-06 21:28:21,494] - [xdcrnewbasetests:3394] INFO - 	goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:445 +0x18c
      [2018-10-06 21:28:21,494] - [xdcrnewbasetests:3394] INFO - github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).getHighSeqnoAndVBUuidFromTarget(0xc4201c0180, 0xc420599560, 0x0)
      [2018-10-06 21:28:21,494] - [xdcrnewbasetests:3394] INFO - 	goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:407 +0x172
      [2018-10-06 21:28:21,495] - [xdcrnewbasetests:3394] INFO - github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).performCkpt(0xc4201c0180, 0xc420599560, 0xc4204f8a10)
      [2018-10-06 21:28:21,495] - [xdcrnewbasetests:3394] INFO - 	goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:1066 +0x2d6
      [2018-10-06 21:28:21,495] - [xdcrnewbasetests:3394] INFO - created by github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).checkpointing
      [2018-10-06 21:28:21,495] - [xdcrnewbasetests:3394] INFO - 	goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:994 +0x5dc
      [2018-10-06 21:28:21,496] - [xdcrnewbasetests:3394] INFO - [goport(/opt/couchbase/bin/goxdcr)] 2018/10/06 20:49:20 child process exited with status 2
      [2018-10-06 21:28:21,496] - [xdcrnewbasetests:3394] INFO - 2018-10-06T20:49:21.001-07:00 INFO GOXDCR.ReplMgr: GOMAXPROCS=4
      

      Attachments

        Issue Links

          Activity

            People

              yu Yu Sui (Inactive)
              arunkumar Arunkumar Senthilnathan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty