Commit Graph

1623 Commits

Author SHA1 Message Date
Travis Rhoden
0c5c3d8bb9 Remove pkg/util/mount (moved out of tree)
This patch removes pkg/util/mount completely, and replaces it with the
mount package now located at k8s.io/utils/mount. The code found at
k8s.io/utils/mount was moved there from pkg/util/mount, so the code is
identical, just no longer in-tree to k/k.
2019-11-15 08:29:12 -07:00
Kenichi Omichi
aef8355358 Move RegisterNodeFlags() to e2e_node test
RegisterNodeFlags() is called in e2e_node test package only, so this
moves the function for making e2e core framework small and simple.
2019-11-14 18:11:21 +00:00
Kubernetes Prow Robot
c10d29ba88 Merge pull request #84356 from verb/pid-ga
Promote PodProcessNamespaceSharing feature to GA
2019-11-13 09:25:42 -08:00
Kubernetes Prow Robot
0b01915c03 Merge pull request #84291 from matthyx/startup_probe_test
Clarify startupProbe e2e tests
2019-11-13 02:47:11 -08:00
Kubernetes Prow Robot
ea2750eaa6 Merge pull request #84718 from yastij/remove-validators
remove system validators package from kubeadm and use k8s.io/system-validators
2019-11-12 11:50:53 -08:00
Kubernetes Prow Robot
fccf64baec Merge pull request #84179 from odinuge/startup-probe-test
Fix startup probe test by checking updated values
2019-11-12 11:50:37 -08:00
Yassine TIJANI
b9fe59c93e remove system validators package from kubeadm and use k8s.io/system-validators instead
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-11-12 01:09:56 +01:00
Kubernetes Prow Robot
0155d18fbc Merge pull request #84485 from tallclair/mirror-owner
Mirror owner
2019-11-09 20:19:39 -08:00
Kubernetes Prow Robot
f7c3fa8324 Merge pull request #84860 from wojtek-t/remove_conversion_funcs_4
Eliminate couple default conversions
2019-11-07 09:05:30 -08:00
Jordan Liggitt
297570e06a hack/update-vendor.sh 2019-11-06 17:42:34 -05:00
Jordan Liggitt
00e1ffb4e0 Move e2e_node flag copy into TestMain
As of go1.13, test flags like test.timeout are registered lazily.
This means they are not available in package init() methods:

> Testing flags are now registered in the new Init function,
> which is invoked by the generated main function for the test.
> As a result, testing flags are now only registered when running
> a test binary, and packages that call flag.Parse during package
> initialization may cause tests to fail.

This moves the copy of CLI flags into TestMain, just prior to parse.
2019-11-06 17:39:05 -05:00
Jordan Liggitt
8618c09369 opt out of module mode for builds 2019-11-06 17:39:05 -05:00
wojtekt
ccded14941 Eliminate some default conversions 2019-11-06 14:08:15 +01:00
Kubernetes Prow Robot
d5fbc1126b Merge pull request #84471 from oomichi/move-e2e-util
Move functions from e2e/framework/util.go
2019-11-05 22:17:59 -08:00
Mike Danese
a4ca9e6c93 migrate callers to g/g/uuid 2019-11-04 23:15:29 -08:00
Kenichi Omichi
ca4c349096 Move functions from e2e/framework/util.go
- SimpleGET: Moved to ingress sub package of e2e framework
- PollURL: Moved to ingress sub package of e2e framework
- ProxyMode: Moved to service e2e test package
- ListNamespaceEvents: Moved to e2e_node test package
- NewE2ETestNodePreparer: Removed since 59533f0cd1
2019-11-01 17:39:29 +00:00
Lee Verberne
cbbe7d1bb9 Remove checks for PodShareProcessNamespace feature gate 2019-10-31 17:15:23 +00:00
Tim Allclair
9f7394ac63 Update generated files 2019-10-29 16:14:34 -07:00
Tim Allclair
62e7d197e3 Add mirror pod e2e test 2019-10-29 16:14:06 -07:00
Matthias Bertschy
8588fa2358 Clarify startupProbe e2e tests 2019-10-24 15:28:50 +02:00
Jordan Liggitt
8d0e4a4492 Revert "move hostPID tests to common"
This reverts commit 20ac24929b.
2019-10-22 21:28:44 -04:00
Odin Ugedal
fe8f75c500 Fix startup probe test by checking updated values 2019-10-22 10:04:56 +02:00
Kubernetes Prow Robot
c981bce007 Merge pull request #83368 from Jefftree/move-hostpid-tests
Move hostPID tests to common
2019-10-21 17:09:22 -07:00
Kubernetes Prow Robot
edfffffdac Merge pull request #82656 from odinuge/hugetlb-drop-caches
Compact memory before requesting huge pages
2019-10-18 12:37:08 -07:00
Timothy St. Clair
97055841b1 Audit of test/* OWNERS files 2019-10-10 15:52:51 -05:00
Kubernetes Prow Robot
e856613dd5 Merge pull request #83211 from Jefftree/move_privilege_test
Move privilege e2e test to common
2019-10-08 10:57:23 -07:00
Kubernetes Prow Robot
cb177dc6a1 Merge pull request #83570 from matthyx/startup_probe_test
Mark startupProbe test as NodeAlphaFeature and fix podClient
2019-10-07 23:36:18 -07:00
Kubernetes Prow Robot
c4108c9b4a Merge pull request #83090 from Klaven/rm_validator_errors
Removal of kubernetes error dependencies
2019-10-07 23:35:25 -07:00
Matthias Bertschy
84d0951969 Mark startupProbe test as NodeAlphaFeature and fix podClient instanciation 2019-10-07 16:13:06 +02:00
Jefftree
40976754b5 Move privilege e2e test to common 2019-10-04 09:54:52 -07:00
Jefftree
20ac24929b move hostPID tests to common 2019-10-02 13:36:08 -07:00
Kubernetes Prow Robot
7066107ae3 Merge pull request #83117 from zouyee/valid
using short flags instead of validate
2019-09-29 16:47:37 -07:00
Marek Counts
114d7855f3 Removal of kubernetes error dependancies
removed kubernetes error deps
2019-09-28 15:09:48 +00:00
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