Skip to content

Commit faf8d41

Browse files
authored
Add new job: e2e-vsphere-ovn-upgrade-check-dev-symlinks (#69787)
The job saves symlinks to root device, then does upgrade, then checks that all links are still present and point to root device
1 parent 7113136 commit faf8d41

File tree

6 files changed

+134
-0
lines changed

6 files changed

+134
-0
lines changed

ci-operator/config/openshift/cluster-storage-operator/.config.prowgen

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ slack_reporter:
99
- periodic-e2e-aws-ovn-upgrade-check-dev-symlinks
1010
- periodic-e2e-aws-selinux-alpha
1111
- periodic-e2e-gcp-ovn-upgrade-check-dev-symlinks
12+
- periodic-e2e-vsphere-ovn-upgrade-check-dev-symlinks

ci-operator/config/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-4.21__periodics.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ base_images:
33
name: "4.21"
44
namespace: ocp
55
tag: cluster-storage-operator-test
6+
upi-installer:
7+
name: "4.21"
8+
namespace: ocp
9+
tag: upi-installer
10+
vsphere-ci-python:
11+
name: vsphere-python
12+
namespace: ci
13+
tag: latest
614
build_root:
715
from_repository: true
816
releases:
@@ -22,6 +30,14 @@ resources:
2230
cpu: 100m
2331
memory: 200Mi
2432
tests:
33+
- as: periodic-e2e-vsphere-ovn-upgrade-check-dev-symlinks
34+
cron: '@daily'
35+
steps:
36+
cluster_profile: vsphere-elastic
37+
observers:
38+
enable:
39+
- observers-resource-watch
40+
workflow: openshift-upgrade-vsphere-storage-symlinks
2541
- as: periodic-e2e-aws-ovn-upgrade-check-dev-symlinks
2642
cron: '@daily'
2743
steps:

ci-operator/jobs/openshift/cluster-storage-operator/openshift-cluster-storage-operator-release-4.21-periodics.yaml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,84 @@ periodics:
161161
- name: result-aggregator
162162
secret:
163163
secretName: result-aggregator
164+
- agent: kubernetes
165+
cluster: vsphere02
166+
cron: 47 3 * * *
167+
decorate: true
168+
extra_refs:
169+
- base_ref: release-4.21
170+
org: openshift
171+
repo: cluster-storage-operator
172+
labels:
173+
ci-operator.openshift.io/cloud: vsphere
174+
ci-operator.openshift.io/cloud-cluster-profile: vsphere-elastic
175+
ci-operator.openshift.io/variant: periodics
176+
ci.openshift.io/generator: prowgen
177+
job-release: "4.21"
178+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
179+
name: periodic-ci-openshift-cluster-storage-operator-release-4.21-periodics-periodic-e2e-vsphere-ovn-upgrade-check-dev-symlinks
180+
reporter_config:
181+
slack:
182+
channel: '#forum-ocp-storage'
183+
job_states_to_report:
184+
- failure
185+
- error
186+
report_template: |
187+
':red_jenkins_circle: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>'
188+
spec:
189+
containers:
190+
- args:
191+
- --gcs-upload-secret=/secrets/gcs/service-account.json
192+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
193+
- --lease-server-credentials-file=/etc/boskos/credentials
194+
- --report-credentials-file=/etc/report/credentials
195+
- --secret-dir=/secrets/ci-pull-credentials
196+
- --target=periodic-e2e-vsphere-ovn-upgrade-check-dev-symlinks
197+
- --variant=periodics
198+
command:
199+
- ci-operator
200+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
201+
imagePullPolicy: Always
202+
name: ""
203+
resources:
204+
requests:
205+
cpu: 10m
206+
volumeMounts:
207+
- mountPath: /etc/boskos
208+
name: boskos
209+
readOnly: true
210+
- mountPath: /secrets/ci-pull-credentials
211+
name: ci-pull-credentials
212+
readOnly: true
213+
- mountPath: /secrets/gcs
214+
name: gcs-credentials
215+
readOnly: true
216+
- mountPath: /secrets/manifest-tool
217+
name: manifest-tool-local-pusher
218+
readOnly: true
219+
- mountPath: /etc/pull-secret
220+
name: pull-secret
221+
readOnly: true
222+
- mountPath: /etc/report
223+
name: result-aggregator
224+
readOnly: true
225+
serviceAccountName: ci-operator
226+
volumes:
227+
- name: boskos
228+
secret:
229+
items:
230+
- key: credentials
231+
path: credentials
232+
secretName: boskos-credentials
233+
- name: ci-pull-credentials
234+
secret:
235+
secretName: ci-pull-credentials
236+
- name: manifest-tool-local-pusher
237+
secret:
238+
secretName: manifest-tool-local-pusher
239+
- name: pull-secret
240+
secret:
241+
secretName: registry-pull-credentials
242+
- name: result-aggregator
243+
secret:
244+
secretName: result-aggregator
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
approvers:
2+
- storage-approvers
3+
4+
reviewers:
5+
- storage-reviewers
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"path": "openshift/upgrade/vsphere/storage-symlinks/openshift-upgrade-vsphere-storage-symlinks-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"storage-approvers"
6+
],
7+
"reviewers": [
8+
"storage-reviewers"
9+
]
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
workflow:
2+
as: openshift-upgrade-vsphere-storage-symlinks
3+
steps:
4+
pre:
5+
- chain: ipi-vsphere-pre-stableinitial
6+
test:
7+
- ref: storage-disk-symlinks-save
8+
- ref: openshift-e2e-test
9+
- ref: storage-disk-symlinks-check
10+
post:
11+
- chain: ipi-vsphere-post
12+
dependencies:
13+
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: "release:initial"
14+
OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE: "release:latest"
15+
env:
16+
TEST_TYPE: upgrade
17+
TEST_SUITE: ""
18+
TEST_UPGRADE_OPTIONS: ""
19+
documentation: |-
20+
The Openshift E2E vSphere workflow executes the upgrade end-to-end test suite on vSphere with a default cluster configuration checking that root device symlinks are in place after upgrade. The purpose is make sure that udev rules are stable across upgrades.

0 commit comments

Comments
 (0)