Kubernetes Prow Robot
12203f3fd9
Merge pull request #87317 from YuikoTakada/move_skip_e2e_framework
...
Use e2eskipper package in test/e2e/framework/
2020-01-21 00:15:36 -08:00
YuikoTakada
e98f4f3ef8
Use e2eskipper package in test/e2e/framework/
2020-01-20 06:34:07 +00:00
Kubernetes Prow Robot
fdd575f8dc
Merge pull request #87030 from jiayingz/test-host
...
In test framework LoadConfig(), use CurrentContext.Server for TestCon…
2020-01-16 23:20:55 -08:00
Kubernetes Prow Robot
02ac661794
Merge pull request #87271 from tanjunchen/move-function-GetKubemarkMasterComponentResoureUsage
...
move function GetKubemarkMasterComponentResoureUsage and remove long-time TODO
2020-01-16 20:26:55 -08:00
Kubernetes Prow Robot
90d6484f1c
Merge pull request #87274 from tanjunchen/refactor-function-e2erc.ByNameContainer
...
test/e2e/framework/rc/:refactor function ByNameContainer remove unused flag
2020-01-16 18:57:17 -08:00
Jiaying Zhang
3698a2540d
In test framework LoadConfig(), use CurrentContext.Server for TestContext.Host
...
if it is unset. Otherwise, kubectl exec through http/kubectl proxy tests in
test/e2e/kubectl/kubectl.go would fail with "--host variable must be set to
the full URI to the api server on e2e run" error.
With this change, running the following tests can now pass:
$ e2e.test --kubeconfig=xxx --ginkgo.focus="should support exec through"
2020-01-16 17:57:21 -08:00
Kenichi Omichi
9952d487d2
Move ValidateEndpointsPorts() to e2e test
...
ValidateEndpointsPorts() was only used in e2e service tests.
So this moves the function to the tests.
2020-01-16 17:59:08 +00:00
tanjunchen
1db3f45dc5
test/e2e/framework/rc/:refactor function ByNameContainer
2020-01-16 13:49:02 +08:00
tanjunchen
69461d26d8
move function GetKubemarkMasterComponentResoureUsage
2020-01-16 12:35:39 +08:00
Kubernetes Prow Robot
2cbd474597
Merge pull request #86400 from Huang-Wei/fix-flaky-preemption-e2e
...
Fix a flaky scheduler preemption e2e
2020-01-15 19:04:22 -08:00
Kubernetes Prow Robot
2da2c3b01b
Merge pull request #87132 from yuxiaobo96/k8s-removeTODO
...
remove TODO in test/e2e/framework/providers/gce/ingress.go
2020-01-15 11:56:37 -08:00
Kubernetes Prow Robot
fbfbd10c28
Merge pull request #87230 from tanjunchen/remove-TODO-skip.go
...
remove TODO in test/e2e/framework/skip.go
2020-01-15 08:25:56 -08:00
Kubernetes Prow Robot
38e5dc6974
Merge pull request #87021 from tanjunchen/remove-the-same-function-test
...
test/e2e/framework:remove generateWriteBlockCmd due to the repeat to …
2020-01-15 01:22:16 -08:00
tanjunchen
b4b1e8f7b6
remove TODO in test/e2e/framework/skip.go
2020-01-15 13:44:48 +08:00
Kubernetes Prow Robot
8568d1843d
Merge pull request #87189 from tanjunchen/remove-TODO-liuRandom
...
remove TODO(random-liu): Move pod wait function into this file
2020-01-14 17:23:20 -08:00
Kubernetes Prow Robot
d4fbb3fe03
Merge pull request #82027 from huffmanca/enable_vsphere_e2e_config
...
Enabled reading config files for vsphere e2e tests.
2020-01-14 17:20:35 -08:00
tanjunchen
b60703c172
test/e2e/framework:refactor generateWriteBlockCmd due to the same function
2020-01-14 21:58:27 +08:00
tanjunchen
8b1eb7f973
remove TODO(random-liu): Move pod wait function into this file
2020-01-14 18:36:50 +08:00
yuxiaobo
cb07680ee9
remove TODO in test/e2e/framework/providers/gce/ingress.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com >
2020-01-14 10:43:03 +08:00
Wei Huang
4083c7d49c
Fix a flaky scheduler preemption e2e
...
- Use preemptor pod's Status.NominatedNodeName to signal success of the Preemption behavior
- Optimize the test to eliminate unnecessary Pods creation
- Increase timeout from 1 minute to 2 minutes
2020-01-13 09:39:48 -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
Kenichi Omichi
a19aa1069a
Remove duplicated ServiceStartTimeout
...
ServiceStartTimeout is defined at e2e core framework and the one of
the core is used at many places, but the one of this endpoints/ports.go
is not used at the other places.
So this removes the one of endpoints/ports.go for the cleanup.
2020-01-11 00:03:21 +00: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
Kenichi Omichi
0d86f0a037
Separate skip as framework subpackage
2020-01-09 08:44:55 +00:00
Kubernetes Prow Robot
b9c0aa0b2a
Merge pull request #86782 from tanjunchen/remove-TODO-test/e2e/framework/node/resource
...
remove TODO in test/e2e/framework/node/resource.go
2020-01-09 09:17:58 -08:00
Kubernetes Prow Robot
ef69bc910f
Merge pull request #86991 from oomichi/skip
...
Move IsAppArmorSupported() from e2e framework
2020-01-08 23:45:44 -08:00
Abdullah Gharaibeh
21202b08d4
remove e2e dependency on scheduler/predicates package
2020-01-08 17:24:42 -05:00
Christian Huffman
3db91b2bdc
Enabled reading config files for vsphere e2e tests
2020-01-08 09:00:40 -05:00
Kenichi Omichi
f3c70a2ed2
Move IsAppArmorSupported() from e2e framework
...
The function is only used at a single place.
This moves it to the place.
2020-01-08 13:46:50 +00:00
Kubernetes Prow Robot
110da204f6
Merge pull request #85190 from danielqsj/f-event
...
refactor events utils in e2e
2020-01-07 22:35:40 -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
Kubernetes Prow Robot
2effc322f2
Merge pull request #86748 from clarklee92/move-e2e/framework/volume
...
move funs of framework/volume to e2e/storage
2020-01-07 01:12:54 -08:00
Kubernetes Prow Robot
7467f3442c
Merge pull request #86738 from tanjunchen/remove-TODO-test/e2e/framework/auth/helpers
...
remove TODO in test/e2e/framework/auth/helpers
2020-01-07 01:12:31 -08:00
Kubernetes Prow Robot
0c77e3a58a
Merge pull request #86653 from tanjunchen/remove-TODO-001
...
remove TODO: Use return type string instead of []string and update func
2020-01-06 21:06:17 -08:00
Kubernetes Prow Robot
f497c4d446
Merge pull request #86743 from clarklee92/move-e2e/framework/viperconfig
...
e2e: move funs of framework/viperconfig to e2e
2020-01-06 13:34:31 -08:00
tanjunchen
c2d41fda6c
remove unused code and use framework
2020-01-04 22:24:04 +08:00
tanjunchen
2371c58a73
remove unused code test/e2e/framework/google_compute.go
2020-01-03 19:04:28 +08:00
tanjunchen
9324664330
remove TODO in test/e2e/framework/node/resource.go
2020-01-02 21:55:58 +08: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
63411a137f
Merge pull request #86732 from oomichi/move-WaitForFailure
...
Move WaitForFailure() to the test
2019-12-31 05:15:39 -08:00
clarklee92
7171f9a7f4
move funs of framework/volume to e2e/storage
...
Signed-off-by: clarklee92 <clarklee1992@hotmail.com >
2019-12-31 18:43:08 +08:00
Kubernetes Prow Robot
55b692fa48
Merge pull request #86661 from yuxiaobo96/e2e-cleanup-replicaset
...
e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicas…
2019-12-31 01:00:04 -08:00
Kubernetes Prow Robot
b765dd9e81
Merge pull request #86657 from yuxiaobo96/e2e-cleanup-autoscaling
...
e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling…
2019-12-31 00:59:51 -08:00
clarklee92
4d43e9e39b
e2e: move funs of framework/viperconfig to e2e
...
Signed-off-by: clarklee92 <clarklee1992@hotmail.com >
2019-12-31 16:42:30 +08:00
Kubernetes Prow Robot
822a2de262
Merge pull request #86731 from oomichi/use-DeleteSync
...
Remove Delete/CreateSyncInNamespace()
2019-12-30 20:39:46 -08:00
tanjunchen
587dbc2fed
remove TODO in test/e2e/framework/auth/helpers
2019-12-31 11:20:31 +08:00
Kenichi Omichi
253a85db16
Move WaitForFailure() to the test
...
WaitForFailure() is used at a single e2e test.
So this moves the function to the specific test file for the cleanup.
2019-12-30 23:16:24 +00:00
Kenichi Omichi
99c2e74a23
Add debugging message to know the pod status
...
The log of a flake test says
"Pod did not start running: timed out waiting for the condition"
but it is hard to know what is actual status of the pod.
So this adds debugging message to know that.
2019-12-30 19:46:15 +00:00
Kenichi Omichi
52ddae0267
Remove Delete/CreateSyncInNamespace()
...
DeleteSyncInNamespace() was used at an e2e node test and DeleteSync()
only. In addition, the part of the e2e node test can be replaced with
DeleteSync(). CreateSyncInNamespace() is the same thing and can be
replaced with CreateSync(). So this replaces these functions and
removes them for the cleanup.
2019-12-30 18:59:42 +00:00
Kubernetes Prow Robot
a097243cba
Merge pull request #86062 from haosdent/clean-e2e-framework-gpu
...
e2e: move funs of framework/gpu to e2e_node
2019-12-28 21:23:39 -08:00