Kubernetes Prow Robot
f4ff0e37d9
Merge pull request #78418 from mysunshine92/fix-typo-e2e-node
...
fix typos in /test/e2e_node
2019-09-25 13:50:06 -07:00
zouyee
11746bcc19
using short flags instead with validate
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com >
2019-09-25 23:08:50 +08:00
Dan Winship
71b02dd422
Fix up e2enode.GetReadySchedulableNodes, replace many uses of framework.GetReadySchedulableNodesOrDie
...
Remove the "OrDie" from the name (since it doesn't "or die") and add
an extra check that there is at least 1 node available, since many
callers already did that themselves, and many others should have.
2019-09-24 13:03:39 -04:00
Kubernetes Prow Robot
699b1777cc
Merge pull request #82108 from oomichi/circular-metrics
...
Copy PrettyPrintJSON to core framework
2019-09-23 17:31:24 -07:00
Kubernetes Prow Robot
c9c01fb902
Merge pull request #82654 from odinuge/test-timeout
...
Fix pre pull of images in DiskPressure tests
2019-09-23 12:27:25 -07:00
Kenichi Omichi
7c23ba1b34
Copy PrettyPrintJSON to core framework
...
PrettyPrintJSON is most used e2emetrics function and that doesn't seem
specific for metrics. The implementation itself is generic, so it is
nice to move it to core framework for avoiding circular dependency.
2019-09-23 18:10:50 +00:00
Kubernetes Prow Robot
946df1a914
Merge pull request #81932 from palnabarun/fix-staticcheck-tests-e2e_node
...
Fixes static check failures in test/e2e_node/*
2019-09-20 22:55:37 -07:00
Kubernetes Prow Robot
3a55875465
Merge pull request #81512 from odinuge/preemptible-node-tests
...
Add support for preemptible instances in node-e2e
2019-09-20 22:55:24 -07:00
Kubernetes Prow Robot
07e26d9bfc
Merge pull request #82922 from ZP-AlwaysWin/dev08
...
Use framework.ExpectNotEqual()
2019-09-20 20:07:40 -07:00
ZP-AlwaysWin
b77462eddd
Use framework.ExpectNotEqual()
2019-09-20 16:09:44 +08:00
Kubernetes Prow Robot
895642f9c3
Merge pull request #82742 from whypro/flagparse
...
Move flag.Parse() from init() to TestMain()
2019-09-20 00:09:12 -07:00
Odin Ugedal
ec605eb300
Fix pre pull of images in DiskPressure tests
...
This waits for DiskPressure to no longer exist before pre pulling images
after a DiskPressure test. Otherwise we risk to pull images, while
kubelet evicts/removes them.
2019-09-19 12:24:17 +02:00
Odin Ugedal
b1308ed70a
Compact memory before requesting huge pages
...
Compact memory to make bigger contiguous blocks of memory available
before allocating huge pages.
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
2019-09-17 17:04:01 +02:00
whypro
69f48d87a4
Move flag parse to main func from init()
2019-09-17 19:30:24 +08:00
zouyee
efcf4f4da2
update process name to fix pod infra containers oom-score-adj should be -998 and best effort container's should be 1000
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com >
2019-09-17 11:25:38 +08:00
Nabarun Pal
83c443e728
Fixes static check failures in test/e2e_node/*
2019-09-14 00:39:45 +05:30
David Zhu
f15cc60957
Update golang scientific notation using hack/update-gofmt.sh
2019-09-12 18:05:49 -07:00
Kubernetes Prow Robot
5823cfce76
Merge pull request #81974 from carlory/fix-test-01
...
clean up test code
2019-09-10 23:49:21 -07:00
Kubernetes Prow Robot
ab73a018de
Merge pull request #82018 from odinuge/prepull-images-after-tests
...
Add pre pull of e2e images after DiskPressure test
2019-09-06 13:49:20 -07:00
carlory
d1290ffdef
clean up test code
2019-09-05 23:44:19 +08:00
zouyee
70b93eff37
using const instead
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com >
2019-09-02 09:30:51 +08:00
Matthias Bertschy
a042a4b0ee
startupProbe: make update
2019-08-30 00:42:43 +02:00
Matthias Bertschy
1a08ea5984
startupProbe: Test changes
2019-08-30 00:40:26 +02:00
Odin Ugedal
b9071991e3
Add pre pull of e2e images after DiskPressure test
...
The "system_node_critical_test" causes DiskPressure on the node,
resulting in eviction of some of the pre pulled images. This makes all
the resulting tests to fail, since their pod spec use PullPolicy: Never
The PrePullImages is now inside a defer, so it will be executed even tho
the assertions inside the "AfterEach" fail.
2019-08-29 15:53:05 +02:00
Khaled Henidak(Kal)
93c06821e6
Phase 2: service and endpoint processing
2019-08-28 15:59:43 +00:00
Kubernetes Prow Robot
ee73d27d51
Merge pull request #81727 from odinuge/flaky-hugepage-test
...
Fix flaky hugepages tests by decreasing page count
2019-08-26 20:54:52 -07:00
Kenichi Omichi
c8e0c94a8a
Move PrintPerfData to the test
...
PrintPerfData is called at e2e node tests and it depends on e2elog
and e2emetrics. This moves the function to the place which calls
the function for removing unnecessary dependencies from e2e node
subpackage.
2019-08-23 19:33:24 +00:00
Kubernetes Prow Robot
6b47754740
Merge pull request #81627 from tallclair/copy
...
Delete duplicate resource.Quantity.Copy()
2019-08-22 11:13:13 -07:00
Odin Ugedal
7df6a84902
Fix flaky hugepages tests by decreasing page count
...
If requesting an substantial amount of huge page memory
(like the tests), it is recommended to to it as early
after boot as possible, or by using the kernel cmd line.
2019-08-21 17:59:56 +02:00
Tim Allclair
49f50484b8
Delete duplicate resource.Quantity.Copy()
2019-08-19 17:23:14 -07:00
Odin Ugedal
4f31d322a4
Fix GCE typo in test output
2019-08-17 13:11:19 +02:00
Odin Ugedal
e20c2b1f32
Add support for preemptible instances in node-e2e
...
Preemptible instances are cheaper, and the small chanse of a vm being
killed doesn't matter when running during development. This is a
tradeoff the user should be able to decide on.
More info here:
https://cloud.google.com/compute/docs/instances/preemptible
The default setting is false, so unless setting
PREEMPTIBLE_INSTANCES=true, everything will behave as before.
Signed-off-by: Odin Ugedal <odin@ugedal.com >
2019-08-17 13:09:45 +02:00
Kubernetes Prow Robot
fec7d35f26
Merge pull request #81391 from oomichi/cleanup-GetGPUDevicePluginImage
...
Move GetGPUDevicePluginImage to the test
2019-08-15 07:20:48 -07:00
Kenichi Omichi
2efa60b849
Move GetGPUDevicePluginImage to the test
...
GetGPUDevicePluginImage() was called in some e2e node test only.
So it is not worth keeping the function as a part of e2e test
framework. This moves GetGPUDevicePluginImage() to the e2e node
test for code cleanup.
2019-08-14 00:01:50 +00:00
draveness
495faa22db
feat: cleanup pod critical pod annotations feature
2019-08-09 08:41:23 +08:00
Kubernetes Prow Robot
3cb2eaa4ba
Merge pull request #80953 from Moriadry/feature/package-collides
...
Fix error collides with imported package name
2019-08-06 23:57:42 -07:00
Kubernetes Prow Robot
48b7301440
Merge pull request #80843 from draveness/feature/use-expect-equal-again
...
feat: update multiple files in e2e node with framework helpers
2019-08-06 23:57:16 -07:00
Kubernetes Prow Robot
ee8ed53e0e
Merge pull request #80790 from k-toyoda-pi/use_expectequal_e2e_node_a-d
...
Use framework.ExpectEqual() in test/e2e_node/[a-d]
2019-08-06 23:57:03 -07:00
moriadry
4b8080dda8
Fix error collides with imported package name
...
Fix error collides with imported package name
fix
fix
2019-08-06 12:20:29 +08:00
draveness
aeadd793cb
feat: update multiple files in e2e node with framework helpers
2019-08-02 14:39:05 +08:00
WanLinghao
92b0310cc5
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file
2019-08-01 17:40:02 +08:00
Kubernetes Prow Robot
e694959038
Merge pull request #80708 from WanLinghao/util_pods_refacotr
...
Move pod related functions in file test/e2e/framework/util.go to its sub directory
2019-07-31 20:08:38 -07:00
toyoda
c9ec5210e9
Use ExpectEqual in test/e2e_node/[a-d]
2019-08-01 09:27:52 +09:00
WanLinghao
e43572f02b
Move pod related functions file in test/e2e/framework/util.go to its sub direcotry
2019-07-31 13:53:41 +08:00
SataQiu
641d330f89
e2e_node: clean up non-recommended import
2019-07-28 12:49:36 +08:00
Benjamin Elder
4542cb937f
fix building test/e2e_node/ with bazel 0.28.1
2019-07-26 14:32:40 -07:00
Kubernetes Prow Robot
63a43402a3
Merge pull request #77532 from WanLinghao/perf_refactor
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go file
2019-07-25 13:02:45 -07:00
Kubernetes Prow Robot
4ed5ea601d
Merge pull request #80417 from k-toyoda-pi/expectequal_e2e_node_density_test
...
use ExpectEqual in density_test.go
2019-07-24 21:20:04 -07:00
WanLinghao
4c394ddf3b
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go
2019-07-25 09:41:00 +08:00
Kubernetes Prow Robot
0ba6ecca72
Merge pull request #77155 from draveness/feature/refactor-util-service
...
refactor: move service related functions in service pkg
2019-07-23 15:52:15 -07:00