Kubernetes Prow Robot
b88ea8d2bb
Merge pull request #88930 from oomichi/Failf
...
Replace ExpectNoError(fmt.Errorf(..)) with funcs
2020-03-17 19:28:20 -07:00
drfish
f4da086cbe
Move resource methods from e2e fw to e2e resource fw
2020-03-08 15:27:49 +08:00
Kenichi Omichi
75ca65806d
Replace ExpectNoError(fmt.Errorf(..)) with funcs
...
There were framework.ExpectNoError(fmt.Errorf(..)) calls which just
raise an exception without actual value checks, they just raised the
specified error messages. These usages of framework.ExpectNoError()
seemed a little tricky, so this replaces them with corresponding check
functions for the readability.
2020-03-06 22:00:10 +00:00
Jordan Liggitt
d8abacba40
client-go: update expansions callers
2020-03-06 16:50:41 -05:00
Jordan Liggitt
b7c2faf26c
client-go dynamic client: add context to callers
2020-03-06 10:56:23 -05:00
Mike Danese
76f8594378
more artisanal fixes
...
Most of these could have been refactored automatically but it wouldn't
have been uglier. The unsophisticated tooling left lots of unnecessary
struct -> pointer -> struct transitions.
2020-03-05 14:59:47 -08:00
Mike Danese
aaf855c1e6
deref all calls to metav1.NewDeleteOptions that are passed to clients.
...
This is gross but because NewDeleteOptions is used by various parts of
storage that still pass around pointers, the return type can't be
changed without significant refactoring within the apiserver. I think
this would be good to cleanup, but I want to minimize apiserver side
changes as much as possible in the client signature refactor.
2020-03-05 14:59:46 -08:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
tanjunchen
b5cdb6e6cb
test/e2e/:remove // TODO: write a wrapper for ExpectNoErrorWithOffset()
2020-03-01 23:00:11 +08:00
John Schnake
2683b1065c
Update the conformance list and doc generation logic
...
The existing walk.go and conformance.txt have a few shortcomings
which we'd like to resolve:
- difficult to get the full test name due to test context nesting
- complicated AST logic and understanding necessary due to the
different ways a test can be invoked and written
This changes the AST parsing logic to be much more simple and simply
looks for the comments at/around a specific line. This file/line
information (and the full test name) is gathered by a custom ginkgo
reporter which dumps the SpecSummary data to a file.
Also, the SpecSummary dump can, itself, be potentially useful for
other post-processing and debugging tasks.
Signed-off-by: John Schnake <jschnake@vmware.com >
2020-02-24 14:00:44 -08:00
Nan Yu
b757ca16e2
Add more E2E tests for the ../poddisruptionbudgets endpoint
2020-02-18 11:19:30 -08:00
Kubernetes Prow Robot
c9d4257cbc
Merge pull request #87819 from mortent/SerialFlakyPDBTests
...
Make DisruptionController eviction tests serial to avoid flakes
2020-02-11 23:14:55 -08:00
Morten Torkildsen
95ddc029fa
Make DisruptionController eviction tests serial to avoid flakes
2020-02-09 13:41:07 -08: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
toyoda
0c12ae5240
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:56:05 +09:00
Morten Torkildsen
4673731c0b
Make sure PDB has observed pods before doing eviction in e2e test
2020-01-14 12:21:05 -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
toyoda
91dca8ff8c
Use e2eskipper package in e2e/apps
2020-01-10 15:08:19 +09:00
Kubernetes Prow Robot
61cf95f2a9
Merge pull request #86366 from mortent/DeflakePDBTest
...
Change PDB tests to use pod conditions instead of phase
2020-01-08 19:11:39 -08:00
Kubernetes Prow Robot
9da4b00d40
Merge pull request #86767 from tanjunchen/move-functions
...
move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/up…
2020-01-07 14:08:31 -08:00
Morten Torkildsen
81a6cf2847
Change PDB tests to use pod conditions instead of phase
2020-01-07 08:47:47 -08:00
Abdullah Gharaibeh
041e5b5560
addressed comments
2020-01-04 01:14:24 -05:00
Abdullah Gharaibeh
7d604c318c
Break DS controller on scheduler predicates and predicate errors
2020-01-03 13:05:07 -05:00
tanjunchen
2f0e5b262a
move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/upgrades
2020-01-02 13:01:09 +08:00
Kubernetes Prow Robot
481db52294
Merge pull request #86634 from tanjunchen/remove-unused-code-test-e2e-apps-deployment
...
remove unused code in test/e2e/apps/deployment
2019-12-28 10:29:39 -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
f19ed6ccfe
remove unused code in test/e2e/apps/deployment
2019-12-27 12:57:00 +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
Kubernetes Prow Robot
4933d0f1d8
Merge pull request #86466 from yuxiaobo96/e2e-cleanup-deployment
...
e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deploy…
2019-12-25 01:21:30 -08:00
yuxiaobo
4123973726
e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deployment.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com >
2019-12-24 16:23:42 +08:00
Kubernetes Prow Robot
82c7c86998
Merge pull request #86169 from clarklee92/move-e2e/framework/statefulset
...
e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades
2019-12-22 19:57:32 -08:00
Kubernetes Prow Robot
a81bc56dd7
Merge pull request #86321 from liggitt/unconditional-scale-update
...
Make e2e scale updates unconditional
2019-12-21 05:43:32 -08:00
Kubernetes Prow Robot
fc1824fadd
Merge pull request #86348 from soltysh/issue86179
...
Split cronjob tests, so they don't interfere
2019-12-17 19:48:21 -08:00
Maciej Szulik
667aaf33a6
Split cronjob tests, so they don't interfere
2019-12-17 15:36:42 +01:00
Kubernetes Prow Robot
9b840a72c9
Merge pull request #86148 from tanjunchen/use-framework-Equal
...
test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega…
2019-12-17 04:19:59 -08:00
Jordan Liggitt
5c537915bf
Mark '[sig-apps] CronJob should delete successful/failed finished jobs with limit of one job' flaky
2019-12-16 17:05:30 -05:00
Jordan Liggitt
2164157113
Make e2e scale updates unconditional
2019-12-16 15:46:35 -05:00
clarklee92
623c4f9f17
e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades
...
Signed-off-by: clarklee92 <clarklee1992@hotmail.com >
2019-12-14 02:17:00 +08:00
tanjunchen
77a9d4772b
move funcs from test/e2e/framework/replicaset to test/e2e/apps
2019-12-13 13:02:02 +08:00
tanjunchen
f786cb07b7
test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue()|BeFalse())
2019-12-13 10:11:47 +08:00
Kubernetes Prow Robot
78c56e6b4c
Merge pull request #84886 from YangLu1031/daemonRestartTest
...
Verify kubelet & kube-proxy recovery on Windows nodes
2019-12-09 21:35:28 -08:00
SataQiu
10b173868a
move funs of framework/deployment to e2e/apps
2019-12-09 11:30:15 +08:00
Kubernetes Prow Robot
688149a0c6
Merge pull request #84613 from MorrisLaw/breakout-kubectl-from-utils
...
move KubectlCmd out of utils into its own package
2019-12-06 15:51:53 -08:00
MorrisLaw
b85adbf1fd
moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils
2019-12-04 20:31:57 +00:00
Nan Yu
1fb0dd4ec5
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-03 14:26:35 -08:00
Yang Lu
ba2cc99bde
Add test cases to verify kubelet & kube-proxy can recover if being killed accidentally
2019-12-02 15:59:35 -08:00
SataQiu
50bc528a7e
e2e: move LogFailedContainers out of e2e test framework util.go
2019-11-15 10:21:26 +08:00