Patrick Ohly
cf805f5af4
update Bazel files
2019-03-13 19:06:56 +01:00
Patrick Ohly
e8a7cee43e
test: remove k8s.io/apiextensions-apiserver from framework
...
There are two reason why this is useful:
1. less code to vendor into external users of the framework
The following dependencies become obsolete due to this change (from `dep`):
(8/23) Removed unused project github.com/grpc-ecosystem/go-grpc-prometheus
(9/23) Removed unused project github.com/coreos/etcd
(10/23) Removed unused project github.com/globalsign/mgo
(11/23) Removed unused project github.com/go-openapi/strfmt
(12/23) Removed unused project github.com/asaskevich/govalidator
(13/23) Removed unused project github.com/mitchellh/mapstructure
(14/23) Removed unused project github.com/NYTimes/gziphandler
(15/23) Removed unused project gopkg.in/natefinch/lumberjack.v2
(16/23) Removed unused project github.com/go-openapi/errors
(17/23) Removed unused project github.com/go-openapi/analysis
(18/23) Removed unused project github.com/go-openapi/runtime
(19/23) Removed unused project sigs.k8s.io/structured-merge-diff
(20/23) Removed unused project github.com/go-openapi/validate
(21/23) Removed unused project github.com/coreos/go-systemd
(22/23) Removed unused project github.com/go-openapi/loads
(23/23) Removed unused project github.com/munnerz/goautoneg
2. works around https://github.com/kubernetes/kubernetes/issues/75338
which currently breaks vendoring
Some recent changes to crd_util.go must now be pulling in the broken
k8s.io/apiextensions-apiserver packages, because it was still working
in revision 2e90d92db9
(as demonstrated by
586ae281ac
).
2019-03-13 19:05:13 +01:00
Kubernetes Prow Robot
118e33dfcd
Merge pull request #72092 from vllry/move-gce-test-manifests
...
Move e2e ingress test manifests for GCE to a subdirectory
2019-03-13 10:39:35 -07:00
Kubernetes Prow Robot
2748ac6210
Merge pull request #75305 from justinsb/workaround_once_mutex_issue
...
Speculative workaround for #74890
2019-03-13 05:49:33 -07:00
Kubernetes Prow Robot
60d0ec579b
Merge pull request #75301 from dashpole/plugin_watcher_fix
...
remove DevicePlugin test for feature gate that can no longer be set
2019-03-12 23:53:42 -07:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
...
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Mayank Kumar
c4e0ede58b
add missing psp e2e tests for runasgroup
2019-03-12 22:07:07 -07:00
Kubernetes Prow Robot
93402fc8e8
Merge pull request #75277 from jennybuckley/fix-ints
...
Fix server side apply int/float bug
2019-03-12 17:36:40 -07:00
Justin SB
803de74685
Speculative workaround for #74890
...
We try using an atomic with a CAS, as a potential workaround for
issue #74890 .
Kudos to @neolit123 for the investigation & idea.
This is a speculative workaround - we are really seeing if this is
better; if not we should revert.
If it is better we should file a bug against go 1.12, and then revert!
Issue #74890
2019-03-12 18:09:01 -04:00
Kubernetes Prow Robot
c67e16c74f
Merge pull request #75272 from gnufied/add-pod-information-on-error
...
Add pod information when max volume condition is missing
2019-03-12 13:19:31 -07:00
Kubernetes Prow Robot
11b9ebf113
Merge pull request #75225 from jingxu97/pd_windows_test
...
Add bracket to the sig-window tag and other fixes
2019-03-12 13:19:19 -07:00
Kubernetes Prow Robot
02b6557e49
Merge pull request #75081 from freehan/flaky-test
...
beef up NEG tests
2019-03-12 13:18:53 -07:00
Kubernetes Prow Robot
f33e5e8f7a
Merge pull request #74394 from thockin/proxy-reject-lb-no-endpoints
...
Kube-proxy: ICMP reject via LBs when no endpoints
2019-03-12 13:18:40 -07:00
David Ashpole
e64c08f869
remove DevicePlugin test for feature gate that can no longer be set
2019-03-12 12:58:23 -07:00
jennybuckley
10259c959e
Fix int/float apply bug
2019-03-11 23:07:21 -07:00
Kubernetes Prow Robot
eb6a1b651c
Merge pull request #72942 from caesarxuchao/expose-storage-version-hash
...
Populate the storage version hash
2019-03-11 21:36:36 -07:00
Tim Hockin
de25d6cb95
Kube-proxy: REJECT LB IPs with no endpoints
...
We REJECT every other case. Close this FIXME.
To get this to work in all cases, we have to process service in
filter.INPUT, since LB IPS might be manged as local addresses.
2019-03-11 20:33:45 -07:00
Tim Hockin
382f5c83c0
Retool HTTP and UDP e2e utils
...
This is a prefactoring for followup changes that need to use very
similar but subtly different test. Now it is more generic, though it
pushes a little logic up the stack. That makes sense to me.
2019-03-11 20:33:35 -07:00
Kubernetes Prow Robot
c094f873a9
Merge pull request #75206 from liggitt/node-lease
...
deflake nodelease test
2019-03-11 20:24:36 -07:00
Jing Xu
3718f4e0ed
Add bracket to the sig-window tag
...
Need to add bracket in the tag for sig-windows. Also fix an issue: for
current testing structure, it first init driver and then set up the
framework. So when initialize the driver, it does not know what OS is
and we can not set up the capabilities correctly. Instead we have to add
all the capabilities and supported fs types including both linux and
windows. Later in the code, we will check the Node OS and decide how to
run the test.
2019-03-11 18:40:45 -07:00
Hemant Kumar
cc61632255
Add pod information when max volume condition is missing
2019-03-11 17:11:56 -04:00
Tim Hockin
19e333b5cc
Fix small race in e2e
...
Occasionally we get spurious errors about "no route to host" when we
race with kube-proxy. This should reduce that. It's mostly just log
noise.
2019-03-11 12:40:28 -07:00
Chao Xu
887cb93d8d
generated BUILD
...
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4
Expose storage version hash
2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot
4ea48886df
Merge pull request #75008 from nikopen/patch-4
...
rebase audit-proxy image to distroless/static
2019-03-11 09:39:40 -07:00
Manjunath A Kumatagi
3818f64780
Refactor the node perf tests to run on non-amd64 cluster
2019-03-10 19:23:24 +05:30
Kubernetes Prow Robot
01c9edf7fa
Merge pull request #75133 from pohly/storage-external-snapshot
...
e2e: external snapshotter
2019-03-09 16:29:26 -08:00
Kubernetes Prow Robot
92b66c5c02
Merge pull request #75151 from jennybuckley/fix-conversion-bug
...
Fix apply conversion bug
2019-03-09 15:15:26 -08:00
Kubernetes Prow Robot
faaec7f997
Merge pull request #75177 from mm4tt/node-problem-detector
...
Disable NodeProblemDector test in large clusters.
2019-03-09 11:31:29 -08:00
jennybuckley
2fdc7e1f35
add test to verify fix
2019-03-08 22:35:33 -08:00
Kubernetes Prow Robot
0b4275b6c7
Merge pull request #74760 from apelisse/add-mangerfield-flag
...
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
2019-03-08 22:27:29 -08:00
Kubernetes Prow Robot
b150560107
Merge pull request #74441 from Random-Liu/pod-log-directory
...
Add namespace and name into the CRI pod log directory
2019-03-08 20:43:30 -08:00
Kubernetes Prow Robot
968d833617
Merge pull request #75073 from grayluck/esipp
...
Allow session affinity a period of time to setup for new services.
2019-03-08 19:17:30 -08:00
Kubernetes Prow Robot
41b544bcf7
Merge pull request #75003 from tallclair/runtimeclass-beta
...
Promote RuntimeClass to beta
2019-03-08 18:02:12 -08:00
Lantao Liu
f14c6c95d6
New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Antoine Pelisse
eb904d8fa8
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
...
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".
The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Kubernetes Prow Robot
5bfbb89f35
Merge pull request #75192 from andrewsykim/area-test
...
add label area/test in k8s.io/kubernetes/test/*
2019-03-08 15:41:24 -08:00
Kubernetes Prow Robot
d778b9308a
Merge pull request #75063 from wangzhen127/npd-test-fix
...
Fix NPD e2e test on Ubuntu node and update NPD container version
2019-03-08 14:19:09 -08:00
Jordan Liggitt
5b0099785e
deflake nodelease test
2019-03-08 16:31:05 -05:00
Tim Allclair
0604256d6c
Update tests for RuntimeClass beta
2019-03-08 13:21:52 -08:00
Tim Allclair
bc01f97055
Promote RuntimeClass to beta
2019-03-08 13:21:52 -08:00
Minhan Xia
1065a473da
beef up NEG tests
2019-03-08 11:33:38 -08:00
Kubernetes Prow Robot
583ff363fa
Merge pull request #75131 from gnufied/increase-pod-wait-time
...
Fix emptydir e2e flake
2019-03-08 09:17:28 -08:00
Andrew Kim
941966c31d
add label area/test in k8s.io/kubernetes/test/*
2019-03-08 11:56:19 -05:00
Hemant Kumar
a8f318779b
Add CSI volume resizing tests
...
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Matt Matejczyk
2f7cb25bbb
Disable NodeProblemDector test in large clusters.
...
It's suspected of causing timeouts in scalability 5k node cluster
tests, see https://github.com/kubernetes/kubernetes/issues/75095#issuecomment-470912583
2019-03-08 13:35:12 +01:00
Kubernetes Prow Robot
eaa78b88ac
Merge pull request #75152 from pjh/gce-windows-dns-testfix
...
Don't test metadata server connectivity from GCE Windows pods.
2019-03-08 00:54:02 -08:00
Kubernetes Prow Robot
af62ad0ca7
Merge pull request #75141 from liggitt/deflake-max_json_patch_operations_test
...
Ensure namespaces exist on start
2019-03-08 00:53:48 -08:00
Kubernetes Prow Robot
5c2fe63591
Merge pull request #75116 from adelina-t/patch-1
...
Update gmsa test
2019-03-07 22:44:33 -08:00
Kubernetes Prow Robot
535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
...
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Bin Lu
973a3c7233
Add bazel-test-integration for Arm64
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Kubernetes Prow Robot
788f24583e
Merge pull request #74990 from jingxu97/pd_windows_test
...
Add GCE PD tests for windows cluster
2019-03-07 21:20:23 -08:00
Kubernetes Prow Robot
183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
...
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Kubernetes Prow Robot
ad27abde62
Merge pull request #74835 from davidz627/feature/adcFallback
...
Add logic for initializing CSINode on Node startup for CSI Migration [Replaces #70909 ]
2019-03-07 18:39:25 -08:00
Peter Hornyack
c88085dff2
Don't test metadata server connectivity from GCE Windows pods.
...
Windows containers do not include a route to the GCE metadata server by
default. This check is causing the "DNS should provide DNS for the
cluster" test to fail for clusters with Windows nodes
(https://testgrid.k8s.io/sig-windows#gce-windows-master&width=20 ).
Tested that this works by running "DNS should provide DNS for the
cluster" against an e2e cluster with Windows nodes brought up on GCE.
2019-03-07 17:51:17 -08:00
yankaiz
70c42380f7
Allow session affinity a period of time to setup for new services.
...
This is to deal with the flaky session affinity test.
2019-03-07 17:34:40 -08:00
Kubernetes Prow Robot
e8daa90ca7
Merge pull request #75124 from gnufied/fix-attach-limit-flake
...
Fix volume attach limit flake
2019-03-07 16:13:05 -08:00
Kubernetes Prow Robot
2b354f3857
Merge pull request #73383 from danielqsj/zkr
...
bump zookeeper-installer image version in e2e
2019-03-07 16:12:09 -08:00
David Ashpole
6051664c0f
add kubelet prometheus resource metrics endpoint
2019-03-07 15:39:37 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
Jordan Liggitt
8f47501418
Ensure namespaces exist on start
2019-03-07 15:09:46 -05:00
Tim Allclair
222988bdda
Migrate to internal node.k8s.io client
2019-03-07 11:57:12 -08:00
Tim Allclair
820a1dc96b
Add node.k8s.io/v1beta1 API
2019-03-07 11:57:12 -08:00
Hemant Kumar
93c2a1af3f
Fix emptydir e2e flake
...
Wait forver and reduce grace period deletion
2019-03-07 14:35:39 -05:00
Hemant Kumar
9d78c96e56
Fix volume attach limit flake
...
It looks like node does become unschedulable for the pod
but condition does not get added to the pod in time.
Also ginkgo could retry the test and hence it helps to use
unique node label for scheduling.
2019-03-07 12:35:52 -05:00
Jing Xu
18be0a49e6
Add GCE PD tests for windows cluster
...
This PR is the first one to add a few GCE PD tests for windows cluster. Will
add more tests in later PRs
2019-03-07 09:13:56 -08:00
Patrick Ohly
e84271ed8a
e2e/storage: allow empty volume type
...
This can happen when the test pattern is about snapshotting.
2019-03-07 16:57:16 +01:00
Adelina Tuvenie
90b8c877ed
Update gmsa test
...
Wait for the container to be in Running state before running any command.
2019-03-07 17:04:25 +02:00
Patrick Ohly
915d6365f1
e2e/storage: fix snapshot support in external driver testing
...
When using an already installed driver, the snapshot name is the
original driver name. Renaming was incorrectly copied from the in-tree
CSI hostpath driver.
2019-03-07 15:45:40 +01:00
Kubernetes Prow Robot
dcbe588f76
Merge pull request #74938 from brusMX/win-e2e-nodeport
...
Creating NodePort test for Windows
2019-03-07 06:35:05 -08:00
Kubernetes Prow Robot
0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
...
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Kubernetes Prow Robot
bf4e93da57
Merge pull request #75067 from msau42/csi-beta-e2e
...
make CSI PD tests serial
2019-03-07 02:23:12 -08:00
Kubernetes Prow Robot
6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
...
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Kubernetes Prow Robot
9ce5966ff0
Merge pull request #74832 from roycaihw/kubectl-crd-test
...
kubectl e2e: test client-side validation behavior on CustomResources
2019-03-06 22:55:21 -08:00
Kubernetes Prow Robot
96ee0d0977
Merge pull request #74738 from wk8/wk8/gmsa_e2e
...
Adding an e2e test on Windows GMSA support
2019-03-06 22:55:09 -08:00
Zhen Wang
f4d9e7d992
Fix NPD e2e test on Ubuntu node and update NPD container version
2019-03-06 22:42:47 -08:00
Haowei Cai
54b99413b2
generated
2019-03-06 20:36:40 -08:00
Haowei Cai
867cdce212
apiextensions: add openapi publishing unit+integration+e2e tests
...
Co-authored-by: Maciej Szulik <maszulik@redhat.com>
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 20:36:23 -08:00
Kubernetes Prow Robot
88a685feef
Merge pull request #74807 from runyontr/test-cmd-kubeadm-isolation
...
Kubeadm test Isolation: #74464
2019-03-06 17:59:52 -08:00
Kubernetes Prow Robot
8178fa1b13
Merge pull request #72836 from pohly/storage-test-plugin
...
e2e/storage: testing of external storage drivers
2019-03-06 17:59:11 -08:00
Kubernetes Prow Robot
ab7a48d796
Merge pull request #70036 from pbarker/audit-etoe
...
dynamic audit e2e test
2019-03-06 17:58:58 -08:00
Jean Rouge
b721f8e339
Adding an e2e test on Windows GMSA support
...
This patch is adding an e2e on the Windows GMSA support added in
https://github.com/kubernetes/kubernetes/pull/73726 and
https://github.com/kubernetes/kubernetes/pull/74737 .
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Jean Rouge
1d1a765e79
Updating Windows' e2e tests' README to the official repo list
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Michelle Au
8b97e2ab7c
make CSI PD tests serial
2019-03-06 15:11:50 -08:00
Patrick Ohly
6644db9914
e2e/storage: testing of external storage drivers
...
It is useful to apply the storage testsuite also to "external" (=
out-of-tree) storage drivers. One way of doing that is setting up a
custom E2E test suite, but that's still quite a bit of work.
An easier alternative is to parameterize the Kubernetes e2e.test
binary at runtime so that it instantiates the testsuite for one or
more drivers. Some parameters have to be provided before starting the
test because they define configuration and capabilities of the driver
and its storage backend that cannot be discovered at runtime. This is
done by populating the DriverDefinition with the content of the file
that the new -storage.testdriver parameters points to.
The universal .yaml and .json decoder from Kubernetes is used. It's
flexible, but has some downsides:
- currently ignores unknown fields (see https://github.com/kubernetes/kubernetes/pull/71589 )
- poor error messages when fields have the wrong type
Storage drivers have to be installed in the test cluster before
starting e2e.test. Only tests involving dynamically provisioned
volumes are currently supported.
2019-03-06 22:06:31 +01:00
Kubernetes Prow Robot
7fbfe70147
Merge pull request #74958 from dims/Promote-mkumatag-to-approver
...
Promote mkumatag to approver in test/images
2019-03-06 12:54:48 -08:00
Bruno Medina
7cbbfcc9ef
Creating NodePort test for Windows
...
Co-authored-by: Muzz Imam <muzzz.imam@gmail.com>
2019-03-06 12:29:38 -08:00
Ben Swartzlander
1493e684d3
Promote CSI raw blocks to beta
2019-03-06 13:43:52 -05:00
Kubernetes Prow Robot
c4fd78e7c9
Merge pull request #74993 from msau42/csi-beta-e2e
...
e2e test updates for CSIDriver and CSINode beta
2019-03-06 08:24:38 -08:00
Kubernetes Prow Robot
d99979f8b5
Merge pull request #75015 from cofyc/fix73168-disable-temporarily
...
Disable "should set different fsGroup for second pod if first pod is deleted" temporarily
2019-03-06 04:46:10 -08:00
Niko Pen
58c7b5de9c
version bump
2019-03-06 12:33:38 +00:00
Kubernetes Prow Robot
87f9429087
Merge pull request #75011 from msau42/fix-readonly-e2e
...
don't check for container status ready in subpath test
2019-03-06 03:26:47 -08:00
Kubernetes Prow Robot
3213a6d61f
Merge pull request #74989 from liggitt/webhook-test-namespace
...
Scope slow/failing webhook to test namespace
2019-03-06 03:26:26 -08:00
Kubernetes Prow Robot
e1c5e8394e
Merge pull request #71950 from bclau/fix-max-backoff-test-flake
...
tests: getRestartDelay waits for the next Terminated state
2019-03-06 03:26:04 -08:00
Kubernetes Prow Robot
62065bd27d
Merge pull request #74964 from bclau/tests/externalname-retry
...
tests: Adds retry for dig for ExternalName test
2019-03-06 02:08:23 -08:00
Kubernetes Prow Robot
9c75270b2b
Merge pull request #74905 from stevesloka/numNodesLookup
...
If num-nodes is not set, then look up via API how many are scheduleable
2019-03-06 00:44:49 -08:00
Kubernetes Prow Robot
8060c94503
Merge pull request #74743 from lee0c/lecattar/win-mem-limits
...
Windows nodeAllocatable test
2019-03-06 00:44:17 -08:00
Kubernetes Prow Robot
7304c50ef5
Merge pull request #74655 from bclau/tests/windows-gcrio
...
tests: Adds gcr.io Windows image test case
2019-03-06 00:44:06 -08:00
Michelle Au
afbc8a5056
e2e test updates for beta
2019-03-05 20:24:59 -08:00
Yecheng Fu
05fe7094d5
Disable "should set different fsGroup for second pod if first pod is deleted" test temporarily
2019-03-06 10:46:17 +08:00