Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1655

crw operator can't be built in brew (curl not allowed)

XMLWordPrintable

    • False
    • False
    • Undefined

      First build from upstream master / crw-2 branch for 2.8 failed with compilation error.

      Probably need to update the sync scripts again to add/remove/update stuff.

      INFO - === RUN   TestIngressSpec/Test_custom_host
      INFO - --- FAIL: TestIngressSpec (0.00s)
      INFO -     --- FAIL: TestIngressSpec/Test_custom_host (0.00s)
      INFO -         ingres_test.go:145: Expected ingress and ingress returned from API server differ (-want, +got):   &v1beta1.Ingress{
      INFO -               	TypeMeta: v1.TypeMeta{Kind: "Ingress", APIVersion: "extensions/v1beta1"},
      INFO -               	ObjectMeta: v1.ObjectMeta{
      INFO -               		... // 8 identical fields
      INFO -               		DeletionTimestamp:          nil,
      INFO -               		DeletionGracePeriodSeconds: nil,
      INFO -               		Labels: map[string]string{
      INFO -               			"app.kubernetes.io/component":  "test-component",
      INFO -             - 			"app.kubernetes.io/instance":   "che",
      INFO -             + 			"app.kubernetes.io/instance":   "codeready",
      INFO -               			"app.kubernetes.io/managed-by": "codeready-operator",
      INFO -             - 			"app.kubernetes.io/name":       "che",
      INFO -             + 			"app.kubernetes.io/name":       "codeready",
      INFO -               			"type":                         "default",
      INFO -               		},
      INFO -               		Annotations:     map[string]string{"kubernetes.io/ingress.class": "nginx", "nginx.ingress.kubernetes.io/proxy-connect-timeout": "3600", "nginx.ingress.kubernetes.io/proxy-read-timeout": "3600", "nginx.ingress.kubernetes.io/ssl-redirect": "false"},
      INFO -               		OwnerReferences: []v1.OwnerReference{{APIVersion: "org.eclipse.che/v1", Kind: "CheCluster", Controller: &true, BlockOwnerDeletion: &true}},
      INFO -               		... // 3 identical fields
      INFO -               	},
      INFO -               	Spec:   v1beta1.IngressSpec{Rules: []v1beta1.IngressRule{{Host: "test-host", IngressRuleValue: v1beta1.IngressRuleValue{HTTP: &v1beta1.HTTPIngressRuleValue{Paths: []v1beta1.HTTPIngressPath{{Path: "/", Backend: v1beta1.IngressBackend{ServiceName: "che", ServicePort: intstr.IntOrString{IntVal: 8080}}}}}}}}},
      INFO -               	Status: v1beta1.IngressStatus{},
      INFO -               }
      

      and

      INFO - --- FAIL: TestRouteSpec (0.00s)
      INFO -     --- FAIL: TestRouteSpec/Test_domain (0.00s)
      INFO -         route_test.go:186: Expected route and route returned from API server differ (-want, +got):   &v1.Route{
      INFO -               	TypeMeta: v1.TypeMeta{Kind: "Route", APIVersion: "route.openshift.io/v1"},
      INFO -               	ObjectMeta: v1.ObjectMeta{
      INFO -               		... // 8 identical fields
      INFO -               		DeletionTimestamp:          nil,
      INFO -               		DeletionGracePeriodSeconds: nil,
      INFO -               		Labels: map[string]string{
      INFO -               			"app.kubernetes.io/component":  "test-component",
      INFO -             - 			"app.kubernetes.io/instance":   "che",
      INFO -             + 			"app.kubernetes.io/instance":   "codeready",
      INFO -               			"app.kubernetes.io/managed-by": "codeready-operator",
      INFO -             - 			"app.kubernetes.io/name":       "che",
      INFO -             + 			"app.kubernetes.io/name":       "codeready",
      INFO -               			"type":                         "default",
      INFO -               		},
      INFO -               		Annotations:     nil,
      INFO -               		OwnerReferences: []v1.OwnerReference{{APIVersion: "org.eclipse.che/v1", Kind: "CheCluster", Controller: &true, BlockOwnerDeletion: &true}},
      INFO -               		... // 3 identical fields
      INFO -               	},
      INFO -               	Spec:   v1.RouteSpec{Host: "test-eclipse-che.route-domain", To: v1.RouteTargetReference{Kind: "Service", Name: "che", Weight: &100}, Port: &v1.RoutePort{TargetPort: intstr.IntOrString{IntVal: 8080}}},
      INFO -               	Status: v1.RouteStatus{},
      INFO -               }
      INFO -     --- FAIL: TestRouteSpec/Test_custom_host (0.00s)
      INFO -         route_test.go:186: Expected route and route returned from API server differ (-want, +got):   &v1.Route{
      INFO -               	TypeMeta: v1.TypeMeta{Kind: "Route", APIVersion: "route.openshift.io/v1"},
      INFO -               	ObjectMeta: v1.ObjectMeta{
      INFO -               		... // 8 identical fields
      INFO -               		DeletionTimestamp:          nil,
      INFO -               		DeletionGracePeriodSeconds: nil,
      INFO -               		Labels: map[string]string{
      INFO -               			"app.kubernetes.io/component":  "test-component",
      INFO -             - 			"app.kubernetes.io/instance":   "che",
      INFO -             + 			"app.kubernetes.io/instance":   "codeready",
      INFO -               			"app.kubernetes.io/managed-by": "codeready-operator",
      INFO -             - 			"app.kubernetes.io/name":       "che",
      INFO -             + 			"app.kubernetes.io/name":       "codeready",
      INFO -               			"type":                         "default",
      INFO -               		},
      INFO -               		Annotations:     nil,
      INFO -               		OwnerReferences: []v1.OwnerReference{{APIVersion: "org.eclipse.che/v1", Kind: "CheCluster", Controller: &true, BlockOwnerDeletion: &true}},
      INFO -               		... // 3 identical fields
      INFO -               	},
      INFO -               	Spec:   v1.RouteSpec{Host: "test-host", To: v1.RouteTargetReference{Kind: "Service", Name: "che", Weight: &100}, Port: &v1.RoutePort{TargetPort: intstr.IntOrString{IntVal: 8080}}},
      INFO -               	Status: v1.RouteStatus{},
      INFO -               }
      2021-
      

      https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CRW_CI/job/get-sources-rhpkg-container-build_2.x/20/
      http://download.eng.bos.redhat.com/brewroot/work/tasks/702/35390702/x86_64.log

      Or maybe it's a DWO related thing? Or another hardcoded "che" instead of project/product variable thing?

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: