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

Upgrade versions switched in TestUpgradeRollback

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.0
    • None
    • None
    • None
    • 5 - Forces of Destiny, 7 -The Rebellion Begins
    • 1

    Description

      The test TestUpgradeRollback is failing to upgrade because it try to upgrade from 7.6.0 to 7.2.0.

       

      However,  in the logs it does look like the upgrade is from 7.2.0 to 7.6.0: 

       

      Error Messagetimeout: admission webhook "couchbase-operator-admission.default.svc" denied the request: cannot upgrade from 7.6.0-2176 to 7.2.0. Version must be less than Stacktracegoroutine 188 [running]:
      runtime/debug.Stack()
      	runtime/debug/stack.go:24 +0x72
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc00031a9c0, {0x6c85540, 0xc000e08040})
      	github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:1455 +0x36
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.MustPatchCluster(0xc000de62d0?, 0x55e2c92?, 0xb?, {0x6cb2ca0, 0xc000de62d0}, 0x4?)
      	github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:905 +0x6f
      github.com/couchbase/couchbase-operator/test/e2e.TestUpgradeRollback(0xc00031a9c0)
      	github.com/couchbase/couchbase-operator/test/e2e/upgrade_test.go:318 +0xbe7
      testing.tRunner(0xc00031a9c0, 0x5757ff0)
      	testing/testing.go:1576 +0x217
      created by testing.(*T).Run
      	testing/testing.go:1629 +0x806 

      Attachments

        For Gerrit Dashboard: K8S-3402
        # Subject Branch Project Status CR V

        Activity

          People

            usamah.jassat Usamah Jassat
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty