Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-25088

fix e2e with error "pq: duplicate key value violates unique constraint"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • Global Hub 1.6.0
    • Global Hub
    • None
    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • GH Train-33
    • None

       E2e failed with error: 

      2025-10-10T07:27:56.665Z ERROR managedhub.info managedhub/hub_cluster_info_handler.go:108 pq: duplicate key value violates unique constraint "leaf_hubs_pkey"failed to update hubinfonamehub1id8f10496c-4871-4840-bec5-f4b58dbd4d38[github.com/stolostron/multicluster-global-hub/manager/pkg/status/handlers/managedhub.(*hubClusterInfoHandler).handleEvent|http://github.com/stolostron/multicluster-global-hub/manager/pkg/status/handlers/managedhub.(*hubClusterInfoHandler).handleEvent] /workspace/manager/pkg/status/handlers/managedhub/hub_cluster_info_handler.go:108[github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).fullBundleHandle.func1|http://github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).fullBundleHandle.func1] /workspace/manager/pkg/status/conflator/workerpool/worker.go:121[k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func2|http://k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func2] /go/pkg/mod/k8s.io/apimachinery@v0.33.4/pkg/util/wait/loop.go:87[k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext|http://k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext] /go/pkg/mod/k8s.io/apimachinery@v0.33.4/pkg/util/wait/loop.go:88[k8s.io/apimachinery/pkg/util/wait.PollUntilContextTimeout|http://k8s.io/apimachinery/pkg/util/wait.PollUntilContextTimeout] /go/pkg/mod/k8s.io/apimachinery@v0.33.4/pkg/util/wait/poll.go:48[github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).fullBundleHandle|http://github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).fullBundleHandle] /workspace/manager/pkg/status/conflator/workerpool/worker.go:119[github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).handleJob|http://github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).handleJob] /workspace/manager/pkg/status/conflator/workerpool/worker.go:76[github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).start|http://github.com/stolostron/multicluster-global-hub/manager/pkg/status/conflator/workerpool.(*Worker).start]

              rh-ee-myan Meng Yan
              daliu@redhat.com DangPeng Liu
              Yaheng Liu Yaheng Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: