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

ci: separarte pull-containerd-node-e2e for 1.5 branch #27912

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
56 changes: 53 additions & 3 deletions config/jobs/containerd/containerd/containerd-presubmit-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ presubmits:
decorate: true
branches:
- main
- release/1.5
- release/1.6
decoration_config:
timeout: 100m
Expand Down Expand Up @@ -71,7 +70,58 @@ presubmits:
--deployment=node
--gcp-project=cri-c8d-pr-node-e2e
--gcp-zone=us-central1-f
'--node-test-args=--container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/home/containerd/usr/local/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service" --extra-log="{\"name\": \"containerd.log\", \"journalctl\": [\"-u\", \"containerd\"]}"'
'--node-test-args=--container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/home/containerd/usr/local/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service" --extra-log="{\"name\": \"containerd.log\", \"journalctl\": [\"-u\", \"containerd\"]}"'
--node-tests=true
--provider=gce
'--test_args=--nodes=8 --focus="\[NodeConformance\]|\[NodeFeature:.+\]|\[NodeFeature\]" --skip="\[Flaky\]|\[Slow\]|\[Serial\]"'
--timeout=65m
"--node-args=--image-config-file=${GOPATH}/src/k8s.io/test-infra/jobs/e2e_node/containerd/containerd-main-presubmit/image-config-presubmit.yaml -node-env=PULL_REFS=$(PULL_REFS)"

- name: pull-containerd-node-e2e-1-5
always_run: true
max_concurrency: 8
decorate: true
branches:
- release/1.5
decoration_config:
timeout: 100m
extra_refs:
- org: kubernetes
repo: kubernetes
base_ref: release-1.25
path_alias: k8s.io/kubernetes
- org: kubernetes
repo: test-infra
base_ref: master
path_alias: k8s.io/test-infra
annotations:
testgrid-dashboards: sig-node-containerd
testgrid-tab-name: pull-containerd-node-e2e-1-5
description: run node e2e tests
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- name: pull-containerd-node-e2e-1-5
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20221024-d0c013ee2d-master
env:
- name: USE_TEST_INFRA_LOG_DUMPING
value: "true"
command:
- sh
- -c
- >
runner.sh
./test/build.sh
&&
cd ${GOPATH}/src/k8s.io/kubernetes
&&
/workspace/scenarios/kubernetes_e2e.py
--deployment=node
--gcp-project=cri-c8d-pr-node-e2e
--gcp-zone=us-central1-f
'--node-test-args=--container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/home/containerd/usr/local/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service" --extra-log="{\"name\": \"containerd.log\", \"journalctl\": [\"-u\", \"containerd\"]}"'
--node-tests=true
--provider=gce
'--test_args=--nodes=8 --focus="\[NodeConformance\]|\[NodeFeature:.+\]|\[NodeFeature\]" --skip="\[Flaky\]|\[Slow\]|\[Serial\]"'
Expand Down Expand Up @@ -124,7 +174,7 @@ presubmits:
--deployment=node
--gcp-project=cri-c8d-pr-node-e2e
--gcp-zone=us-central1-f
'--node-test-args=--container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/home/containerd/usr/local/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service" --extra-log="{\"name\": \"containerd.log\", \"journalctl\": [\"-u\", \"containerd\"]}"'
'--node-test-args=--container-runtime-endpoint=unix:///run/containerd/containerd.sock --container-runtime-process-name=/home/containerd/usr/local/bin/containerd --container-runtime-pid-file= --kubelet-flags="--cgroup-driver=systemd --cgroups-per-qos=true --cgroup-root=/ --runtime-cgroups=/system.slice/containerd.service" --extra-log="{\"name\": \"containerd.log\", \"journalctl\": [\"-u\", \"containerd\"]}"'
--node-tests=true
--provider=gce
'--test_args=--nodes=8 --focus="\[NodeConformance\]|\[NodeFeature:.+\]|\[NodeFeature\]" --skip="\[Flaky\]|\[Slow\]|\[Serial\]"'
Expand Down
1 change: 1 addition & 0 deletions jobs/e2e_node/containerd/containerd-main-presubmit/env
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ CONTAINERD_PKG_PREFIX: 'containerd-cni'
CONTAINERD_EXTRA_RUNTIME_HANDLER: 'test-handler'
CONTAINERD_EXTRA_RUNTIME_OPTIONS: |
BinaryName = "/home/containerd/usr/local/sbin/runc"
CONTAINERD_SYSTEMD_CGROUP: 'true'
Copy link
Member Author

Choose a reason for hiding this comment

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

@bobbypage Should we add the CONTAINERD_COS_CGROUP_MODE: 'v2' also here?