Skip to content

Commit

Permalink
A couple changed to gpu upgrade test configs:
Browse files Browse the repository at this point in the history
- Changes --test_args setting to skip all tests because any matching
tests there would be run after upgrade. Instead, the specified tests
in --upgrade_args --ginkgo.focus are the ones run during the upgrade.
- Separate GPUMasterUpgrade and GPUClusterUpgrade in separate test
configs to make sure they will not interfere with each other.
  • Loading branch information
jiayingz committed Jun 12, 2018
1 parent 5f0305e commit 291c76f
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 55 deletions.
145 changes: 125 additions & 20 deletions jobs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,7 @@
"sig-cli"
]
},
"ci-kubernetes-e2e-gce-gpu-beta-stable1-downgrade": {
"ci-kubernetes-e2e-gce-gpu-beta-stable1-cluster-downgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
Expand All @@ -2973,16 +2973,37 @@
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.focus=\\[Feature:GPUUpgrade\\]",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUClusterUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-cluster-lifecycle"
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-master-stable1-downgrade": {
"ci-kubernetes-e2e-gce-gpu-beta-stable1-master-downgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
"--env=STORAGE_MEDIA_TYPE=application/vnd.kubernetes.protobuf",
"--env-file=jobs/env/ci-kubernetes-e2e-gce-device-plugin-gpu.env",
"--extract=ci/k8s-beta",
"--extract=ci/k8s-stable1",
"--gcp-node-image=gci",
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUMasterUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-master-stable1-cluster-downgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
Expand All @@ -2994,13 +3015,34 @@
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.focus=\\[Feature:GPUUpgrade\\]",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUClusterUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-cluster-lifecycle"
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-master-stable1-master-downgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
"--env=STORAGE_MEDIA_TYPE=application/vnd.kubernetes.protobuf",
"--env-file=jobs/env/ci-kubernetes-e2e-gce-device-plugin-gpu.env",
"--extract=ci/latest",
"--extract=ci/k8s-stable1",
"--gcp-node-image=gci",
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUMasterUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-stable1": {
Expand All @@ -3019,7 +3061,7 @@
"sig-scheduling"
]
},
"ci-kubernetes-e2e-gce-gpu-stable1-beta-upgrade": {
"ci-kubernetes-e2e-gce-gpu-stable1-beta-cluster-upgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
Expand All @@ -3031,16 +3073,37 @@
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.focus=\\[Feature:GPUUpgrade\\]",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUUpgrade\\] --upgrade-target=ci/k8s-beta --upgrade-image=gci"
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUClusterUpgrade\\] --upgrade-target=ci/k8s-beta --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-cluster-lifecycle"
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-stable1-beta-master-upgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
"--env=STORAGE_MEDIA_TYPE=application/vnd.kubernetes.protobuf",
"--env-file=jobs/env/ci-kubernetes-e2e-gce-device-plugin-gpu.env",
"--extract=ci/k8s-beta",
"--extract=ci/k8s-stable1",
"--gcp-node-image=gci",
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUMasterUpgrade\\] --upgrade-target=ci/k8s-beta --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-stable1-master-upgrade": {
"ci-kubernetes-e2e-gce-gpu-stable1-master-cluster-upgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
Expand All @@ -3052,13 +3115,34 @@
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.focus=\\[Feature:GPUUpgrade\\]",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUUpgrade\\] --upgrade-target=ci/latest --upgrade-image=gci"
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUClusterUpgrade\\] --upgrade-target=ci/latest --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-cluster-lifecycle"
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-stable1-master-master-upgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
"--env=STORAGE_MEDIA_TYPE=application/vnd.kubernetes.protobuf",
"--env-file=jobs/env/ci-kubernetes-e2e-gce-device-plugin-gpu.env",
"--extract=ci/latest",
"--extract=ci/k8s-stable1",
"--gcp-node-image=gci",
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUMasterUpgrade\\] --upgrade-target=ci/latest --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-stable2": {
Expand All @@ -3078,7 +3162,7 @@
"sig-scheduling"
]
},
"ci-kubernetes-e2e-gce-gpu-stable2-stable1-upgrade": {
"ci-kubernetes-e2e-gce-gpu-stable2-stable1-cluster-upgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
Expand All @@ -3090,13 +3174,34 @@
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.focus=\\[Feature:GPUUpgrade\\]",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUClusterUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-cluster-lifecycle"
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-gpu-stable2-stable1-master-upgrade": {
"args": [
"--check-leaked-resources",
"--check-version-skew=false",
"--env=STORAGE_MEDIA_TYPE=application/vnd.kubernetes.protobuf",
"--env-file=jobs/env/ci-kubernetes-e2e-gce-device-plugin-gpu.env",
"--extract=ci/k8s-stable1",
"--extract=ci/k8s-stable2",
"--gcp-node-image=gci",
"--gcp-project-type=gpu-project",
"--gcp-zone=us-west1-b",
"--provider=gce",
"--test_args=--kubectl-path=../../../../kubernetes_skew/cluster/kubectl.sh --minStartupPods=8 --ginkgo.skip=\\[.+\\]|Initializers|Dashboard",
"--timeout=150m",
"--upgrade_args=--ginkgo.focus=\\[Feature:GPUMasterUpgrade\\] --upgrade-target=ci/k8s-stable1 --upgrade-image=gci"
],
"scenario": "kubernetes_e2e",
"sigOwners": [
"sig-gcp"
]
},
"ci-kubernetes-e2e-gce-ha-master": {
Expand Down
75 changes: 70 additions & 5 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10502,7 +10502,7 @@ periodics:

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-beta-stable1-downgrade
name: ci-kubernetes-e2e-gce-gpu-beta-stable1-cluster-downgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
Expand All @@ -10515,7 +10515,33 @@ periodics:

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-master-stable1-downgrade
name: ci-kubernetes-e2e-gce-gpu-beta-stable1-master-downgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- args:
- --timeout=180
- --bare
image: gcr.io/k8s-testimages/kubekins-e2e:v20180605-65a672b59-master

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-master-stable1-cluster-downgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- args:
- --timeout=180
- --bare
image: gcr.io/k8s-testimages/kubekins-e2e:v20180605-65a672b59-master

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-master-stable1-master-downgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
Expand All @@ -10541,7 +10567,33 @@ periodics:

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-stable1-beta-upgrade
name: ci-kubernetes-e2e-gce-gpu-stable1-beta-cluster-upgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- args:
- --timeout=180
- --bare
image: gcr.io/k8s-testimages/kubekins-e2e:v20180605-65a672b59-master

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-stable1-beta-master-upgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- args:
- --timeout=180
- --bare
image: gcr.io/k8s-testimages/kubekins-e2e:v20180605-65a672b59-master

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-stable1-master-cluster-upgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
Expand All @@ -10554,7 +10606,7 @@ periodics:

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-stable1-master-upgrade
name: ci-kubernetes-e2e-gce-gpu-stable1-master-master-upgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
Expand All @@ -10580,7 +10632,20 @@ periodics:

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-stable2-stable1-upgrade
name: ci-kubernetes-e2e-gce-gpu-stable2-stable1-cluster-upgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
spec:
containers:
- args:
- --timeout=180
- --bare
image: gcr.io/k8s-testimages/kubekins-e2e:v20180605-65a672b59-master

- interval: 12h
agent: kubernetes
name: ci-kubernetes-e2e-gce-gpu-stable2-stable1-master-upgrade
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
Expand Down
Loading

0 comments on commit 291c76f

Please sign in to comment.