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

[release-v1.14] Tests for multi-container readiness and liveness probes #715

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #710

/assign mgencur

* Tests for multi-container readiness and liveness probes

* Use PORT instead of HEALTHCHECK_PORT for serving container

* Fixes

* Pass FORWARD_PORT in service_test

* Revert readiness image to only fail readiness probe

handleMain does not reflect the readiness state like it was before

* Use proxy to start failing sidecar

This reverts commit c6929e6e0e1190b15c990c7873b269abdae9609d.

* Test liveness failure

* Use /healthz/readiness in multicontainer test

* Address review feedback

* start package-private functions with lowercase
* use already existing const for "user-container"
* rename getPort to getServerPort to make it more specific (avoid
confusion with FORWARD_PORT)

* Fix lint
@mgencur
Copy link

mgencur commented May 13, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label May 13, 2024
Copy link

openshift-ci bot commented May 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mgencur, openshift-cherrypick-robot

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:

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

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 1846148 and 2 for PR HEAD c3f29a9 in total

Copy link

openshift-ci bot commented May 13, 2024

@openshift-cherrypick-robot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/415-test-e2e-tls-aws-415 c3f29a9 link true /test 415-test-e2e-tls-aws-415

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@ReToCode
Copy link
Member

TLS tests for 1.14 are WIP, you can ignore those.

@mgencur mgencur merged commit 0a65b04 into openshift-knative:release-v1.14 May 14, 2024
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants