Commit Graph

11589 Commits (e1a1aa211224fcd9b213420b80b2ae680669683d)

Author SHA1 Message Date
k8s-ci-robot e1a1aa2112
Merge pull request #69695 from justinsb/service_utils_typos
e2e: fix some small typos
2018-10-11 20:46:30 -07:00
k8s-ci-robot b516a99a01
Merge pull request #69568 from bclau/fixes-webhook-test
Fixes webhook test failures
2018-10-11 19:35:42 -07:00
k8s-ci-robot b3033a7278
Merge pull request #67934 from tanshanshan/typo828
fix spelling mistakes
2018-10-11 18:26:24 -07:00
k8s-ci-robot cdf264cab5
Merge pull request #69651 from justinsb/faster_dns_e2e
e2e: speed up DNS tests
2018-10-11 15:22:25 -07:00
k8s-ci-robot 94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07:00
Justin Santa Barbara ee1b0c81a7 e2e: fix some small typos 2018-10-11 13:06:42 -07:00
k8s-ci-robot 632df63061
Merge pull request #68822 from pohly/csi-pod-creation
CSI E2E: retry csi-pod creation
2018-10-11 12:32:28 -07:00
k8s-ci-robot 8012b9583e
Merge pull request #69650 from justinsb/remove_etcd2_test_workarounds
e2e: remove workarounds for etcd2 test jobs
2018-10-10 22:22:58 -07:00
k8s-ci-robot a9fb3f5fc9
Merge pull request #69616 from k82cn/sched_perf_owner
Aligned sched_perf owner.
2018-10-10 20:25:04 -07:00
k8s-ci-robot 362de68bef
Merge pull request #68353 from wgliang/fixbug/handle-close-not-check-err
fix bug not check error before defer conn.Close()
2018-10-10 20:24:27 -07:00
Justin Santa Barbara ed7840ad50 e2e: speed up DNS tests
Poll a little more often, and use PollImmediate instead of Poll.
2018-10-10 19:33:57 -07:00
Justin Santa Barbara 9023dae86b e2e: remove workarounds for etcd2 test jobs
Now we've removed support for etcd2, we should make sure we're testing
chunking fully.
2018-10-10 19:31:57 -07:00
k8s-ci-robot 8042411f0c
Merge pull request #65296 from lichuqiang/povision_inter_test
Add volume topology-aware dynamic provisioning related integration case
2018-10-10 13:13:48 -07:00
k8s-ci-robot 9c94363ef9
Merge pull request #69105 from pohly/e2e-settings
E2E settings
2018-10-10 12:01:07 -07:00
wangqingcan a74fd15e62 create a new scheduler constructor 2018-10-10 17:10:10 +08:00
Da K. Ma 0064c2c4d4 Aligned sched_perf owner.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:05:04 +08:00
lichuqiang db775814e2 add volume topology-aware dynamic provisioning integration case 2018-10-10 09:38:04 +08:00
k8s-ci-robot 830e09cc96
Merge pull request #46517 from goblain/cli-port-forward-listen
port-forward listen on address
2018-10-09 12:38:55 -07:00
k8s-ci-robot 637ba154c8
Merge pull request #65189 from juanvallejo/jvallejo/path-fixes-cmd-copy
fix paths w shortcuts when copying from pods
2018-10-09 10:14:28 -07:00
juanvallejo e55a28d169
fix paths w shortcuts when copying from pods
Addresses an issue where copying from a remote location containing path
shortcuts (podName:../../../tmp/foo) causes an index out of range panic.
2018-10-09 10:27:54 -04:00
k8s-ci-robot 321313b19e
Merge pull request #69004 from mgdevstack/master-pods-websocket-conformance
Promote pod's websocket based NodeConformance tests to Conformance
2018-10-08 22:28:12 -07:00
k8s-ci-robot 1d2e10c7c6
Merge pull request #69541 from justinsb/remove_unnecessary_mkdir
Remove superfluous MkdirAll from MakeTempDirOrDie
2018-10-08 20:55:30 -07:00
Guoliang Wang f5ff020892 fix bug not checkou err before defer conn.CLose() 2018-10-09 10:35:50 +08:00
k8s-ci-robot a34123d9c3
Merge pull request #67901 from dims/drop-flaky-test-from-conformance
Remove conformance tag from flaky test
2018-10-08 19:24:58 -07:00
Claudiu Belu 6db2dadc87 Fixes webhook test failures
The test "Should be able to deny attaching pod" can randomly fail
because it never waits for the pod to enter a "Running" state. Because
of this, the "kubectl attach" command can potentially fail, if the pod is
not in the correct state.

Additionally, if the "kubectl attach" actually manages to attach, then the
test will hang. The command should be executed with a timeout.
2018-10-08 16:55:33 -07:00
Justin Santa Barbara f841f3ab40 Remove superfluous MkdirAll from MakeTempDirOrDie
After the call to ioutil.TempDir, the directory has already been
created, and MkdirAll therefore can't do anything.  The mode argument
in particular is misleading.
2018-10-08 18:11:09 -04:00
k8s-ci-robot 981a064c85
Merge pull request #68793 from aveshagarwal/master-rhbz-1628998
Fix DS tests to set node selectors related annotations on test namespaces to empty.
2018-10-08 10:41:57 -07:00
Radek Pieczonka 4643c6e95e port-forward listen on address
adds an address flag to kubectl port-forward to allow to bind to a different ip then localhost
2018-10-07 22:18:18 +02:00
k8s-ci-robot c00f19bd15
Merge pull request #68403 from wgliang/master.deprecate-Parallelize
Replace Parallelize with function ParallelizeUntil and formally depre…
2018-10-06 09:40:07 -07:00
k8s-ci-robot 664d797245
Merge pull request #69466 from mooncak/fix_test_issues
Remove the duplicated words in test files
2018-10-05 22:18:31 -07:00
k8s-ci-robot bc135bd328
Merge pull request #69198 from mkumatag/fix-tests
Use proper manifest images
2018-10-05 20:25:23 -07:00
k8s-ci-robot 0abb0f533a
Merge pull request #69377 from justinsb/avoid_spurious_highlighting
e2e: change test strings to avoid error highlighting
2018-10-05 18:47:51 -07:00
k8s-ci-robot 0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
Update to go1.11.1
2018-10-05 17:35:51 -07:00
Christoph Blecker ee3e404122
fix vet error in test/soak/serve_hostnames/serve_hostnames.go
test/soak/serve_hostnames/serve_hostnames.go:124: Warningf format %e has arg ns of wrong type string
2018-10-05 16:05:17 -07:00
Christoph Blecker 781d3f6055
fix vet error in test/soak/cauldron/cauldron.go
test/soak/cauldron/cauldron.go:106: Warningf format %e has arg ns of wrong type string
2018-10-05 16:04:40 -07:00
k8s-ci-robot 13705ac81e
Merge pull request #68310 from cheftako/cpiMove
Moving the cloudprovider interface to staging.
2018-10-05 13:29:01 -07:00
Christoph Blecker 97b2992dc1
Update gofmt for go1.11 2018-10-05 12:59:38 -07:00
Christoph Blecker 962fdbcbca
Bump golang version to 1.11.1 2018-10-05 12:58:56 -07:00
mooncake 4894f5583d Remove the duplicated words in test files
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-05 22:55:16 +08:00
Patrick Ohly 4423735dc3 e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-10-05 14:28:03 +02:00
Patrick Ohly 7305a3e395 e2e/lifecycle: decentralized settings
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.

For the sake of backwards compatibility the name of the command line
flags are not changed.
2018-10-05 14:24:35 +02:00
Patrick Ohly 752203d3fa e2e/instrumentation: decentralized settings
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.

Using the new framework/config code also has several advantages:
- defaults can be set with less code
- no confusion around what's a duration
- the options can also be set via command line flags

While at it, a minor bug gets fixed:
- readConfig() returns only defaults when called while
  registering Ginkgo tests because Viperize() gets called later,
  so the scale in the logging soak test couldn't really be configured;
  now the value is read when the test runs and thus can be changed

The options get moved into the "instrumentation.logging"
resp. "instrumentation.monitoring" group to make it more obvious where
they are used. This is a breaking change, but that was already
necessary to improve the duration setting from plain integer to a
proper time duration.
2018-10-05 14:24:35 +02:00
Patrick Ohly 8cde9c08f0 e2e/storage: decentralized settings
Tests shouldn't have to use the central context for their settings,
because conceptually tests and framework get developed independently.

This does not yet use the new framework/config utility code because
that code still needs to be reviewed.

Besides moving the flags, they also get renamed from the top-level
"--csiImage{Version|Registry}" to
"--storage.csi.image.{version|registry}". These flags were introduced
fairly recently and shouldn't be in use much, so now is a good time to
introduce a hierarchical naming for storage flags, in particular
because more flags will be added soon.
2018-10-05 14:24:35 +02:00
Patrick Ohly cf0dcc6ab2 e2e: clarify and enhance configuration support
Storing settings in the framework's TestContext is not something that
out-of-tree test authors can do because for them the framework is a
read-only upstream component. Conceptually the same is true for
in-tree tests, so the recommended approach is to define configuration
settings in the code that uses them.

How to do that is a bit uncertain. Viper has several
drawbacks (maintenance status uncertain, cannot list supported
options, cannot validate the configuration file). How to handle
configuration files is currently getting discussed for kubeadm, with
similar concerns about
Viper (https://github.com/kubernetes/kubeadm/issues/1040).

Instead of making a choice now for E2E, the recommendation is that
test authors continue to define command line flags as before, except
that they should do it in their own code and with better flag names.

But the ability to read options also from a file is useful, so
several enhancements get added:
- all settings defined via flags can also be read from a
  configuration file, without extra work for test authors
- framework/config makes it possible to populate a struct directly
  and define flags with a single function call
- a path and file suffix can be given to --viper-config (as in
  "--viper-config /tmp/e2e.json") instead of expecting the file in
  the current directory; as before, just plain "--viper-config e2e"
  still works
- if "--viper-config" is set, the file must exist; otherwise the
  "e2e" config is optional (as before)
- errors from Viper are no longer silently ignored, so syntax errors
  are detected early
- Viper support is optional: test suite authors who don't want
  it are not forced to use it by the e2e/framework
2018-10-05 14:22:18 +02:00
Guoliang Wang c2622dd9d8 Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize 2018-10-05 17:56:56 +08:00
k8s-ci-robot 766d860f86
Merge pull request #69021 from mgdevstack/master-kubelet-conformance
Promote kubelet NodeConformance tests to Conformance
2018-10-04 18:19:25 -07:00
Walter Fender f3f46d5f5a Moving the cloudprovider interface to staging.
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project.
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
k8s-ci-robot 409871ecae
Merge pull request #69310 from liggitt/remove-etcd2
Remove etcd2 storage backend
2018-10-04 13:40:00 -07:00
k8s-ci-robot 166490a473
Merge pull request #69103 from pohly/testfiles
E2E: handling extra files
2018-10-04 13:39:49 -07:00
k8s-ci-robot c568da3ab4
Merge pull request #69384 from oomichi/add-distros
Update options of master/node-os-distro
2018-10-04 10:09:45 -07:00