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

Run daily conformance tests for k8s 1.23 and arm64 #24570

Merged
merged 1 commit into from
Dec 7, 2021
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion config/jobs/kubernetes/kops/build_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def generate_misc():
################################
def generate_conformance():
results = []
for version in ['1.22', '1.21']:
for version in ['1.23', '1.22', '1.21']:
results.append(
build_test(
k8s_version=version,
Expand All @@ -684,6 +684,26 @@ def generate_conformance():
skip_regex=r'\[NoSkip\]',
)
)
results.append(
build_test(
k8s_version=version,
kops_version=version,
irsa=version >= '1.22',
kops_channel='alpha',
name_override=f"kops-aws-conformance-arm64-{version.replace('.', '-')}",
networking='calico',
distro="u2004arm64",
extra_flags=["--zones=eu-central-1a",
"--node-size=t4g.large",
"--master-size=t4g.large"],
test_parallelism=1,
test_timeout_minutes=150,
extra_dashboards=['kops-conformance'],
runs_per_day=1,
focus_regex=r'\[Conformance\]',
skip_regex=r'\[NoSkip\]',
)
)
return results

###############################
Expand Down
266 changes: 265 additions & 1 deletion config/jobs/kubernetes/kops/kops-periodics-conformance.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,139 @@
# Test jobs generated by build_jobs.py (do not manually edit)
# 2 jobs, total of 14 runs per week
# 6 jobs, total of 42 runs per week
periodics:

# {"cloud": "aws", "container_runtime": "containerd", "distro": "u2004", "extra_flags": "--discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "1.23", "kops_channel": "alpha", "kops_version": "1.23", "networking": "calico"}
- name: e2e-kops-aws-conformance-1-23
cron: '5 11-23/24 * * *'
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
decorate: true
decoration_config:
timeout: 180m
extra_refs:
- org: kubernetes
repo: kops
base_ref: master
workdir: true
path_alias: k8s.io/kops
spec:
containers:
- command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
kubetest2 kops \
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20211129' --channel=alpha --networking=calico --container-runtime=containerd --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/markers/release-1.23/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/kubernetes-release/release/stable-1.23.txt \
--test=kops \
-- \
--ginkgo-args="--debug" \
--test-args="-test.timeout=150m -num-nodes=0" \
--test-package-marker=stable-1.23.txt \
--focus-regex="\[Conformance\]" \
--skip-regex="\[NoSkip\]" \
--parallel=1
env:
- name: KUBE_SSH_KEY_PATH
value: /etc/aws-ssh/aws-ssh-private
- name: KUBE_SSH_USER
value: ubuntu
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211124-2ed05120f3-master
imagePullPolicy: Always
resources:
limits:
memory: 3Gi
requests:
cpu: "2"
memory: 3Gi
annotations:
test.kops.k8s.io/cloud: aws
test.kops.k8s.io/container_runtime: containerd
test.kops.k8s.io/distro: u2004
test.kops.k8s.io/extra_flags: --discovery-store=s3://k8s-kops-prow/discovery
test.kops.k8s.io/k8s_version: '1.23'
test.kops.k8s.io/kops_channel: alpha
test.kops.k8s.io/kops_version: '1.23'
test.kops.k8s.io/networking: calico
testgrid-dashboards: google-aws, kops-1.23, kops-conformance, kops-distro-u2004, kops-k8s-1.23, sig-cluster-lifecycle-kops
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-conformance-1-23

# {"cloud": "aws", "container_runtime": "containerd", "distro": "u2004arm64", "extra_flags": "--zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "1.23", "kops_channel": "alpha", "kops_version": "1.23", "networking": "calico"}
- name: e2e-kops-aws-conformance-arm64-1-23
cron: '35 8-23/24 * * *'
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
decorate: true
decoration_config:
timeout: 180m
extra_refs:
- org: kubernetes
repo: kops
base_ref: master
workdir: true
path_alias: k8s.io/kops
spec:
containers:
- command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
kubetest2 kops \
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20211129' --channel=alpha --networking=calico --container-runtime=containerd --zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/markers/release-1.23/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/kubernetes-release/release/stable-1.23.txt \
--test=kops \
-- \
--ginkgo-args="--debug" \
--test-args="-test.timeout=150m -num-nodes=0" \
--test-package-marker=stable-1.23.txt \
--focus-regex="\[Conformance\]" \
--skip-regex="\[NoSkip\]" \
--parallel=1
env:
- name: KUBE_SSH_KEY_PATH
value: /etc/aws-ssh/aws-ssh-private
- name: KUBE_SSH_USER
value: ubuntu
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211124-2ed05120f3-master
imagePullPolicy: Always
resources:
limits:
memory: 3Gi
requests:
cpu: "2"
memory: 3Gi
annotations:
test.kops.k8s.io/cloud: aws
test.kops.k8s.io/container_runtime: containerd
test.kops.k8s.io/distro: u2004arm64
test.kops.k8s.io/extra_flags: --zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large --discovery-store=s3://k8s-kops-prow/discovery
test.kops.k8s.io/k8s_version: '1.23'
test.kops.k8s.io/kops_channel: alpha
test.kops.k8s.io/kops_version: '1.23'
test.kops.k8s.io/networking: calico
testgrid-dashboards: google-aws, kops-1.23, kops-conformance, kops-distro-u2004arm64, kops-k8s-1.23, sig-cluster-lifecycle-kops
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-conformance-arm64-1-23

# {"cloud": "aws", "container_runtime": "containerd", "distro": "u2004", "extra_flags": "--discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "1.22", "kops_channel": "alpha", "kops_version": "1.22", "networking": "calico"}
- name: e2e-kops-aws-conformance-1-22
cron: '55 5-23/24 * * *'
Expand Down Expand Up @@ -68,6 +200,72 @@ periodics:
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-conformance-1-22

# {"cloud": "aws", "container_runtime": "containerd", "distro": "u2004arm64", "extra_flags": "--zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "1.22", "kops_channel": "alpha", "kops_version": "1.22", "networking": "calico"}
- name: e2e-kops-aws-conformance-arm64-1-22
cron: '49 6-23/24 * * *'
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
decorate: true
decoration_config:
timeout: 180m
extra_refs:
- org: kubernetes
repo: kops
base_ref: master
workdir: true
path_alias: k8s.io/kops
spec:
containers:
- command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
kubetest2 kops \
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20211129' --channel=alpha --networking=calico --container-runtime=containerd --zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large --discovery-store=s3://k8s-kops-prow/discovery" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/markers/release-1.22/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/kubernetes-release/release/stable-1.22.txt \
--test=kops \
-- \
--ginkgo-args="--debug" \
--test-args="-test.timeout=150m -num-nodes=0" \
--test-package-marker=stable-1.22.txt \
--focus-regex="\[Conformance\]" \
--skip-regex="\[NoSkip\]" \
--parallel=1
env:
- name: KUBE_SSH_KEY_PATH
value: /etc/aws-ssh/aws-ssh-private
- name: KUBE_SSH_USER
value: ubuntu
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211124-2ed05120f3-master
imagePullPolicy: Always
resources:
limits:
memory: 3Gi
requests:
cpu: "2"
memory: 3Gi
annotations:
test.kops.k8s.io/cloud: aws
test.kops.k8s.io/container_runtime: containerd
test.kops.k8s.io/distro: u2004arm64
test.kops.k8s.io/extra_flags: --zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large --discovery-store=s3://k8s-kops-prow/discovery
test.kops.k8s.io/k8s_version: '1.22'
test.kops.k8s.io/kops_channel: alpha
test.kops.k8s.io/kops_version: '1.22'
test.kops.k8s.io/networking: calico
testgrid-dashboards: google-aws, kops-1.22, kops-conformance, kops-distro-u2004arm64, kops-k8s-1.22, sig-cluster-lifecycle-kops
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-conformance-arm64-1-22

# {"cloud": "aws", "container_runtime": "containerd", "distro": "u2004", "k8s_version": "1.21", "kops_channel": "alpha", "kops_version": "1.21", "networking": "calico"}
- name: e2e-kops-aws-conformance-1-21
cron: '29 23-23/24 * * *'
Expand Down Expand Up @@ -132,3 +330,69 @@ periodics:
testgrid-dashboards: google-aws, kops-1.21, kops-conformance, kops-distro-u2004, kops-k8s-1.21, sig-cluster-lifecycle-kops
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-conformance-1-21

# {"cloud": "aws", "container_runtime": "containerd", "distro": "u2004arm64", "extra_flags": "--zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large", "k8s_version": "1.21", "kops_channel": "alpha", "kops_version": "1.21", "networking": "calico"}
- name: e2e-kops-aws-conformance-arm64-1-21
cron: '11 4-23/24 * * *'
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
decorate: true
decoration_config:
timeout: 180m
extra_refs:
- org: kubernetes
repo: kops
base_ref: master
workdir: true
path_alias: k8s.io/kops
spec:
containers:
- command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
kubetest2 kops \
-v 2 \
--up --down \
--cloud-provider=aws \
--create-args="--image='099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20211129' --channel=alpha --networking=calico --container-runtime=containerd --zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large" \
--kops-version-marker=https://storage.googleapis.com/kops-ci/markers/release-1.21/latest-ci-updown-green.txt \
--kubernetes-version=https://storage.googleapis.com/kubernetes-release/release/stable-1.21.txt \
--test=kops \
-- \
--ginkgo-args="--debug" \
--test-args="-test.timeout=150m -num-nodes=0" \
--test-package-marker=stable-1.21.txt \
--focus-regex="\[Conformance\]" \
--skip-regex="\[NoSkip\]" \
--parallel=1
env:
- name: KUBE_SSH_KEY_PATH
value: /etc/aws-ssh/aws-ssh-private
- name: KUBE_SSH_USER
value: ubuntu
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211124-2ed05120f3-master
imagePullPolicy: Always
resources:
limits:
memory: 3Gi
requests:
cpu: "2"
memory: 3Gi
annotations:
test.kops.k8s.io/cloud: aws
test.kops.k8s.io/container_runtime: containerd
test.kops.k8s.io/distro: u2004arm64
test.kops.k8s.io/extra_flags: --zones=eu-central-1a --node-size=t4g.large --master-size=t4g.large
test.kops.k8s.io/k8s_version: '1.21'
test.kops.k8s.io/kops_channel: alpha
test.kops.k8s.io/kops_version: '1.21'
test.kops.k8s.io/networking: calico
testgrid-dashboards: google-aws, kops-1.21, kops-conformance, kops-distro-u2004arm64, kops-k8s-1.21, sig-cluster-lifecycle-kops
testgrid-days-of-results: '90'
testgrid-tab-name: kops-aws-conformance-arm64-1-21
4 changes: 4 additions & 0 deletions config/testgrids/kubernetes/kops/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ dashboard_groups:
- kops-k8s-1.20
- kops-k8s-1.21
- kops-k8s-1.22
- kops-k8s-1.23
- kops-k8s-ci
- kops-k8s-latest
- kops-k8s-stable
- kops-1.21
- kops-1.22
- kops-1.23
- kops-latest

dashboards:
Expand Down Expand Up @@ -61,9 +63,11 @@ dashboards:
- name: kops-k8s-1.20
- name: kops-k8s-1.21
- name: kops-k8s-1.22
- name: kops-k8s-1.23
- name: kops-k8s-ci
- name: kops-k8s-latest
- name: kops-k8s-stable
- name: kops-1.21
- name: kops-1.22
- name: kops-1.23
- name: kops-latest