Michal Wozniak
d44ac38891
Promote e2e to conformance tests for JobBackoffLimitPerIndex
2025-02-26 17:06:41 +01:00
Michał Woźniak
d66928b842
Add Job e2e for tracking failure count per index ( #130390 )
...
* Add Job e2e for tracking failure count per index
* Review remarks
2025-02-25 07:10:37 -08:00
Elizabeth Martin Campos
a49b336e83
test(statefulset): return errors in framework function GetPodList for upstream handling
...
See #130159
2025-02-20 21:24:15 +01:00
Maciej Szulik
a36f64e074
Add more log information to help debug flake #129779
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-02-17 18:13:20 +01:00
Elizabeth Martin Campos
4724870b97
test: remove implicit inclusion of "name" label in utils functions
2025-02-13 12:48:30 +01:00
Kubernetes Prow Robot
bb9e393fc3
Merge pull request #129110 from soltysh/deployment_patch_status
...
test: deployment patch status test should check the modified fields
2025-01-23 14:15:27 -08:00
carlory
aaac13fc6a
remove gke from e2e
2025-01-20 21:50:46 +08:00
Maciej Szulik
247555c2b7
test: deployment patch status test should check the modified fields
...
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2024-12-06 18:14:47 +01:00
Michal Wozniak
af772412be
Job Pod Failure policy refactor e2e test to pass on Windows
2024-10-28 07:23:40 +01:00
Kubernetes Prow Robot
eb10b9b979
Merge pull request #128107 from alaypatel07/kep-4017-integration-tests
...
[KEP-4017]: update e2e and integration test for PodIndexLabel
2024-10-25 20:18:52 +01:00
Alay Patel
0aa065ab7e
update e2e and integration test for PodIndexLabel
...
Signed-off-by: Alay Patel <alayp@nvidia.com >
2024-10-25 12:17:19 -04:00
Michal Wozniak
d521e44187
Rollback promotion of Job e2e test for pod failure policy using exit code
2024-10-24 10:30:56 +02:00
Michal Wozniak
be685c838e
Promote the Job pod failure policy to Conformance
2024-10-22 17:00:37 +02:00
Michal Wozniak
ec983bd3fb
Use Consistently in the e2e for Job
2024-10-17 09:02:39 +02:00
Michal Wozniak
70a8ceb6f0
Graduate JobManagedBy to Beta in 1.32
...
# Conflicts:
# pkg/features/kube_features.go
2024-10-17 09:01:54 +02:00
Patrick Ohly
e43065d542
e2e daemon set: better polling in CheckDaemonStatus
...
As a quick fix for a flake, bceec5a3ff
introduced polling with wait.Poll in all callers of CheckDaemonStatus.
This commit reverts all callers to what they were before (CheckDaemonStatus +
ExpectNoError) and implements polling according to E2E best practices
(https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/writing-good-e2e-tests.md#polling-and-timeouts ):
- no logging while polling
- support for progress reporting while polling
- last but not least, produce an informative failure message in case of a
timeout, including a dump of the daemon set as YAML
2024-10-15 10:12:28 +02:00
Antonio Ojea
bceec5a3ff
e2e flake CheckDaemonStatus assert on async value
...
The util for checking on daemonstatus was checking once if the Status of
the daemonset was reporting that all the desired Pods are scheduled and
ready.
However, the pattern used in the e2e test for this function was not
taking into consideration that the controller needs to propagate the Pod
status to the DeamonSet status, and was asserting on the condition only
once after waiting for all the Pods to be ready.
In order to avoid more churn code, change the CheckDaemonStatus
signature to the wait.Condition type and use it in a async poll loop on
the tests.
2024-10-14 13:30:03 +00:00
Kubernetes Prow Robot
c15581b277
Merge pull request #127695 from kaisoz/wait-for-job-failfast
...
Fail fast when waiting for job conditions in e2e tests
2024-10-10 22:28:19 +01:00
Tomas Tormo
3b1a5bfc9c
Fail fast when waiting for job conditions in e2e tests
2024-10-10 20:18:21 +00:00
Maciej Szulik
f11ddad99d
e2e: add test covering cronjob-scheduled-timestamp annotation added by cronjob
2024-09-25 12:47:27 +02:00
Kubernetes Prow Robot
f2700895a4
Merge pull request #127422 from srivastav-abhishek/go-vet-fix
...
Go vet fixes for gotip
2024-09-20 14:37:58 +01:00
Abhishek Kr Srivastav
95860cff1c
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com >
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com >
2024-09-20 12:36:38 +05:30
Michał Woźniak
d6e5fb4a75
Make Job PodFailurePolicy e2e tests resilient to random failures to prepare them for conformance ( #126169 )
...
* Make JobPodFailurePolicy tests for ignore resilient to random failures
* Increase parallelism and evict in parallel
* Code review fixes to the job e2e tests
2024-09-17 18:00:19 +01:00
Kubernetes Prow Robot
e5bafe2bed
Merge pull request #127072 from dims/switch-back-to-localhost-from-127.0.0.1
...
Switch back to localhost from 127.0.0.1 for daemon restart tests
2024-09-02 21:01:15 +01:00
Davanum Srinivas
d6144619df
Switch back to localhost from 127.0.0.1 for daemon restart tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-09-02 09:15:25 -04:00
Davanum Srinivas
52b1c77730
Fix etcd failures in ci-kubernetes-e2e-cos-gce-disruptive-canary
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-09-02 09:05:33 -04:00
Davanum Srinivas
0a124e28b6
Fix for DaemonRestart [Disruptive] tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-08-31 21:15:23 -04:00
Kubernetes Prow Robot
d770dd695a
Merge pull request #121888 from SD-13/e2e-gomega-be-true-or-false
...
Enhance boolean assertions when fail
2024-08-20 04:24:42 -07:00
Sujay
223aedcf6b
enhance boolean assertions
2024-07-31 15:58:15 +00:00
Yuki Iwai
0d4f18bd5b
Job: Implement E2E tests for the JobSuccessPolicy
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-07-23 21:05:50 +09:00
Yuki Iwai
594490fd77
Job: Add the CompletionsReached reason to the SuccessCriteriaMet condition
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-07-22 21:24:52 +09:00
Michal Wozniak
25d938b481
Promote JobPodFailurePolicy and PodDisruptionConditions e2e tests to Conformance
2024-07-17 18:13:08 +02:00
Michal Wozniak
0acffd6f2c
Extend the e2e tests
2024-07-12 11:16:21 +02:00
Michal Wozniak
1b13b55945
do not assert in e2e tests
2024-07-11 21:00:58 +02:00
Michal Wozniak
f999dd0490
Verify the Job status active, ready and terminating are 0
...
Signed-off-by: Michal Wozniak <michalwozniak@google.com >
2024-07-11 20:54:15 +02:00
Michal Wozniak
fb7704ba03
Delay setting terminal Job conditions until all pods are terminal
...
Fix the integration test typecheck
Fix after rebase
# Conflicts:
# pkg/controller/job/job_controller_test.go
2024-07-11 20:54:09 +02:00
Filip Křepinský
3f8d799c9f
fix readiness flake in UnhealthyPodEvictionPolicy
2024-07-02 00:15:59 +02:00
Kubernetes Prow Robot
b29dce0757
Merge pull request #125627 from yt-huang/clean-up
...
drop deprecated PollWithContext and adopt PollUntilContextTimeout ins…
2024-06-26 10:58:55 -07:00
Kubernetes Prow Robot
fb0195df11
Merge pull request #123428 from atiratree/UnhealthyPodEvictionPolicy-GA
...
promote PDBUnhealthyPodEvictionPolicy to GA
2024-06-25 21:56:20 -07:00
Filip Křepinský
b779fb8387
add e2e tests for UnhealthyPodEvictionPolicy
2024-06-21 16:13:53 +02:00
yintong.huang
2db1b321e0
drop deprecated PollWithContext and adopt PollUntilContextTimeout instead
...
Signed-off-by: yintong.huang <yintong.huang@daocloud.io >
2024-06-21 19:23:31 +08:00
Michal Wozniak
b954879548
Refactor Job e2e test to make them possible for conformance promotion
2024-06-13 13:41:51 +02:00
Matthew Cary
d386d6880e
Respect controllers on PVCs for retention policy
2024-06-05 12:06:41 -07:00
Kubernetes Prow Robot
e821e4f978
Merge pull request #125200 from soltysh/fix_typo
...
Fix the field typo in statefulset patch operation
2024-05-29 13:06:15 -07:00
Maciej Szulik
23bf694830
Fix the field typo in statefulset patch operation
2024-05-29 18:55:35 +02:00
Stephen Kitt
5300466a5c
Use canonical json-patch v4 import
...
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).
Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-05-28 10:48:22 +02:00
Filip Křepinský
d70c3f752d
e2e: DaemonSet maxSurge test should account for terminated pods
...
that are terminated by the test
2024-05-10 16:11:41 +02:00
Kubernetes Prow Robot
d2e6c51b05
Merge pull request #123537 from kaisoz/commonize-job-util-functions
...
Add the util pkg to commonize job util functions
2024-05-07 16:59:28 -07:00
Tomas Tormo
c856c412b9
Add util pkg to commonize job util functions
2024-05-07 09:27:46 +00:00
huweiwen
6ec421e2cf
test/e2e: do not use global variable for image
...
We have "-kube-test-repo-list" command line flag to override the image registry. If we store it in global variable, then that overriding cannot take effect.
And this can cause puzzling bugs, e.g.: containerIsUnused() function will compare incorrect image address.
2024-04-22 19:29:39 +08:00