Skip to content

[sig-node] Add presubmit for kubelet-serial#22284

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
ehashman:node-serial-presubmit
Jun 3, 2021
Merged

[sig-node] Add presubmit for kubelet-serial#22284
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
ehashman:node-serial-presubmit

Conversation

@ehashman
Copy link
Copy Markdown
Member

Mostly copied from

- name: ci-kubernetes-node-kubelet-serial
interval: 4h30m
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210512-b8d1b30-master
args:
- --repo=k8s.io/kubernetes=master
- --timeout=320
- --root=/go/src
- --scenario=kubernetes_e2e
- --
- --deployment=node
- --gcp-project-type=node-e2e-project
- --gcp-zone=us-west1-b
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/image-config-serial.yaml
- --node-test-args=--feature-gates=DynamicKubeletConfig=true,LocalStorageCapacityIsolation=true --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"
- --node-tests=true
- --provider=gce
- --test_args=--nodes=1 --focus="\[Serial\]" --skip="\[Flaky\]|\[Benchmark\]|\[NodeSpecialFeature:.+\]|\[NodeAlphaFeature:.+\]"
- --timeout=300m
env:
- name: GOPATH
value: /go
annotations:
testgrid-dashboards: sig-node-kubelet
testgrid-tab-name: node-kubelet-serial

/cc @dims @BenTheElder
/sig node

@k8s-ci-robot k8s-ci-robot requested review from BenTheElder and dims May 20, 2021 20:21
@k8s-ci-robot k8s-ci-robot added sig/node Categorizes an issue or PR as relevant to SIG Node. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. area/config Issues or PRs related to code in /config area/jobs sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels May 20, 2021
@dims
Copy link
Copy Markdown
Member

dims commented May 20, 2021

/hold

let's please explore a containerd version of this job!

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 20, 2021
@SergeyKanzhelev
Copy link
Copy Markdown
Member

/assign

@ehashman
Copy link
Copy Markdown
Member Author

/hold

let's please explore a containerd version of this job!

@dims while I agree we really need a non-docker version of this job, right now this is just a presubmit duplicate of the job that's currently running as a periodic. I don't think that we should block being able to trigger the existing job on a PR.

@dims
Copy link
Copy Markdown
Member

dims commented May 20, 2021

@ehashman that's fair, i am just pushing on us to come up with a containerd based job.

@ehashman
Copy link
Copy Markdown
Member Author

We definitely need to do it 🙏 But I would like to see the hold cancelled here so we can at least test this on PRs rather than merge first test as periodic 😅

@harche
Copy link
Copy Markdown
Contributor

harche commented May 21, 2021

/cc @odinuge

@k8s-ci-robot k8s-ci-robot requested a review from odinuge May 21, 2021 00:08
@harche
Copy link
Copy Markdown
Contributor

harche commented May 21, 2021

I will add similar job with crio + systemd configuration.

@harche
Copy link
Copy Markdown
Contributor

harche commented May 21, 2021

@ehashman @dims #22290

Copy link
Copy Markdown
Member

@odinuge odinuge left a comment

Choose a reason for hiding this comment

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

Except for the timeout stuff;

/lgtm

ref. @dims' comment, I think it is best to keep this "similar" to the old node-kubelet-serial for now, and then add/change it to use containerd later. @harche is doing a cri-o version with systemd, which is way more important!

- --node-tests=true
- --provider=gce
- --test_args=--nodes=1 --focus="\[Serial\]" --skip="\[Flaky\]|\[Benchmark\]|\[NodeSpecialFeature:.+\]|\[NodeAlphaFeature:.+\]"
- --timeout=300m
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am pretty sure this timeout is the reason the period job is failing/we get no output. Bump this to 420 or 360 in order to see if it makes any difference? We can always go back and bump the value later in case it is needed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Bumped it to 420m.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 21, 2021
@ehashman ehashman force-pushed the node-serial-presubmit branch from c282db3 to cccb359 Compare May 26, 2021 17:19
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 26, 2021
@odinuge
Copy link
Copy Markdown
Member

odinuge commented May 27, 2021

/retest
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 27, 2021
@odinuge
Copy link
Copy Markdown
Member

odinuge commented May 27, 2021

Job execution failed: Pod got deleted unexpectedly
/retest

@BenTheElder
Copy link
Copy Markdown
Member

jobs_test.go:894: Invalid Scenario Args : jobs pull-kubernetes-node-kubelet-serial - kubetest timeout(7h0m0s), >bootstrap timeout(5h20m0s): bootstrap timeout need to be 20min more than kubetest timeout!

Also ideally new jobs should not be using https://github.com/kubernetes/test-infra/blob/master/jenkins/bootstrap.py, instead using decorate: true and the podutils, but that's another matter. Something to put on the backlog.

@SergeyKanzhelev
Copy link
Copy Markdown
Member

@ehashman can you please fix the broken build. I agree that we can unhold and address the containerd comment later

@ehashman ehashman force-pushed the node-serial-presubmit branch from cccb359 to 29b7275 Compare June 2, 2021 17:28
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 2, 2021
@ehashman
Copy link
Copy Markdown
Member Author

ehashman commented Jun 2, 2021

Should be fixed now 🤞

@ehashman
Copy link
Copy Markdown
Member Author

ehashman commented Jun 2, 2021

/retest

@ehashman
Copy link
Copy Markdown
Member Author

ehashman commented Jun 3, 2021

Should be GTG now! @SergeyKanzhelev @BenTheElder

@SergeyKanzhelev
Copy link
Copy Markdown
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 3, 2021
@SergeyKanzhelev
Copy link
Copy Markdown
Member

/hold cancel

@dims are you ok with the plan to enable it first and later we can either add another job with containerd or change this one?

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 3, 2021
@dims
Copy link
Copy Markdown
Member

dims commented Jun 3, 2021

@SergeyKanzhelev sounds good!

Copy link
Copy Markdown
Member

@BenTheElder BenTheElder left a comment

Choose a reason for hiding this comment

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

LGTM

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder, ehashman, odinuge

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 3, 2021
@k8s-ci-robot k8s-ci-robot merged commit 679b0c7 into kubernetes:master Jun 3, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone Jun 3, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

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

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

In response to this:

Mostly copied from

- name: ci-kubernetes-node-kubelet-serial
interval: 4h30m
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210512-b8d1b30-master
args:
- --repo=k8s.io/kubernetes=master
- --timeout=320
- --root=/go/src
- --scenario=kubernetes_e2e
- --
- --deployment=node
- --gcp-project-type=node-e2e-project
- --gcp-zone=us-west1-b
- --node-args=--image-config-file=/workspace/test-infra/jobs/e2e_node/image-config-serial.yaml
- --node-test-args=--feature-gates=DynamicKubeletConfig=true,LocalStorageCapacityIsolation=true --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/"
- --node-tests=true
- --provider=gce
- --test_args=--nodes=1 --focus="\[Serial\]" --skip="\[Flaky\]|\[Benchmark\]|\[NodeSpecialFeature:.+\]|\[NodeAlphaFeature:.+\]"
- --timeout=300m
env:
- name: GOPATH
value: /go
annotations:
testgrid-dashboards: sig-node-kubelet
testgrid-tab-name: node-kubelet-serial

/cc @dims @BenTheElder
/sig node

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

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/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants