701 Commits

Author SHA1 Message Date
Yuan Wang
b34f8782e2 Add e2e tests 2025-07-24 16:49:54 +00:00
Kubernetes Prow Robot
b3d00a026d Merge pull request #132756 from ylink-lfs/ci/redis_removal
ci: redis removal for e2e test dependency simplicity
2025-07-24 09:38:42 -07:00
Kubernetes Prow Robot
f2bed63ca5 Merge pull request #131665 from carlory/fix-131645
deflake e2e tests: StatefulSet Non-retain StatefulSetPersistentVolume ClaimPolicy should delete PVCs after adopting pod (WhenScaled)
2025-07-15 08:24:23 -07:00
Kubernetes Prow Robot
47e696a8fa Merge pull request #129154 from carlory/e2e-apps
e2e apps: remove unnecessary feature labels
2025-07-08 04:41:26 -07:00
ylink-lfs
075abb07a9 ci: redis removal for e2e test dependency simplicity 2025-07-08 09:14:54 +08:00
PatrickLaabs
bc72fb81c3 chore: depr. pointer pkg replacement for test/e2e 2025-07-07 12:25:55 +02:00
carlory
fa31317000 Remove unused PodIndexLabel feature reference 2025-07-03 14:15:14 +08:00
Dejan Zele Pejchev
bccc9fe470 KEP-3939: Job Pod Replacement Policy; promote to GA
Signed-off-by: Dejan Zele Pejchev <pejcev.dejan@gmail.com>
2025-06-16 16:26:03 +02:00
carlory
871cabeedb deflake e2e tests: StatefulSet Non-retain StatefulSetPersistentVolumeClaimPolicy should delete PVCs after adopting pod (WhenScaled) 2025-05-08 11:10:12 +08:00
Yuki Iwai
e394d430c4 Promote E2E to conformance tests for JobSuccessPolicy
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2025-03-17 23:22:13 +09:00
Yuki Iwai
03f0475ebd Add Complete reason verification to all e2e conformance tests
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2025-03-11 06:14:55 +09:00
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