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
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
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
toyoda
799026a7ee
use ExpectEqual in density_test.go
2019-07-22 16:11:11 +09:00
draveness
c38ae01f8e
feat: move service_util to separated package
2019-07-19 08:32:39 +08:00
draveness
d83526d253
Revert "feat: cleanup pod critical pod annotations feature"
...
This reverts commit b6d41ee5cc .
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
fe0404171c
Merge pull request #80142 from loqutus/master
...
remove github.com/kardianos/osext
2019-07-15 20:28:00 -07:00
Kubernetes Prow Robot
b8a10b4e12
Merge pull request #79753 from alejandrox1/framework-metrics
...
Refactored metrics-related functions from framework/metrics_util.go
2019-07-15 14:54:02 -07:00
Ruslan Gustomiasov
b4ce777b79
remove github.com/kardianos/osext
2019-07-15 23:40:13 +02:00
Kubernetes Prow Robot
bc33fc8dfe
Merge pull request #74177 from dims/stop-testing-containerized-kubelet-in-e2e-node
...
Stop testing containerized kubelet in e2e-node
2019-07-12 10:57:05 -07:00
Kubernetes Prow Robot
642a06e552
Merge pull request #79554 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-07-11 22:03:04 -07:00
draveness
b6d41ee5cc
feat: cleanup pod critical pod annotations feature
2019-07-11 08:54:19 +08:00
Clayton Coleman
50fd47258d
Switch the namespace controller to use the metadata client
...
The metadata client uses protobuf and returns only a subset of object
data (the metadata) which allows operations that act only on objects
generically to work much faster. Use the metadata client in the
namespace controller to reduce the amount of work the namespace controller
has to do in large namespaces.
2019-07-10 14:31:18 -04:00
Kubernetes Prow Robot
a61006bbc4
Merge pull request #75593 from pohly/e2e-no-global-flags
...
e2e: avoid mandatory command line flags
2019-07-09 03:10:03 -07:00
alejandrox1
348fd0805e
Refactored metrics-related functions from framework/metrics_util.go
...
This a refactoring of framework/metrics_utils.go into framework/metrics.
Signed-off-by: alejandrox1 <alarcj137@gmail.com >
2019-07-08 19:35:10 -04:00
Odin Ugedal
1c79157065
Remove use of HugePages feature flag in test
...
The flag was removed in 1.14, and huge pages are now enabled by
default.
2019-07-08 17:05:05 +02:00
Patrick Ohly
1822895ce2
update Bazel
2019-07-04 17:15:14 +02:00
Patrick Ohly
b86a007057
e2e: avoid mandatory command line flags
...
Tests should never directly add to the global command line, because
some users of the tests might not want them there. For example,
options might only get set directly from a config file.
To achieve that, e2e/framework/config, e2e/framework/viperconfig, and
e2e/framework/test_context.go avoid using the global flag set and
instead expect to be told by the caller which flag set to use. Tests
that called flag directly either get updated or obsolete flags get
removed.
The exception is framework.HandleFlags, which as before directly
implements global command line handling.
This is a breaking change for test suites which do not use that
function (and only those): they now need to ensure that they copy
individual flags from tests. Because the RegisterCommonFlags prototype
has changed, test suite authors will notice due to the resulting
compilation errors.
2019-07-04 17:15:14 +02:00
Kubernetes Prow Robot
6d8dd21111
Merge pull request #79594 from wojtek-t/cleanup_etcd_dir_2
...
Cleanup etcd directory - part 2
2019-07-01 21:33:34 -07:00