Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-62220

Marketplace e2e test failures blocking the PR merging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.21.0
    • OLM / OperatorHub
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • Rejected
    • Quagsire Sprint 277, Rhydon Sprint 278
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-62132. The following is the description of the original issue:

      Description of problem:

      It failed at It("should ensure default catalogsources are deleted when spec.disableAllSources is set to true"But, seems like it was caused by It("should maintain the values of default catalogsources, ignoring character case in strings. Some field values were changed, see full log https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/operator-framework_operator-marketplace/664/pull-ci-operator-framework-operator-marketplace-release-4.16-e2e-gcp-operator/1969922795819241472/artifacts/e2e-gcp-operator/test/build-log.txt 

           In [It] at: /go/src/github.com/operator-framework/operator-marketplace/test/e2e/operatorhub_test.go:371 @ 09/22/25 01:22:30.288
      ------------------------------
      ••  v1alpha1.CatalogSourceSpec{
      - 	SourceType: "grpc",
      + 	SourceType: "GRPC",
        	Priority:   -200,
      - 	ConfigMap:  "",
      + 	ConfigMap:  "-foo",
        	Address:    "",
        	Image: strings.Join({
      - 		"registry.redhat.io/redhat/certified-operator-index:v",
      + 		"REGISTRY.REDHAT.IO/REDHAT/CERTIFIED-OPERATOR-INDEX:V",
        		"4.16",
        	}, ""),
        	GrpcPodConfig:  &{NodeSelector: {"kubernetes.io/os": "linux", "node-role.kubernetes.io/master": ""}, Tolerations: {{Key: "node-role.kubernetes.io/master", Operator: "Exists", Effect: "NoSchedule"}, {Key: "node.kubernetes.io/unreachable", Operator: "Exists", Effect: "NoExecute", TolerationSeconds: &120}, {Key: "node.kubernetes.io/not-ready", Operator: "Exists", Effect: "NoExecute", TolerationSeconds: &120}}, PriorityClassName: &"system-cluster-critical", SecurityContextConfig: "restricted", ...},
        	UpdateStrategy: &{RegistryPoll: &{RawInterval: "10m", Interval: &{Duration: s"10m0s"}}},
        	Secrets:        nil,
      - 	DisplayName:    "Certified Operators",
      + 	DisplayName:    "cERTIFIED oPERATORS",
        	Description:    "",
      - 	Publisher:      "Red Hat",
      + 	Publisher:      "rED hAT",
        	Icon:           {},
        }
        v1alpha1.CatalogSourceSpec{
        	... // 3 identical fields
        	Address: "",
        	Image:   "registry.redhat.io/redhat/certified-operator-index:v4.16",
        	GrpcPodConfig: &v1alpha1.GrpcPodConfig{
        		NodeSelector:          {"kubernetes.io/os": "linux", "node-role.kubernetes.io/master": ""},
        		Tolerations:           {{Key: "node-role.kubernetes.io/master", Operator: "Exists", Effect: "NoSchedule"}, {Key: "node.kubernetes.io/unreachable", Operator: "Exists", Effect: "NoExecute", TolerationSeconds: &120}, {Key: "node.kubernetes.io/not-ready", Operator: "Exists", Effect: "NoExecute", TolerationSeconds: &120}},
        		Affinity:              nil,
      - 		PriorityClassName:     &"system-cluster-critical",
      + 		PriorityClassName:     &"foo",
        		SecurityContextConfig: "restricted",
        		MemoryTarget:          &{i: {...}, s: "50Mi", Format: "BinarySI"},
        		ExtractContent:        &{CacheDir: "/tmp/cache", CatalogDir: "/configs"},
        	},
        	UpdateStrategy: &{RegistryPoll: &{RawInterval: "10m", Interval: &{Duration: s"10m0s"}}},
        	Secrets:        nil,
        	... // 4 identical fields
        }
      ••

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          always

      Steps to Reproduce:

          1. submit a PR to https://github.com/operator-framework/operator-marketplace
           2. check e2e-gcp-operator job log
           3.
          

      Actual results:

      Test fail, see full log https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/operator-framework_operator-marketplace/664/pull-ci-operator-framework-operator-marketplace-release-4.16-e2e-gcp-operator/1969922795819241472/artifacts/e2e-gcp-operator/test/build-log.txt

      Expected results:

      Test pass.

          

      Additional info:

          

              rhn-support-jiazha Jian Zhang
              rhn-support-jiazha Jian Zhang
              None
              None
              Jian Zhang Jian Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: