Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Knative Kafka w/o upstream e2e tests and w/o smoke tests #587

Merged

Conversation

aliok
Copy link
Contributor

@aliok aliok commented Oct 20, 2020

@aliok aliok changed the title Enable Knative Kafka w/o upstream e2e tests and w/o smoke tests [WIP] Enable Knative Kafka w/o upstream e2e tests and w/o smoke tests Oct 20, 2020
@matzew matzew force-pushed the 001-enable-knative-kafka branch from 534fea6 to 2927617 Compare October 20, 2020 13:02
@matzew matzew changed the title [WIP] Enable Knative Kafka w/o upstream e2e tests and w/o smoke tests Enable Knative Kafka w/o upstream e2e tests and w/o smoke tests Oct 20, 2020
@@ -0,0 +1,116 @@
apiVersion: apiextensions.k8s.io/v1beta1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be the v1 based CRD?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on v1 CRD.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have moved my "old" PR for CRD_v1 now to Ali's brach:

aliok#5

See the old reference for the size of the DIFF - I've now closed my old CRD_v1 PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gonna merge that after CI reports success/fail here

Don't want to interrupt it. I want to see the results

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do this separately. I had trouble doing this. I received strange OLM errors. Perhaps unrelated.
Doing it in a separate PR makes more sense anyway since we already have the CRD with v1beta1 in master and that change is not in this PR's scope

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did my PR for your branch not work @aliok ?

But I can do it later as separate PR 🤷🏻‍♂️

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's do that separately once we merge this PR.

Comment on lines 86 to 88
- description: The version of Knative Kafka installed
displayName: Version
path: version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we added that? I recall a discussion where we did decide not to add it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 good point. gotta remove that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this

@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

@markusthoemmes I did rebase and adressed the comments.

Couldn't try locally yet though because my crc instance keeps crashing. There might be some failures in the CI since I haven't verified anything locally but this should not block your review.

UPDATE: worked locally now. All good, ready for review

Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/hold

Holding as I'd like to see everything pass and want to doublecheck the logs to contain the new stuff as expected once green.

Great job! 🎉

@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

Pushed another commit. Realized the env vars in the makefile were wrong.

@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

/test 4.5-upgrade-tests-aws-ocp-45
/test 4.5-upstream-e2e-aws-ocp-45

error after 39m45s. (more info)
Job execution failed: Pod got deleted unexpectedly

Thanks @openshift-ci-robot !

@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

/test 4.5-operator-e2e-aws-ocp-45

Just retesting one

@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

Yes, one of the build clusters is borked. We're working on moving jobs to the other one.

Response I got from #forum-testplatform

@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

/test 4.5-operator-e2e-aws-ocp-45

@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

/test 4.5-upstream-e2e-aws-ocp-45
/test 4.5-upgrade-tests-aws-ocp-45

@markusthoemmes
Copy link
Contributor

KnativeKafka doesn't come up

{"level":"error","ts":"2020-10-21T14:13:15.586Z","logger":"kubebuilder.controller","msg":"Reconciler error","controller":"knativekafka-controller","request":"knative-eventing/knative-kafka","error":"failed to apply manifest: ServiceAccount \"kafka-ch-controller\" is invalid: [metadata.ownerReferences.apiVersion: Invalid value: \"\": version must not be empty, metadata.ownerReferences.kind: Invalid value: \"\": kind must not be empty]","stacktrace":"github.com/openshift-knative/serverless-operator/knative-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/openshift-knative/serverless-operator/knative-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}

@matzew
Copy link
Member

matzew commented Oct 21, 2020

/test 4.5-operator-e2e-aws-ocp-45

Let;s see if issue persists...

@aliok aliok force-pushed the 001-enable-knative-kafka branch from e33979e to 14d7171 Compare October 21, 2020 20:15
@aliok
Copy link
Contributor Author

aliok commented Oct 21, 2020

Rebased, addressed the errors.Wrapf() comment, fixed the order of things in operator e2e tests

@matzew
Copy link
Member

matzew commented Oct 22, 2020

/lgtm

@markusthoemmes feel free to unhold, after Ali addressed the recent comment - thanks for reviews! ❤️

Copy link
Contributor

@markusthoemmes markusthoemmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

Abfahrt!

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aliok, markusthoemmes, matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [aliok,markusthoemmes,matzew]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@markusthoemmes
Copy link
Contributor

/unhold

@openshift-merge-robot openshift-merge-robot merged commit 24090bf into openshift-knative:master Oct 22, 2020
@aliok aliok deleted the 001-enable-knative-kafka branch March 9, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants