Commit Graph

14665 Commits

Author SHA1 Message Date
Michelle Cone
8858425a89 Add e2e DNS tests to windows tests 2019-08-26 21:52:57 +00:00
Rob Scott
f80cee9280
Adding discovery/v1alpha1 API for EndpointSlices 2019-08-26 14:50:00 -07:00
Kubernetes Prow Robot
39724859b5
Merge pull request #81849 from oomichi/move-PrintPerfData
Move PrintPerfData to the test
2019-08-26 11:54:38 -07:00
Kubernetes Prow Robot
2bd3226564
Merge pull request #81814 from oomichi/replace-e2elog-framework-job-node
Use log functions of core framework on sub [j-l]
2019-08-26 11:54:22 -07:00
Kubernetes Prow Robot
f81ab5a9fc
Merge pull request #81342 from knight42/fix/kubectl-patch-scale
Refactor `kubectl scale` to patch scale subresource
2019-08-26 11:53:54 -07:00
Kubernetes Prow Robot
087aafc18d
Merge pull request #80568 from pohly/ephemeral-mode-check
ephemeral mode check
2019-08-26 11:53:40 -07:00
Dan Winship
8d91e9e2b6 e2e/network: add service hairpin test 2019-08-26 14:47:43 -04:00
Kubernetes Prow Robot
1810bc8d82
Merge pull request #81925 from SataQiu/fix-test-kubeadm
e2e_kubeadm: use log functions of core framework
2019-08-26 10:20:50 -07:00
Kubernetes Prow Robot
52f708dc28
Merge pull request #81855 from oomichi/replace-e2elog-framework-perf-replicaset
Use log functions of core framework on sub p*
2019-08-26 10:20:24 -07:00
Guangming Wang
169cfd9fa1 Cleanup ginkgo.Fail calls from the e2e test framework 2019-08-26 22:24:29 +08:00
Davanum Srinivas
46cc8adcc3
Use preferred import packages for test/e2e
Ran `hack/update-import-aliases.sh`

Change-Id: Ieaf3599a80ec90026b2c83f25c797d121a461549
2019-08-26 08:56:42 -04:00
Patrick Ohly
cdaba2bea3 e2e logger test: handle paths in Kubernetes CI
Source code paths during //test/e2e/framework/log:go_default_test in
the Kubernetes CI start with relative paths. To avoid too broad
matching of the regex, those paths that occur in practice are named
explicitly as alternatives to the leading slash.
2019-08-26 12:39:08 +02:00
Patrick Ohly
f021d6590e bazel update 2019-08-26 12:39:00 +02:00
Patrick Ohly
259bb3bef5 e2e: consistent failure logging
All failures are worth logging immediately, not just unexpected
errors. That helps understand tests that have long-running cleanup
operations with their own logging, because the failure will be visible
inside the test output.

The logging in framework.ExpectNoError also was rather poor, because
it only showed the error, but not the additional information about it.

Tests suites now should use log.Fail as Gomega failure handler instead
of ginkgowrapper.Fail. log.Fail will handle the logging for all
failures before proceeding to record the failure in Ginkgo.

Because logging is always done also after a test failure, additional
failures during cleanup are now visible. Ginkgo itself just ignores
them.
2019-08-26 12:38:35 +02:00
Patrick Ohly
311b66ada1 e2e: unit test for logger.go and ginkgowrapper.go
This test runs a fake Ginkgo suite with various errors and checks how
logger.go respectively ginkgowrapper.go handle this. Right now, the
outcome is sub-optimal:

- some test failures (those that use framework.Failf or
  framework.ExpectNoError) are logged immediately, Gomega failures
  are not
- framework.ExpectNoError logs just the error, which is often useless
  without the additional explanation
- failures that occur after some others are not reported at all;
  this can happen in cleanup code and while that code should better
  be written so that it contines instead of failing on an assertion,
  in practice quite a lot of code fails and when it does, the output
  would be useful to have
- the full stack trace is odd and doesn't start with the expected
  function name

Example output:

• Failure [0.002 seconds]
log
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:35
  fails [It]
  /nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:39

  Jul 17 12:00:52.545: I'm failing.

  /nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:41

  Full Stack Trace
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger.go:51 +0x143
  k8s.io/kubernetes/test/e2e/framework/log.Failf(...)
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger.go:43
  k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.2.1(...)
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:41
  k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.2()
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:42 +0x52
  k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00029b020, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:65 +0x1c8
  testing.tRunner(0xc000358600, 0x19818c0)
  	/nvme/gopath/go/src/testing/testing.go:865 +0xc0
  created by testing.(*T).Run
  	/nvme/gopath/go/src/testing/testing.go:916 +0x35a

------------------------------
Jul 17 12:00:52.545: INFO: before
Jul 17 12:00:52.545: INFO: I'm failing.
Jul 17 12:00:52.547: INFO: after
• Failure [0.002 seconds]
log
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:35
  asserts [It]
  /nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:44

  false is never true
  Expected
      <bool>: false
  to equal
      <bool>: true

  /nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:45

  Full Stack Trace
  	/nvme/gopath/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:75 +0x1f1
  k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/assertion.(*Assertion).To(0xc00035f6c0, 0x1b42140, 0xc000350dd0, 0xc000350de0, 0x1, 0x1, 0x42e35f)
  	/nvme/gopath/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:38 +0xc7
  k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.3()
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:45 +0x17e
  k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00029b0e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:65 +0x1c8
  testing.tRunner(0xc000358600, 0x19818c0)
  	/nvme/gopath/go/src/testing/testing.go:865 +0xc0
  created by testing.(*T).Run
  	/nvme/gopath/go/src/testing/testing.go:916 +0x35a

------------------------------
Jul 17 12:00:52.548: INFO: before
Jul 17 12:00:52.549: INFO: after
• Failure [0.002 seconds]
log
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:35
  error [It]
  /nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:47

  hard-coded error
  Unexpected error:
      <*errors.errorString | 0xc000351930>: {
          s: "I'm an error, nice to meet to.",
      }
      I'm an error, nice to meet to.
  occurred

  /nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:49

  Full Stack Trace
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/util.go:1376 +0x191
  k8s.io/kubernetes/test/e2e/framework.ExpectNoError(...)
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/util.go:1367
  k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.4()
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:49 +0xc9
  k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00029b200, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  	/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:65 +0x1c8
  testing.tRunner(0xc000358600, 0x19818c0)
  	/nvme/gopath/go/src/testing/testing.go:865 +0xc0
  created by testing.(*T).Run
  	/nvme/gopath/go/src/testing/testing.go:916 +0x35a

------------------------------
Jul 17 12:00:52.550: INFO: before
Jul 17 12:00:52.550: INFO: Unexpected error occurred: I'm an error, nice to meet to.
Jul 17 12:00:52.551: INFO: after
2019-08-26 11:32:25 +02:00
toyoda
c3fdb5e7d9 Use log functions of core framework on test/e2e/apps 2019-08-26 17:38:11 +09:00
SataQiu
d9bfff9976 e2e_kubeadm: use log functions of core framework 2019-08-26 13:56:14 +08:00
Kubernetes Prow Robot
36b2914207
Merge pull request #81809 from oomichi/replace-e2elog-framework-p
Use log functions of core framework on p*
2019-08-25 21:40:21 -07:00
Ricardo Pchevuzinske Katz
6c30d23e6c
Remove watching Endpoints of Headless Services
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>
2019-08-25 17:27:08 -03:00
Kubernetes Prow Robot
8e05e8346a
Merge pull request #81693 from oomichi/replace-e2elog-framework-c-n
Use log functions of core framework on [c-n]
2019-08-24 04:48:24 -07:00
Kubernetes Prow Robot
e2f57be0c0
Merge pull request #77824 from roycaihw/webhook-trace
mutating webhook: audit log mutation existence and patch
2019-08-23 22:26:24 -07:00
Kubernetes Prow Robot
8dc4b1b585
Merge pull request #80213 from bclau/tests/skips-windows-unrelated-tests
tests: Skips Windows-unrelated tests on Windows
2019-08-23 20:56:25 -07:00
Kubernetes Prow Robot
220498b83a
Merge pull request #81107 from wongma7/expand-cleanup
Don't overwrite PVC with nil/empty object returned by failed Update
2019-08-23 13:31:31 -07:00
jennybuckley
2e669a7f22 Fix failing test 2019-08-23 13:11:09 -07:00
Kenichi Omichi
9e9c1709db Use log functions of core framework on sub p*
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.

NOTE: subpackage pod would make circular dependency if changing here.
      So we need to take care of it with another PR.
2019-08-23 19:50:47 +00:00
jennybuckley
3279c73945 Add tests 2019-08-23 12:45:36 -07:00
jennybuckley
9a12e37a6d Only update managedFields on update if it already exists 2019-08-23 12:38:08 -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
Haowei Cai
98ad20cc8f generated 2019-08-23 11:08:54 -07:00
Haowei Cai
d35757c653 tests 2019-08-23 11:08:54 -07:00
Claudiu Belu
dd2f11d722 tests: Adds RunAsUserName tests
Currently, Kubernetes supports running as different user (RunAsUser),
but it only supports UIDs, which does not work on Windows.

Which is why the field SecurityContext.WindowsOptions.RunAsUserName
was introduced, to allow us to run the container entrypoints with
a different user than its default one.

This commit adds E2E tests which will validate this behaviour. The
tests are Windows only, and they will be skipped if --node-os-distro
is not "windows".
2019-08-23 09:31:35 -07:00
Kubernetes Prow Robot
e5ca30cbe0
Merge pull request #81684 from jpbetz/conformance-prep
Prepare admission and CRD e2e tests to be promoted to conformance
2019-08-23 08:23:17 -07:00
Kubernetes Prow Robot
518ff2a405
Merge pull request #81811 from oomichi/replace-e2elog-framework-deployment-ingress
Use log functions of core framework on [d-i]
2019-08-23 06:54:17 -07:00
Kubernetes Prow Robot
3ede02028f
Merge pull request #81800 from draveness/feature/update-post-filter-plugin-name
feat: update scheduling framework interface with camelcase
2019-08-23 06:53:49 -07:00
Kubernetes Prow Robot
61aa39a25b
Merge pull request #81790 from ethan-daocloud/typo-terminator
Cleanup: fix typo in flag help message
2019-08-23 06:53:38 -07:00
Kubernetes Prow Robot
da470c6c5f
Merge pull request #81767 from schrodit/fix-e2e-node-lease
Do not cleanup node lease namespace in e2e setup suite
2019-08-23 04:55:44 -07:00
Kubernetes Prow Robot
66d3572853
Merge pull request #79828 from akremsa/remove_eq_cache_tests
Removed equivalence cache tests
2019-08-23 04:55:18 -07:00
Kubernetes Prow Robot
15812bc1c7
Merge pull request #81755 from wongma7/skip-ssh-volumes
Skip spec.volumes mount/map test if no SSH
2019-08-23 03:27:43 -07:00
Kubernetes Prow Robot
994bc115f9
Merge pull request #81510 from serathius/stable-metrics-analysis
Finish implementation of stable metrics static analysis
2019-08-23 03:27:17 -07:00
Kubernetes Prow Robot
56aded4db0
Merge pull request #81721 from mattjmcnaughton/mattjmcnaughton/close-open-files-in-conformance
Close leaking files in `conformance/walk.go`
2019-08-23 00:51:45 -07:00
Kubernetes Prow Robot
81c0febcd0
Merge pull request #81715 from SataQiu/fix-test-e2e-framework
Fix static check for test/e2e/framework
2019-08-22 23:27:55 -07:00
Kubernetes Prow Robot
8bf4bdc7f3
Merge pull request #79910 from k-toyoda-pi/replace_KubeDescribe_e2e_kubectl
Replace KubeDescribe with ginkgo.Describe in e2e/kubectl
2019-08-22 23:27:16 -07:00
Kubernetes Prow Robot
4a4d5f47d5
Merge pull request #81695 from oomichi/ExpectEqual-node
Use framework functions under test/e2e/node/
2019-08-22 22:03:58 -07:00
Kubernetes Prow Robot
9ac0c5942d
Merge pull request #81673 from jennybuckley/grouping-etcd
Make sure no op updates don't affect the resource version due to serverside apply
2019-08-22 20:07:57 -07:00
Joe Betz
a5bf6e6797 Replace time.Sleep with poll.wait in admission e2e tests 2019-08-22 19:24:44 -07:00
knight42
92c4c2ec72 test(scale): fix tests 2019-08-23 10:19:09 +08:00
Kubernetes Prow Robot
09a4b7e257
Merge pull request #81488 from oomichi/move-HandleFlags
Move HandleFlags to e2e package
2019-08-22 17:33:33 -07:00
Kenichi Omichi
acc0c0c980 Use log functions of core framework on sub [j-l]
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.

NOTE: test/e2e/framework/kubelet, test/e2e/framework/metrics and
      test/e2e/framework/node will make circular dependencies if
      updating them. It is necessary to solve them in advance before
      this work.
2019-08-23 00:11:36 +00:00
Matthew Wong
b125bdda20 Don't overwrite PVC with nil/empty object returned by failed Update 2019-08-22 17:03:06 -07:00
Joe Betz
363d1fec08 Switch to v1 for admission and CRDs for all api-machinery e2e tests 2019-08-22 16:01:07 -07:00
Kenichi Omichi
20f507fc6a Use log functions of core framework on [d-i]
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-08-22 22:12:47 +00:00
Kubernetes Prow Robot
f14e88ad6e
Merge pull request #81414 from wojtek-t/lease_e2e_test
Add e2e test for Lease API
2019-08-22 15:09:59 -07:00
Kenichi Omichi
0adcf14477 Use log functions of core framework on p*
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-08-22 20:55:25 +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
draveness
af2e0428f6 feat: use PreBind instead of Prebind in the scheduling framework 2019-08-23 02:09:19 +08:00
draveness
03f0934c80 feat: use PostBind instead of Postbind in the scheduling framework 2019-08-23 02:09:12 +08:00
draveness
f3816fb757 feat: use PreFilter instead of Prefilter in the scheduling framework 2019-08-23 02:09:00 +08:00
j-griffith
280b3313a0 Promote VolumePVCDataSource to beta for 1.16
Promotes the VolumePVCDataSource feature (cloning) to beta for the 1.16
release.

Since alpha release in 1.15 there have been a number of minor bug fixes
in the CSI Hospath Provisioner and the CSI provisioner sidecar.  We've
also added e2e tests using the Hostpath provisioner.
2019-08-22 10:22:58 -06:00
Kubernetes Prow Robot
315dcca341
Merge pull request #53185 from dixudx/fix_admission_attributes_populate_name
populate object name for admission attributes when CREATE
2019-08-22 08:42:32 -07:00
Yassine TIJANI
7e4c3096fe move WaitForCacheSync to the sharedInformer package
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-08-22 16:13:41 +01:00
Guangming Wang
8ffba14ce4 Cleanup: fix typo in flag help message
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-22 22:58:18 +08:00
Alexey Kremsa
ff7b07c43c removed equivalence cache tests
fix build
2019-08-22 14:55:30 +03:00
Kubernetes Prow Robot
8dea3310e5
Merge pull request #81376 from logicalhan/health-checks
rename healthz methodNames to be more consistent w/ present day usages
2019-08-22 03:48:32 -07:00
wojtekt
4be5ebd4dc Add e2e test for Lease API 2019-08-22 12:19:43 +02:00
Joe Betz
d4958c0bee Remove all skips from admission and CRD e2e tests that will be promoted to conformance 2019-08-22 02:04:35 -07:00
Kubernetes Prow Robot
c008cf95a9
Merge pull request #77865 from mgdevstack/promote-service-types-updates
Promote e2e verifying different types of services and their behaviours
2019-08-22 00:50:32 -07:00
Patrick Ohly
8270fe81e4 bazel update 2019-08-22 08:57:53 +02:00
Tim Schrodi
e88b6310ce Do not cleanup node lease namespace in e2e setup suite 2019-08-22 08:44:31 +02:00
Kubernetes Prow Robot
68d6ec9d4a
Merge pull request #80979 from jiatongw/e2e/framework/printstack
[e2e] Dump the stacktrace while an error occurs
2019-08-21 23:00:32 -07:00
Di Xu
2771503626 drop unused check 2019-08-22 11:46:12 +08:00
Matthew Wong
a81ca7ec5f Skip spec.volumes mount/map test if no SSH 2019-08-21 16:39:49 -07:00
Zihong Zheng
0a7c085b14 Check service finalizer on upgrade test and fix-up test cases 2019-08-21 15:19:56 -07:00
Marek Siarkowicz
53fc6f9b58 Finish implementation of stable metrics static analysis
Handle "DeprecatedVersion" field
Fix kube metrics framework path
Implement handling prometheus util functions for generating buckets
2019-08-21 23:46:36 +02:00
Kubernetes Prow Robot
bad4d0ee96
Merge pull request #81602 from liggitt/admission-context
Plumb context timeout to admission webhooks
2019-08-21 12:42:32 -07:00
Jiatong Wang
9a2ccc2c4f Dump the stacktrace while an error occurs
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-08-21 11:28:59 -07:00
Kubernetes Prow Robot
dd0fb73a61
Merge pull request #81393 from oomichi/cleanup-ReadOrDie
Remove fail argument from ReadOrDie()
2019-08-21 10:36:31 -07:00
jennybuckley
aa1f01ec7e Make sure no op updates don't affect the resource version 2019-08-21 10:27:01 -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
mattjmcnaughton
f7128535bd
Close leaking files in conformance/walk.go
We want to ensure we close this file handler if it was opened
successfully.
2019-08-21 08:59:35 -04:00
draveness
6cfec4d919 feat: remove factory.Config from mustSetupScheduler 2019-08-21 19:54:28 +08:00
draveness
6d77624bc3 feat: use scheduler.New instead in createSchedulerConfigurator 2019-08-21 19:09:57 +08:00
SataQiu
c60377c682 fix static check for test/e2e/framework 2019-08-21 17:28:36 +08:00
Kubernetes Prow Robot
ab1413ccb6
Merge pull request #81551 from odinuge/gce-typo
Fix GCE typo in test output
2019-08-21 00:30:03 -07:00
Kubernetes Prow Robot
fd724dbed4
Merge pull request #81541 from jpbetz/alternate-port
Use non-default container port and scoped port vars in webhook e2e tests
2019-08-21 00:29:46 -07:00
Kubernetes Prow Robot
b47f9a43fe
Merge pull request #81499 from chendave/apparmor
Initialize flags to support extra flags
2019-08-21 00:29:31 -07:00
Kubernetes Prow Robot
0dfb87dfa5
Merge pull request #81537 from spiffxp/mv-hpa-tests-out-of-release-blocking
Demote HPA tests from release-blocking
2019-08-20 23:06:09 -07:00
Kubernetes Prow Robot
14338a1a90
Merge pull request #81460 from hex108/refactor_test
Refactor NewXXXPlugin in framework_test to avoid package variables
2019-08-20 23:05:57 -07:00
Kubernetes Prow Robot
11abd6dca0
Merge pull request #81389 from oomichi/remove-invalid-dependency-node
Move ProxyRequest to kubelet e2e fw
2019-08-20 23:05:42 -07:00
Kubernetes Prow Robot
9c7c9916e3
Merge pull request #81363 from bclau/tests/fixes-dns-tests-for-windows
tests: Fixes DNS tests for Windows
2019-08-20 23:05:29 -07:00
Kubernetes Prow Robot
efcb62abff
Merge pull request #81196 from mkimuram/issue/71748
Speed up block volume e2e test by checking events
2019-08-20 20:40:16 -07:00
Kubernetes Prow Robot
d935e06dd4
Merge pull request #80682 from mgdevstack/dns-google-cloud
Remove cloud specific DNS check to make e2e Conformance eligible
2019-08-20 20:39:43 -07:00
Jordan Liggitt
c63284b1f3 Use lesser of context or webhook-specific timeout in webhooks 2019-08-20 22:20:19 -04:00
Kubernetes Prow Robot
7a81ecd191
Merge pull request #77794 from saiyan86/fixAzureE2ETest
Use TCP instead of ICMP to check outbound connectivity
2019-08-20 19:13:18 -07:00
Kenichi Omichi
0d2e5866d4 Use framework functions under test/e2e/node/
There are some functions of e2e test framework and it is useful to
read the test code by using these functions.
This replaces gomega calls with these functions under test/e2e/node/
2019-08-21 02:01:49 +00:00
Kenichi Omichi
f3f14f9698 Use log functions of core framework on [c-n]
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-08-21 00:55:32 +00:00
Claudiu Belu
8812720148 tests: Skips Windows-unrelated tests on Windows
Skips IPv6 tests on Windows.
Skips sysctl tests on Windows.
Skips network policy tests on Windows.
Skips RunAsUser / FSGroup / file permissions related tests, as those are
not supported on Windows.
Skips the test "should preserve source pod IP for traffic thru service cluster IP"
on Windows, as it creates a Pod with HostNetwork=true, which is unsupported.

What works and what doesn't work on Windows has been documented here:
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md#windows--linux-considerations
2019-08-20 14:19:14 -07:00
Claudiu Belu
210d7622fb test images: Updates image building process README
Updates the README with the given suggestions.
2019-08-20 13:14:18 -07:00
Joe Betz
a3e187d86a Use non-default container port and scoped port vars in webhook e2e tests 2019-08-20 13:13:55 -07:00
Kubernetes Prow Robot
5c68a231ab
Merge pull request #81620 from wongma7/nfs-alpha
Bump nfs-provisioner to include GetReference fix
2019-08-20 10:47:15 -07:00
Kubernetes Prow Robot
cda22916c5
Merge pull request #81611 from gnufied/fix-block-volume-e2e-csi
Fix e2e for block volume expansion
2019-08-20 02:00:17 -07:00
Kubernetes Prow Robot
77ee754b4c
Merge pull request #81540 from roycaihw/webhook-e2e-dial-timeout
Handle tcp dial timeout in webhook e2e test
2019-08-20 02:00:01 -07:00
Kubernetes Prow Robot
6f13032fb4
Merge pull request #81524 from jennybuckley/apply-group-updates-by-manager
Group managedFieldsEntries for update by manager name
2019-08-20 01:59:46 -07:00
Kubernetes Prow Robot
8f887cad45
Merge pull request #81497 from jpbetz/crd-e2e-v1
Upgrade e2e tests to use CRD v1 APIs
2019-08-20 01:59:33 -07:00
Claudiu Belu
aade8f8591 test images: Adds README containing image building process
Adds tests/images/README.md, which contains information regarding
the image modification / building process.
2019-08-20 00:22:51 -07:00
Kubernetes Prow Robot
461a628101
Merge pull request #81558 from liggitt/admissionregistration-v1-e2e
Use v1 admissionregistration APIs in e2e
2019-08-19 20:44:18 -07:00
Kubernetes Prow Robot
081db915d3
Merge pull request #81426 from oomichi/make-e2elog-back
Add log.go back to core of e2e test framework
2019-08-19 20:43:47 -07:00
Jun Gong
d9a7439ca0 Refactor NewXXXPlugin in framework_test to avoid package variable and do some other refactor 2019-08-20 09:52:26 +08:00
Joe Betz
5abf6b5d3e Bump agnhost image version to 2.5 2019-08-19 18:31:23 -07:00
Joe Betz
1d429a615c Update e2e tests to use CRD v1 API 2019-08-19 18:31:14 -07:00
Tim Allclair
49f50484b8 Delete duplicate resource.Quantity.Copy() 2019-08-19 17:23:14 -07:00
Haowei Cai
c8cd0bcd0e accept dial timeout in webhook e2e 2019-08-19 15:39:42 -07:00
Hemant Kumar
f5175d9f76 Fix e2e for block volume expansion 2019-08-19 17:50:14 -04:00
jennybuckley
87eabcdbfa Group update managedFieldsEntries by manager name 2019-08-19 13:50:15 -07:00
Masaki Kimura
2be543d879 Add messages for framework.Expect* in volumeMode tests 2019-08-19 16:39:17 +00:00
Masaki Kimura
00456d0a11 Speed up block volume e2e test by checking events 2019-08-19 16:39:11 +00:00
Masaki Kimura
04300826fd Rename WaitTimeoutForPodEvent to WaitTimeoutForEvent and move it to common/events.go 2019-08-19 16:11:30 +00:00
Kubernetes Prow Robot
091a5dc53b
Merge pull request #81314 from jpbetz/crd-test-image
Upgrade ConversionReview e2e test image to also support v1
2019-08-17 19:08:04 -07:00
Kubernetes Prow Robot
f12a40df19
Merge pull request #81547 from BenTheElder/typecheck-cleanup
typecheck cleanup
2019-08-17 16:44:04 -07:00
Jordan Liggitt
0999bae14c Use v1 admissionregistration APIs in e2e 2019-08-17 16:45:43 -04:00
Kubernetes Prow Robot
3f00331452
Merge pull request #80944 from apelisse/add-update-bench
Add benchmark for updates and get with/without server-side apply
2019-08-17 13:30:06 -07:00
Joe Betz
3f519b0ee2 Upgrade ConversionReview e2e test image to also support v1 2019-08-17 10:28:39 -07:00
Odin Ugedal
4f31d322a4
Fix GCE typo in test output 2019-08-17 13:11:19 +02:00
Kubernetes Prow Robot
fb64b76036
Merge pull request #81008 from bclau/test-images/agnhost-enhancements
test images: Adds version and bind-tools to agnhost
2019-08-17 02:42:07 -07:00
Benjamin Elder
6b038f3d1e swap BenTheElder for rmmh in typecheck / go-srcimporter reviewers 2019-08-17 00:33:24 -07:00
Benjamin Elder
f1a7e78d4b remove unnecessary ignore 2019-08-17 00:22:48 -07:00
Kubernetes Prow Robot
732b8ca58c
Merge pull request #81535 from spiffxp/mv-resource-tracking-tests-out-of-release-blocking
Demote regular resource tracking tests from release-blocking
2019-08-16 21:44:35 -07:00
Kubernetes Prow Robot
5b685ffd27
Merge pull request #81472 from damemi/taint-toleration-80922
Taints and tolerations e2e test re-work
2019-08-16 21:44:21 -07:00
Kubernetes Prow Robot
ef397e5b36
Merge pull request #79604 from liggitt/crd-v1
promote CRD to v1
2019-08-16 21:44:08 -07:00
Kubernetes Prow Robot
6b50f1ae38
Merge pull request #81514 from liggitt/agnhost-cleanup
Delete agnhost binary
2019-08-16 19:10:35 -07:00
Kubernetes Prow Robot
654df1da15
Merge pull request #81470 from ethan-daocloud/patch-10
cleanup: fix typos in error message in e2e test
2019-08-16 19:10:07 -07:00
Kubernetes Prow Robot
73b66e8ccb
Merge pull request #81207 from ahmad-diaa/flatten-sched-struct
Flatten Scheduler Struct
2019-08-16 17:02:54 -07:00
Kubernetes Prow Robot
e319abf274
Merge pull request #81163 from jsafrane/skip-unused-volumes
Skip unused volumes in VolumeManager
2019-08-16 17:02:36 -07:00
Matthew Wong
9da84cfbdf Bump nfs-provisioner to include GetReference fix 2019-08-16 16:54:08 -07:00
Aaron Crickenberger
194e91bd17 Demote HPA tests from release-blocking
Add a Feature:HPA tag to these tests so they're not picked up by
the release-blocking job that focuses on [Serial] tests (but
excludes [Feature:.*] tests)

They take a combined 70 minutes on average. If they really need
to be in release-blocking as implemented, we should consider a
separate job to focus just on this feature.
2019-08-16 16:53:34 -07:00
Aaron Crickenberger
79cff6cd10 Demote regular resource tracking tests from release-blocking
Add a Feature:RegularResourceUsageTracking tag to these tests so
they're not picked up by the release-blocking job that focuses
on [Serial] tests (but excludes [Feature:.*] tests)

They take a combined 65 minutes on average. If they really need
to be in release-blocking as implemented, we should consider a
separate job to focus just on this feature.
2019-08-16 16:26:28 -07:00
Antoine Pelisse
4de7b6ddfb Add benchmark for updates and get with/without server-side apply 2019-08-16 15:18:22 -07:00
Kubernetes Prow Robot
8f0d626228
Merge pull request #81375 from msau42/reduce-storage-e2es
Skip preprovisioned and inline volume tests if driver supports dynamic provisioning
2019-08-16 10:26:24 -07:00
Jordan Liggitt
fec2d3717a CRD v1: require schema 2019-08-16 13:13:39 -04:00
Kenichi Omichi
c76291b8d3 Move HandleFlags to e2e package
HandleFlags() was used at e2e package and it depends on sub e2e
framework "config" in core e2e framework. That was invalid dependency.
So this moves HandleFlags() to e2e package for simple dependency.
2019-08-16 16:43:50 +00:00
Mayank Gaikwad
78741f149a Modify dns e2e to individualise GCE specific dns checks into seperate e2e 2019-08-16 22:12:29 +05:30
Jordan Liggitt
8ae7696028
ignore agnhost binary 2019-08-16 10:54:44 -04:00
Jordan Liggitt
145882dfda
Delete agnhost binary 2019-08-16 10:21:25 -04:00
Kubernetes Prow Robot
1955467f9d
Merge pull request #80117 from j-griffith/cloning_e2e_tests
Add e2e tests for CSI PVCDataSources
2019-08-16 06:44:31 -07:00
Ahmad Diaa
61ab77ef7a use factory.Config fields directly in scheduler struct 2019-08-16 15:21:28 +02:00
Kubernetes Prow Robot
e283836fb2
Merge pull request #81489 from BenTheElder/go-1.12.9
update go to 1.12.9
2019-08-16 03:32:44 -07:00
Kubernetes Prow Robot
bb55368fc6
Merge pull request #81478 from oomichi/move-ConfirmStatefulPodCount
Move ConfirmStatefulPodCount to e2e test
2019-08-16 03:32:31 -07:00
Dave Chen
129fa77aae Initialize flags to support extra flags
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-16 14:05:21 +08:00
Yongli Chen
b158098401 replace ping with connect in msg 2019-08-15 20:44:55 -07:00
Yongli Chen
68e553ae6c use agnhost image
add back ServeHostnameImage
2019-08-15 20:40:07 -07:00
Benjamin Elder
54c6744f8c update go to 1.12.9 2019-08-15 17:37:06 -07:00
Kenichi Omichi
5e1743cfb1 Add log.go back to core of e2e test framework
We tried to separate logger functionality as subpackage of e2e test
framework, but we've recognized that should be core functionality
and we should keep it as core of e2e test framework after facing
circular dependency issues.
So this adds log.go back to core of e2e test framework. In addition,
this makes volume sub package use the core logger as a sample.
2019-08-16 00:06:04 +00:00
Michelle Au
62f0b7df7b Disable kubelet restart tests for file volmode
Change-Id: I016cba4aba11d6e8574d4bc2d1f26284a068e562
2019-08-15 15:08:14 -07:00
Michelle Au
33c213577e Skip preprovisioned and inline volume tests if driver supports dynamic provisioning.
Also remove FS VolMode disruptive tests because they are already covered
through the subpath disruptive test cases.

Change-Id: Ice4b30b0d8fdcb1f7fd61e54d27f53557de9f13a
2019-08-15 15:07:47 -07:00
j-griffith
47facf91b9 Add e2e tests for CSI PVCDataSources
address unit test comments
2019-08-15 13:25:10 -06:00
Kubernetes Prow Robot
d8c8c8eded
Merge pull request #79931 from skarthiksrinivas/vsphere_volume_selectednode
Provision vSphere volume as per selectedNode
2019-08-15 11:06:35 -07:00
Kenichi Omichi
a5a23d2845 Move ConfirmStatefulPodCount to e2e test
ConfirmStatefulPodCount() was used at e2e statefulset test only,
and that added dependency on another sub framework to statefulset
sub framework. This moves ConfirmStatefulPodCount() to the e2e test
for clean dependency.
2019-08-15 17:36:04 +00:00
Jordan Liggitt
6278447bde CRD v1: install/register types 2019-08-15 12:26:13 -04:00
Mike Dame
a9f1314b60 Taints and tolerations e2e test re-work
Includes the changes from #80922 (that were reverted), and updates the test to appropriately add intolerable taints to all nodes except the target node
2019-08-15 11:00:24 -04:00
Guangming Wang
05d322bbb0
cleanup: fix typos in error message in e2e test
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-15 22:34:25 +08: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
Kubernetes Prow Robot
273e9262bb
Merge pull request #80342 from draveness/feature/remove-critical-pod-annotation
feat: cleanup pod critical pod annotations feature
2019-08-15 07:20:34 -07:00
Kubernetes Prow Robot
7a35f8c92d
Merge pull request #81015 from draveness/feature/update-normalize-score-extension-point
feat:  return error when score is out of range
2019-08-15 02:32:35 -07:00
Jan Safranek
2c79ffe274 Add test for unused volumes 2019-08-15 10:48:41 +02:00
Jan Safranek
5b69362ff0 Skip unused volumes in VolumeManager
DesiredStateOfWorldPopulator should skip a volume that is not used in any
pod. "Used" means either mounted (via volumeMounts) or used as raw block
device (via volumeDevices).

Especially when block feature is disabled, a block volume must not get into
DesiredStateOfWorld, because it would be formatted and mounted there.
2019-08-15 10:48:38 +02:00
Jan Safranek
8d580262f9 Refactor makeMountsMap into GetPodVolumeNames
The function will be handy in subsequent patches. Also change custom maps
into sets.String.
2019-08-15 10:48:38 +02:00
Kubernetes Prow Robot
661e4d5b38
Merge pull request #81271 from jpbetz/webhok-agnhost-v1
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 23:12:32 -07:00
Kubernetes Prow Robot
44c0f64411
Merge pull request #80801 from SataQiu/fix-cert-length
Follow up #80734: update RSA keys to 2048 bits
2019-08-14 21:44:44 -07:00
Kubernetes Prow Robot
1c4a7dbe7b
Merge pull request #78245 from k-toyoda-pi/add_test_cronjob_failedJobsHistoryLimit
add e2e test for cronjob failedJobsHistoryLimit
2019-08-14 21:44:31 -07:00
Kubernetes Prow Robot
0d579bfecf
Merge pull request #79796 from jsafrane/block-test-mismatch
Add test for mismatched usage of filesystem/block volumes
2019-08-14 19:00:37 -07:00
Kubernetes Prow Robot
3526a6162e
Merge pull request #81390 from cblecker/go-1.12.8
Update to go 1.12.8
2019-08-14 16:53:15 -07:00
Kubernetes Prow Robot
93e9abe6af
Merge pull request #81381 from jpbetz/admission-e2e-operations
Add admission e2e tests for untested stable operations
2019-08-14 16:53:02 -07:00
Joe Betz
4f7543e42a Upgrade AdmissionReview e2e test image to also support v1 2019-08-14 14:57:55 -07:00
Kubernetes Prow Robot
12f1898e51
Merge pull request #81328 from hex108/fix_permit_plugin
Fix flaky test TestPreemptWithPermitPlugin
2019-08-14 12:46:38 -07:00
Kubernetes Prow Robot
95a5781b9d
Merge pull request #81304 from j-griffith/update_hostpathplugin_to_rc4
Update CSI hostpathplugin to include cloning fix
2019-08-14 12:46:11 -07:00
Kubernetes Prow Robot
9ac0470a31
Merge pull request #81240 from jpbetz/crd-base-operations-conformance
Add CRD e2e tests for untested stable operations
2019-08-14 12:45:57 -07:00
Joe Betz
3121773af7 Add admission e2e tests for untested stable operations 2019-08-14 09:54:49 -07:00
Kubernetes Prow Robot
f6a70ef271
Merge pull request #80376 from ehashman/issue-66790-2
Drop deprecated cadvisor metric labels
2019-08-14 09:10:38 -07:00
draveness
9fb0df5096 feat(scheduler): return error when score is out of range 2019-08-14 19:16:41 +08:00
Mayank Gaikwad
7c64fc9d98 Promote e2e verifying service type updates 2019-08-14 16:07:59 +05:30
Kubernetes Prow Robot
5dad5c726f
Merge pull request #81341 from mgdevstack/unflake-service-reach
Add service reachability polling to avoid flakiness
2019-08-14 00:40:39 -07:00
Joe Betz
472555152c Add CRD e2e tests for list, delete collection, and status sub-resource operations 2019-08-13 23:08:11 -07:00
Kubernetes Prow Robot
4441f1d9c3
Merge pull request #81330 from tedyu/hide-auth-hdr
Hide bearer token in logs
2019-08-13 21:38:49 -07:00
Christoph Blecker
f2a4522be1
Update to go 1.12.8 2019-08-13 20:20:45 -07:00
Kubernetes Prow Robot
1e82e1ca1f
Merge pull request #81099 from oomichi/remove-golint-e2e-framework
Rename MetricsForE2E for golint failure
2019-08-13 19:36:24 -07:00
Mayank Gaikwad
eddd7da462 Add service reachability polling to avoid flakiness 2019-08-14 06:22:33 +05:30
Kenichi Omichi
cd24b24725 Remove fail argument from ReadOrDie()
Every caller of ReadOrDie() specified ginkgo.Fail as fail argument,
and that was intentional to avoid depending on Ginkgo.
However that just spreaded the dependency on Ginkgo to caller sides.
Especially that was unnecessary e2e test framework "ingress" depended
on Ginkgo only for the above reason.
Now we are cleaning up the dependencies on e2e tests, so let's just
remove such dependencies.
2019-08-14 00:35:51 +00: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
Kenichi Omichi
2cd45b2c54 Move ProxyRequest to kubelet e2e fw
In e2e test framework, ProxyRequest() is called in kubelet e2e test
framework only. In addition, the function works for kubelet as tests
which call the function do. So this moves the function into kubelet
e2e test framework to make the dependency simple.
2019-08-13 23:25:47 +00:00
Patrick Ohly
7bbc06fcd4 storage: check CSIDriver.Spec.VolumeLifecycleModes
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- set CSIDriver.Spec.VolumeLifecycleModes such that it contains "ephemeral"

The default for that field is "persistent", so existing deployments
continue to work and are automatically protected against incorrect
usage.

For the E2E tests we need a way to specify the driver mode. The
existing cluster-driver-registrar doesn't support that and also was
deprecated, so we stop using it altogether and instead deploy and
patch a CSIDriver object.
2019-08-13 23:12:52 +02:00
Wei Huang
3cd7277361
Apply zero TerminationGracePeriodSeconds to preemption victims 2019-08-13 13:39:17 -07:00
Han Kang
2e23788fda rename healthz methodNames to be more consistent w/ present day usages 2019-08-13 12:52:30 -07:00
Ted Yu
010d838264 Hide bearer token in logs 2019-08-13 09:36:15 -07:00
Kubernetes Prow Robot
77fca12f66
Merge pull request #81296 from msau42/update-csi-e2e
Update csi-provisioner and snapshotter to get selflink fix
2019-08-13 07:56:34 -07:00
Kubernetes Prow Robot
43fa5ca693
Merge pull request #81087 from johnSchnake/addSkipsIfSSHNotPresent
Ensure tests which rely on SSH behavior are skipped if unavailable
2019-08-13 07:56:07 -07:00
Kubernetes Prow Robot
2e72cdd7b1
Merge pull request #81081 from p0lyn0mial/gc_transition_delete
changes the way `gc` detect that an object needs to be deleted
2019-08-13 02:28:33 -07:00
Kubernetes Prow Robot
193c30fd01
Merge pull request #81069 from aojea/GlusterDynamicProvisioner
Add IPv6 support to e2e GlusterDynamicProvisioner
2019-08-13 02:28:20 -07:00
Kubernetes Prow Robot
b680c7c898
Merge pull request #80906 from serathius/static-analysis-prototype
Static analysis prototype
2019-08-13 02:27:41 -07:00
Jun Gong
d0d46fdc7b Fix flaky test TestPreemptWithPermitPlugin 2019-08-13 11:48:32 +08:00
Kubernetes Prow Robot
61af419d38
Merge pull request #81291 from danwinship/service-test-cleanup-1
Inline/simplify two used-only-once service test helper functions
2019-08-12 20:12:38 -07:00
Kubernetes Prow Robot
feb6da78f9
Merge pull request #81235 from oomichi/make-simple-dependency-endpoints
Remove core dependency from endpoints e2e fw
2019-08-12 20:12:25 -07:00
Kubernetes Prow Robot
890b50f98b
Merge pull request #80952 from tedyu/storage-ret-err
Propagate error from NewREST
2019-08-12 18:21:52 -07:00
Michelle Au
7c1f55f400 Update csi-provisioner and snapshotter to get selflink fix
Change-Id: I5aa44d5d530dad04968429369aff65e369a86e2e
2019-08-12 15:28:40 -07:00
Kubernetes Prow Robot
f2c82f49e8
Merge pull request #81295 from ravisantoshgudimetla/revert-80922-fix-priority-toleration
Revert "Toleration priority function score computation"
2019-08-12 15:00:16 -07:00
Kubernetes Prow Robot
e1f667765b
Merge pull request #81251 from oomichi/followup-pr81231
Remove runDeployment() from e2e test
2019-08-12 14:59:50 -07:00
Ted Yu
87b2a3129b Propagate error from NewREST 2019-08-12 13:55:35 -07:00
Kubernetes Prow Robot
5d5b6d779d
Merge pull request #81252 from draveness/patch-3
doc: add Draven as a reviewer to test package
2019-08-12 12:11:42 -07:00
Kubernetes Prow Robot
8756c9d18b
Merge pull request #80842 from chendave/guide
doc: fix couple of issues for the doc of agnhost
2019-08-12 12:11:29 -07:00
j-griffith
11f14de6e2 Update CSI hostpathplugin to include cloning fix
Update to hostpathplugin:v1.2.0-rc4 to include storageClass comparison
fix.
2019-08-12 13:09:17 -06:00
RaviSantosh Gudimetla
afce8f7f44
Revert "Toleration priority function score computation" 2019-08-12 12:03:04 -04:00
Dan Winship
6a42e102b7 Inline/simplify two used-only-once service test helper functions 2019-08-12 09:51:54 -04:00
Lukasz Szaszkiewicz
34eda804ca adds an integration test for double deletion with a custom finalizer 2019-08-12 14:35:49 +02:00
Marek Siarkowicz
a5377a684c Implement stable metric validation and verification
Based on KEP:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20190605-metrics-validation-and-verification.md

Add //test/instrumentation:stable_metric_test that compares metrics
in source code to those available in
"test/instrumentation/testdata/stable-metrics-list.yaml".
2019-08-12 12:01:35 +02:00
Claudiu Belu
a8c63d132b tests: Fixes DNS tests for Windows
A previous commit replaced the usage of hostname -i with getent hosts
in DNS probe commands (for testing IPv6), which breaks the Windows tests
(getent hosts is a Linux-specific command that looks into the /etc/hosts
file, which, on Windows, is not managed by Kubelet).

This commit addresses this issue by executing getent hosts on IPv6 clusters
and hostname -i on IPv4 clusters (Windows does not support IPv6 at this
moment).
2019-08-11 11:19:31 -07:00
Kubernetes Prow Robot
0610bf0c7e
Merge pull request #81241 from oomichi/cleanup-unused-BusyBoxImage
Remove unused BusyBoxImage
2019-08-11 11:11:10 -07:00
Kubernetes Prow Robot
3e962cb61a
Merge pull request #81157 from openSUSE/localhost-nodeport-e2e-fix
[e2e] Fix node port service reachability test for nodes running on localhost
2019-08-10 04:19:14 -07:00
Draven
5f9ba3fae4
doc: add Draven as a reviewer to test package 2019-08-10 11:28:15 +08:00
Kenichi Omichi
9e17433ccf Remove runDeployment() from e2e test
As https://github.com/kubernetes/kubernetes/pull/81231/files#r312670943
this removes runDeployment() by just moving some code into the test.
2019-08-10 00:10:09 +00:00
Kubernetes Prow Robot
6ed4ed1ff0
Merge pull request #81231 from oomichi/make-simple-dependency-deployment
Remove core dependency from deployment e2e fw
2019-08-09 16:33:39 -07:00
Kenichi Omichi
bb6da9e356 Remove unused BusyBoxImage
The core e2e framework contains BusyBoxImage. The sub e2e "pod"
framework also contains it but not used at all.
So this removes this unused BusyBoxImage for code cleanup.
2019-08-09 22:09:21 +00:00
Kubernetes Prow Robot
31bade3822
Merge pull request #81046 from liggitt/admission-side-effects
Limit v1 webhooks to None and NoneOnDryRun side effects classes
2019-08-09 13:55:27 -07:00
Kenichi Omichi
19c474fc4d Remove core dependency from endpoints e2e fw
WaitForEndpoint() of the endpoints e2e framework was used in
test/e2e/network/proxy.go only. In addition, the endpoints e2e
framework imported the core of e2e framework only for the function.
So this moves the function into test/e2e/network/proxy.go then we
can remove dependency of core framework from the sub e2e framework.
2019-08-09 20:22:56 +00:00
Kenichi Omichi
bf221a09b5 Remove core dependency from deployment e2e fw
RunDeployment() of the deployment e2e framework was used in
autoscaling_utils only. In addition, the deployment e2e framework
imported the core of e2e framework only for the function.
So this moves the function into autoscaling_utils then we can remove
dependency of core framework from the deployment e2e framework.
2019-08-09 19:31:14 +00:00
Sascha Grunert
715627d95e
Fix node port service reachability test for nodes running on localhost
If a node's internal address points to 127.0.0.1, then we skip the node
port reachability test.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-09 08:36:23 +02:00
Kubernetes Prow Robot
eadf68ebd9
Merge pull request #81203 from oomichi/remove-printOnce
Remove printOnce() on e2e tests
2019-08-08 19:36:17 -07:00
Kubernetes Prow Robot
386035a988
Merge pull request #81176 from spiffxp/test-owners-maint
Update test/OWNERS
2019-08-08 19:36:04 -07:00
Kubernetes Prow Robot
e73bc5613a
Merge pull request #78715 from liggitt/cleanup-crd-proto
Remove unnecessary serializer override for CRD status, test proto requests on CRD status
2019-08-08 19:35:38 -07:00
Kubernetes Prow Robot
01dc5b1da3
Merge pull request #80939 from draveness/feature/use-workqueue-in-volume-binding
fix: use workqueue to speed up of volume binding tests
2019-08-08 17:57:51 -07:00
Kubernetes Prow Robot
9d3d20114a
Merge pull request #78331 from mgdevstack/master-promote-resourcequota
Promote resourceQuota e2e verifying 'object count quota' and 'quota scope' to Conformance
2019-08-08 17:57:25 -07:00
draveness
495faa22db feat: cleanup pod critical pod annotations feature 2019-08-09 08:41:23 +08:00
Kubernetes Prow Robot
a3e9dbe4d1
Merge pull request #80803 from serathius/static-analysis-directories
Setup directories for Metrics validation and verification KEP
2019-08-08 16:12:05 -07:00
Kubernetes Prow Robot
e0dccace6f
Merge pull request #79216 from verb/debug-api-test
Add integration test for ephemeral containers
2019-08-08 16:11:26 -07:00
Aaron Crickenberger
7919dfe795 remove redundant reviewers in test/OWNERS
all of these folks are either approvers (in which case they will
get selected as potential reviewers), or emeritus_approvers (in
which case they've become inactive and would be poor choices for
reviewers)
2019-08-08 10:31:47 -07:00
Aaron Crickenberger
0f1d903c3b promote andrewsykim to approver in test/OWNERS
out of 200 most recently updated merged PRs in 'kubernetes/kubernetes' involving 'andrewsykim'...
85 touched files matching regex '^test/'
of those, andrewsykim authored 8, and commented '/lgtm' on 34

I read through a number of reviews, they're substantive feedback
and not rubber stamps.  Keep up the good work!
2019-08-08 10:31:40 -07:00
Kubernetes Prow Robot
072528e5f6
Merge pull request #80787 from ii/wip-configmap-contents-patch
Add validation to ConfigMap patch test
2019-08-08 10:04:11 -07:00
Jordan Liggitt
0feb99f9bd Remove unnecessary serializer override for CRD status, test proto requests on CRD status 2019-08-08 12:49:08 -04:00
draveness
65f6da3467 fix: update provisional delay seconds to 10s 2019-08-09 00:45:20 +08:00
draveness
d2df5a19b1 fix: reduce the number of pods and volumes 2019-08-09 00:45:20 +08:00
draveness
bd3c8390c6 fix: use workqueue to speed up of volume binding tests 2019-08-09 00:45:20 +08:00
draveness
0d7636a92f feat: add logs to volume binding test 2019-08-09 00:42:16 +08:00
Kubernetes Prow Robot
f0474ba868
Merge pull request #81050 from msau42/integration-test2
Move volume scheduling integration tests into a separate pkg
2019-08-08 07:59:19 -07:00
Kubernetes Prow Robot
cbdb20c10d
Merge pull request #81049 from MrHohn/svc-e2e-reachability-verbose
[e2e] Add verbose to reachability test commands
2019-08-08 06:28:10 -07:00
Kubernetes Prow Robot
1d83daf8a7
Merge pull request #81032 from liggitt/isolate-webhook-e2e
Scope e2e webhooks to avoid cross-test interference
2019-08-08 06:27:44 -07:00
Kubernetes Prow Robot
678bc948d3
Merge pull request #81006 from hex108/fix_test
Refine TestFilterPlugin
2019-08-08 06:27:18 -07:00
Jan Safranek
40b186785f Use events to speed up the test 2019-08-08 14:24:52 +02:00
Jan Safranek
683b9782b2 Add test for mismatched usage of filesystem/block volumes 2019-08-08 14:24:52 +02:00
Kenichi Omichi
e8c41b8892 Remove printOnce() on e2e tests
Originally, printOnce() was implemented for printing debugging message
once for checking actual value is the same as expected value.
However even if an error doesn't happen in ExpectEqual(), printOnce()
is called internally. Then the second ExpectEqual() doesn't output
the debugging message if an error happens. This makes debugging
difficult, let's just remove it for debugging.
2019-08-08 07:29:56 +00:00
Kenichi Omichi
47a4d1a8ec Rename MetricsForE2E for golint failure
This renames MetricsForE2E to ComponentCollection for solving golint
failure.
2019-08-08 04:15:36 +00:00
Kubernetes Prow Robot
a8d71390cf
Merge pull request #81053 from oomichi/cleanup-indent-e2e-framework-metrics
Reduce indents of resource_usage_gatherer
2019-08-07 14:45:36 -07:00
Kubernetes Prow Robot
f96fcd095f
Merge pull request #80947 from Nordix/kubeadm-ds-e2e-pod-network-cidr
kubeadm e2e networking test for dual-stack podSubnet check.
2019-08-07 14:44:58 -07:00
Michelle Au
d38bcde9b8 add scheduling utils
Change-Id: I238e6486473aef68f1600d8b574e971e86e70089
2019-08-07 11:21:02 -07:00