Skip to content

Commit 70a1c72

Browse files
authored
NO-JIRA: Presubmit updates for cluster-etcd-operator (#69895)
Currently, the presubmit verification jobs for PRs into the cluster-etcd-operator have 4 consistently failing blocking jobs. Three of these will need to be investigated further, because their failures appear to be related to broken configurations in the job definitions. These include the following: - e2e-metal-assisted - e2e-aws-cpms - e2e-aws-ovn-scaling More concerning is the serial job, but upon further investigation, it became clear that the serial job looks stable, but is consistently timing out before it can complete. To address this, I've added sharding to the following: - e2e-aws-ovn-serial I preformed these updates on openshift-4.16 and up because these are releases we're most likely to see PRs and backports to.
1 parent 9fd9e68 commit 70a1c72

16 files changed

+601
-32
lines changed

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-main.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ tests:
170170
workflow: baremetalds-e2e
171171
- as: e2e-metal-assisted
172172
cluster: build05
173+
optional: true
173174
steps:
174175
cluster_profile: packet-assisted
175176
workflow: assisted-ofcir-baremetal
@@ -193,10 +194,12 @@ tests:
193194
cluster_profile: aws
194195
workflow: openshift-perfscale-e2e-configmap-scale
195196
- as: e2e-aws-ovn-serial
197+
shard_count: 2
196198
steps:
197199
cluster_profile: aws-3
198200
workflow: openshift-e2e-aws-serial
199201
- as: e2e-aws-ovn-etcd-scaling
202+
optional: true
200203
steps:
201204
cluster_profile: aws-2
202205
workflow: openshift-e2e-aws-etcd-scaling
@@ -242,6 +245,7 @@ tests:
242245
CLUSTER_AGE_STEP: "365"
243246
workflow: openshift-e2e-cert-rotation-shutdown
244247
- as: e2e-aws-cpms
248+
optional: true
245249
steps:
246250
cluster_profile: aws
247251
test:

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.16.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ tests:
182182
- always_run: false
183183
as: e2e-metal-assisted
184184
cluster: build05
185+
optional: true
185186
steps:
186187
cluster_profile: packet-assisted
187188
workflow: assisted-ofcir-baremetal
@@ -203,10 +204,12 @@ tests:
203204
cluster_profile: aws
204205
workflow: openshift-perfscale-e2e-configmap-scale
205206
- as: e2e-aws-ovn-serial
207+
shard_count: 2
206208
steps:
207209
cluster_profile: aws-3
208210
workflow: openshift-e2e-aws-serial
209211
- as: e2e-aws-ovn-etcd-scaling
212+
optional: true
210213
steps:
211214
cluster_profile: aws
212215
workflow: openshift-e2e-aws-etcd-scaling

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.17.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ tests:
182182
- always_run: false
183183
as: e2e-metal-assisted
184184
cluster: build05
185+
optional: true
185186
steps:
186187
cluster_profile: packet-assisted
187188
workflow: assisted-ofcir-baremetal
@@ -203,10 +204,12 @@ tests:
203204
cluster_profile: aws
204205
workflow: openshift-perfscale-e2e-configmap-scale
205206
- as: e2e-aws-ovn-serial
207+
shard_count: 2
206208
steps:
207209
cluster_profile: aws-3
208210
workflow: openshift-e2e-aws-serial
209211
- as: e2e-aws-ovn-etcd-scaling
212+
optional: true
210213
steps:
211214
cluster_profile: aws-2
212215
workflow: openshift-e2e-aws-etcd-scaling

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.18.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ tests:
182182
- always_run: false
183183
as: e2e-metal-assisted
184184
cluster: build05
185+
optional: true
185186
steps:
186187
cluster_profile: packet-assisted
187188
workflow: assisted-ofcir-baremetal
@@ -203,10 +204,12 @@ tests:
203204
cluster_profile: aws
204205
workflow: openshift-perfscale-e2e-configmap-scale
205206
- as: e2e-aws-ovn-serial
207+
shard_count: 2
206208
steps:
207209
cluster_profile: aws
208210
workflow: openshift-e2e-aws-serial
209211
- as: e2e-aws-ovn-etcd-scaling
212+
optional: true
210213
steps:
211214
cluster_profile: aws-3
212215
workflow: openshift-e2e-aws-etcd-scaling
@@ -255,6 +258,7 @@ tests:
255258
CLUSTER_AGE_STEP: "300"
256259
workflow: openshift-e2e-cert-rotation-shutdown
257260
- as: e2e-aws-cpms
261+
optional: true
258262
steps:
259263
cluster_profile: aws
260264
test:

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.19.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ tests:
182182
- always_run: false
183183
as: e2e-metal-assisted
184184
cluster: build05
185+
optional: true
185186
steps:
186187
cluster_profile: packet-assisted
187188
workflow: assisted-ofcir-baremetal
@@ -203,10 +204,12 @@ tests:
203204
cluster_profile: aws-2
204205
workflow: openshift-perfscale-e2e-configmap-scale
205206
- as: e2e-aws-ovn-serial
207+
shard_count: 2
206208
steps:
207209
cluster_profile: aws
208210
workflow: openshift-e2e-aws-serial
209211
- as: e2e-aws-ovn-etcd-scaling
212+
optional: true
210213
steps:
211214
cluster_profile: aws-3
212215
workflow: openshift-e2e-aws-etcd-scaling
@@ -255,6 +258,7 @@ tests:
255258
CLUSTER_AGE_STEP: "300"
256259
workflow: openshift-e2e-cert-rotation-shutdown
257260
- as: e2e-aws-cpms
261+
optional: true
258262
steps:
259263
cluster_profile: aws-3
260264
test:

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.20.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ tests:
170170
workflow: baremetalds-e2e
171171
- as: e2e-metal-assisted
172172
cluster: build05
173+
optional: true
173174
steps:
174175
cluster_profile: packet-assisted
175176
workflow: assisted-ofcir-baremetal
@@ -193,10 +194,12 @@ tests:
193194
cluster_profile: aws-2
194195
workflow: openshift-perfscale-e2e-configmap-scale
195196
- as: e2e-aws-ovn-serial
197+
shard_count: 2
196198
steps:
197199
cluster_profile: aws
198200
workflow: openshift-e2e-aws-serial
199201
- as: e2e-aws-ovn-etcd-scaling
202+
optional: true
200203
steps:
201204
cluster_profile: aws-3
202205
workflow: openshift-e2e-aws-etcd-scaling
@@ -242,6 +245,7 @@ tests:
242245
CLUSTER_AGE_STEP: "365"
243246
workflow: openshift-e2e-cert-rotation-shutdown
244247
- as: e2e-aws-cpms
248+
optional: true
245249
steps:
246250
cluster_profile: aws-3
247251
test:

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.21.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ tests:
171171
workflow: baremetalds-e2e
172172
- as: e2e-metal-assisted
173173
cluster: build05
174+
optional: true
174175
steps:
175176
cluster_profile: packet-assisted
176177
workflow: assisted-ofcir-baremetal
@@ -194,10 +195,12 @@ tests:
194195
cluster_profile: aws
195196
workflow: openshift-perfscale-e2e-configmap-scale
196197
- as: e2e-aws-ovn-serial
198+
shard_count: 2
197199
steps:
198200
cluster_profile: aws-3
199201
workflow: openshift-e2e-aws-serial
200202
- as: e2e-aws-ovn-etcd-scaling
203+
optional: true
201204
steps:
202205
cluster_profile: aws-2
203206
workflow: openshift-e2e-aws-etcd-scaling
@@ -243,6 +246,7 @@ tests:
243246
CLUSTER_AGE_STEP: "365"
244247
workflow: openshift-e2e-cert-rotation-shutdown
245248
- as: e2e-aws-cpms
249+
optional: true
246250
steps:
247251
cluster_profile: aws
248252
test:

ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.22.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ tests:
170170
workflow: baremetalds-e2e
171171
- as: e2e-metal-assisted
172172
cluster: build05
173+
optional: true
173174
steps:
174175
cluster_profile: packet-assisted
175176
workflow: assisted-ofcir-baremetal
@@ -197,6 +198,7 @@ tests:
197198
cluster_profile: aws-3
198199
workflow: openshift-e2e-aws-serial
199200
- as: e2e-aws-ovn-etcd-scaling
201+
optional: true
200202
steps:
201203
cluster_profile: aws-2
202204
workflow: openshift-e2e-aws-etcd-scaling
@@ -242,6 +244,7 @@ tests:
242244
CLUSTER_AGE_STEP: "365"
243245
workflow: openshift-e2e-cert-rotation-shutdown
244246
- as: e2e-aws-cpms
247+
optional: true
245248
steps:
246249
cluster_profile: aws
247250
test:

ci-operator/jobs/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-main-presubmits.yaml

Lines changed: 81 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ presubmits:
304304
ci.openshift.io/generator: prowgen
305305
pj-rehearse.openshift.io/can-be-rehearsed: "true"
306306
name: pull-ci-openshift-cluster-etcd-operator-main-e2e-aws-cpms
307+
optional: true
307308
rerun_command: /test e2e-aws-cpms
308309
spec:
309310
containers:
@@ -668,6 +669,7 @@ presubmits:
668669
ci.openshift.io/generator: prowgen
669670
pj-rehearse.openshift.io/can-be-rehearsed: "true"
670671
name: pull-ci-openshift-cluster-etcd-operator-main-e2e-aws-ovn-etcd-scaling
672+
optional: true
671673
rerun_command: /test e2e-aws-ovn-etcd-scaling
672674
spec:
673675
containers:
@@ -732,21 +734,22 @@ presubmits:
732734
- ^main$
733735
- ^main-
734736
cluster: build07
735-
context: ci/prow/e2e-aws-ovn-serial
737+
context: ci/prow/e2e-aws-ovn-serial-1of2
736738
decorate: true
737739
labels:
738740
ci-operator.openshift.io/cloud: aws
739741
ci-operator.openshift.io/cloud-cluster-profile: aws-3
740742
ci.openshift.io/generator: prowgen
741743
pj-rehearse.openshift.io/can-be-rehearsed: "true"
742-
name: pull-ci-openshift-cluster-etcd-operator-main-e2e-aws-ovn-serial
743-
rerun_command: /test e2e-aws-ovn-serial
744+
name: pull-ci-openshift-cluster-etcd-operator-main-e2e-aws-ovn-serial-1of2
745+
rerun_command: /test e2e-aws-ovn-serial-1of2
744746
spec:
745747
containers:
746748
- args:
747749
- --gcs-upload-secret=/secrets/gcs/service-account.json
748750
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
749751
- --lease-server-credentials-file=/etc/boskos/credentials
752+
- --multi-stage-param=SHARD_ARGS="--shard-count 2 --shard-id 1"
750753
- --report-credentials-file=/etc/report/credentials
751754
- --secret-dir=/secrets/ci-pull-credentials
752755
- --target=e2e-aws-ovn-serial
@@ -797,7 +800,80 @@ presubmits:
797800
- name: result-aggregator
798801
secret:
799802
secretName: result-aggregator
800-
trigger: (?m)^/test( | .* )e2e-aws-ovn-serial,?($|\s.*)
803+
trigger: (?m)^/test( | .* )e2e-aws-ovn-serial-1of2,?($|\s.*)
804+
- agent: kubernetes
805+
always_run: true
806+
branches:
807+
- ^main$
808+
- ^main-
809+
cluster: build07
810+
context: ci/prow/e2e-aws-ovn-serial-2of2
811+
decorate: true
812+
labels:
813+
ci-operator.openshift.io/cloud: aws
814+
ci-operator.openshift.io/cloud-cluster-profile: aws-3
815+
ci.openshift.io/generator: prowgen
816+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
817+
name: pull-ci-openshift-cluster-etcd-operator-main-e2e-aws-ovn-serial-2of2
818+
rerun_command: /test e2e-aws-ovn-serial-2of2
819+
spec:
820+
containers:
821+
- args:
822+
- --gcs-upload-secret=/secrets/gcs/service-account.json
823+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
824+
- --lease-server-credentials-file=/etc/boskos/credentials
825+
- --multi-stage-param=SHARD_ARGS="--shard-count 2 --shard-id 2"
826+
- --report-credentials-file=/etc/report/credentials
827+
- --secret-dir=/secrets/ci-pull-credentials
828+
- --target=e2e-aws-ovn-serial
829+
command:
830+
- ci-operator
831+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
832+
imagePullPolicy: Always
833+
name: ""
834+
resources:
835+
requests:
836+
cpu: 10m
837+
volumeMounts:
838+
- mountPath: /etc/boskos
839+
name: boskos
840+
readOnly: true
841+
- mountPath: /secrets/ci-pull-credentials
842+
name: ci-pull-credentials
843+
readOnly: true
844+
- mountPath: /secrets/gcs
845+
name: gcs-credentials
846+
readOnly: true
847+
- mountPath: /secrets/manifest-tool
848+
name: manifest-tool-local-pusher
849+
readOnly: true
850+
- mountPath: /etc/pull-secret
851+
name: pull-secret
852+
readOnly: true
853+
- mountPath: /etc/report
854+
name: result-aggregator
855+
readOnly: true
856+
serviceAccountName: ci-operator
857+
volumes:
858+
- name: boskos
859+
secret:
860+
items:
861+
- key: credentials
862+
path: credentials
863+
secretName: boskos-credentials
864+
- name: ci-pull-credentials
865+
secret:
866+
secretName: ci-pull-credentials
867+
- name: manifest-tool-local-pusher
868+
secret:
869+
secretName: manifest-tool-local-pusher
870+
- name: pull-secret
871+
secret:
872+
secretName: registry-pull-credentials
873+
- name: result-aggregator
874+
secret:
875+
secretName: result-aggregator
876+
trigger: (?m)^/test( | .* )e2e-aws-ovn-serial-2of2,?($|\s.*)
801877
- agent: kubernetes
802878
always_run: true
803879
branches:
@@ -1323,6 +1399,7 @@ presubmits:
13231399
ci.openshift.io/generator: prowgen
13241400
pj-rehearse.openshift.io/can-be-rehearsed: "true"
13251401
name: pull-ci-openshift-cluster-etcd-operator-main-e2e-metal-assisted
1402+
optional: true
13261403
rerun_command: /test e2e-metal-assisted
13271404
spec:
13281405
containers:

0 commit comments

Comments
 (0)