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

update cri proxy timeout to 2h #33741

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

pacoxu
Copy link
Member

@pacoxu pacoxu commented Oct 31, 2024

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 31, 2024
@pacoxu
Copy link
Member Author

pacoxu commented Oct 31, 2024

/assign @SergeyKanzhelev

@k8s-ci-robot k8s-ci-robot added area/config Issues or PRs related to code in /config area/jobs sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Oct 31, 2024
@SergeyKanzhelev
Copy link
Member

Is this to accomodate evented PLEG tests?

@pacoxu
Copy link
Member Author

pacoxu commented Oct 31, 2024

Is this to accommodate Evented PLEG tests?

Yes, for both evented PLEG and generic PLEG tests. I’m aiming to include most test cases initially, with plans to simplify and merge them where possible.

The duration is currently longer because most EventedPLEG tests fail after timing out. Once all test cases pass, the overall time should decrease.

@SergeyKanzhelev
Copy link
Member

Yes, for both evented PLEG and generic PLEG tests. I’m aiming to include most test cases initially, with plans to simplify and merge them where possible.

Why will we need all PLEG tests running with cri proxy? It will make them all serialized and will slow down other tests. Can we only run a subset of PLEG tests with CRI proxy?

@pacoxu
Copy link
Member Author

pacoxu commented Nov 4, 2024

Yes, for both evented PLEG and generic PLEG tests. I’m aiming to include most test cases initially, with plans to simplify and merge them where possible.

Why will we need all PLEG tests running with cri proxy? It will make them all serialized and will slow down other tests. Can we only run a subset of PLEG tests with CRI proxy?

cri-proxy can mock many special CRI failures which should be handled by PLEG.

As PLEG issues are not easy to reproduce and track in CI, this may help us to avoid regression in PLEG.

@SergeyKanzhelev
Copy link
Member

As PLEG issues are not easy to reproduce and track in CI, this may help us to avoid regression in PLEG.

Yes, we will likely have many PLEG tests with the proxy. I just don't see a point to run ALL PLEG tests with the cri proxy. Would it make sense to only run test cases that actually need the cri proxy here?

@pacoxu
Copy link
Member Author

pacoxu commented Nov 5, 2024

As PLEG issues are not easy to reproduce and track in CI, this may help us to avoid regression in PLEG.由于 PLEG 问题不容易在 CI 中重现和跟踪,这可能有助于我们避免 PLEG 中的回归。

Yes, we will likely have many PLEG tests with the proxy. I just don't see a point to run ALL PLEG tests with the cri proxy. Would it make sense to only run test cases that actually need the cri proxy here?是的,我们可能会使用代理进行许多 PLEG 测试。我只是认为使用 cri 代理运行所有 PLEG 测试没有意义。在这里只运行实际需要 cri 代理的测试用例有意义吗?

Probably, we can design some special cases here.

Agree, we should not add too much tests.

However, for error injections, the test are always slow and a longer timeout for the CI is needed.

@SergeyKanzhelev
Copy link
Member

However, for error injections, the test are always slow and a longer timeout for the CI is needed.

You are right.

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 5, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pacoxu, SergeyKanzhelev

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 5, 2024
@k8s-ci-robot k8s-ci-robot merged commit 95163cd into kubernetes:master Nov 5, 2024
7 checks passed
@k8s-ci-robot
Copy link
Contributor

@pacoxu: Updated the job-config configmap in namespace default at cluster test-infra-trusted using the following files:

  • key node-kubelet.yaml using file config/jobs/kubernetes/sig-node/node-kubelet.yaml
  • key sig-node-presubmit.yaml using file config/jobs/kubernetes/sig-node/sig-node-presubmit.yaml

In response to this:

Plan to add more test cases in this CI.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/config Issues or PRs related to code in /config area/jobs cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.

3 participants