Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
7 -The Rebellion Begins, 8 - Tears of the Nameless
-
1
Description
The test TestQuerySettings is failing with the latest 2.7.0 + server 7.6.0 build in the cluster creation stage:
Error Messagetimeout: condition status mismatch, expected True, got FalseStacktracegoroutine 159 [running]: |
runtime/debug.Stack()
|
runtime/debug/stack.go:24 +0x67 |
github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc000990b60, {0x72e6080, 0xc001e3c600}) |
github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:1456 +0x30 |
github.com/couchbase/couchbase-operator/test/e2e/e2eutil.MustWaitClusterStatusHealthy(0xc000990b60, 0xc0009a4000, 0xc000b89088, 0xd18c2e2800) |
github.com/couchbase/couchbase-operator/test/e2e/e2eutil/wait_util.go:624 +0x5a |
github.com/couchbase/couchbase-operator/test/e2e/e2eutil.CreateNewClusterFromSpec(0xc000990b60, 0xc0009a4000, 0xc000b88588, 0xf) |
github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:88 +0x86 |
github.com/couchbase/couchbase-operator/test/e2e/e2eutil.MustNewClusterFromSpec(...)
|
github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:104 |
github.com/couchbase/couchbase-operator/test/e2e.TestQuerySettings(0xc000990b60) |
github.com/couchbase/couchbase-operator/test/e2e/cluster_test.go:245 +0xaf2 |
testing.tRunner(0xc000990b60, 0x58ae520) |
testing/testing.go:1689 +0x21f |
created by testing.(*T).Run in goroutine 126 |
testing/testing.go:1742 +0x826 |
Looking at the logs it looks like there is an supported type:
{"level":"info","ts":"2024-04-05T10:52:37Z","logger":"cluster","msg":"Reconciliation failed","cluster":"test-mdtgh/test-couchbase-d7bpz","error":"unsupported type 0xc000648c10 *couchbaseutil.QueryUseReplica: unsupported urlencoding type","stack":"github.com/couchbase/couchbase-operator/pkg/util/urlencoding.Marshal\n\tgithub.com/couchbase/couchbase-operator/pkg/util/urlencoding/encode.go:116\ngithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.SetQuerySettings\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/api.go:876\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).reconcileQuerySettings\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:784\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).reconcileClusterSettings\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:387\ngithub.com/couchbase/couchbase-operator/pkg/cluster.reconcileFuncList.run\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:56\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).reconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:225\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).runReconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:506\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).Update\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:549\ngithub.com/couchbase/couchbase-operator/pkg/controller.(*CouchbaseClusterReconciler).Reconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/controller/controller.go:90\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"} |
{"level":"info","ts":"2024-04-05T10:52:38Z","logger":"cluster","msg":"Resource updated","cluster":"test-mdtgh/test-couchbase-d7bpz","diff":"{v2.ClusterStatus}.Conditions[1].LastUpdateTime:2024-04-05T10:52:32Z->2024-04-05T10:52:37Z;{v2.ClusterStatus}.Conditions[1].Message:unsupported type 0xc000808e30 *couchbaseutil.QueryUseReplica: unsupported urlencoding type->unsupported type 0xc000648c10 *couchbaseutil.QueryUseReplica: unsupported urlencoding type"} |
|
I've attached the logs