Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-1585

[SGW]TestSyncGatewayCreateLocalTLS fails with "context deadline exceeded: document count zero"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.0
    • 2.0.2
    • None
    • 1

    Description

      Suite: P0

      Stack Trace:

      --- FAIL: TestOperator (856.43s)
      --- FAIL: TestOperator/TestSyncGatewayCreateLocalTLS (217.10s)
      crd_util.go:26: creating couchbase cluster: test-couchbase-x0rfg
      util.go:1304: context deadline exceeded: document count zero
      util.go:1305: goroutine 440 [running]:
      runtime/debug.Stack(0xc0006d3200, 0xc000905d20, 0x1)
      /jenkins/workspace/cbop-gke-p0-2.0.x/go/src/runtime/debug/stack.go:24 +0x9d
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc0006d3200, 0x19741c0, 0xc000592310)
      /jenkins/workspace/cbop-gke-p0-2.0.x/gopath/src/github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:1305 +0x77
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.MustVerifyDocCountInBucketNonZero(0xc0006d3200, 0xc000315700, 0xc000683200, 0x171c334, 0x7, 0xdf8475800)
      jenkins/workspace/cbop-gke-p0-2.0.x/gopath/src/github.com/couchbase/couchbase-operator/test/e2e/e2eutil/xdcr_util.go:150 +0x92
      github.com/couchbase/couchbase-operator/test/e2e.testSyncGatewayCreate(0xc0006d3200, 0xc000315700, 0xc000315700, 0x0, 0xc000476e60, 0x0)
      /jenkins/workspace/cbop-gke-p0-2.0.x/gopath/src/github.com/couchbase/couchbase-operator/test/e2e/sync-gateway.go:50 +0x208
      github.com/couchbase/couchbase-operator/test/e2e.TestSyncGatewayCreateLocalTLS(0xc0006d3200)
      /jenkins/workspace/cbop-gke-p0-2.0.x/gopath/src/github.com/couchbase/couchbase-operator/test/e2e/sync-gateway.go:67 +0x17c
      github.com/couchbase/couchbase-operator/test/e2e/framework.RecoverDecorator.func1(0xc0006d3200)
      /jenkins/workspace/cbop-gke-p0-2.0.x/gopath/src/github.com/couchbase/couchbase-operator/test/e2e/framework/test_util.go:347 +0x69
      testing.tRunner(0xc0006d3200, 0xc000439d40)
      /jenkins/workspace/cbop-gke-p0-2.0.x/go/src/testing/testing.go:909 +0xc9
      created by testing.(*T).Run
      /jenkins/workspace/cbop-gke-p0-2.0.x/go/src/testing/testing.go:960 +0x350

      Images Used:
      couchbase sync gateway: couchbase/sync-gateway:2.7.3-enterprise
      couchbase operator: couchbase/couchbase-operator-internal:2.0.2-110
      couchbase admission controller: couchbase/couchbase-admission-internal:2.0.2-110
      couchbase server: couchbase/server:6.5.1
      couchbase server upgrade: couchbase/server:6.5.1

      TestCase:  https://github.com/couchbase/couchbase-operator/blob/49172cbaab0f9ae227b86ac6cfe7cc62551a7988/test/e2e/sync-gateway.go#L63

      Job URL:  http://qa.sc.couchbase.com/view/Cloud/job/cbop-gke-p0-2.0.x/147/console

       The same behaviour is observed for these Sync Gateway test cases as well:

      TestSyncGatewayCreateLocalMutualTLS
      TestSyncGatewayCreateLocalMandatoryMutualTLS
      TestSyncGatewayCreateRemoteTLS
      TestSyncGatewayCreateRemoteMutualTLS
      TestSyncGatewayCreateRemoteMandatoryMutualTLS

      Job URL:  http://qa.sc.couchbase.com/view/Cloud/job/cbop-gke-p0-2.0.x/146/console

      Logs attached.(archive.tgz contains logs of TestSyncGatewayCreateLocalTLS failure, archive_SGW.tgz contains logs of all SGW test case failures)

      Attachments

        1. archive_SGW.tgz
          53.39 MB
        2. archive.tgz
          8.08 MB
        3. sg_debug.log
          9 kB
        4. sg_error.log
          0.2 kB
        5. sg_info.log
          8 kB
        6. sg_warn.log
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            simon.murray Simon Murray
            prateek.kumar Prateek Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty