Skip to content

Conversation

@nak3
Copy link

@nak3 nak3 commented Dec 2, 2022

This patch runs gRPC test against OCP Route.

When enabling HTTP2 on OCP route by oc annotate ingresses.config/cluster ingress.operator.openshift.io/default-enable-http2=true, websocket does not work due to OCP Route(HAProxy)'s limitation.
So the test is executed separately.

@openshift-ci openshift-ci bot requested review from mgencur and mvinkler December 2, 2022 03:04
@openshift-ci openshift-ci bot added the approved label Dec 2, 2022
@nak3
Copy link
Author

nak3 commented Dec 2, 2022

/cc @skonto @mgencur

#43 verified this.

@openshift-ci openshift-ci bot requested a review from skonto December 2, 2022 05:38
oc annotate ingresses.config/cluster ingress.operator.openshift.io/default-enable-http2=true
oc annotate knativeserving knative-serving -n knative-serving serverless.openshift.io/default-enable-http2=true

# This is not necessary actually but it makes usre that access passes through OCP route.
Copy link

Choose a reason for hiding this comment

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

s/usre/sure

-n "${SERVING_NAMESPACE}" \
--type merge --patch '{"spec": {"ingress": {"kourier": {"service-type": "ClusterIP"}}}}'

if [[ $(oc get infrastructure cluster -ojsonpath='{.status.platform}') = VSphere ]]; then
Copy link

Choose a reason for hiding this comment

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

Why VSphere is different could you elaborate a bit?

Copy link
Author

@nak3 nak3 Dec 2, 2022

Choose a reason for hiding this comment

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

Because of the line above

if [[ $(oc get infrastructure cluster -ojsonpath='{.status.platform}') = VSphere ]]; then
# Since we don't have LoadBalancers working, gRPC tests will always fail.
rm ./test/e2e/grpc_test.go
parallel=2
fi

It is not introduced by this commit by this for a long time ago - openshift#490

I am not a person who made it but I guess VSphere is not cloud but sort of bare metal server so it does not work with ExternalIP service so we need to make it different.

@skonto
Copy link

skonto commented Dec 2, 2022

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Dec 2, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nak3, skonto

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@openshift-merge-robot openshift-merge-robot merged commit c1815fe into openshift-knative:main Dec 2, 2022
@nak3 nak3 deleted the add-grpc-test branch December 3, 2022 03:59
@nak3 nak3 restored the add-grpc-test branch December 3, 2022 03:59
@nak3
Copy link
Author

nak3 commented Dec 3, 2022

/cherry-pick release-v1.8

@openshift-cherrypick-robot

@nak3: new pull request created: #58

Details

In response to this:

/cherry-pick release-v1.8

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@nak3
Copy link
Author

nak3 commented Dec 3, 2022

/cherry-pick release-v1.7

@nak3
Copy link
Author

nak3 commented Dec 3, 2022

/cherry-pick release-v1.6

@openshift-cherrypick-robot

@nak3: new pull request created: #59

Details

In response to this:

/cherry-pick release-v1.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-cherrypick-robot

@nak3: new pull request created: #60

Details

In response to this:

/cherry-pick release-v1.6

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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.

4 participants