Commit 5db6d7d
committed
[kuttl] remove job CR conditions due to change with 4.18
With OCP 4.16 a successful finished job status condition
only has a single Complete condition type in the condition
list, e.g.:
~~~
status:
completionTime: "2025-03-12T07:59:15Z"
conditions:
- lastProbeTime: "2025-03-12T07:59:15Z"
lastTransitionTime: "2025-03-12T07:59:15Z"
status: "True"
type: Complete
ready: 0
startTime: "2025-03-12T07:59:09Z"
succeeded: 1
terminating: 0
uncountedTerminatedPods: {}
~~~
Starting with OCP 4.18 there is another condition,
CompletionsReached`, e.g.:
~~~
status:
completionTime: "2025-03-11T17:37:14Z"
conditions:
- lastProbeTime: "2025-03-11T17:37:14Z"
lastTransitionTime: "2025-03-11T17:37:14Z"
message: Reached expected number of succeeded pods
reason: CompletionsReached
status: "True"
type: SuccessCriteriaMet
- lastProbeTime: "2025-03-11T17:37:14Z"
lastTransitionTime: "2025-03-11T17:37:14Z"
message: Reached expected number of succeeded pods
reason: CompletionsReached
status: "True"
type: Complete
ready: 0
startTime: "2025-03-11T17:37:07Z"
succeeded: 1
terminating: 0
uncountedTerminatedPods: {}
~~~
As a result switching to OCP 4.18 make the dataplane kuttl tests
to fail because kuttl can not validate a single entry from
a list.
~~~
status:
+ completionTime: "2025-03-11T19:02:07Z"
conditions:
- - status: "True"
+ - lastProbeTime: "2025-03-11T19:02:07Z"
+ lastTransitionTime: "2025-03-11T19:02:07Z"
+ message: Reached expected number of succeeded pods
+ reason: CompletionsReached
+ status: "True"
+ type: SuccessCriteriaMet
+ - lastProbeTime: "2025-03-11T19:02:07Z"
+ lastTransitionTime: "2025-03-11T19:02:07Z"
+ message: Reached expected number of succeeded pods
+ reason: CompletionsReached
+ status: "True"
type: Complete
ready: 0
+ startTime: "2025-03-11T19:02:02Z"
succeeded: 1
terminating: 0
uncountedTerminatedPods: {}
case.go:380: resource Job:openstack-kuttl-tests/configure-os-edpm-compute-global-edpm-compute-global: .status.conditions: slice length mismatch: 1 != 2
~~~
This PR removes the conditions on the job asserts since the
succeeded:1 should be enough to validate that the job ran
successful.
Signed-off-by: Martin Schuppert <[email protected]>1 parent fc6a16d commit 5db6d7d
File tree
9 files changed
+0
-73
lines changed- tests/kuttl/tests
- dataplane-deploy-global-service-test
- dataplane-deploy-multiple-secrets
- dataplane-deploy-no-nodes-test
- dataplane-deploy-tls-test
9 files changed
+0
-73
lines changedLines changed: 0 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 172 | | |
176 | 173 | | |
177 | 174 | | |
| |||
268 | 265 | | |
269 | 266 | | |
270 | 267 | | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 268 | | |
275 | 269 | | |
276 | 270 | | |
| |||
369 | 363 | | |
370 | 364 | | |
371 | 365 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | 366 | | |
376 | 367 | | |
377 | 368 | | |
378 | 369 | | |
379 | | - | |
380 | 370 | | |
381 | 371 | | |
382 | 372 | | |
| |||
471 | 461 | | |
472 | 462 | | |
473 | 463 | | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | 464 | | |
478 | 465 | | |
479 | 466 | | |
480 | 467 | | |
481 | | - | |
482 | 468 | | |
483 | 469 | | |
484 | 470 | | |
| |||
573 | 559 | | |
574 | 560 | | |
575 | 561 | | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | 562 | | |
580 | 563 | | |
581 | 564 | | |
582 | 565 | | |
583 | | - | |
584 | 566 | | |
585 | 567 | | |
586 | 568 | | |
| |||
675 | 657 | | |
676 | 658 | | |
677 | 659 | | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | 660 | | |
682 | 661 | | |
683 | 662 | | |
684 | 663 | | |
685 | | - | |
686 | 664 | | |
687 | 665 | | |
688 | 666 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | 167 | | |
171 | 168 | | |
172 | 169 | | |
| |||
264 | 261 | | |
265 | 262 | | |
266 | 263 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | 264 | | |
271 | 265 | | |
272 | 266 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | 228 | | |
232 | 229 | | |
233 | 230 | | |
| |||
329 | 326 | | |
330 | 327 | | |
331 | 328 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 329 | | |
336 | 330 | | |
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | 163 | | |
167 | 164 | | |
168 | 165 | | |
| |||
262 | 259 | | |
263 | 260 | | |
264 | 261 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 262 | | |
269 | 263 | | |
270 | 264 | | |
| |||
365 | 359 | | |
366 | 360 | | |
367 | 361 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 362 | | |
372 | 363 | | |
373 | 364 | | |
| |||
468 | 459 | | |
469 | 460 | | |
470 | 461 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | 462 | | |
475 | 463 | | |
476 | 464 | | |
| |||
571 | 559 | | |
572 | 560 | | |
573 | 561 | | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | 562 | | |
578 | 563 | | |
579 | 564 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 106 | | |
110 | 107 | | |
111 | 108 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | 175 | | |
179 | 176 | | |
180 | 177 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 166 | | |
170 | 167 | | |
171 | 168 | | |
| |||
266 | 263 | | |
267 | 264 | | |
268 | 265 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 266 | | |
273 | 267 | | |
274 | 268 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 265 | | |
269 | 266 | | |
270 | 267 | | |
| |||
371 | 368 | | |
372 | 369 | | |
373 | 370 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | 371 | | |
378 | 372 | | |
379 | 373 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | 244 | | |
248 | 245 | | |
249 | 246 | | |
| |||
349 | 346 | | |
350 | 347 | | |
351 | 348 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | 349 | | |
356 | 350 | | |
357 | 351 | | |
| |||
0 commit comments