Commit Graph

12863 Commits (e502ca4653405d07e36f34e56e1d7d45aa5b1880)

Author SHA1 Message Date
Kubernetes Prow Robot 9ac5e49111
Merge pull request #73682 from selfmanagingresource/fixtest
Remove race condition with run-test
2019-02-19 07:21:38 -08:00
Sandeep Sunny 5b59c6e08c Added e2e tests for multi-zone volume provisioning 2019-02-19 18:44:20 +05:30
xichengliudui 0b184d35a1 fixgo lint failures test/integration/...
update pull request

update pull request

add files

update pull request
2019-02-19 04:41:50 -05:00
Kubernetes Prow Robot f35b7a365e
Merge pull request #73046 from mikkeloscar/fix-e2e-websocket-https
Fix websocket e2e tests for https endpoints
2019-02-18 22:45:33 -08:00
Kubernetes Prow Robot aaf479f94a
Merge pull request #74013 from s-ito-ts/statefulsets_scale
Add e2e test for scale sub-resource of statefulsets
2019-02-18 20:16:36 -08:00
Kubernetes Prow Robot 0b01b9ce51
Merge pull request #72470 from danielqsj/kl
Change kubelet metrics to conform metrics guidelines
2019-02-18 20:16:14 -08:00
Kubernetes Prow Robot f7eb5769c2
Merge pull request #71468 from bclau/windows-tests
Windows networking tests
2019-02-18 06:24:24 -08:00
danielqsj 79a3eb816c rename latency to duration in metrics 2019-02-18 17:40:04 +08:00
Mikkel Oscar Lyderik Larsen 9f34d8bc79
Remove 'tlsConfig != nil' check
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
Mikkel Oscar Lyderik Larsen 93abdb1205
Fix websocket e2e tests for https endpoints
When running e2e conformance tests against a public https protected
APIserver the websocket tests would fail because it fell back to using
`ws://` instead of `wss://` for the websocket connection.

This happened because the code detect if HTTPS is used only looks for
HTTPS related configuration in the kubeconfig, like a custom CA or
certificates.

The fix is to always use HTTPS when the apiserver URL has the scheme `https://`.

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
xichengliudui 641f883b82 fix shellcheck in test/integration/... and test/kubemark/... 2019-02-18 01:16:39 -05:00
danielqsj 9fd99a48f5 Change kubelet metrics to conform guideline 2019-02-18 14:01:58 +08:00
Mehdy Bohlool c14e7e2004 Add e2e test for multi-version CRD admission webhook patch bug 2019-02-16 00:46:57 -08:00
Kubernetes Prow Robot 07a5488b2a
Merge pull request #74141 from zetaab/fixtest
disable xfs localvolume test
2019-02-16 00:29:57 -08:00
Kubernetes Prow Robot 528cf14aa2
Merge pull request #74121 from truongnh1992/edit-owner-contact
Correct typecheck contact info
2019-02-15 22:59:48 -08:00
Kubernetes Prow Robot 95c3cbaf9f
Merge pull request #74094 from gnufied/fix-multizone-test-resizing
Use delayed binding for multizone tests
2019-02-15 20:35:51 -08:00
Nguyen Hai Truong 4c18fbcbb5 Correct owner's contact
@rmmh was no longer involved in the project anymore.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-16 09:19:34 +07:00
Kubernetes Prow Robot 149d6f1115
Merge pull request #74117 from carlory/patch-1
fix typo
2019-02-15 18:02:58 -08:00
Kubernetes Prow Robot 16e08f3e53
Merge pull request #73408 from Klaven/component-base-flags
Move flag util pkgs to k8s.io/component-base/cli
2019-02-15 16:46:08 -08:00
Kubernetes Prow Robot d5b890ea46
Merge pull request #72777 from bclau/tests/hardcoded-docker-image
Adds test which pulls dockerhub Windows image
2019-02-15 16:45:42 -08:00
Hemant Kumar abb2fc656d Use delayed binding for multizone tests 2019-02-15 15:57:21 -05:00
Kenichi Omichi a01381a7d2 Call getRandomClusterZone() only if necessary
e2e test "[It] should provision storage with different parameters"
depends on cloud providers as gce/gke, aws, openstack, vsphere and
azure. If the other cloud providers like local, the test is skipped.
However getRandomClusterZone() was called before the above cloud
provider check, and if the zone label is not found the test was failed.
This makes the test call getRandomClusterZone() only if necessary
to avoid such unnecessary failures.

Fixes: #73771
2019-02-15 20:07:11 +00:00
Jesse Haka c75b0bf8ca disable xfs localvolume test 2019-02-15 21:31:25 +02:00
jennybuckley 8101b86ac4 Promote aggregator e2e test to conformance 2019-02-15 11:04:38 -08:00
Kenichi Omichi 2635b6d95c Use framework.ExpectNoError() instead Expect()
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-02-15 16:52:57 +00:00
Marek Counts 160ed26c20 autogen files to support new project structure. 2019-02-15 10:29:31 -05:00
Marek Counts 7744f90830 Moved flag and globalflag
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Ben Moss 34ac4d9ee9 Update deprecated links 2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot 763042e938
Merge pull request #73939 from jiayingz/cuda10-test
Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image.
2019-02-15 05:28:00 -08:00
Patrick Ohly ec3655a1d4 e2e/storage: re-initialize all local variables
There is a risk that the init function does not reset one of the local
variables that was set by a previous test. To avoid this, all
variables set by init are now in a struct which gets cleaned
completely first.
2019-02-15 11:03:28 +01:00
Patrick Ohly e79cd9efe1 e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2019-02-15 11:01:09 +01:00
Patrick Ohly 4643624084 e2e/storage: remove test pattern filtering
The recommended approach for not running unsuitable tests is to skip
them at runtime with an explanation. Filtering out unsuitable test
patters and thus not even defining unsuitable tests was done earlier
because it was faster than skipping tests at runtime.

But now these tests can be skipped efficiently, so this special case
can be removed.
2019-02-15 11:01:08 +01:00
Patrick Ohly 05cc31697f e2e/storage: speed up skipping, simplify APIs and test definition
CreateDriver (now called SetupTest) is a potentially expensive
operation, depending on the driver. Creating and tearing down a
framework instance also takes time (measured at 6 seconds on a fast
machine) and produces quite a bit of log output.

Both can be avoided for tests that skip based on static
information (like for instance the current OS, vendor, driver and test
pattern) by making the test suite responsible for creating framework
and driver.

The lifecycle of the TestConfig instance was confusing because it was
stored inside the DriverInfo, a struct which conceptually is static,
while the TestConfig is dynamic. It is cleaner to separate the two,
even if that means that an additional pointer must be passed into some
functions. Now CreateDriver is responsible for initializing the
PerTestConfig that is to be used by the test.

To make this approach simpler to implement (= less functions which
need the pointer) and the tests easier to read, the entire setup and
test definition is now contained in a single function. This is how it
is normally done in Ginkgo. This is easier to read because one can see
at a glance where variables are set, instead of having to trace values
though two additional structs (TestResource and TestInput).

Because we are changing the API already, also other changes are made:
- some function prototypes get simplified
- the naming of functions is changed to match their purpose
  (tests aren't executed by the test suite, they only get defined
  for later execution)
- unused methods get removed (TestSuite.skipUnsupportedTest is redundant)
2019-02-15 11:01:05 +01:00
Youbing Li 0756781994 Fixes #73077 - Allow to convert type across all version 2019-02-15 04:03:35 -05:00
Kubernetes Prow Robot 808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Patrick Ohly 1cb121d2a9 e2e/storage: introduce TestVolume interface
This increases type safety and makes the code easier to read because
it becomes obvious that the "test resource" passed to some functions
must be the result of a previous CreateVolume.

This makes it possible to remove:
- functions that never did anything (the DeleteVolume methods in
  drivers that never create a volume)
- type casts (in the DeleteVolume implementation)
- the unused DeleteVolume parameters
- the stand-alone DeleteVolume function (which would be just a non-nil
  check)

GetPersistentVolumeSource and GetVolumeSource could also become
methods on more specific interfaces - they don't actually use anything
from TestDriver instance which provides them.

The main motivation however is to reduce the number of methods which
might need an explicit test config parameter.
2019-02-15 08:38:54 +01:00
帝俊 09519fde26
fix typo 2019-02-15 15:28:43 +08:00
Kubernetes Prow Robot 0eb69f6b92
Merge pull request #74079 from jarrpa/csi-cluster-registrar
CSIDriverRegistrar e2e cleanups
2019-02-14 17:05:51 -08:00
Kenichi Omichi 680e83a811 Remove unused GetDefaultBackendNodePort()
Since the commit f5bb5234c1
the method has never been used. This just removes it for cleanup.
2019-02-14 22:44:54 +00:00
Kubernetes Prow Robot 1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00
Jose A. Rivera a33acd2ba6 CSIDriverRegistry e2e: Use framework.Poll when waiting for PVC delete
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Jose A. Rivera 86c71472df CSIDriverRegistry e2e: Wait for CSIDriver creation
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Jose A. Rivera 81bc0e5ec8 CRIDriverRegistry e2e: Clarify variable name
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:59:43 -06:00
Jose A. Rivera 1ac3b37848 CSIDriverRegistry e2e: Always clean up driver
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:56:17 -06:00
Kubernetes Prow Robot d8f0146138
Merge pull request #72214 from caesarxuchao/move-discovery
Move cached discovery clients to their own packages
2019-02-13 23:07:00 -08:00
Kubernetes Prow Robot b13438ab24
Merge pull request #73928 from wongma7/protection-waitforfirstconsumer
Fix PVC protection e2es when default storage class is WaitForFirstConsumer
2019-02-13 21:50:17 -08:00
Kubernetes Prow Robot 2e287a0ac1
Merge pull request #73677 from jarrpa/csi-cluster-registrar
e2e: Use cluster-driver-registrar for CSIDriverRegistry tests
2019-02-13 17:31:33 -08:00
Kubernetes Prow Robot 888ff4097a
Merge pull request #73651 from RobertKrawitz/node_pids_limit
Support total process ID limiting for nodes
2019-02-13 17:31:18 -08:00
Kubernetes Prow Robot 508a4f7544
Merge pull request #74000 from caesarxuchao/json-patch-operations
Limit the number of operations in a single json patch to be 10,000
2019-02-13 16:12:12 -08:00
Kubernetes Prow Robot f9af7e94a9
Merge pull request #73962 from wongma7/glusterfs-sc
Fix glusterfs e2e not using correct storageclass
2019-02-13 14:32:16 -08:00
Kubernetes Prow Robot a5653dc01b
Merge pull request #73903 from smarterclayton/cluster_upgrade
Upgrade tests don't tolerate nodes with taints correctly
2019-02-13 14:32:05 -08:00
Jose A. Rivera 62f3211d76 Run hack/update-bazel.sh
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Jose A. Rivera 6115fc49a6 Use cluster-driver-registrar for CSIDriverRegistry tests
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Kubernetes Prow Robot 812016fa23
Merge pull request #73818 from gnufied/add-e2e-for-no-expand
add e2e test when expansion is disabled
2019-02-13 12:16:09 -08:00
Robert Krawitz 2597a1d97e Implement SupportNodePidsLimit, hand-tested 2019-02-13 14:56:17 -05:00
Chao Xu 5e6fc5dce8 Limit the number of operations in a single json patch to be 10,000 2019-02-13 10:53:32 -08:00
Kenichi Omichi 89f6f1d0cc Fix golint failures under e2e/framework/metrics 2019-02-13 18:07:16 +00:00
Kubernetes Prow Robot 1250237316
Merge pull request #73995 from humblec/fix-e2e
Use correct server url in dynamic provisioning tests
2019-02-13 09:45:15 -08:00
Matthew Wong 2f981fa4c1 Fix PVC protection e2es when default storage class is WaitForFirstConsumer 2019-02-13 12:41:45 -05:00
Hemant Kumar 7d823e5df0 also remove slow tag from resizing tests 2019-02-13 10:48:49 -05:00
Hemant Kumar e3faa003a1 add e2e test when expansion is disabled
Also refactor some of the code that creates resizable SC
2019-02-13 10:48:49 -05:00
Humble Chirammal a078ebf246 Set correct server uri on e2e dynamic provisioner
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-02-13 13:52:38 +05:30
s-ito-ts b46cbc31cd Add e2e test for scale sub-resource of statefulsets 2019-02-13 08:04:37 +00:00
Kubernetes Prow Robot 5442980dd9
Merge pull request #73900 from cofyc/fix-local-test
Wait for first pod to termiante in PV test
2019-02-12 20:01:57 -08:00
Kubernetes Prow Robot 461dccf246
Merge pull request #73898 from xiezongzhe/patch-5
fix typo
2019-02-12 20:01:47 -08:00
Kubernetes Prow Robot 2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Kenichi Omichi dbe669aeb1 Move PrintSample() to place which uses it
PrintSample() was used at metrics_util.go only, so this moves
the method to metrics_util.go and makes it local.
2019-02-13 01:32:53 +00:00
Kubernetes Prow Robot 5c780c8cb1
Merge pull request #73978 from oomichi/golint-e2e-framework-timer
Fix golint failures of test/e2e/framework/timer
2019-02-12 17:29:43 -08:00
Kubernetes Prow Robot 29403174fb
Merge pull request #73805 from caesarxuchao/resource-size-limit
Adding a limit on the size of request body the apiserver will decode for write operations
2019-02-12 15:10:57 -08:00
Kubernetes Prow Robot 72eb785f60
Merge pull request #73440 from yliaog/master
Fix resource quota e2e test
2019-02-12 15:10:47 -08:00
Chao Xu 1f2e2e61cf generated 2019-02-12 15:04:57 -08:00
Kenichi Omichi 60ded1d54a Fix golint failures of test/e2e/framework/timer 2019-02-12 21:01:39 +00:00
Kubernetes Prow Robot ff504cd869
Merge pull request #73681 from kwiesmueller/feature-serverside-apply
strip selected fields from managedFields
2019-02-12 12:39:20 -08:00
Chao Xu 3f21ca029a changing imports 2019-02-12 10:06:04 -08:00
Kubernetes Prow Robot f968499812
Merge pull request #72002 from pohly/storage-volume-testsuites-concurrency
E2E storage: more tests for different pod/node combinations
2019-02-12 10:04:50 -08:00
Matthew Wong 6d73de1154 Fix glusterfs e2e not using correct storageclass 2019-02-12 11:31:29 -05:00
Patrick Ohly ecc0c4e4b4 e2e/storage: enable concurrent writes for gcepd
The driver should support multiple pods using the same volume on the
same node.
2019-02-12 09:21:50 +01:00
Patrick Ohly 03d352f7aa e2e/storage: test usage of volume in multiple pods at once
This is a special case that both kubelet and the volume driver should
support, because users might expect it. One Kubernetes mechanism to
deploy pods like this is via pod affinity.

However, strictly speaking the CSI spec does not allow this usage
mode (see https://github.com/container-storage-interface/spec/pull/150) and
there is an on-going debate to enable it (see
https://github.com/container-storage-interface/spec/issues/178). Therefore
this test gets skipped unless explicitly enabled for a driver.

CSI drivers which create a block device for a remote volume in
NodePublishVolume fail this test. They have to make the volume
available in NodeStageVolume and then in NodePublishVolume merely do a
bind mount (as for example in
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/master/pkg/gce-pd-csi-driver/node.go#L150).
2019-02-12 09:21:50 +01:00
Patrick Ohly ca42cf4993 e2e/storage: test provisioned volume on multiple nodes
Whether the read test after writing was done on the same node was
random for drivers that weren't locked onto a single node. Now it is
deterministic: it always happens on the same node.

The case with reading on another node is covered separately for test
configurations that support it (not locked onto a single node, more
than one node in the test cluster).

As before, the TestConfig.ClientNodeSelector is ignored by the
provisioning testsuite.
2019-02-12 09:21:50 +01:00
pontiyaraja 6d7a707320 Test case for shared volumes between the containers in pod 2019-02-12 12:26:43 +05:30
Kubernetes Prow Robot 34e523f188
Merge pull request #73860 from msau42/owners
add msau42 to approvers for volume e2es
2019-02-11 19:58:29 -08:00
Yecheng Fu 00a7fc3208 Wait for first pod to termiante in local pv test
local plugin will skip setting fsGroup if volume is mounted by other pods
2019-02-12 09:55:49 +08:00
Kubernetes Prow Robot 0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Jiaying Zhang d66cd67377 Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image. 2019-02-11 15:45:53 -08:00
Kevin Wiesmüller 9082cac482 strip selected fields from managedFields
refactor fieldstrip and update tests

add checks and remove empty fields

shorten test and check for nil manager

fix gofmt

panic on nil manager
2019-02-11 23:10:57 +01:00
Jennifer Buckley 1a5e48e29d Honor forceAllowCreate in service registry 2019-02-11 11:05:30 -08:00
Claudiu Belu 434090349d tests: Adds [LinuxOnly] tag to conformance test
The test "should write entries to /etc/hosts" should have the [LinuxOnly] tag as
it cannot pass on Windows; individual files cannot be mounted in Windows Containers.

This test was missed in the original PR (https://github.com/kubernetes/kubernetes/pull/73204)
2019-02-11 02:44:09 -08:00
zhoulin xie f71bc19ca8 Fix fmt.Sprintf error message
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-11 16:43:20 +08:00
Clayton Coleman a7dfbb99c4
updates: DaemonSet test should tolerate all taints
The test specifically includes all nodes, but doesn't actually ensure
the daemonset covers all nodes despite taints.
2019-02-10 23:53:57 -05:00
Clayton Coleman 3e0dd7f365
upgrade: ClusterUpgrade and MasterUpgrade are equivalent
Some tests were only checking for MasterUpgrade, but that is also
implied by ClusterUpgrade.
2019-02-10 23:51:27 -05:00
xiezongzhe 3cec62b3f5
fix typo
Is ->It in line 6
2019-02-11 11:38:25 +08:00
Kubernetes Prow Robot b862590bfc
Merge pull request #73847 from wojtek-t/watch_metric
Add metric exposing amount of processed init events in watchcache
2019-02-10 03:47:35 -08:00
qingsenLi 012076d324 delete some unused const 2019-02-10 17:23:15 +08:00
Patrick Ohly 54d8f1648f e2e/storage: improve PV checking
TestDynamicProvisioning had multiple ways of choosing additional
checks:
- the PvCheck callback
- the builtin write/read check controlled by a boolean
- the snapshot testing

Complicating matters further, that builtin write/read test had been
more customizable with new fields `NodeSelector` and
`ExpectUnschedulable` which were only set by one particular test (see
https://github.com/kubernetes/kubernetes/pull/70941).

That is confusing and will only get more confusing when adding more
checks in the future. Therefore the write/read check is now a separate
function that must be enabled explicitly by tests that want to run it.
The snapshot checking is also defined only for the snapshot test.

The test that expects unschedulable pods now also checks for that
particular situation itself. Instead of testing it with two pods (the
behavior from the write/read check) that both fail to start, only a
single unschedulable pod is created.

Because node name, node selector and the `ExpectUnschedulable` were
only used for checking, it is possible to simplify `StorageClassTest`
by removing all of these fields.

Expect(err).NotTo(HaveOccurred()) is an anti-pattern in Ginkgo testing
because a test failure doesn't explain what failed (see
https://github.com/kubernetes/kubernetes/issues/34059). We avoid it
now by making the check function itself responsible for checking
errors and including more information in those checks.
2019-02-09 14:20:17 +01:00
Patrick Ohly 5b8826b610 e2e/storage: use different names for test pods
When the provisioning test gets stuck, the log fills up with messages
about waiting for a certain pod to run. Now the pod names are
pvc-[volume-tester|snapshot]-[writer|reader] plus the random
number appended by Kubernetes. This makes it easier to see where the
test is stuck.
2019-02-09 14:20:17 +01:00
Patrick Ohly e92bdd14cc e2e/storage: remove unnecessary empty string checks
There is no need to check for empty strings, we can also directly
initialize structs with the value. The end result is the same when the
value is empty (empty string in the struct).
2019-02-09 14:20:17 +01:00
Patrick Ohly 315266b25e e2e: refine snapshot test
This addresses the two remaining change requests from
https://github.com/kubernetes/kubernetes/pull/69036:
- replace "csi-hostpath-v0" name check with capability
  check (cleaner that way)
- add feature tag to "should create snapshot with defaults" because
  that is an alpha feature

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2019-02-09 14:20:17 +01:00
Patrick Ohly f8536e8e42 e2e: fix snapshot skip test
Even if snapshots are supported by the driver interface, the driver or
suite might still want to skip a particular test, so those checks
still need to be executed.
2019-02-09 14:19:37 +01:00
Andrew Kim ca6a051b00 remove cloud provider dependencies to pkg/volume
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Antoine Pelisse 308c981633 Add basic server-side apply test to test-cmd 2019-02-08 16:51:29 -08:00
Chao Xu e90409d735 add integration test 2019-02-08 16:15:43 -08:00
Claudiu Belu 609b5c3010 tests: Adds docker hub Windows image test case
Adds the test "should be able to pull image from docker hub [WindowsOnly]",
which will pull a Windows busybox image from dockerhub. Since it is busybox,
the same command will also work for this image.

The busybox image is currently used in other E2E tests, so the image should
already be prepulled on the nodes. Additionally, the image has a manifest list
for Windows Server 1803 and Windows Server 2019, and future versions will be
added to it.
2019-02-08 15:25:56 -08:00
Kubernetes Prow Robot 8f7ccf8d4c
Merge pull request #69036 from wackxu/snapshottest
add e2e test for snapshot
2019-02-08 13:14:04 -08:00
Kubernetes Prow Robot 834c9a5e3d
Merge pull request #72491 from liggitt/delegated-auth-permissions
Ensure controller manager and scheduler can perform delegated auth checks
2019-02-08 11:53:52 -08:00
Yu Liao fa6699dc4d there could be existing resource quotas, count them first and check the
expected is the existing + 1
2019-02-08 11:35:56 -08:00
Michelle Au ddc1a9c8c8 add msau42 to approvers for volume e2es 2019-02-08 11:34:02 -08:00
Kubernetes Prow Robot 54a578d3a1
Merge pull request #72012 from yeya24/patch-1
fix typos lable -> label
2019-02-08 10:36:05 -08:00
Kubernetes Prow Robot b50c643be0
Merge pull request #73540 from rlenferink/patch-5
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Jordan Liggitt 4212a9a05a Ensure controller manager and scheduler can perform delegated auth checks 2019-02-08 11:15:52 -05:00
wojtekt 0a0835e92d Add metric exposing amount of processed init events in watchcache 2019-02-08 13:03:33 +01:00
Kubernetes Prow Robot a7966022d7
Merge pull request #73714 from tallclair/debian-base
Bump debian-* base image versions to latest
2019-02-07 19:44:44 -08:00
Kubernetes Prow Robot eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Jiaying Zhang 8408188cdf Update CudaVectorAdd test image to be built with Cuda10 docker image.
The previous version of CudaVectorAdd test image can still be used
in our testing. A later change will extend the existing gpu e2e tests
to run pods with two containers. One with CudaVectorAdd version1 and
the other with CudaVectorAdd version2 so that we can test both
Cuda versions.
2019-02-07 13:29:48 -08:00
Kubernetes Prow Robot 713eaf450f
Merge pull request #73511 from vikaschoudhary16/image-only
Add image for sample-device-plugin
2019-02-07 04:59:11 -08:00
vikaschoudhary16 0ec6bdd2b5 Add image for sample-device-plugin 2019-02-07 11:28:28 +05:30
Claudiu Belu 00e2582c67 Adds Windows-related Networking tests
Creating pods with HostNetwork is not currently supported on
Windows Kubelet, and thus, ones without HostNetwork are created instead.
2019-02-06 15:58:18 -08:00
Claudiu Belu cb9c594f98 tests: Separates DNS hosts entries test
At the moment, Windows cannot mount individual files into Containers, which means
that the Kubelet-managed hosts file cannot be mounted into the Container, causing
the "should provide DNS for the cluster" test to fail.

This test separates the hosts entries checks from the mentioned test to a new test.
2019-02-06 15:41:57 -08:00
Kubernetes Prow Robot 3dedf4b7f6
Merge pull request #73525 from cofyc/fix71237-intree
Implement localDriver with various local volume types
2019-02-06 10:44:37 -08:00
Kubernetes Prow Robot ae45068688
Merge pull request #72323 from danielqsj/dockershim
Change docker metrics to conform metrics guidelines
2019-02-06 09:30:54 -08:00
Thomas Runyon 6770fa7ba5 Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-06 12:28:52 -05:00
Kubernetes Prow Robot fcb0d60d4c
Merge pull request #73716 from deads2k/delete-all
add --all-namespaces to kubectl delete
2019-02-06 01:20:15 -08:00
Yecheng Fu aa87e4b57c Implement localDriver 2019-02-06 12:28:28 +08:00
Thomas Runyon 4fc5be8d5a Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-05 19:23:21 -05:00
Kubernetes Prow Robot 9384e93dc1
Merge pull request #73749 from wongma7/subpath-init-write-multiple
Fix multiple subpaths e2e: read/write in same container
2019-02-05 13:57:02 -08:00
Kubernetes Prow Robot 3f933ec7c4
Merge pull request #72407 from aespejel/fix_resource_consumer_metrics_endpoint
Fixed /metrics endpoint for resource consumer
2019-02-05 12:08:49 -08:00
Kubernetes Prow Robot fdfc3b86d8
Merge pull request #73258 from Betula-L/master
fix test config pod spec affinity mishandling
2019-02-05 10:48:59 -08:00
Davanum Srinivas b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>

Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
David Eads 66b1f5ba67 add --all-namespaces to 2019-02-05 13:37:14 -05:00
Matthew Wong 613d8bb8ea Fix multiple subpaths e2e: read/write in same container 2019-02-05 10:55:27 -05:00
Kubernetes Prow Robot ffec91179d
Merge pull request #70156 from nagiesek/fix_pqdn_tests
Removes PQDNs from conformance tests and places them in their own tests
2019-02-05 06:47:28 -08:00
Kubernetes Prow Robot e91e032de2
Merge pull request #73522 from tnozicka/e2e-add-exec-debug
Enhance debuggability of e2e tests using exec command
2019-02-05 03:18:31 -08:00
Alfredo Espejel 688e1d1053 Fixed resource consumer to expose /metrics instead of /Metrics 2019-02-05 10:15:42 +01:00
Kubernetes Prow Robot 641b2adcd3
Merge pull request #73318 from wongma7/subpath-init-write
Do writes in init container before trying reads
2019-02-04 18:28:14 -08:00
Kubernetes Prow Robot 2a5a41a08b
Merge pull request #72947 from apelisse/wip-feature-serverside-apply-merge
Merge feature-serverside-apply back in master
2019-02-04 18:28:03 -08:00
Kubernetes Prow Robot 6a149864fb
Merge pull request #73285 from tallclair/typed-runtimeclass
Migrate RuntimeClass support to the generated typed client
2019-02-04 16:13:30 -08:00
jennybuckley 6b2e4682fe Minor fixes 2019-02-04 13:51:49 -08:00
Antoine Pelisse b55417f429 Plugin FieldManager in CRD handler, change to API 2019-02-04 13:51:49 -08:00
Antoine Pelisse 0e1d50e70f API Machinery, Kubectl and tests 2019-02-04 13:51:48 -08:00
Roy Lenferink b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot 732cb10019
Merge pull request #73402 from pohly/e2e-vendor-parameter
e2e: reject unknown providers
2019-02-04 12:59:06 -08:00
Tim Allclair 1b9d0c1094 Bump debian-* base image versions to latest 2019-02-04 11:58:51 -08:00
Chris Sosa 06fe60af5b Remove race condition with run-test
This change modifies kubectl run e2e test to remove a race condition
where kubectl run might complete before we can scrape the logs off via
attach.

Tested via running the e2e tests a few times on gce via kubetest.
2019-02-04 11:47:20 -08:00
Kubernetes Prow Robot 9d6ebf6c78
Merge pull request #73467 from ashishranjan738/newpackage
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
2019-02-04 11:43:14 -08:00
Kubernetes Prow Robot 1a0a841abe
Merge pull request #73204 from bclau/tests/adds-linuxonly-tag
Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
2019-02-04 09:36:09 -08:00
Kubernetes Prow Robot 6ed54138ee
Merge pull request #73175 from soltysh/fix_jobttl
Report proper namespace in TTLAfterFinished test
2019-02-04 09:35:58 -08:00
Kubernetes Prow Robot d61aab2063
Merge pull request #72594 from pbarker/audit-proxy
audit-proxy image for dynamic audit e2e test
2019-02-04 09:35:46 -08:00
Kubernetes Prow Robot b4a02c359b
Merge pull request #71746 from rctl/rctl-wait-all
Add support for waiting by label selector or on all resources
2019-02-04 06:21:00 -08:00
Kubernetes Prow Robot d5a1ebbd33
Merge pull request #73634 from JoeWrightss/patch-2
Fix some typos in comment
2019-02-04 05:09:47 -08:00
Kubernetes Prow Robot c5da2c559f
Merge pull request #73270 from mm4tt/dump_systemd_journal
Allow dumping full systemd journal in log-dump.sh.
2019-02-04 00:30:13 -08:00
Ashish Ranjan 7be223e798 Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
Kubernetes Prow Robot 0bd35d1b68
Merge pull request #73448 from AdamDang/patch-21
Fix some error in returned message
2019-02-03 18:20:51 -08:00
Matt Matejczyk 35543f8989 Allow dumping full systemd journal in log-dump.sh.
The feature is gated behind a newly introduced 'dump-systemd-journal' flag.
We want to dump the full systemd journal in our scalability performance tests.
2019-02-03 21:28:37 +01:00
Thomas Runyon b52aff72c8 Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-02 20:42:26 -05:00
Rasmus Jönsson 4c31e9855d Add support for waiting by label selector or on all resources
Add test for multiple deletions in kubectl watch
2019-02-02 16:26:00 +01:00
Kubernetes Prow Robot 9f872d0b85
Merge pull request #73486 from dashpole/fix_ubuntu_eviction
Fix node e2e localstorage eviction tests
2019-02-01 17:14:26 -08:00
Kubernetes Prow Robot 4331660fcd
Merge pull request #73445 from danielqsj/fix-exec
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
2019-02-01 17:14:15 -08:00
Kubernetes Prow Robot aee11a844c
Merge pull request #73596 from liggitt/deprecated-tests
Stop using beta apps versions
2019-02-01 16:02:08 -08:00
Kubernetes Prow Robot 153bc23365
Merge pull request #73403 from hello2mao/reduce-hard-code
Reduce hard code to avoid more mistakes
2019-02-01 14:32:14 -08:00
Nathan Gieseker 689db1b4cb removes incorrect dns name to resolve in dns test 2019-02-01 13:35:33 -08:00
Claudiu Belu 5daa08878f Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
Some of the tests cannot pass using Windows nodes due to various reasons:

- seLinuxOptions are not supported on Windows.
- Running as an UID / GID is not supported on Windows.
- file permissions work differently on Windows, and they cannot be set in
  the same manner as on Linux.
- individual files cannot be mounted in Windows Containers.
- Cannot create container using Linux image (e.g.: alpine) on Windows.

Because of this, it has been decided to use the "[LinuxOnly]" tag for the
tests which cannot run on Windows because of the mentioned reasons. This way,
when running tests using Windows nodes, those tests can simply be skipped by
adding the "[LinuxOnly]" tag to the ginkgo.skip argument.
2019-02-01 11:42:42 -08:00
Thomas Runyon 8772e26315 Fixed variable check for new WHAT command 2019-02-01 13:53:23 -05:00
Thomas Runyon 31aac97a85 Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-01 11:40:18 -05:00
Kubernetes Prow Robot 2e01637f86
Merge pull request #69504 from krmayankk/refactor-sched1
Move informer event handlers to scheduler
2019-02-01 06:31:39 -08:00
zhoulin xie 777174080b Fix some typos in comment
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-01 21:11:55 +08:00
xushiwei 7280fcef5c address reviewer comments 2019-02-01 16:34:16 +08:00
Jordan Liggitt f100a762bc Stop using apps/v1beta1 in tests 2019-01-31 10:12:38 -05:00
Patrick Ohly 7b5e65977c e2e: "skeleton" as fallback, empty string as default
Not accepting --provider= (i.e. setting an empty provider name) broke
some test jobs. As suggested in
https://github.com/kubernetes/kubernetes/pull/73402#issuecomment-459368230,
now --provider= and not passing --provider at all both trigger a
message and then continue as if --provider=skeleton had been used.
2019-01-31 15:54:48 +01:00
Daniel (Shijun) Qian e72b32558c
Merge branch 'master' into keymutex 2019-01-31 20:50:57 +08:00
Kubernetes Prow Robot fb96afb194
Merge pull request #73482 from liggitt/cross-group-watch
Always select the in-memory group/version as a target when decoding from storage
2019-01-30 17:50:06 -08:00
Chao Xu bed7696876 generated BUILD files 2019-01-30 13:28:48 -08:00
Chao Xu 98a1003f57 Remove unnecessary group storage version defaults. The storage version
is either decided by the schema's version priority, or by the per
resource override.

This fixes a bug where the "batch" group is encoded in v1beta1, which
was hidden when --storage-versions is a valid flag.
2019-01-30 13:28:48 -08:00
Kubernetes Prow Robot 9f673c8129
Merge pull request #72728 from phoenixking25/e2e/annotate_errors
annotate errors in e2e tests
2019-01-30 11:53:48 -08:00
Kubernetes Prow Robot f66805ef5e
Merge pull request #63600 from bclau/remove-hardcoded-yaml-images
tests: Removed hardcoded images from yaml files
2019-01-30 11:53:37 -08:00
Jordan Liggitt 131dad6ee1 Always select the in-memory group/version as a target when decoding from storage 2019-01-30 13:58:37 -05:00
xushiwei 3410d435ed add snapshot e2e 2019-01-30 19:04:45 +08:00
Tomas Nozicka cfcac1737b Enhance debuggability of e2e tests using exec command 2019-01-30 11:46:30 +01:00
Krzysztof Siedlecki aa93e2bb94 reverting test to apiserver_request_latencies_summary metric 2019-01-30 10:36:32 +01:00
Kubernetes Prow Robot 233f3e7b94
Merge pull request #73500 from shyamjvs/tls-config-fix-scale-tests
Fix TLS config in load test clients
2019-01-29 19:38:51 -08:00
Kubernetes Prow Robot be33917744
Merge pull request #73194 from danielqsj/zkimage
Add missing dependency to zookeeper-install
2019-01-29 19:38:19 -08:00
danielqsj 6535689680 clean pkg/util/strings 2019-01-30 10:24:00 +08:00
danielqsj df7e4f3d49 clean pkg/util/keymutex 2019-01-30 10:23:59 +08:00
Mayank Kumar e0a7d96632 Move informer event handlers to Scheduler 2019-01-29 17:53:20 -08:00
hello2mao 7371c40abe update the BUILD file 2019-01-30 09:45:06 +08:00
Shyam Jeedigunta 6cd03ab8ae Fix TLS config in load test clients 2019-01-29 16:24:53 -08:00
Patrick Barker 451261f8c2 returns 500 on error; updates header dates for audit proxy 2019-01-29 13:34:42 -07:00
David Ashpole 6d07624ae3 fix node e2e localstorage eviction tests 2019-01-29 11:02:48 -08:00
Patrick Ohly dde3445a45 e2e: change default for --provider
The empty string was the default and then triggered a special
warning. There's no good reason for that behavior, so now the special
handling for "unset provider" is gone and "skeleton" is the non-empty
default for the value.
2019-01-29 19:50:40 +01:00
Kubernetes Prow Robot 819dcaaa17
Merge pull request #73446 from cofyc/fix73419
Fix local pv stress tests
2019-01-29 10:12:17 -08:00
Kubernetes Prow Robot d66db4a585
Merge pull request #72918 from bclau/tests/windows-cmd-fix
tests: Makes UDP testing command more Windows friendly
2019-01-29 05:15:37 -08:00
globervinodhn a2078bd4af Promote empty-key ConfigMap e2e to Conformance 2019-01-29 15:41:27 +05:30
Kubernetes Prow Robot 5262dba064
Merge pull request #73198 from mourya007/library
Re-Organize the pkutil library
2019-01-29 01:20:42 -08:00
Kubernetes Prow Robot 44d1859205
Merge pull request #72730 from liggitt/eviction-graceful-deletion
Make pod eviction trigger graceful deletion to match deletion via API
2019-01-28 21:51:53 -08:00
Kubernetes Prow Robot efbaad5e58
Merge pull request #72561 from vllry/e2e-test-no-endpoints
Add e2e test for services with no endpoints
2019-01-28 21:51:42 -08:00
Kubernetes Prow Robot b6701153b5
Merge pull request #70823 from mkimuram/issue/70822
Fix volumes e2e test to check fsType
2019-01-28 21:51:31 -08:00
Kubernetes Prow Robot c0e80056d1
Merge pull request #73196 from mkumatag/fix_node
increase the memory limits to max
2019-01-28 20:11:57 -08:00
Kubernetes Prow Robot 22080f9f47
Merge pull request #72967 from wgliang/bugfix/scheduler_perf-fail
fix scheduler_perf integration test fails
2019-01-28 20:11:42 -08:00
AdamDang f870382587
Fix some error in returned message
Fix some error in returned message:
a interval -> an interval
to small -> too small
2019-01-29 12:09:37 +08:00
Yecheng Fu 1660a0d260 Fix bug 2019-01-29 11:42:18 +08:00
danielqsj c7a012f033 migrate the rest reference of pkg/util/exec to k8s.io/utils/exec 2019-01-29 10:55:10 +08:00
Thomas Runyon b308c53d6d Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-01-28 20:49:31 -05:00
Matthew Wong 9f5a799213 Do writes in init container before trying reads 2019-01-28 15:42:14 -05:00
Patrick Ohly f3d79e152e e2e: reject unknown providers
This finishes the work started for 1.13: instead of merely warning
about an unknown value given to --profile, the test/e2e/e2e.test
binary will now print an error and refuse to run.

Fixes: #70200
2019-01-28 19:55:45 +01:00
hello2mao 38b86fd97e reduce hard code to avoid more mistakes 2019-01-28 21:55:09 +08:00
danielqsj 44eb1fb864 bump zookeeper-installer image version in e2e 2019-01-28 09:56:17 +08:00
Eric Paris 384da53441 test/e2e/framework: fix external/internal typo err in GetNodeInternalIP 2019-01-26 17:12:50 -05:00
Vallery Lancey 21cccbb863 Variable & timeout cleanup in no-endpoints e2e test 2019-01-26 10:15:13 -08:00
Kubernetes Prow Robot 8bce3620b0
Merge pull request #72690 from Katharine/no-conformance-skips
Never skip multi-node conformance tests (instead just fail).
2019-01-26 07:30:13 -08:00
Thomas Runyon eecd88b450 fixed merge 2019-01-26 09:06:40 -05:00
Thomas Runyon 1a821ff5cf Merge remote-tracking branch 'upstream/master' into test-cmd-what
Conflicts:
	test/cmd/legacy-script.sh
2019-01-26 07:40:33 -05:00
Kubernetes Prow Robot b5f2147a5a
Merge pull request #73193 from shyamjvs/avoid-master-ssh
Avoid master ssh in eks
2019-01-26 02:51:49 -08:00
mourya007 7c37e91a6d Re-Organize the pkutil library 2019-01-26 14:56:36 +05:30
Kubernetes Prow Robot c6d0cdf309
Merge pull request #72694 from liggitt/integration-api-versions
Use apps/v1 APIs in integration, explicitly enable all resources for print/etcd/scale tests
2019-01-26 00:35:43 -08:00
Kubernetes Prow Robot e1605310a5
Merge pull request #72902 from andrewsykim/72649
E2E test for node deleted in cloud provider
2019-01-25 22:31:16 -08:00
Jordan Liggitt cdfb5d3170 Make pod eviction trigger graceful deletion to match deletion via API 2019-01-25 23:35:49 -05:00
Kubernetes Prow Robot 54015767a5
Merge pull request #73326 from ixdy/k8s-master-go1.11.5
Update to go1.11.5
2019-01-25 19:44:10 -08:00
andrewsykim 596c6fbf03 e2e test for node deleted in cloud provider 2019-01-25 17:45:18 -05:00
Jeff Grafton e273db831c Update to go1.11.5 2019-01-25 11:38:58 -08:00
Jordan Liggitt 89b0b0b84b Clean up initializer-related comments, test data 2019-01-25 12:37:45 -05:00
ajatprabha c3bc60b214 update error message 2019-01-25 13:29:43 +05:30
ajatprabha e08f4e2bd2 annotate errors in apps/job e2e tests 2019-01-25 13:29:42 +05:30
Kubernetes Prow Robot d654b49c0e
Merge pull request #73097 from bsalamat/fix_taint_nodes
Add NotReady taint to new nodes during admission
2019-01-24 23:46:23 -08:00
Kubernetes Prow Robot 402263fd4f
Merge pull request #72087 from pontiyaraja/pod_termination
graceful pod termination with preStop container life cycle hook
2019-01-24 21:17:44 -08:00
Jordan Liggitt b64075dbd0 explicitly enable apps/v1beta1, apps/v1beta2, extensions/v1beta1 for print,etcd,storage tests 2019-01-24 21:43:15 -05:00
Jordan Liggitt 4fc63fd014 use apps/v1 APIs in integration tests 2019-01-24 21:34:12 -05:00
Thomas Runyon a844df60f8 Fixed spacing in readme 2019-01-24 19:54:28 -05:00
Kubernetes Prow Robot 2cbb16bc8d
Merge pull request #73243 from andrewsykim/update-utils-vendor
Update vendor k8s.io/utils and remove internal utils
2019-01-24 16:30:14 -08:00
Kubernetes Prow Robot d306d68a36
Merge pull request #72978 from liggitt/addon-changelog
Update addon-manager changelog/image
2019-01-24 16:30:00 -08:00
Bobby (Babak) Salamat 37be9f590d Disable TaintNodesByCondition in node e2e tests, because node lifecycle controller does not run in the tests 2019-01-24 15:41:44 -08:00
Kubernetes Prow Robot e28c757e87
Merge pull request #72972 from liggitt/remove-alpha-initializers
Remove use of alpha initializers
2019-01-24 14:54:52 -08:00
Andrew Kim 0bc5508aca replace client-go/util/integer with k8s.io/utils/integer 2019-01-24 15:34:21 -05:00
Tim Allclair 954f43a10d Migrate RuntimeClass E2E to typed client 2019-01-24 11:08:30 -08:00
Tim Allclair 291d0cbd2f Fix deleted RuntimeClass CRD recovery test flake 2019-01-24 11:08:30 -08:00
Bobby (Babak) Salamat c2a4d2cbdf Add a default admission controller to taint new nodes on creation. 2019-01-24 10:31:23 -08:00
Patrick Barker ef50829773 adds newlines to audit proxy dockerfile and version file 2019-01-24 10:54:36 -07:00
luhualin 2bf84f1cc0 fix pod spec affinity mishandling 2019-01-24 16:33:43 +08:00
Kubernetes Prow Robot 7376001870
Merge pull request #72617 from cofyc/clean_local_volume_provisioner_e2e
Clean up local volum provisioner e2e tests
2019-01-23 23:32:31 -08:00
Kubernetes Prow Robot 31311a6343
Merge pull request #73148 from liggitt/remove-deprecated-swagger-paths
remove deprecated openapi paths in favor of /openapi/v2
2019-01-23 22:06:21 -08:00
Kubernetes Prow Robot c5497dc8cc
Merge pull request #73195 from shyamjvs/leave-slack-for-system-pods
Leave slack for addon pods in node's capacity
2019-01-23 19:56:44 -08:00
Kubernetes Prow Robot 9022cd6fce
Merge pull request #73156 from mortent/DaemonsetFix
Fix missing selector on daemonset in upgrade test
2019-01-23 19:56:29 -08:00
Jordan Liggitt 1a15d80967 generated 2019-01-23 16:34:44 -05:00
Jordan Liggitt 17aa60686e Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options 2019-01-23 16:34:43 -05:00
Jordan Liggitt dc1fa870bf Remove alpha InitializerConfiguration types, Initializers admission plugin 2019-01-23 11:37:39 -05:00
Thomas Runyon 5d766bdb24 Removed resetting KUBE_ROOT 2019-01-23 07:01:55 -05:00
anuj d05b399261 annotate errors in e2e tests
fixed error message

fixed uppercases

fixed typo
2019-01-23 13:10:04 +05:30
Yecheng Fu 513ae63bf6 Add a new stress test to replace old provisioner stress test 2019-01-23 13:49:41 +08:00
danielqsj 454841d100 Add missing dependency to zk install 2019-01-23 13:46:20 +08:00
Masaki Kimura b152d435ae Update fsType parameter for csi v1.0 provisioner 2019-01-23 05:26:55 +00:00
Manjunath A Kumatagi 833a28b640 increase the memory limits to max 2019-01-22 23:23:50 -06:00
Masaki Kimura 30ad1028eb Move xfs test skip logic from driver to testsuites 2019-01-23 05:17:06 +00:00
Masaki Kimura 398bf3929f Skip XFS test for csi gce-pd driver on COS 2019-01-23 05:15:24 +00:00
Masaki Kimura 3c3f85295c Improve output of fsType check for failure case in volumes test 2019-01-23 05:12:38 +00:00
Masaki Kimura b767dbdeb5 Fix volumes e2e test to check fsType 2019-01-23 05:12:37 +00:00
Shyam Jeedigunta d477bd904c Leave slack for addon pods in node's capacity 2019-01-22 20:26:02 -08:00
Shyam Jeedigunta bb23e0aec7 Avoid master ssh in eks 2019-01-22 20:21:03 -08:00
Yecheng Fu b7a33511e5 Clean up local volum provisioner e2e tests 2019-01-23 11:02:12 +08:00
Kubernetes Prow Robot e4ef6079bc
Merge pull request #73174 from jsafrane/privileged-inject
Run injector as privileged pod
2019-01-22 12:29:11 -08:00
Kubernetes Prow Robot e1e85f947e
Merge pull request #73009 from qingsenLi/k8s190117
remove unused const dockerDaemonConfigName in docker_util.go
2019-01-22 12:28:49 -08:00
Maciej Szulik 7306ee1577 Report proper namespace in TTLAfterFinished test 2019-01-22 15:42:41 +01:00
Jan Safranek 4c4401c175 Run injector as privileged pod
Privileged pod can write bypass any SELinux checks. NFS, CephFS and Gluster
test now work without setting special SELinux boolean for them.
2019-01-22 14:49:04 +01:00
Yecheng Fu e3bca51a57 Do not check events in e2e tests
events can be throttled and should not be used to validate failure
conditions in e2e tests
2019-01-22 18:24:29 +08:00
Morten Torkildsen 62c238b297 Fix for failing daemonset e2e test 2019-01-21 21:46:46 -08:00
Jordan Liggitt 52519ecb1c remove deprecated openapi paths in favor of /openapi/v2 2019-01-21 16:33:41 -05:00
Kubernetes Prow Robot f788854e98
Merge pull request #73080 from tnozicka/make-until-with-sync-wait-for-informers
Make UntilWithSync wait for integrated informers to stop
2019-01-21 13:11:20 -08:00
Kubernetes Prow Robot c336229b58
Merge pull request #72286 from smarterclayton/ssh
Support e2e testing via a bastion host for SSH commands
2019-01-21 11:54:05 -08:00
Tomas Nozicka b762d2c0d7 Make UntilWithSync wait for integrated informers to stop 2019-01-21 18:30:00 +01:00
Jan Safranek 9ed73a948c Pass the test if event is not delivered 2019-01-21 17:03:10 +01:00
Kubernetes Prow Robot e31ecf8251
Merge pull request #73091 from silveryfu/imagelocality-fix-test
Deflake ImageLocalityPriority integration test
2019-01-19 00:30:28 -08:00
Kubernetes Prow Robot fed3d755d3
Merge pull request #73016 from mkumatag/ppc64le_node_test
Bump the pod memory to higher levels to work on power
2019-01-18 19:14:15 -08:00
Kubernetes Prow Robot ef2a5b948b
Merge pull request #72138 from dims/switch-location-for-goautoneg
Switch location for goautoneg vendored code
2019-01-18 14:42:46 -08:00
Silvery Fu 537c5ed9bc Fix error-prone integration test for ImageLocalityPriority 2019-01-18 12:59:43 -08:00
qingsenLi 8098ade4dc remove unused const dockerDaemonConfigName in docker_util.go-2 2019-01-18 16:47:42 +08:00
Kubernetes Prow Robot 24643fd116
Merge pull request #72336 from danielqsj/apimetrics
Change apiserver metrics to conform metrics guidelines
2019-01-17 21:40:03 -08:00
Kubernetes Prow Robot d1c713f3bc
Merge pull request #73040 from wojtek-t/enable_node_lease_tests
Enable NodeLease tests by default
2019-01-17 17:12:10 -08:00
Kubernetes Prow Robot 865d6a71f6
Merge pull request #69902 from pbarker/audit-int
integration test for dynamic audit
2019-01-17 17:11:28 -08:00
Kubernetes Prow Robot 4531ce692a
Merge pull request #72965 from mrIncompetent/use-correct-hostname-in-conformance-tests
Use actual node hostname during test "EmptyDir Wrapper Volume, ConfigMap volumes, no race"
2019-01-17 13:51:56 -08:00
wojtekt 291d02486f Enable NodeLease tests by default 2019-01-17 20:35:51 +01:00
Marek Counts 1739e343a8 autogen files
all the autogen files that got updated due to the changes to move logs.
2019-01-17 09:16:36 -05:00
Marek Counts ba81a5409a move logs into component-base
all the code changes to move move /apiserver/pkg/util/logs into /component-base/logs
2019-01-17 09:16:21 -05:00
pontiyaraja 72b91dbd56 graceful pod termination with preStop container lifecycle hook 2019-01-17 14:51:37 +05:30
Manjunath A Kumatagi f14138c9f0 Bump the pod memory to higher levels to work on power 2019-01-17 02:37:51 -06:00
Kubernetes Prow Robot 37f8ce087b
Merge pull request #70361 from qingsenLi/git181027
fix typo "amd"
2019-01-16 19:44:37 -08:00
Kubernetes Prow Robot 3be5e73eff
Merge pull request #72989 from mbrannock/kubemark-apiserver-args
Append kubemark apiserver args after defaults
2019-01-16 18:29:36 -08:00
Kubernetes Prow Robot dced58dca9
Merge pull request #71892 from fatsheep9146/log_path_test
add test for CRI log path
2019-01-16 18:29:23 -08:00
Guoliang Wang 18434c3465 fix scheduler_perf integration test fails 2019-01-17 10:05:02 +08:00
Kubernetes Prow Robot 79c8ab456c
Merge pull request #62936 from hanxiaoshuai/bugfix0421
catch error when failed to get podList in function failureTrap
2019-01-16 17:15:04 -08:00
Patrick Barker 34d57f295f adds dynamic audit integration test generated 2019-01-16 16:27:51 -08:00
Patrick Barker d995047366 adds dynamic audit integration test 2019-01-16 16:24:02 -08:00
Kubernetes Prow Robot 5d19fda5e8
Merge pull request #72844 from dashpole/fork_bomb_test
Fix PidPressure, and add fork-bomb e2e-node test
2019-01-16 15:59:01 -08:00
Matt Brannock d8f10dcac5 Append kubemark apiserver args after defaults
This allows for overriding defaults (e.g. max requests inflight) in
prow job configs by using KUBEMARK_APISERVER_TEST_ARGS. These are
passed to the start-kubemark-master.sh script as APISERVER_TEST_ARGS.
2019-01-16 13:42:51 -08:00
Kubernetes Prow Robot 5818be6205
Merge pull request #68619 from ailusazh/CleanContainersInReconcileStateOfCpuManager
clean containers in reconcileState of cpuManager
2019-01-16 11:34:04 -08:00
Jordan Liggitt df97217f7f Update addon-manager changelog/image 2019-01-16 13:26:39 -05:00
mrIncompetent cf7a8935af Use actual node hostname during test "EmptyDir Wrapper Volume, ConfigMap volumes, no race" 2019-01-16 14:39:00 +01:00
Kubernetes Prow Robot 06e1af74ef
Merge pull request #72898 from davidz627/fix/removeImpersonation
Remove client impersonantion from ClusterRole creation
2019-01-15 23:26:30 -08:00
Kubernetes Prow Robot 9e3b0a0ebc
Merge pull request #72930 from verult/e2e-csi-topology
CSI topology e2e - fix space in Feature tag
2019-01-15 22:13:04 -08:00
Claudiu Belu fd4f55375b tests: Removed hardcoded images from yaml files
Some tests use .yaml files to deploy pods, which have hardcoded
images. Those images cannot be used for Windows containers.

The image names can be injected by the tests themselves, based on
the configured registries.
2019-01-15 20:22:19 -08:00
Kubernetes Prow Robot 7a8ac58756
Merge pull request #72924 from liggitt/remove-swagger
Remove swagger 1.2, swagger-ui
2019-01-15 20:19:20 -08:00
Davanum Srinivas 16fd72d6c9
Switch location for goautoneg vendored code
Move to github.com/munnerz/goautoneg as bitbucket is flaky!

Change-Id: Iaa6e964ef0d6f308eea59bcc6f365ecd7dbf0784
2019-01-15 21:22:03 -05:00
Thomas Runyon f47e404125 removed debugging code 2019-01-15 16:21:59 -05:00
Thomas Runyon 163844cb13 Added ability to execute subsets of cli tests 2019-01-15 16:20:50 -05:00
Kubernetes Prow Robot 9c48ca4899
Merge pull request #72823 from dims/bump-version-of-docker-to-18.09
Bump Docker supported version to 18.09
2019-01-15 11:45:06 -08:00
Cheng Xing 9864628c76 CSI topology e2e - fix space in Feature tag 2019-01-15 10:47:14 -08:00
Kubernetes Prow Robot 708c1ae161
Merge pull request #72793 from haiyanmeng/goroutine_inside_for_loop
Fix the broken for loop including goroutine
2019-01-15 10:35:21 -08:00
Jordan Liggitt 9229399bd6 Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 13:33:06 -05:00
ailusazh 10995f661d clean containers in reconcileState of cpuManager 2019-01-15 16:09:28 +08:00
Kubernetes Prow Robot d3540b90cb
Merge pull request #72735 from war-turtle/cronJobTests
makes some error messages helpful in cronjob tests
2019-01-14 22:06:03 -08:00
Kubernetes Prow Robot d2bd29fcee
Merge pull request #70923 from m1kola/fix_e2e_err_message
Fixes error message in e2e tests for kubectl port-forward
2019-01-14 14:24:01 -08:00
David Zhu 11fabf110e Remove client impersonantion from ClusterRole creation 2019-01-14 14:21:49 -08:00
Kubernetes Prow Robot 4eddb777ed
Merge pull request #72830 from palash25/annotate-errs
Annotate errors in test/e2e/network/service.go
2019-01-14 11:35:22 -08:00
Palash Nigam 5c4b05eced
Annotate errors in test/e2e/network/service.go
Related to: #34059

Removes all occurences of the "Expect(err).NotTo(HaveOccurred())"
antipattern from the aforementioned test file.
2019-01-14 23:55:16 +05:30
David Ashpole 8b440c6424 Fix PidPressure, make it evict by priority, and add fork-bomb node e2e test 2019-01-14 09:41:36 -08:00
war-turtle 6a2cdabed0 making some error messages helpful in cronjob tests 2019-01-14 21:33:05 +05:30
Kubernetes Prow Robot 35bd2a5e88
Merge pull request #72769 from zhuangqh/fix-ttlafterfinished-e2e-tag
Add alphaFeature tag to TTLAfterFinished e2e test
2019-01-14 02:39:38 -08:00
Davanum Srinivas 62fc6df5c2
Bump Docker supported version to 18.09
For 1.14, let's switch to latest Docker 18.09

Change-Id: Ib8d4d9dd3cb51cf4780623389a4bcb101d3c8fa7
2019-01-13 21:41:33 -05:00
Kubernetes Prow Robot 5fa52d6d70
Merge pull request #70619 from taragu/surface-error-replication-controller
Add error log for 'no rollbacker has been implemented for ReplicationController'
2019-01-11 23:14:49 -08:00
Cheng Xing 12ece9dacb CSI topology e2e tests 2019-01-11 18:36:06 -08:00
Justin SB dd19b923b7
Remove executable file permission from OWNERS files 2019-01-11 16:42:59 -08:00
haiyanmeng 408b5dbf59 Fix the broken for loop including goroutine
Currently, all the funcs in the for loop are bound to the same
testCase.

Also remove extra newline from one expected message
2019-01-11 14:46:24 -08:00
danielqsj 8b418631c0 Move etcd latency metrics to histogram and update test case 2019-01-11 20:38:24 +08:00
Claudiu Belu 72be895238 tests: Makes UDP testing command more Windows friendly
By default, cmd is used to execute commands in Windows containers, but it
has some issues executing the command (no output):

echo 'hostName' | nc -w 1 -u <targetIP> <targetPort>

But it has no issues running (output is correct):

echo hostName | nc -w 1 -u <targetIP> <targetPort>

This causes the test "should function for node-pod communication: udp" to
fail when using Windows Containers.
2019-01-11 03:53:28 -08:00
Kubernetes Prow Robot e44330dfab
Merge pull request #72455 from rojkov/test-e2e-node-gke
e2e-node-tests: fix path to system specs
2019-01-11 03:30:37 -08:00
zhuangqh 8b07d925a0 Add alphaFeature tag to TTLAfterFinished e2e test
Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
2019-01-11 12:07:33 +08:00
Kubernetes Prow Robot 6a8ad537a7
Merge pull request #72688 from liggitt/token-test
Update service account token mount test
2019-01-10 14:42:51 -08:00
Kubernetes Prow Robot 0f50fdc58d
Merge pull request #71667 from pohly/testfiles-absolute
e2e/framework: absolute test file paths
2019-01-10 14:42:19 -08:00
Clayton Coleman 88cac12ce8
Support e2e testing via a bastion host for SSH commands
Until we port the remaining e2e tests to use exec host pods instead
of SSH, it should be possible to use bastion host when
clusters don't expose public IPs for nodes. Testers can use the
KUBE_SSH_BASTION environment variable set to a `host:port` to
specify the host that the tests will use as a jump host.

If KUBE_SSH_BASTION is specified, the test will first connect to
the bastion using SSH and the provider private key, then establish
a tunnel from the bastion to the target node by its IP. If the
node has an external IP, the external IP must be routable from the
bastion.
2019-01-10 17:10:09 -05:00
Clayton Coleman d09a655c4c
Allow a single SSH key to be used in all providers
Support KUBE_SSH_KEY_PATH as a single environment variable that if
specified ignores the provider specific settinsg and loads the
SSH private key from the provided path. Makes it much easier to
specify a consistent signer across providers.
2019-01-10 17:10:09 -05:00
Clayton Coleman c6ae7ae3b2
Move ssh related utilities into their own file
Code movement only.
2019-01-10 17:10:04 -05:00
Kubernetes Prow Robot ee9331e585
Merge pull request #72725 from dims/fix-reference-to-non-existing-variable-in-run_test
Fix Referencing non existing var in e2e_node/conformance/run_test.sh
2019-01-10 11:16:13 -08:00
Kubernetes Prow Robot 8955857998
Merge pull request #71199 from k-toyoda-pi/fix_node_authn_e2e_test
e2e/auth: fix NodeAuthenticator tests not working
2019-01-10 02:31:28 -08:00
Kubernetes Prow Robot 0dbc99719a
Merge pull request #72076 from derekwaynecarr/pid-limiting
SupportPodPidsLimit feature beta with tests
2019-01-10 01:18:30 -08:00
Dmitry Rozhkov 43fce8d6e4 e2e-node-tests: fix path to system specs
e2e-node tests may use custom system specs for validating nodes to
conform the specs. The functionality is switched on when the tests
are run with this command:

    make SYSTEM_SPEC_NAME=gke test-e2e-node

Currently the command fails with the error:

    F1228 16:12:41.568836   34514 e2e_node_suite_test.go:106] Failed to load system spec: open /home/rojkov/go/src/k8s.io/kubernetes/k8s.io/kubernetes/cmd/kubeadm/app/util/system/specs/gke.yaml: no such file or directory

Move the spec file under `test/e2e_node/system/specs` and introduce a single
public constant referring the file to use instead of multiple private constants.
2019-01-10 10:37:55 +02:00
Kubernetes Prow Robot c9e1ffb0e7
Merge pull request #71952 from vyta/sig-windows-tests
Sig windows tests
2019-01-09 17:19:28 -08:00
Kubernetes Prow Robot 2c8b571d57
Merge pull request #71875 from wgliang/cleanup/remove-newfrom-functions
Move users of `factory.NewConfigFactory` to `scheduler.New`
2019-01-09 13:55:51 -08:00
Patrick Lang 9468ca420d Updating README.md with fixed repo-list and --node-os-distro 2019-01-09 08:51:47 -08:00
Derek Carr bce9d5f204 SupportPodPidsLimit feature beta with tests 2019-01-09 10:50:59 -05:00
Davanum Srinivas 53d0b8ce7e
Fix Referencing non existing var in e2e_node/conformance/run_test.sh
Change-Id: I16b9061c07f4a43aff9fe236892128af8697a0b4
2019-01-09 08:53:48 -05:00
Kubernetes Prow Robot cb7ba72f2a
Merge pull request #71739 from vikaschoudhary16/fix-dp-e2e
Device plugins: fix e2e test
2019-01-08 16:43:25 -08:00
Vy Ta ec8151d7bb Ran ./hack/update-gofmt.sh 2019-01-08 22:40:38 +00:00
Guoliang Wang 3c24c99b08 Move users of `factory.NewConfigFactory` to `scheduler.New` 2019-01-09 06:40:30 +08:00
Vy Ta 6ac7838a19 ran ./hack/update-bazel.sh 2019-01-08 22:39:40 +00:00
Vy Ta 5fe8825530 Adding newlines 2019-01-08 13:21:19 -08:00
Vy Ta 4bf6b670a2 fix bazel test 2019-01-08 10:45:53 -08:00
Vy Ta 765057765c golint failure updates, and added skip check for non-windows 2019-01-08 10:11:35 -08:00
Katharine Berry 8e9f8e264f Never skip multi-node conformance tests (instead just fail). 2019-01-08 09:24:43 -08:00
Patrick Lang 8f858afe69 Ran hack/update-bazel.sh 2019-01-08 08:49:54 -08:00
Jordan Liggitt 421d8649bf Update service account token mount test 2019-01-08 11:27:51 -05:00
Kubernetes Prow Robot 8327e43359
Merge pull request #72645 from liggitt/service-account-test
Wait for propagation of secret deletion
2019-01-07 15:25:31 -08:00
Kubernetes Prow Robot cd507fea85
Merge pull request #72230 from krmayankk/verify-gid
verify gid in runasuser tests
2019-01-07 15:25:00 -08:00
Kubernetes Prow Robot 998167767f
Merge pull request #71764 from linxiulei/fix_cri_pullimage
Pass PodSandboxConfig to PullImage method in CRI
2019-01-07 15:24:48 -08:00
Patrick Lang 084a763926 Maybe fix bazel build 2019-01-07 15:00:57 -08:00
Patrick Lang 210bf624ea Adding OWNERS 2019-01-07 14:47:40 -08:00
Kubernetes Prow Robot 168b4563e0
Merge pull request #68792 from johnSchnake/68747-fallbackToInternalIP
e2e: Fallback to internal IPs when using SSH in tests
2019-01-07 14:11:41 -08:00
Tara Gu 492c042d9f Surface error for run_recursive_resources_tests 2019-01-07 15:59:11 -05:00
Kubernetes Prow Robot 349ebc78bd
Merge pull request #72200 from sttts/sttts-test-graceful-shutdown
kube-apiserver: test graceful shutdown
2019-01-07 12:09:14 -08:00
Kubernetes Prow Robot 5acac9b3e2
Merge pull request #70439 from jsafrane/worlload-test
CSI: Add test for passing Pod information in NodePublish call
2019-01-07 12:08:51 -08:00
Patrick Barker c1b4ec298f removes unneeded event var from audit-proxy image 2019-01-07 10:32:14 -07:00
Patrick Barker 5971f7dd92 adds audit-proxy image for dynamic audit e2e test 2019-01-07 16:28:12 +00:00
Jordan Liggitt 1afce6db13 Wait for propagation of secret deletion 2019-01-07 08:53:06 -05:00
Vallery Lancey 5a3b8a11fc Add an e2e test for services with no endpoints (#72561) 2019-01-05 00:26:55 -08:00
Kubernetes Prow Robot 34ca1301da
Merge pull request #72537 from mortent/FixEvictionsFlake
Fix flaking evictions test
2019-01-04 20:11:32 -08:00
Kubernetes Prow Robot 48c2a5ceda
Merge pull request #72585 from dims/add-debug-logs-for-etcd-server
Add debug logs for etcd server in integration tests
2019-01-04 18:56:35 -08:00
Davanum Srinivas 8c8c01f913
Add debug logs for etcd server in integration tests
Change-Id: Ic1dd8a7c7e0adef27b969007e24c2eb089d6bb12
2019-01-04 15:22:29 -05:00
Kubernetes Prow Robot 3724e2e5a0
Merge pull request #71489 from tallclair/audit-test
Split audit test cases into separate tests
2019-01-04 09:02:24 -08:00
Jan Safranek e1556c1549 Fix hostpath driver name 2019-01-04 17:26:24 +01:00
Kubernetes Prow Robot a103bddc2a
Merge pull request #72354 from globervinodhn/conformance-slow
Remove SLOW tag from Probing container and EmptyDir Wrapper Volume
2019-01-03 20:21:53 -08:00
Michelle Au 6279515914 Add e2e test for removing the subpath directory 2019-01-03 16:35:54 -08:00
Kubernetes Prow Robot 18778ea4a1
Merge pull request #72521 from dims/ensure-capture-of-http-and-trace-logs
Ensure we capture http and trace related logs
2019-01-03 15:52:06 -08:00
Kubernetes Prow Robot 47f2f7a53a
Merge pull request #72410 from pohly/storage-gcepd-config-fix
e2e/storage: reset driver config in the test suite
2019-01-03 15:51:44 -08:00
Kubernetes Prow Robot 1061f31644
Merge pull request #71188 from taragu/readonly-test-validate-readonly-io
Add test case for validate container cannot write to readonly volumes
2019-01-03 15:51:23 -08:00
Tara Gu fb324249c2 Add test case for validate container cannot write to readonly volumes 2019-01-03 15:24:31 -05:00
Morten Torkildsen 4b3078fe9a Fix flaking evictions test 2019-01-03 11:45:29 -08:00
Justin SB 19a5528a65
Remove executable permission from testdata 2019-01-03 12:21:31 -05:00
Davanum Srinivas e6f8e51c50
Ensure we capture http and trace related logs
When we are running apiserver related code, we do not currently capture
the logs from `httplog.NewLogged` and `trace.LogIfLong` since the
default log verbosity is not set. So just make sure we have a minimum
verbosity set in these circumstance.

Change-Id: I64a30029778615e679b244ddba801833218d1573
2019-01-03 11:03:12 -05:00
Dr. Stefan Schimanski 00a717b572 apiserver: start only one compactor per unique storage transport config 2019-01-03 12:01:47 +01:00
Jan Safranek d617dcb1e0 CSI: Add test for passing Pod information in NodePublish call 2019-01-02 16:11:41 +01:00
Dr. Stefan Schimanski a2e19f1228 kube-apiserver: add e2e graceful shutdown integration test 2019-01-02 15:26:04 +01:00
Dr. Stefan Schimanski 7b242533a2 apiserver: separate transport setting from storagebackend.Config 2019-01-02 12:52:38 +01:00
Kubernetes Prow Robot 6e182ed5ea
Merge pull request #71816 from liggitt/service-account-lookup
Look up service accounts from informer before trying live lookup
2018-12-31 21:18:55 -08:00
Kubernetes Prow Robot 65fdea80e7
Merge pull request #71922 from vikramk7/master
Make error messages more helpful in some e2e tests
2018-12-31 20:07:35 -08:00
globervinodhn b3217cc624 Remove SLOW tag from KUBEDESCRIBE and SIGDESCRIBE
Remove SLOW tag and update description for KUBEDESCRIBE(Probing container) and SIGDESCRIBE(EmptyDir Wrapper Volume)

Remove slow references for tests that execute below 5 minutes
2018-12-31 13:13:11 +05:30
Kubernetes Prow Robot 65f87b5a4a
Merge pull request #72259 from bsalamat/fix_nominated_node
Fix a race in setting nominated node and the scheduling cycle after it.
2018-12-30 00:01:26 -08:00
Bobby (Babak) Salamat b75672c4ba autogenerated files 2018-12-29 22:54:15 -08:00
Kubernetes Prow Robot 74f779fbb5
Merge pull request #69087 from tanshanshan/error926
make sure to check for errors and close the request body in the cluster size autoscaling e2e test
2018-12-29 01:58:26 -08:00
John Schnake 23a7538c4d e2e: Fallback to internal IPs when using SSH in tests
Some tests which utilized SSH to run commands on nodes would
first look for external IPs but fall back to internal IPs
since those could be reachable by the testing program.

This change adds that same fallback logic to another method
used to find the appropriate SSH address for each node.

Fixes #68747
2018-12-28 20:35:35 -06:00
Patrick Ohly 98ba1d8519 e2e/storage: reset driver config in the test suite
PR #70862 made each driver responsible for resetting its config, but
as it turned out, one place was missed in that PR: the in-tree gcepd
sets a node selector. Not resetting that caused other tests to fail
randomly depending on test execution order.

Now the test suite resets the config by taking a copy after setting up
the driver and restoring that copy before each test.

Long term the intention is to separate the entire test config from the
static driver info (https://github.com/kubernetes/kubernetes/issues/72288),
but for now resetting the config is the fastest way to fix the test flake.

Fixes: #72378
2018-12-28 22:44:09 +01:00
Kubernetes Prow Robot a6ba2ebf85
Merge pull request #72376 from liggitt/filter-ns-debugging
Filter resources logged by e2e ns debugging
2018-12-27 22:38:56 -08:00
Vy Ta ecee40158c Adding Feature tag 2018-12-27 15:55:10 -07:00
Vy Ta 8d3ea6590d Adding diff summary 2018-12-27 15:51:44 -07:00
Vy Ta 906aceb89a Making requested changes 2018-12-27 15:46:26 -07:00
Jordan Liggitt 73dcfe12da Stop checking VolumeScheduling feature gate 2018-12-27 17:45:45 -05:00
Jordan Liggitt 78c987751c Filter resources logged by e2e ns debugging 2018-12-27 14:35:11 -05:00
Wei Huang 5492e2f8c3
move resource_quota e2e test to apimachinery folder 2018-12-27 10:45:41 -08:00
Bobby (Babak) Salamat 5581497846 Add a test that reproduces the race condition between setting nominated node name of a pod and scheduling cycle of other pods 2018-12-27 02:15:59 -08:00
Jordan Liggitt e243e646fc Fix create secret docker-registry compatibility 2018-12-26 11:11:29 -05:00
fatsheep9146 77eadd376b add test for CRI log path 2018-12-26 16:09:15 +08:00
danielqsj 94d1050303 Change docker metrics to conform guideline 2018-12-26 15:58:04 +08:00
Vikram Krishnamurthy da0896c101 Make error messages more helpful in some e2e tests 2018-12-25 11:13:03 -08:00
Shyam Jeedigunta ce79d27048 Add eks case to GetSigner() 2018-12-24 16:50:45 -08:00
Kubernetes Prow Robot eb79f8f279
Merge pull request #69615 from k82cn/update_node_ns
Fixed node namespace to none.
2018-12-23 23:39:09 -08:00
Kubernetes Prow Robot 37dc6789d7
Merge pull request #71978 from denkensk/move-predicate-types
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
Kubernetes Prow Robot e3bf5dbc5b
Merge pull request #70862 from pohly/e2e-storage-tests
e2e storage tests: usable out-of-tree
2018-12-21 16:03:41 -08:00