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

Upgrade between 2 major versions succeeds when it is not expected to

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.0
    • None
    • None
    • None
    • 9 - Cataclysm
    • 1

    Description

      The test TestUpgradeInvalidUpgrade expects an upgrade between 2 major versions to fail, but it succeeds. It is using this version:
       
       

      // This is an illegal target version. targetVersionIllegalUpgrade="couchbase/server:enterprise-10.0.0" // This is an 

       
       

      The failure:

       

      Error Messagecluster patch applied unexpectedlyStacktracegoroutine 184 [running]:
      runtime/debug.Stack()
      	runtime/debug/stack.go:24 +0x67
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc000976d00, {0x72e3700, 0xc001184b40})
      	github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:1456 +0x30
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.MustNotPatchCluster(0xc000976d00, 0xc0002a0000, 0xc0000e9708, {0x7314600, 0xc00c1d0648})
      	github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:915 +0x85
      github.com/couchbase/couchbase-operator/test/e2e.TestUpgradeInvalidUpgrade(0xc000976d00)
      	github.com/couchbase/couchbase-operator/test/e2e/upgrade_test.go:408 +0xcfe
      testing.tRunner(0xc000976d00, 0x58ac9a0)
      	testing/testing.go:1689 +0x21f
      created by testing.(*T).Run in goroutine 178
      	testing/testing.go:1742 +0x826 

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            yusuf.ramzan Yusuf Ramzan
            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