Andrew Sy Kim
6c7bb454d5
e2e/framework: remove imports to pkg/controller/job
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-03-17 16:55:56 -04:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Kubernetes Prow Robot
9d1eb45bc6
Merge pull request #86627 from tnqn/flaky-e2e-job
...
Fix a flaky e2e test of Job completion
2020-01-11 02:43:36 -08:00
Quan Tian
c84a371f3d
Fix a flaky e2e test of Job completion
...
The test was flaky because it required the job succeeds 3 times with
pseudorandom 50% failure chance within 15 minutes, while there is an
exponential back-off delay (10s, 20s, 40s …) capped at 6 minutes before
recreating failed pods. As 7 consecutive failures (1/128 chance) could
take 20+ minutes, exceeding the timeout, the test failed intermittently
because of "timed out waiting for the condition".
This PR forces the Pods of a Job to be scheduled to a single node and
uses a hostPath volume instead of an emptyDir to persist data across new
Pods.
2020-01-10 16:04:56 +08:00
tanjunchen
c2d41fda6c
remove unused code and use framework
2020-01-04 22:24:04 +08:00
Kubernetes Prow Robot
de3be348a6
Merge pull request #86640 from tanjunchen/move-code-test/e2e/framework/job
...
move funcs from test/e2e/framework/job to test/e2e/apps
2019-12-27 19:47:51 -08:00
tanjunchen
794a8668fa
move funcs from test/e2e/framework/job to test/e2e/apps
2019-12-27 09:35:30 +08:00
danielqsj
6596a14d39
add missing alias of api errors under test
2019-12-26 17:29:38 +08:00
Haosdent Huang
21e906fba6
e2e: move funs of framework/job to e2e/upgrades/apps/job
2019-12-16 00:30:42 +08:00
Kenichi Omichi
acc0c0c980
Use log functions of core framework on sub [j-l]
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
NOTE: test/e2e/framework/kubelet, test/e2e/framework/metrics and
test/e2e/framework/node will make circular dependencies if
updating them. It is necessary to solve them in advance before
this work.
2019-08-23 00:11:36 +00:00
Aaron Crickenberger
03ad7d2d6f
add import-alias for k8s.io/api/batch/v1
2019-06-20 11:40:01 -07:00
Jordan Liggitt
899d00a529
Fix incorrect procMount defaulting
2019-06-10 22:01:54 -04:00
W. Trevor King
96b04bfeac
test/e2e/upgrades/apps/job: List Pods in failure message
...
Currently, this test can fail with the not-very-helpful [1,2]:
fail [k8s.io/kubernetes/test/e2e/upgrades/apps/job.go:58]: Expected
<bool>: false
to be true
Since this test is the only CheckForAllJobPodsRunning consumer, and
has been since CheckForAllJobPodsRunning landed in 116eda0909
(Implements an upgrade test for Job, 2017-02-22, #41271 ), this commit
refactors the function to EnsureJobPodsRunning, dropping the opaque
boolean, and constructing a useful error summarizing the divergence
from the expected parallelism and the status of listed Pods.
Thanks to Maciej Szulik for the fixups [3] :).
[1]: https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-upgrade/1434/build-log.txt
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1708454#c0
[3]: https://github.com/wking/kubernetes/pull/1
2019-05-10 06:09:36 -07:00
draveness
f3d444d44e
feat: add logger package in test e2e framework
2019-04-30 11:47:47 +08:00
draveness
f32352ac7e
refactor: clean up e2e framework job utils
...
1. Move job_util to e2e/framework/job package
2. Remove unused UpdateJobWithFunc
2019-04-12 21:26:33 +08:00