Kubernetes Prow Robot
9e70d6f805
Merge pull request #91738 from jsafrane/fix-iscsi-metadata
...
iscsi: don't write json medata file when the volume is already mounted.
2020-07-04 16:06:48 -07:00
Divyen Patel
c1335087e4
fixed e2e vsphere statefulsets test
2020-07-03 21:28:15 -07:00
Kubernetes Prow Robot
efb56da4a5
Merge pull request #92665 from klueska/upstream-add-get-preferred-allocation-api
...
Add GetPreferredAllocation() call to the v1beta1 device plugin API
2020-07-03 20:31:16 -07:00
Patrick Ohly
9a66e8e1b5
CSIStorageCapacity: 'make update'
2020-07-03 21:54:14 +02:00
Patrick Ohly
22aeb81e84
CSIStorageCapacity: CSIStorageCapacity API
...
This adds the CSIStorageCapacity API change for
https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1472-storage-capacity-tracking
2020-07-03 21:54:14 +02:00
Kubernetes Prow Robot
a472138c1f
Merge pull request #92724 from chelseychen/event-e2e
...
Update Event CRUD tests to use events.k8s.io/v1
2020-07-03 07:54:47 -07:00
Kevin Klues
cbd405d85c
Update existing tests in support of GetPreferredallocation()
2020-07-03 13:01:32 +00:00
fatedier
78b5003e88
update e2e test
2020-07-03 20:31:00 +08:00
Kubernetes Prow Robot
d5f76a9c6f
Merge pull request #92764 from sjenning/add-new-kubelet-approvers-to-cmd
...
add dashpole and sjenning to cmd/kubelet OWNERS
2020-07-03 05:04:21 -07:00
Kubernetes Prow Robot
5da9ba51cd
Merge pull request #92750 from wawa0210/e2e-app-staticcheck
...
fix test/e2e/apps staticcheck
2020-07-03 05:04:12 -07:00
Kubernetes Prow Robot
b6cbe1b8de
Merge pull request #92662 from chelseychen/event-api-fallback
...
Switch event recorder to use events.k8s.io/v1
2020-07-03 05:03:15 -07:00
Kubernetes Prow Robot
6da40542e7
Merge pull request #92706 from nodo/scheduler-integration-test-add-labels-cleanup
...
Create nodes with labels instead of adding them later
2020-07-02 17:46:47 -07:00
Stephen Heywood
0da98ad96f
Promote: PodTemplate delete a collection test
2020-07-03 00:02:58 +00:00
Seth Jennings
b1f91d33e7
add dashpole and sjenning to cmd/kubelet OWNERS
2020-07-02 14:20:41 -05:00
Chelsey Chen
ade2422883
Switch event recorder to use events.k8s.io/v1
2020-07-02 14:50:41 -04:00
Amim Knabben
2a392bf8fc
Fetching kubelet address:port from kubelet configuration
2020-07-02 14:15:44 -04:00
Chelsey Chen
b0a0335baf
Switch Event CRUD tests to use events.k8s.io/v1
2020-07-02 09:03:36 -04:00
Kubernetes Prow Robot
3f585835d0
Merge pull request #92713 from liggitt/deflake-list-rv-0
...
Deflake TestListResourceVersion0
2020-07-02 04:18:07 -07:00
Kubernetes Prow Robot
d07095d425
Merge pull request #92711 from alejandrox1/rename-image-prepull-lists
...
Renamed image "white lists" to pre-pull image lists in test
2020-07-02 04:17:58 -07:00
Kubernetes Prow Robot
f023f5832b
Merge pull request #92705 from pohly/nested-directories-podlogs
...
e2e pod logs: use hierarchical directory structure
2020-07-02 04:17:48 -07:00
Kubernetes Prow Robot
1b871091b9
Merge pull request #91645 from chelseychen/event-api
...
Promote new Event API to v1
2020-07-02 04:16:46 -07:00
wawa0210
9d1948a2f5
fix test/e2e/apps staticcheck
2020-07-02 18:14:12 +08:00
Anders Eknert
b423216a3b
Presence of bearer token should cancel exec action
...
If a bearer token is present in a request, the exec credential plugin should accept that as the chosen method of authentication. Judging by an [earlier comment in exec.go](c18bc7e9f7/staging/src/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go (L217)
), this was already intended. This would however not work since UpdateTransportConfig would set the GetCert callback which would then get called by the transport, triggering the exec plugin action even with a token present in the request. See linked issue for further details.
See #87369 for further details.
Signed-off-by: Anders Eknert <anders.eknert@bisnode.com>
2020-07-02 12:12:32 +02:00
Andrea Nodari
a759fb20ff
Create nodes with labels instead of adding them later
2020-07-02 08:56:32 +02:00
Kubernetes Prow Robot
f7a13de36c
Merge pull request #92667 from liggitt/admission-warnings
...
Admission webhook warnings
2020-07-01 23:14:17 -07:00
Kubernetes Prow Robot
94e1c54735
Merge pull request #92655 from BenTheElder/cleanup-some-owners
...
Cleanup some owners
2020-07-01 23:14:08 -07:00
Kubernetes Prow Robot
343995e8e2
Merge pull request #92532 from ii/heyste-get-code-version-test
...
Create checkServerVersion Test - 1 Endpoint Coverage
2020-07-01 23:13:17 -07:00
Stephen Heywood
bcd7d08616
Reduce log verbosity
2020-07-01 21:04:59 +00:00
Stephen Heywood
ec949fc50b
Update to keep logging consistent
2020-07-01 19:43:44 +00:00
Kubernetes Prow Robot
da54185c9e
Merge pull request #92607 from chelseychen/event-e2e
...
Add CRUD tests for new Events API verbs
2020-07-01 11:30:17 -07:00
Jordan Liggitt
017a6febe5
Deflake TestListResourceVersion0
2020-07-01 13:59:40 -04:00
alejandrox1
4338053d8f
Renamed image "white lists" to pre-pull image lists in test
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-07-01 13:48:47 -04:00
Jordan Liggitt
5eef60a00a
Add warnings capability for admission webhooks
2020-07-01 12:14:06 -04:00
Chelsey Chen
75612c1746
Promote new Event API to v1
2020-07-01 10:50:28 -04:00
Chelsey Chen
e5bba7f512
Add CRUD tests for new Event API verbs
2020-07-01 10:21:57 -04:00
Kubernetes Prow Robot
3d912dd072
Merge pull request #76828 from claudiubelu/images/goarm-var
...
images: Adds GOARM to images' Makefiles
2020-07-01 07:10:18 -07:00
Patrick Ohly
8f55fad7bb
e2e pod logs: use hierarchical directory structure
...
When using the entire test name as file name, the name became too
long (> 256 characters, which wasn't supported by all file systems)
and the artifact directory got cluttered.
The original reason (a limitation in Gubernator) no longer applies
because Spyglass is used now for log viewing.
2020-07-01 16:01:18 +02:00
Antonio Ojea
2cbcd79ba5
conntrack e2e test debug connections
...
dump conntrack udp information after each step
2020-07-01 12:39:42 +02:00
Kubernetes Prow Robot
4c853bb28f
Merge pull request #92644 from wojtek-t/informers_readyz
...
Wait for all informers to sync in /readyz.
2020-07-01 02:54:30 -07:00
Kubernetes Prow Robot
897dc66b0e
Merge pull request #92400 from spiffxp/decouple-testfiles
...
decouple testfiles from framework
2020-07-01 00:07:08 -07:00
Stephen Heywood
e7f603c29a
Correct BaseName for NewDefaultFramework
2020-07-01 05:58:17 +00:00
Maciej Borsz
3f68000203
Wait for all informers to sync in /readyz.
2020-07-01 07:40:39 +02:00
Stephen Heywood
eb8ddc464a
Add check on deleteCollection, improve logging
2020-07-01 02:46:34 +00:00
Stephen Heywood
4069194aea
Fix naming for server version
2020-07-01 02:16:38 +00:00
Stephen Heywood
c4e10c29ba
Rename get-code-version references to get-server-version
2020-07-01 00:04:39 +00:00
Benjamin Elder
a7c4ec1ee9
promote neolit123 to test/ approver
2020-06-30 09:36:38 -07:00
Andrea Nodari
2e1042f959
Use NodeWrapper to directly initialize node with labels
...
Using NodeWrapper in the integration tests gives more flexibility when
creating nodes. For instance, tests can create nodes with labels or
with a specific sets of resources.
Also, NodeWrapper initialises a node with a capacity of 32 pods, which
can be overridden by the caller. This makes sure that a node is usable
as soon as it is created.
2020-06-30 17:18:15 +02:00
Kubernetes Prow Robot
2e2859a11a
Merge pull request #92588 from aojea/e2enet
...
e2e networking: wait for endpoints to be published
2020-06-30 00:03:45 -07:00
Aaron Crickenberger
225e7c75b5
Reorder checks slightly, add a list-by-namespace call
...
Now the test covers 6 different api calls
- verify create with a get
- verify patch with a list (all namespaces)
- verify delete with a list (single namespace)
2020-06-29 19:03:44 -07:00
Aaron Crickenberger
121676e220
Drop the use of watchtools
...
The thing is, for this test at least, I'm pretty sure there's nothing
we need to wait on. Instead of waiting for a deleted event, we will
relist configmaps and expect 0, to confirm the deletion took effect
2020-06-29 19:02:15 -07:00
Kubernetes Prow Robot
9fb637152c
Merge pull request #92603 from hasheddan/schedule-part-three
...
Do not raise exception if unscheduled Pod status is unknown
2020-06-29 18:35:36 -07:00
Kubernetes Prow Robot
281023790f
Merge pull request #92501 from rakeshreddybandi/rename-plugin
...
Rename DefaultPodTopologySpread plugin #91994
2020-06-29 18:34:58 -07:00
Stephen Heywood
469e22a09e
Use regexp to check server version
2020-06-30 01:16:16 +00:00
Aaron Crickenberger
28768166f5
decouple testfiles from framework
...
This drops testfiles.ReadOrDie and updated testfiles.Exists to return an
error, forcing the caller to decide whether to call framework.Fail or do
something else.
It makes for a slightly less friendly API, but also means the package is
decoupled from framework again, as per the comments at the top of the
file
2020-06-29 14:54:09 -07:00
Aaron Crickenberger
0a869ac043
Use different resource versions each time
...
In this way, we avoid having to skip over "stale" watch events. The
downside is having to keep track of the previous resource version.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
4582e26ae1
Now use the stock watchtools.Until
...
By passing in the same initial resource version each time, we get
all watch events from the beginning each time.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
1048dddc36
For grins, make the watch checks very detailed
...
So we know we're not just seeing an arbitrary watch event, we're
seeing _the_ watch event that describes the results of our actions
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
9fb05616ca
Drop WatchSequenceEventVerifier from configmap lifecycle test
...
Collecting events in a certain order and then verifying the order in
which they were collected feels redundant.
2020-06-29 14:53:10 -07:00
hasheddan
5f904f5e79
Do not raise exception if unscheduled Pod status is unknown
...
Currently when checking for unscheduled pods an exception will be raised
if a pod is not scheduled and the status is unknown. This update modifies
the logic to include any pod without a NodeName in the not scheduled
pods returned.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-29 14:16:15 -05:00
Antonio Ojea
ec295c0f2a
e2e networking: wait for endpoints to be published
...
e2e test wait for the endpoints objects to be created
2020-06-29 15:04:28 +02:00
Caleb Woodbine
e719b723f7
Update checks and status messages; Remove asserting of status values
2020-06-29 11:08:45 +12:00
Kubernetes Prow Robot
9238fb1388
Merge pull request #90062 from claudiubelu/test-images/owner-files
...
test images: Adds OWNERS files for images
2020-06-28 01:08:14 -07:00
Kubernetes Prow Robot
18db08b813
Merge pull request #92545 from hasheddan/scheduling-part-two
...
Do not ignore unscheduled pods when NodeName not in set of worker nodes
2020-06-27 19:02:13 -07:00
Kubernetes Prow Robot
e9bb71c091
Merge pull request #92448 from oomichi/cleanup-getScheduledAndUnscheduledPods
...
Remove ns from getScheduledAndUnscheduledPods()
2020-06-27 16:04:28 -07:00
Kubernetes Prow Robot
4fc5c1eda2
Merge pull request #92391 from adtac/adtac/reserve-failure
...
scheduler: run Unreserve if Reserve fails
2020-06-27 16:04:14 -07:00
RAKESH REDDY BANDI
d44a20f9ca
Rename DefaultPodTopologySpread plugin #91994
2020-06-27 13:46:31 -04:00
Kubernetes Prow Robot
27aca3f7c2
Merge pull request #91505 from jpbetz/rv-semantics
...
Consistent Resource Version Semantics for List
2020-06-27 02:26:17 -07:00
Benjamin Elder
71c2b825e2
BenTheElder approves test/
...
I've been a reviewer / approver via teh sig-testing alias here, but that's opaque and I review & approve a lot of these, making it explicit.
2020-06-26 22:02:13 -07:00
Benjamin Elder
3a531edbd1
rmmh is no longer active
2020-06-26 21:49:24 -07:00
Kubernetes Prow Robot
fe4fae0343
Merge pull request #92212 from thockin/verify-typecheck-no-gopath
...
Make verify-typecheck not depend on GOPATH
2020-06-26 20:16:14 -07:00
Adhityaa Chandrasekar
1b223b861a
scheduler: run Unreserve if Reserve fails
...
If a reserve plugin's Reserve method returns an error, there could be
previously allocated resources from successfully completed reserve
plugins that must be unallocated by the corresponding Unreserve
operation. Since Unreserve operations are idempotent, this patch runs
the Unreserve operation of ALL reserve plugins when a Reserve operation
fails.
2020-06-26 20:41:33 +00:00
Kubernetes Prow Robot
ed67d43ea4
Merge pull request #92530 from mattcary/metricsload
...
Avoid grabbing metrics when they're not validated
2020-06-26 11:49:46 -07:00
Kubernetes Prow Robot
3e438a9bad
Merge pull request #92427 from wojtek-t/improve_affinity_tests
...
Improve LB session affinity tests
2020-06-26 11:49:31 -07:00
Tim Hockin
d187d7effa
Rewrite typecheck against x/tools/go/packages
...
This runs much faster than before. This change removes all of the
async status output because all of the compute time is spent inside
go/packages, with no opportunity to update the status.
Adds testdata code to prove it fails when expected.
2020-06-26 11:12:06 -07:00
Kubernetes Prow Robot
c90427d42e
Merge pull request #92423 from aojea/debugConntrack
...
dump conntrack table on e2e conntrack failures
2020-06-26 08:03:31 -07:00
hasheddan
9ab31affbe
Do not ignore unscheduled pods when NodeName not in set of worker nodes
...
When node scheduling tests were updated to use worker instead of master
nodes the GetPodsScheduled function, which is tasked with getting all
scheduled and not scheduled pods inadvertently was changed to ignore all
pods that have an empty NodeName before checking whether pods had been
scheduled or not. This updates the function to include pods without a
NodeName in the check for unscheduled pods.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-26 09:45:25 -05:00
Antonio Ojea
0ef7f27fc1
dump conntrack table on e2e conntrack failures
...
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-06-26 13:25:40 +02:00
Kubernetes Prow Robot
a03db636da
Merge pull request #91366 from giuseppe/cgroupfs-cgroupv2
...
vendor: update google/cadvisor and opencontainers/runc
2020-06-26 04:17:31 -07:00
wojtekt
3c34b56fbf
Improve LB session affinity tests
2020-06-26 10:59:00 +02:00
Kubernetes Prow Robot
5016c22845
Merge pull request #92509 from hasheddan/schedule-panic
...
Fix assignment to nil map in e2e scheduling predicates
2020-06-26 00:08:14 -07:00
Kubernetes Prow Robot
5ff5dbb07c
Merge pull request #92497 from oomichi/vsphere
...
nit: Fix invokeStaleDummyVMTestWithStoragePolicy()
2020-06-26 00:08:04 -07:00
Kubernetes Prow Robot
0eaa85483b
Merge pull request #92485 from oomichi/metrics-grabber
...
Avoid DeprecatedMightBeMasterNode() in e2e metrics
2020-06-26 00:07:54 -07:00
Joe Betz
e214f2408b
Add ResourceVersionMatch parameter to make Resource Version semantics consistent for list
2020-06-25 20:49:57 -07:00
Kubernetes Prow Robot
b3033da9a1
Merge pull request #92200 from adtac/adtac/reserve
...
scheduler: merge Reserve and Unreserve plugins
2020-06-25 19:57:31 -07:00
Stephen Heywood
878bc969a4
Include dependency for pkg/version
2020-06-26 02:35:17 +00:00
Stephen Heywood
2eabf97a58
Ensure request returns current server version
2020-06-26 00:01:35 +00:00
Kenichi Omichi
176c8e219f
Avoid DeprecatedMightBeMasterNode() in e2e metrics
...
As its name, DeprecatedMightBeMasterNode is deprecated.
In e2e metrics, the function was used for knowing master node name to
get metrics from kube-scheduler and kube-controller-manager pods.
This make e2e metrics get these metrics directly by getting those pod
names without calling DeprecatedMightBeMasterNode().
2020-06-25 23:08:24 +00:00
Tim Hockin
a2f26075c8
Don't typecheck directories that start with _
...
Go ignores them, so should we.
2020-06-25 13:39:50 -07:00
hasheddan
df5ddc70a0
Fix assignment to nil map in e2e scheduling predicates
...
Ready schedulable nodes are being inserted into an unitialized string
set, causing an assignment to entry in nil map in the underlying data
structure. This initializes the string set before attempting to insert
nodes.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-25 08:32:00 -05:00
Kubernetes Prow Robot
e529bd0bca
Merge pull request #92404 from BenTheElder/agnhost-primary2
...
s/master/primary in agnhost guestbook usage
2020-06-25 05:30:37 -07:00
Kubernetes Prow Robot
4a91ecb976
Merge pull request #91863 from knabben/kubelet-memcg-notification
...
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-25 00:20:37 -07:00
Kenichi Omichi
d964569e1e
nit: Fix invokeStaleDummyVMTestWithStoragePolicy()
...
There were nits in invokeStaleDummyVMTestWithStoragePolicy() like
- The error message didn't contain necessary space
- IsVMPresent() can return an error, but lack of the error handling
- IsVMPresent() returns true/false, but didn't use ExpectEqual() and
less code readability
This fixes those things.
2020-06-25 04:49:39 +00:00
Kenichi Omichi
dac8f752b3
Remove ns from getScheduledAndUnscheduledPods()
...
The namespace parameter "ns" of getScheduledAndUnscheduledPods() is
always metav1.NamespaceAll.
This removes the parameter from the function for cleanup.
2020-06-25 04:39:39 +00:00
Kubernetes Prow Robot
3c31a0026a
Merge pull request #91678 from claudiubelu/tests/fixes-windows-kubelet-stats
...
tests: Fixes Windows kubelet-stats test
2020-06-24 19:26:36 -07:00
Matthew Cary
028176deb2
Avoid grabbing metrics when they're not validated
...
Change-Id: I0dd23b993b1bbc4908341d092c485566b9725c7a
2020-06-25 02:01:53 +00:00
Kubernetes Prow Robot
9d2dbd5b79
Merge pull request #92473 from fedepaol/bumpagnhost
...
Bump up the agnhost version to reflect changes in 90797
2020-06-24 17:53:04 -07:00
Kubernetes Prow Robot
c09809d15b
Merge pull request #92450 from oomichi/dont-use-GetMasterAnd
...
Use worker nodes for WaitForStableCluster()
2020-06-24 17:52:50 -07:00
Caleb Woodbine
3149247932
Add Deployment resource lifecycle test as-is
2020-06-25 10:29:53 +12:00
Adhityaa Chandrasekar
ec83143342
scheduler: merge Reserve and Unreserve plugins
...
Previously, separate interfaces were defined for Reserve and Unreserve
plugins. However, in nearly all cases, a plugin that allocates a
resource using Reserve will likely want to register itself for Unreserve
as well in order to free the allocated resource at the end of a failed
scheduling/binding cycle. Having separate plugins for Reserve and
Unreserve also adds unnecessary config toil. To that end, this patch
aims to merge the two plugins into a single interface called a
ReservePlugin that requires implementing both the Reserve and Unreserve
methods.
2020-06-24 21:10:35 +00:00
Kubernetes Prow Robot
c6d2b223fb
Merge pull request #92222 from cofyc/fix92186
...
Share pod volume binding cache via framework.CycleState
2020-06-24 13:31:21 -07:00
Benjamin Elder
57c777ea66
bump agnhost to 2.20
2020-06-24 12:14:33 -07:00
Benjamin Elder
f2b2d44614
s/master/primary in agnhost guestbook usage
2020-06-24 12:14:33 -07:00
Giuseppe Scrivano
e94aebf4cb
pkg/kubelet: adapt to new libcontainer API
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-06-24 18:39:51 +02:00
Federico Paolinelli
7ff930b6c8
Bump up the agnhost version to reflect changes in https://github.com/kubernetes/kubernetes/pull/90797
...
There was an un-noticied conflict with 279ce5d89e (diff-75312865ef706f08787bf2987d761c13)
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-24 17:37:41 +02:00
Kenichi Omichi
5edf15ea97
Use worker nodes for WaitForStableCluster()
...
WaitForStableCluster() checks all pods run on worker nodes, and the
function used to refer master nodes to skip checking controller plane
pods.
GetMasterAndWorkerNodes() was used for getting master nodes, but the
implementation is not good because it usesDeprecatedMightBeMasterNode().
This makes WaitForStableCluster() refer worker nodes directly to avoid
using GetMasterAndWorkerNodes().
2020-06-24 15:21:12 +00:00
Kubernetes Prow Robot
e2d8f6c278
Merge pull request #92446 from oomichi/deprecated-master-node
...
Add isNodeSchedulableWithoutTaints()
2020-06-24 04:55:41 -07:00
knight42
1b9f11c9a9
fix(e2e): access nodes via test container in LB network tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-24 19:21:44 +08:00
Amim Knabben
c39cf28ed3
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-24 06:44:00 -04:00
Stephen Heywood
832e4718da
Ensure that a set of pods can be removed by delete collection
2020-06-24 05:47:34 +00:00
Kenichi Omichi
13aae61789
Add isNodeSchedulableWithoutTainted()
...
For reducing usage of system.DeprecatedMightBeMasterNode(), this
adds isNodeSchedulableWithoutTainted().
2020-06-24 01:58:04 +00:00
Jordan Liggitt
a2dd5112c0
go1.14: fix test/cmd timeout message check
2020-06-23 19:04:43 -04:00
Caleb Woodbine
82c99d8d42
Fix metadata release version
2020-06-24 09:30:50 +12:00
Caleb Woodbine
d9ca8498db
Update conformance metadata to have release version v1.19
2020-06-24 09:30:50 +12:00
Caleb Woodbine
b20856e5bb
Add conformance testdata
2020-06-24 09:30:50 +12:00
Caleb Woodbine
b4ee99c465
Fix formatting
2020-06-24 09:30:50 +12:00
Caleb Woodbine
f6cd389a6c
Fix: formatting
2020-06-24 09:30:50 +12:00
Caleb Woodbine
0ea650b2c6
Fix: conformance data, conformance test entrypoint
2020-06-24 09:30:50 +12:00
Caleb Woodbine
0b6994e85d
Promote: ConfigMap Lifecycle test
2020-06-24 09:30:50 +12:00
Jordan Liggitt
4bd558776e
go1.14: fix govet errors
2020-06-23 16:40:15 -04:00
Yecheng Fu
4627b419b4
tests only
2020-06-23 22:18:33 +08:00
Kubernetes Prow Robot
0072d8ae23
Merge pull request #90797 from fedepaol/sctpconnectporter
...
Add SCTP support to agnhost connect / porter commands.
2020-06-23 07:05:41 -07:00
Kubernetes Prow Robot
3a51aaf8b4
Merge pull request #92359 from RobertKielty/92319
...
renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
2020-06-22 23:54:07 -07:00
Kubernetes Prow Robot
83a15867b1
Merge pull request #92049 from Huang-Wei/postfilter-impl-3
...
[postfilter-impl-3] Register and enable the defaultpreemption plugin
2020-06-22 23:53:54 -07:00
Wei Huang
d99cc01646
Register and enable defaultpreemption plugin
...
- Enable defaultpreemption as a PostFilter plugin
- Remote legacy hard-coded preemption logic
2020-06-22 17:22:27 -07:00
Stephen Augustus
236ef23f46
deps: Update Golang to v1.14.4
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:51 -04:00
Kubernetes Prow Robot
f38ce5725a
Merge pull request #92375 from wojtek-t/deflake_conntract_tests_2
...
Attempt to delfake further conntract e2e flakes
2020-06-22 15:02:53 -07:00
Kubernetes Prow Robot
9cd906e932
Merge pull request #91996 from cmluciano/cml/promotedingv1crud
...
ingress: promote CRUD API tests for v1 to conformance
2020-06-22 09:24:40 -07:00
wojtekt
8816b8fce4
Attempt to delfake further conntract e2e flakes
2020-06-22 13:43:58 +02:00
RobertKielty
5c27c7e304
renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
...
Part of work to remove racist language, this name change also improves on the
semantics of this variable name as it was not actually a list of permissible
images but rather a list of images that are required for e2e_node tests that
are to be pre-pulled so that they are available prior to running e2e tests.
Worth noting that this list of images is "union merged" with another list when
setting up e2e_node tests and as such there is the possibilty for overlap.
# Please enter the commit message for your changes. Lines starting
2020-06-21 18:46:06 +01:00
Ted Yu
9f95fdd3cd
Mirror pod without OwnerReference should not be created
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-06-21 08:00:17 -07:00
Ali Farah
a22e115a0e
Split scheduler framework implementation into new runtime package
2020-06-22 00:23:43 +10:00
Kubernetes Prow Robot
8e820aa785
Merge pull request #92304 from wojtek-t/reduce_flakes_probability
...
Attempt to deflake conntract e2e tests
2020-06-20 05:27:07 -07:00
Kubernetes Prow Robot
219c856ce2
Merge pull request #91555 from daixiang0/scr
...
*.sh: cleanup all white noise
2020-06-20 05:26:53 -07:00
Kubernetes Prow Robot
0a91893126
Merge pull request #92119 from BenTheElder/agnhost-sync
...
agnhost sync
2020-06-20 00:14:39 -07:00
Kubernetes Prow Robot
4043d4cb87
Merge pull request #92323 from wfernandes/rename-NodeImageWhiteList
...
Rename NodeImageWhiteList to NodePrePullImageList
2020-06-19 21:52:22 -07:00
Kubernetes Prow Robot
b5dd76071e
Merge pull request #92271 from oomichi/move-gce-test
...
Move recreate_node.go to e2e/node
2020-06-19 21:52:11 -07:00
Warren Fernandes
296f50365b
Rename NodeImageWhiteList to NodePrePullImageList
2020-06-19 16:12:27 -06:00
Benjamin Elder
279ce5d89e
s/master/primary in agnhost guestbook test references & agnhost code
...
to do in follow-up: update the agnhost deployments and references to those when the new image is pushed
2020-06-19 12:23:16 -07:00
Kubernetes Prow Robot
b1976336af
Merge pull request #92259 from brianpursley/net-e2e
...
Fixed wrong pod name in e2e test log messages
2020-06-19 11:38:24 -07:00
Kubernetes Prow Robot
62d091a49e
Merge pull request #91813 from bart0sh/PR0090-e2e_node-benchmark-decrease-number-of-pods
...
e2e_node: fix node-kubelet-benchmark test
2020-06-19 11:36:43 -07:00
Kubernetes Prow Robot
907a526919
Merge pull request #91699 from twosigma/hostnamefqdn_kubelet
...
Allow setting FQDN in hostname
2020-06-19 11:36:29 -07:00
Kubernetes Prow Robot
f8705f22f8
Merge pull request #89705 from ggriffiths/add_snapshot_retainpolicy_e2e_test
...
Add VolumeSnapshot retain policy test and test for snapshot delete
2020-06-19 11:35:59 -07:00
wojtekt
f32648d810
Attempt to deflake conntract e2e tests
2020-06-19 16:49:33 +02:00
Federico Paolinelli
b8819b91a8
Add sctp support to agnhost connect / porter commands.
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-19 09:31:05 +02:00
Kenichi Omichi
4163fd9420
Move recreate_node.go to e2e/node
...
e2e/framework is a place to keep common functions for e2e tests, and
it is not a place to keep e2e tests themself. recreate_node.go is e2e
test for node.
This moves recreate_node.go to e2e/node.
2020-06-19 02:40:17 +00:00
Kubernetes Prow Robot
7a68eac8f7
Merge pull request #91873 from kwiesmueller/fix-crd-update-bug
...
Fix FieldManager Conversion Error for CRD Updates
2020-06-18 19:04:51 -07:00
Kubernetes Prow Robot
342bcf55e8
Merge pull request #89937 from aojea/portAllocator2
...
portAllocator sync local data before allocate
2020-06-18 19:03:10 -07:00
Sergey Kanzhelev
2baed83b5c
remove stale TODO after this PR: #92204
2020-06-18 22:55:21 +00:00
Kubernetes Prow Robot
1faf097f3f
Merge pull request #88649 from oke-py/remove-deprecated-export
...
Remove --export flag from kubectl get command.
2020-06-18 15:19:10 -07:00
Kubernetes Prow Robot
dcb587e09f
Merge pull request #91230 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
...
Create deleteCoreV1CollectionNamespacedEvent test+promote - +1 endpoint coverage
2020-06-18 08:12:20 -07:00
Brian Pursley
dba85a5c95
Fixed wrong pod name in log messages
2020-06-18 10:10:10 -04:00
Kubernetes Prow Robot
99019502bd
Merge pull request #92234 from alejandrox1/add-cleanup-time-node-perf
...
Added a buffer period in the node performance tests
2020-06-18 06:04:10 -07:00
Kubernetes Prow Robot
0bb640c25a
Merge pull request #92205 from mrunalp/fix_host_path_socket_tests
...
test: Start a pod with nc instead of execing a background command
2020-06-18 06:03:31 -07:00
Kubernetes Prow Robot
6bb668c3c4
Merge pull request #92204 from dims/check-for-either-docker-or-containerd-getting-active
...
Check for either docker or containerd getting active
2020-06-18 06:03:21 -07:00
Grant Griffiths
e1f0e4cd9f
Add retain policy test and refactor snapshottable tests
...
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-06-17 19:53:53 -07:00
Kubernetes Prow Robot
cf36d9b8e9
Merge pull request #90880 from ii/ii-update-and-improve-replicationcontroller-resource-lifecycle-test
...
Update and improve ReplicationController resource lifecycle test
2020-06-17 19:50:05 -07:00
alejandrox1
9263dd1f02
Added a buffer period in the node performance tests
...
The node-kubelet-flaky e2e job that runs the the
`Node Performance Testing [Serial] [Slow] [Flaky]` e2e tests have been
flaking because of inconsistencies on the cpu manager checkpoint file.
This seems to be caused because the checkpoint file is deleted (which is
what needs to happen in order to change the CPU manager policy which is
used for these e2e tests) right after the e2e tests asserts that a pod
does not exist anymore.
However, after a pod is deleted, the CPU manager may still be cleaning
up the resources used by the pod which may result in the checkpoint file
being created.
Whenever this happened, the kubelet would panic if we then try to
subsequently change the CPU manager policy to "static" from "none" or
vice versa (this is done 4 times in these tests).
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-06-17 18:33:44 -04:00
Christopher M. Luciano
ca2b5b7605
ingress: promote CRUD API tests for v1 to conformance
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-17 13:01:16 -04:00
Naoki Oketani
c0562815fa
Remove --export flag from kubectl get command.
2020-06-17 18:35:03 +09:00
Kubernetes Prow Robot
53f3699cf9
Merge pull request #89778 from cmluciano/cml/ingressv1
...
ingress: Add Ingress to v1 API and update backend to defaultBackend
2020-06-16 23:10:39 -07:00
Kubernetes Prow Robot
19d220073c
Merge pull request #92176 from claudiubelu/test-images/rebases-kitten-nautilus
...
test images: rebases the kitten and nautilus images
2020-06-16 19:24:31 -07:00
Kubernetes Prow Robot
e760ecd50f
Merge pull request #92074 from nodo/pod-added-unschedulable-pod-integration-tests
...
Test pod becoming schedulable when another pod is added or updated
2020-06-16 19:23:33 -07:00
Kubernetes Prow Robot
8dbca91cae
Merge pull request #91962 from aojea/udp1
...
Deflake Services should be able to preserve UDP traffic when server pod cycles for a NodePort service
2020-06-16 19:22:53 -07:00
Kubernetes Prow Robot
580eebb03b
Merge pull request #90944 from ii/ii-update-and-improve-configmap-resource-lifecycle-test
...
Update and improve ConfigMap resource lifecycle test
2020-06-16 19:22:05 -07:00
Mrunal Patel
7643b64050
test: Start a pod with nc instead of execing a background command
...
The behavior for exec'ing a backgrounded command is not specified
with CRI so modify the test to run the command directly instead
of using exec.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-06-16 17:30:31 -07:00
Davanum Srinivas
01183e51f0
Check for either Docker or Containerd getting active for e2e_node tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-06-16 20:08:01 -04:00
Kubernetes Prow Robot
f455a143df
Merge pull request #91259 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-template-test
...
Create deleteCoreV1CollectionNamespacedPodTemplate test+promote - +1 endpoint coverage
2020-06-16 13:46:04 -07:00
Andrea Nodari
0c23caf8e7
Test a pod becoming schedulable when a scheduled pod is updated
2020-06-16 20:39:58 +02:00
Andrea Nodari
ad0bee482e
Add test case for a pod becoming schedulable when another pod is added
2020-06-16 20:29:55 +02:00
Kubernetes Prow Robot
13f1d956ea
Merge pull request #92169 from chendave/perf_nil_pointer
...
scheduler_perf: fix the nil pointer dereference
2020-06-16 10:06:04 -07:00
Dave Chen
ae735a1189
scheduler_perf: fix the nil pointer dereference
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-06-16 13:23:05 +08:00
Benjamin Elder
d65a3b15bf
update agnhost guestbook usage for s/slave/replica/
2020-06-15 20:08:27 -07:00
Kubernetes Prow Robot
98f250f883
Merge pull request #91307 from yuga711/attach
...
CSI: Modify VolumeAttachment check to use Informer/Cache
2020-06-15 08:10:10 -07:00
Antonio Ojea
27d32661c2
e2e conntrack tests
...
deflake current e2e test
"should be able to preserve UDP traffic when server pod cycles for a
NodePort service" and reorganize the code in the e2e framework
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-06-15 10:30:00 +02:00
Antonio Ojea
653eb230f2
force pod deletion on e2e network tests
2020-06-15 10:29:38 +02:00
Mateusz Matejczyk
af00593679
Revert "fix(e2e): access nodes via test container in LB network tests"
...
This reverts commit 708fb6b457
, https://github.com/kubernetes/kubernetes/pull/91559
It looks like the PR has broken other network tests - https://k8s-testgrid.appspot.com/sig-scalability-gce#gce-master-scale-correctness
2020-06-15 08:42:17 +02:00
Javier Diaz-Montes
9743cda4a7
Adding Kubelet changes to enable SetHostnameAsFQDN feature
...
These changes allow to set FQDN as hostname of pods for pods
that set the new PodSpec field setHostnameAsFQDN to true. The PodSpec
new field was added in related PR.
This is PART2 (last) of the changes to enable KEP #1797 and addresses #91036
2020-06-14 21:26:27 -04:00
Kubernetes Prow Robot
e6214389ca
Merge pull request #91975 from wking/to-success-typo
...
test/e2e/framework/pods: Fix "to success" -> "to succeed"
2020-06-14 02:07:55 -07:00
Benjamin Elder
9ce9e2a7aa
bump agnhost usage to current version
2020-06-13 20:46:05 -07:00
Kubernetes Prow Robot
f66af1062d
Merge pull request #92106 from BenTheElder/bump-image
...
bump agnhost version to match fully
2020-06-13 00:34:22 -07:00
Kubernetes Prow Robot
0d82da429c
Merge pull request #90167 from claudiubelu/test-images/owner-files-part-3
...
test images: Adds OWNERS files for images (part 3)
2020-06-12 19:53:56 -07:00
Kubernetes Prow Robot
7151131d79
Merge pull request #73032 from liggitt/kubectl-warning
...
surface server-side warnings in client-go / kubectl
2020-06-12 17:09:56 -07:00
Claudiu Belu
023282f1bd
test images: rebases the kitten and nautilus images
...
The current kitten and nautilus images are depending on agnhost:2.14, which
has not been built, since the Image Promoter was not working at the time.
2020-06-12 16:46:18 -07:00
Benjamin Elder
c57e39f664
bump agnhost version to match fully
2020-06-12 15:44:15 -07:00
Claudiu Belu
30f529c57f
test images: Adds --force-yes when installing jessie-dnsutils packages
...
Currently, the jessie-dnsutils image fails to build for arm64 arch with the following
error:
GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717
We can bypass this issue by adding a --force-yes flag when installing the needed dnsutils.
2020-06-12 14:22:28 -07:00
Claudiu Belu
06ca9c8aab
test images: Adds OWNERS files for images
...
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).
Note that the code churn is taken into account for authors, and not committers.
Adds OWNERS files for: ipc-utils, node-perf, nonroot, regression-issue-74839,
resource-consumer, sample-device-plugin.
2020-06-12 11:49:16 -07:00
Kubernetes Prow Robot
1385280afc
Merge pull request #91775 from cofyc/fix91755
...
VolumeBinding: Skip/fail fast in PreFilter phase and improve error reporting
2020-06-12 10:47:56 -07:00
Kevin
bd961781d7
prevent update handler being called on disallowed CreateOnUpdate
2020-06-12 13:04:17 +00:00
Kubernetes Prow Robot
2e6eff75e5
Merge pull request #92002 from liggitt/csr-client-conformance
...
Move kube-apiserver client cert back to simple e2e
2020-06-12 02:23:57 -07:00
Yecheng Fu
c4138361e4
Fail fast in PreFilter phase and return UnschedulableAndUnresolvable if immediate PVCs are not bound
2020-06-12 10:00:19 +08:00
Jordan Liggitt
0d674c4edb
cmd: silence warnings in kube-controller-manager/kube-apiserver, dedupe/color warnings in kubectl
2020-06-11 16:04:19 -04:00
Jordan Liggitt
e4bb1daecf
apiserver: increment metric for deprecated API use
2020-06-11 16:04:19 -04:00
Ryan Phillips
d9d1fc6077
e2e pods: add missing pod and node name in the formatted log line
2020-06-11 14:50:27 -05:00
Kubernetes Prow Robot
4ea576e4f5
Merge pull request #87105 from BenTheElder/agnhost-replica
...
s/slave/replica in guestbook app
2020-06-11 10:48:56 -07:00
Jayasekhar Konduru
2a89577659
CSI: Modify VolumeAttachment check to use Informer/Cache
...
Change-Id: Ie70c8b6657c67eefbf13042f36d56ca84a2e42bb
2020-06-11 10:34:09 -07:00
Kubernetes Prow Robot
b8369fd2e5
Merge pull request #91593 from cmluciano/cml/conformancev1ing
...
ingress: Add CRUD tests for Ingress API verbs
2020-06-11 05:30:56 -07:00
Kubernetes Prow Robot
42bf886b37
Merge pull request #91726 from bertinatto/fix-flake-sc
...
Create pod to force volume provisioning in dynamic provisioning storage e2e test
2020-06-11 00:52:56 -07:00
Caleb Woodbine
34ddb64825
Add cleanup function; Fix build
2020-06-11 14:09:41 +12:00
Caleb Woodbine
34988cfe0e
Update to include watch tooling
2020-06-11 14:09:41 +12:00
Caleb Woodbine
b52740c44f
Add watch event checks
2020-06-11 14:09:41 +12:00
Caleb Woodbine
f0757ecd77
Move watchTimeout value to the top and add comments
2020-06-11 14:09:41 +12:00
Caleb Woodbine
0c8ae2abf3
Update and improve ConfigMap resource lifecycle test
2020-06-11 14:09:41 +12:00
Caleb Woodbine
e3b9d78915
Fix formatting
2020-06-11 14:07:27 +12:00
Caleb Woodbine
076d96236e
Add cleanup function
2020-06-11 14:07:27 +12:00
Caleb Woodbine
782bb43c4c
Fix formatting
2020-06-11 14:07:27 +12:00
Caleb Woodbine
209c05546a
Update to include watch tooling
2020-06-11 14:07:27 +12:00
Caleb Woodbine
d7d9ebf482
Add checks to each watch loops
2020-06-11 14:07:27 +12:00
Caleb Woodbine
1c010beb24
Revert scale patch payload types
2020-06-11 14:07:27 +12:00
Caleb Woodbine
29c85b7265
Update BUILD
2020-06-11 14:07:27 +12:00
Caleb Woodbine
54c744f033
Update patch checks, scale patch type
2020-06-11 14:07:27 +12:00
Caleb Woodbine
a962d80b99
Update and improve ReplicationController resource lifecycle test
2020-06-11 14:07:27 +12:00
Benjamin Elder
3298dfa73a
up sleep time in racy test
2020-06-10 17:23:27 -07:00
Kubernetes Prow Robot
7766e65a1b
Merge pull request #91955 from Huang-Wei/preemption-e2e-flake
...
Fix an e2e flake on updating node status
2020-06-10 17:14:17 -07:00
Kubernetes Prow Robot
c0da82c64a
Merge pull request #91830 from cmluciano/cml/ingressclassconformance
...
ingress: Add CRUD tests for IngressClass API verbs
2020-06-10 17:13:58 -07:00
Kubernetes Prow Robot
64d254508f
Merge pull request #91816 from p0lyn0mial/gc-discovery
...
GC: doesn't create monitors in the constructor
2020-06-10 17:13:48 -07:00
Kubernetes Prow Robot
111741071f
Merge pull request #91743 from spiffxp/fix-kubeconform-link
...
Merge behavior loading code
2020-06-10 17:13:10 -07:00
Caleb Woodbine
e8b70ce0da
Update docs
2020-06-11 11:08:24 +12:00
Jordan Liggitt
6fb7d40a72
Move kube-apiserver client cert back to simple e2e
2020-06-10 15:28:26 -04:00
Christopher M. Luciano
7351330255
ingress: Add CRUD tests for Ingress API verbs
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-10 15:20:36 -04:00
Lukasz Szaszkiewicz
50db32cf8c
GC doesn't have to create monitors in the constructor
2020-06-10 14:59:45 +02:00
Kubernetes Prow Robot
507cc20404
Merge pull request #91754 from liggitt/csr-v1-client-go-manager
...
CSR v1 - switch client-go certificate manager utility to v1 by default
2020-06-10 04:39:52 -07:00
Kubernetes Prow Robot
b41b89a424
Merge pull request #91682 from claudiubelu/img-promoter/windows-certs
...
test images: Adds step for fetching Windows image builder certificates
2020-06-10 04:39:42 -07:00
Kubernetes Prow Robot
84d745ffe4
Merge pull request #91559 from knight42/fix/e2e
...
e2e: access nodes via a test container
2020-06-10 04:39:31 -07:00
Kubernetes Prow Robot
410b929e78
Merge pull request #91471 from MHBauer/rm-old-config
...
remove out of date test config
2020-06-10 04:39:07 -07:00
Kubernetes Prow Robot
089e8f48f2
Merge pull request #90720 from claudiubelu/tests/fqdn-svc-names
...
tests: Check FQDN for external services on Windows
2020-06-10 04:38:37 -07:00
Fabio Bertinatto
8d644092ed
Create pod to force volume provisioning in storage e2e test
...
Otherwise, tests can fail if the default StorageClass
is configured with late binding.
2020-06-10 08:45:41 +02:00
Jordan Liggitt
a298c14f18
Switch cert manager to v1 CSR API by default, falling back to v1beta1
2020-06-10 02:30:54 -04:00
W. Trevor King
d9cc269bb6
test/e2e/framework/pods: Fix "to success" -> "to succeed"
...
Typo is from 5eb41e9acb
(Add container lifecycle hook test,
2016-09-23, #33389 ).
2020-06-09 20:04:07 -07:00
Wei Huang
51a9dcce22
Revert "Fix an issue that a Pod's nominatedNodeName cannot be cleared when the nominated node is deleted"
...
This reverts commit 369a9001c6
.
2020-06-09 16:47:37 -07:00
Wei Huang
43da0fff29
Fix an e2e flake on updating node status
2020-06-09 16:08:59 -07:00
Caleb Woodbine
5268ba5488
Ensure events occur regardless of the events in between
2020-06-10 10:51:39 +12:00
Kubernetes Prow Robot
dbfc3aa877
Merge pull request #91748 from apelisse/resetting-managed-fields-and-fieldtype
...
Resetting managed fields and fieldtype
2020-06-09 14:49:40 -07:00
Kubernetes Prow Robot
11fe6e815f
Merge pull request #91713 from liggitt/csr-v1-manager
...
CSR v1 - switch controllers
2020-06-09 14:49:30 -07:00
Kubernetes Prow Robot
717b9b769e
Merge pull request #91265 from brianpursley/fix_cassandra_cassandra_cassandra_cassdandra
...
Prevent false error message from resource_aliasing integration test
2020-06-09 14:48:04 -07:00
Christopher M. Luciano
ea03097e4d
ingress: Add CRUD tests for IngressClass API verbs
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-09 15:17:29 -04:00
Brian Pursley
f5dc5300c6
Replaced 4 kube::test::get_object_assert() calls with 1 call using regex to match all combinations
2020-06-09 08:35:54 -04:00
Claudiu Belu
abe8bea529
Fixes test images cloudbuild.yaml secret fetching
...
Co-authored-by: Aaron Crickenberger <spiffxp@google.com>
2020-06-09 14:05:33 +03:00
Claudiu Belu
2a07efe925
tests: Check FQDN for external services on Windows
...
Windows does not support partially qualified domain names, which is why the test can fail.
Additionally, because nslookup may return 0 on Windows, even if the given DNS name was not
found, this issue was not observed until recently. We're now checking stderr as well.
2020-06-09 02:36:20 -07:00
knight42
708fb6b457
fix(e2e): access nodes via test container in LB network tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-09 14:32:31 +08:00
Kubernetes Prow Robot
fc30f8854d
Merge pull request #91849 from knabben/scheduler-integration-pre
...
Scheduler integration tests standarization
2020-06-08 21:44:26 -07:00
Kubernetes Prow Robot
c5894cadc3
Merge pull request #91828 from knabben/scheduler-integration-test
...
Scheduler integration framework table-driven tests
2020-06-08 21:44:17 -07:00
Kubernetes Prow Robot
eeba1b39ff
Merge pull request #91811 from lixiaobing1/lxb-err
...
another:Replace framework.Failf with ExpectNoError
2020-06-08 21:44:07 -07:00
Kubernetes Prow Robot
5248bef370
Merge pull request #91750 from Huang-Wei/clear-nnn
...
Fix an issue that a Pod's nominatedNodeName cannot be cleared upon node deletion
2020-06-08 21:43:58 -07:00
Claudiu Belu
862bd63f80
tests: Fixes Windows kubelet-stats test
...
The test spawns 10 pods with the same pod name, which contains multiple
containers with the same container name. Because of this, the test fails.
This commit addresses this issue.
2020-06-08 20:42:04 -07:00
Benjamin Elder
c8dce6d4b3
bump agnhost version
2020-06-08 16:38:09 -07:00
Benjamin Elder
f9851d929b
s/slave/replica in guestbook app
2020-06-08 16:37:26 -07:00
Amim Knabben
fcb41d3d2c
Integration framework table-tests standarization
2020-06-08 14:03:54 -04:00
Kubernetes Prow Robot
2c7d431a20
Merge pull request #91883 from SataQiu/deprecate-ResourceLimitsPriorityFunction-20200608
...
Remove ResourceLimitsPriorityFunction feature gate in the scheduler
2020-06-08 09:25:47 -07:00
SataQiu
932e61aefa
deprecate ResourceLimitsPriorityFunction feature gate in the scheduler
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-06-08 22:20:14 +08:00
Kubernetes Prow Robot
0e2220b446
Merge pull request #91243 from cynepco3hahue/e2e_multiply_hugepages
...
Refactor and add new tests to hugepages e2e tests
2020-06-08 06:31:46 -07:00
Stephen Heywood
04627cef49
Address issues with test failures
2020-06-08 20:41:32 +12:00
Artyom Lukianov
a4b367a6a3
Refactor and add new tests to hugepages e2e tests
...
Add tests to cover usage of multiple hugepages with different
page sizes under the same pod.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-06-08 11:23:54 +03:00
Jan Safranek
62b7516b63
Add e2e test for read-only volume used by multiple pods
2020-06-08 09:38:11 +02:00
Kubernetes Prow Robot
b93e9d9395
Merge pull request #91671 from raresraf/patch-1
...
Fix typo test/cmd/README
2020-06-07 17:35:46 -07:00
Caleb Woodbine
39fd803140
Move watch creating into the retry loop
2020-06-08 09:29:28 +12:00
Kubernetes Prow Robot
14559bc406
Merge pull request #90498 from gaurav1086/fix_logging_race_condition
...
Fix race condition in logging
2020-06-07 10:33:45 -07:00
Amim Knabben
5e679cf51f
Scheduler integration tests standarization
2020-06-07 09:47:11 -04:00
Kubernetes Prow Robot
4c8e5c5a50
Merge pull request #91543 from bsdnet/runner
...
Simplify the logic by removing dead code and enhance logging
2020-06-06 17:29:45 -07:00
Kubernetes Prow Robot
f72299b09f
Merge pull request #91787 from ahg-g/ahg-bench
...
A benchmark to evaluate overhead of unschedulable pods
2020-06-05 20:49:45 -07:00
Kubernetes Prow Robot
454c13d09c
Merge pull request #91314 from Huang-Wei/postfilter-definition
...
Scheduler PostFilter definition
2020-06-05 16:53:45 -07:00
Jordan Liggitt
db4ca87d9d
Switch CSR approver/signer/cleaner controllers to v1
2020-06-05 18:45:34 -04:00
Kubernetes Prow Robot
fbcd0f84d8
Merge pull request #91827 from spiffxp/update-e2e-node-owners
...
Update node_e2e OWNERS
2020-06-05 15:30:44 -07:00
Kubernetes Prow Robot
3f8bb1bf50
Merge pull request #91685 from liggitt/csr-v1
...
CertificateSigningRequest v1 API
2020-06-05 15:30:14 -07:00
Wei Huang
69b9ba6012
Introduce PostFilter extension point
2020-06-05 13:23:45 -07:00
Antoine Pelisse
ed2cf6ef2c
FieldManager: Reset if we receive nil or a list with one empty item
2020-06-05 12:49:13 -07:00
Abdullah Gharaibeh
36a3ad8752
Added a benchmark to evaluate overhead of unschedulable pods
2020-06-05 15:19:07 -04:00
Aaron Crickenberger
019d3ee438
update e2e_node OWNERS file
...
specifically:
- move inactive approvers to emeritus
- add newly active contributors as reviewers
- add a sig/node label to PRs that touch this dir
2020-06-05 10:44:29 -07:00
Kubernetes Prow Robot
4e3dea81c1
Merge pull request #91580 from cofyc/fix90958
...
Remove KubeSchedulerConfiguration.BindTimeoutSeconds
2020-06-05 08:45:45 -07:00
Ed Bartosh
fa31c2c59c
e2e_node: fix node-kubelet-benchmark test
...
e2e_node tests trigger OOM events on COS versions > 73-11636-0-0
possibly because of this change in the COS v.73-11636-0-0:
Made containerd run as a standalone systemd service
OOM killer usually kills cadvisor and e2e_node.test processes
causing node-kubelet-benchmark failures.
Decreasing amount of pods from 105 to 90 frees enough memory for
the test to succeed.
2020-06-05 12:51:45 +03:00
lixiaobing1
2d66e7ecd3
another:Replace framework.Failf with ExpectNoError
2020-06-05 16:43:22 +08:00
Kubernetes Prow Robot
8ce1b535ee
Merge pull request #80831 from odinuge/hugetlb-pagesizes-cleanup
...
Add support for removing unsupported huge page sizes
2020-06-04 23:41:43 -07:00
Jordan Liggitt
a504445086
Generated files
...
Change-Id: I598d686849f4b97846757b227f5191bac031798b
2020-06-05 04:58:14 +00:00
Jordan Liggitt
ea8f4cb536
Update CSR e2e to use v1
2020-06-05 00:50:01 -04:00
Jordan Liggitt
e0f5cca410
Copy CSR v1beta1 to v1
...
* Remove prerelease tags
* Update copyright, package, imports to v1
* Remove signerName, usages, and condition status defaulting
2020-06-05 00:47:24 -04:00
Kubernetes Prow Robot
d585527c70
Merge pull request #91690 from apelisse/ignore-failures
...
fieldManager: Ignore and log all errors when updating managedFields
2020-06-04 17:59:59 -07:00
Kubernetes Prow Robot
64bba294ae
Merge pull request #91741 from oomichi/nit-ExpectError
...
Replace framework.Failf with ExpectNoError
2020-06-04 13:53:05 -07:00
Kubernetes Prow Robot
4dfa0912a0
Merge pull request #91734 from nodo/pod-deleted-unschedulable-pod-integration-tests
...
Add test case for a pod becoming schedulable when another pod is deleted
2020-06-04 13:52:56 -07:00
Kubernetes Prow Robot
1f4015806a
Merge pull request #91696 from Huang-Wei/pts-weight-2-policy-path
...
Adjust weight of PodTopologySpread to 2 in legacy Policy API
2020-06-04 13:52:36 -07:00
Kubernetes Prow Robot
1925eb81ac
Merge pull request #91689 from gnufied/fix-after-suite-race
...
Ensure CleanupActionHandle always completes
2020-06-04 10:51:15 -07:00
Antoine Pelisse
5378a788e4
fieldManager: Ignore and log all errors when updating managedFields
2020-06-04 09:32:23 -07:00
Andrea Nodari
e3bca5adc7
Add test case for a pod becoming schedulable when another pod is deleted
2020-06-04 18:11:19 +02:00
Wei Huang
7f178b2831
Adjust weight of PodTopologySpread to 2 in legacy Policy API
2020-06-04 07:35:25 -07:00
Kubernetes Prow Robot
2dc7b68b83
Merge pull request #91598 from Huang-Wei/podtopologyspread-ga
...
Remove `EvenPodsSpread` featuregate and related logic
2020-06-04 07:05:28 -07:00
Kubernetes Prow Robot
74bdc2b6a9
Merge pull request #90321 from k-toyoda-pi/add_error_check_e2e_disruption
...
Add checking error for disruption e2e test
2020-06-04 07:05:14 -07:00
Kubernetes Prow Robot
5dbe3e308a
Merge pull request #91737 from liggitt/psp-detect
...
Detect PSP enablement more accurately
2020-06-03 21:20:43 -07:00
Wei Huang
369a9001c6
Fix an issue that a Pod's nominatedNodeName cannot be cleared when the nominated node is deleted
2020-06-03 17:45:06 -07:00
Aaron Crickenberger
d960bf1903
behaviors: enforce behavior id must have suite id as prefix
2020-06-03 16:59:34 -07:00
Aaron Crickenberger
85724cf2c3
behaviors: fix kubeconform link
...
kubeconform was choking on a typo in the description field, so I fixed
the typo while adding friendlier logging to tell me which file was
invalid
I got curious why tests didn't catch this, and it turns out kubeconform
and the behavior tests use different codepaths to load and validate. So
I merged them together
2020-06-03 16:59:27 -07:00
Caleb Woodbine
63c694acdf
Fix verify
2020-06-04 08:57:28 +12:00
Kenichi Omichi
0ebaae88b1
Replace framework.Failf with ExpectNoError
2020-06-03 20:16:12 +00:00
Jordan Liggitt
0e062981d1
Detect PSP enablement more accurately
2020-06-03 13:14:19 -04:00
Kubernetes Prow Robot
f2e3154a14
Merge pull request #91642 from huffmanca/update-azure-e2e
...
Adjust Azure e2e binding mode
2020-06-03 05:44:32 -07:00
Yecheng Fu
1ff09c0934
Remove BindTimeoutSeconds from KubeSchedulerConfiguration
2020-06-03 09:54:06 +08:00
Kubernetes Prow Robot
9f9cb9d73e
Merge pull request #91597 from elmiko/remove-coreCount
...
remove unused variable from autoscaling e2e
2020-06-02 18:11:47 -07:00
Caleb Woodbine
8945d98805
Update desc, naming, cleanup handling
2020-06-03 11:36:21 +12:00
Kubernetes Prow Robot
bb11561ace
Merge pull request #80545 from spiffxp/promote-preemption-tests
...
Promote SchedulerPreemption e2e tests to Conformance
2020-06-02 15:28:16 -07:00
Kubernetes Prow Robot
a4e7db7cc3
Merge pull request #91336 from nodo/node-changed-unschedulable-pod-integration-tests
...
Add test case for a pod becoming schedulable when a node is updated
2020-06-02 13:26:17 -07:00
Wei Huang
133dde6358
Remove EvenPodsSpread
featuregate and related logic
2020-06-02 11:24:12 -07:00
Hemant Kumar
74be9f04fa
Ensure CleanupActionHandle always completes
...
The way gingko handles interrupts is:
- It starts running AfterSuite hooks in a separate goroutine (this includes cleanupAction hooks)
- Once AfterSuite hook is done executing it calls
os.Exit(1) on test suite.
So how cleanupFunc() that runs via defer in test can be interrupted
is:
- cleanupFunc starts running via defer (or AfterEach hook) but first
thing that function does is to remove cleanupHandle from
framework.RemoveCleanupAction.
- Test suite receives interrupt from user and AfterSuite block
starts executing
- remember that while cleanupFunc is running in goroutine#1,
AfterSuite is running concurrently in goroutine#2.
- AfterSuite hook has bunch of CleanupActions it needs to run which
were registered via framework.AddCleanupAction(cleanupFunc) but
once cleanupFunc starts executing via defer in the test, it will
remove the cleanupHandle from framework's aftersuite hooks.
- So if AfterSuite did not had anything to run (because
those actions were removed via framework.RemoveCleanupAction
then it will simply go to the last framework.AfterEach action and call os.Exit(1)
- So if os.Exit(1) is called before cleanupFunc has a chance to finish in defer, it will not complete.
2020-06-02 12:40:32 -04:00
Claudiu Belu
46df555ebe
test images: Adds step for fetching Windows image builder certificates
...
The google cloud builder job is launched without the required Windows Image Builder nodes
certificates that are needed for authentication when building the Windows container images.
Adds a step in test/images/cloudbuild.yaml that fetches a secret containing the certificates.
2020-06-02 07:50:45 -07:00
Kubernetes Prow Robot
84861d2102
Merge pull request #91558 from liggitt/csr-e2e
...
Add e2e coverage for the CertificateSigningRequest API, enable patch support for approval subresource
2020-06-02 06:28:15 -07:00
Rares Folea
d6b55b4469
Fix typo test/cmd/README
...
Typo in `Adding Tests` section
2020-06-02 14:50:55 +03:00
Roy Yang
d79f0c6b39
Simplify the logic by removing dead code and enhance logging
...
Signed-off-by: Roy Yang <royyang@google.com>
2020-06-01 23:43:04 -07:00
Kubernetes Prow Robot
1efe51b52b
Merge pull request #91643 from hasheddan/permissions
...
Fix minor typo in projected service account e2e test
2020-06-01 23:34:39 -07:00
Kubernetes Prow Robot
5592b5d67a
Merge pull request #91470 from MHBauer/fail-0-remote-images
...
explicitly fail if no images are found when running remote tests
2020-06-01 20:58:14 -07:00
Stephen Heywood
aaa0734259
Confirm list quantity after pod template collection deleted
2020-06-02 03:20:58 +00:00
Stephen Heywood
b26c782d72
Relocate tests from framework/events/events.go & update polling check
2020-06-02 02:34:35 +00:00
Kubernetes Prow Robot
f834c92ce1
Merge pull request #91632 from liggitt/ginkgo-recover-e2e
...
Defer ginkgo recovers
2020-06-01 16:24:14 -07:00
hasheddan
7b0b5cb8d1
Fix minor typo in projected service account e2e test
...
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-01 14:10:09 -05:00
Christian Huffman
7a55d3978c
Adjust Azure e2e binding mode
2020-06-01 14:55:46 -04:00
Jordan Liggitt
c9638d54d0
Defer ginkgo recovers
2020-06-01 11:02:41 -04:00
Kubernetes Prow Robot
b618411f1e
Merge pull request #91594 from neolit123/1.19-update-owners-test-lifecycle
...
test/e2e/lifecycle: update OWNERS
2020-05-31 23:57:55 -07:00
Kubernetes Prow Robot
46d08c89ab
Merge pull request #91363 from alejandrox1/tune-node-perf-workloads
...
Tuned npb is workload resources
2020-05-30 23:25:53 -07:00
Kubernetes Prow Robot
a017253ace
Merge pull request #88196 from janosi/sctp-e2e
...
e2e test cases for basic SCTP testing
2020-05-30 09:41:53 -07:00
lsytj0413
64094899b0
test(e2e_node): Parallelize prepulling all images in e2e_node
tests
2020-05-30 18:07:23 +08:00
Kubernetes Prow Robot
6468bfa770
Merge pull request #91585 from liggitt/pending-pod-timeout
...
Add debugging and timeouts to pending pod e2e
2020-05-30 02:58:08 -07:00
Michael McCune
0a9c3e9684
remove unused variable from autoscaling e2e
...
This change removes the `coreCount` variable and associated counting
logic from the cluster size autoscaling test. This variable was used
during the 1.9 release era, but the tests that used it were removed
before the 1.10 release. Please see the referenced commits[0][1] for
more information.
[0]
c8b807837a
[1]
fd738945b1
2020-05-29 17:33:45 -04:00
Lubomir I. Ivanov
93549d5037
test/e2e/lifecycle: update OWNERS
...
The e2e/lifecycle package is owned by SIG CL, although maybe this
should be moved to e2e/auth at some point.
- copy the OWNERS from /cmd/kubeadm (minus the area/kueadm label)
- remove the OWNERS file in /bootstrap letting the parent OWNERS file
manage this sub-package.
2020-05-29 23:12:44 +03:00
Kubernetes Prow Robot
d1586ea3f9
Merge pull request #91502 from deads2k/dyn-audit-removal-00
...
remove --feature-gates=DynamicAuditing
2020-05-29 11:56:20 -07:00
Jordan Liggitt
ee193bcd40
Add debugging and timeouts to pending pod e2e
2020-05-29 11:54:16 -04:00
Jordan Liggitt
0e2b13aed2
Add CertificateSigningRequest API coverage tests
2020-05-29 11:50:44 -04:00
Kubernetes Prow Robot
83f343011f
Merge pull request #91308 from julianvmodesto/remove-deprecated-server-dry-run-flag
...
Remove deprecated --server-dry-run from kubectl apply
2020-05-29 01:05:35 -07:00
Kubernetes Prow Robot
c8ceeed698
Merge pull request #91191 from denkensk/add-integration-test-nonpreempt
...
Add integration test for NonPreemption
2020-05-28 22:07:15 -07:00
Alex Wang
505ae6930f
add integration-test for NonPreemption
2020-05-29 11:54:03 +08:00
Xiang Dai
e09bc312cb
*.sh: cleanup all white noise
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-29 09:56:00 +08:00
Kubernetes Prow Robot
0891f69f5e
Merge pull request #91510 from ahg-g/ahg-preempt
...
Add Preemption benchmark
2020-05-28 16:38:12 -07:00
Laszlo Janosi
3ce43a1c96
Add e2e test for SCTP Service, Pod and Endpoint creation.
...
Add SCTP NetworkPolicy test.
2020-05-28 19:51:27 +00:00
Abdullah Gharaibeh
d650b57141
Added Preemption benchmark
2020-05-28 14:05:52 -04:00
Gaurav Singh
adcd8909fb
cleanup: Remove_unnecessary_Sprintfs
...
Removed unused fmt
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-28 13:43:13 -04:00
Kubernetes Prow Robot
40e61d8a50
Merge pull request #90365 from janosi/createsctpservice
...
e2e test framework change for the SCTP e2e tests
2020-05-28 10:24:04 -07:00
Ed Bartosh
e6192a87af
Remove unused e2e test image config
...
node_e2e tests use benchmark image configs from test-infra repository
This one is outdated and not used anywhere.
2020-05-28 14:44:31 +03:00
Kubernetes Prow Robot
8b3c00c661
Merge pull request #89799 from julianvmodesto/patcher
...
Make kubectl client-side apply with server-side dry-run safer
2020-05-27 20:50:02 -07:00
David Eads
e857adbdfd
remove-api
2020-05-27 16:58:05 -04:00
Caleb Woodbine
cd314c193c
Fix linting
2020-05-28 08:36:34 +12:00
David Eads
ed4e6f1026
remove dynamic audit
2020-05-27 15:18:53 -04:00
Kubernetes Prow Robot
7c3f7065db
Merge pull request #91113 from soltysh/create_deployment
...
Refactor create deployment and add --port flag
2020-05-26 23:24:54 -07:00
Kubernetes Prow Robot
65c0a1e64b
Merge pull request #89716 from Jefftree/bdd-initial-link
...
Add behavior <-> conformance test linkage example for pods
2020-05-26 23:24:41 -07:00
Caleb Woodbine
1db0ca74a9
Update correct resource version used, watch retry function to not close
2020-05-27 16:11:41 +12:00
Caleb Woodbine
250bb35041
Update documentation
2020-05-27 12:09:02 +12:00
Kubernetes Prow Robot
6b15b1f4a6
Merge pull request #91467 from bobbypage/topology-manager-test
...
Mark Topology Manager Test as non-alpha and NodeFeature
2020-05-26 16:49:14 -07:00
Kubernetes Prow Robot
30eeacbf22
Merge pull request #91384 from alejandrox1/alejandrox1-patch-1
...
Added cadvisor test suite to flag info message
2020-05-26 16:48:56 -07:00
Stephen Heywood
ecb68742e0
Fix golint issue
2020-05-26 23:34:53 +00:00
Stephen Heywood
b3baef5e05
Fix gofmt issues
2020-05-26 22:04:55 +00:00
Morgan Bauer
a9b999c00d
remove out of date test config
2020-05-26 14:46:38 -07:00
Morgan Bauer
58924c2de5
explicitly fail if no images are found when running remote tests
...
The previous implementation succeeds if no images are run. This causes
silent failures when image matchers are provided that do not match any image.
2020-05-26 14:08:27 -07:00
Kubernetes Prow Robot
f91c1ef60e
Merge pull request #91370 from justaugustus/cni
...
Update CNI to v0.8.6
2020-05-26 13:38:01 -07:00
Caleb Woodbine
9a77a00c7c
Fix formatting
2020-05-27 08:34:03 +12:00
David Porter
f5b8c3d746
Mark Topology Manager Test as non-alpha and NodeFeature
2020-05-26 12:10:18 -07:00
Maciej Szulik
ed1a0e9456
Refactor create deployment and add --port flag
2020-05-26 17:33:28 +02:00
Kubernetes Prow Robot
f097cee156
Merge pull request #90960 from zhouya0/fix_kubectl_create_secret_docker_registry
...
Fix kubectl create secret docker-registry --from-file
2020-05-26 05:39:12 -07:00
Stephen Heywood
7622a794da
Use polling while deleting the collection of events
2020-05-26 02:51:44 +00:00
Stephen Heywood
cd2ad2b986
Removing extra boilerplate from test
2020-05-26 02:34:15 +00:00
Andrea Nodari
8a39a2c24e
Add test case for a pod becoming schedulable when a node is updated
...
Also, avoid unnecessary copying when changing node taints
2020-05-25 21:59:36 +02:00
Caleb Woodbine
b9c934102b
Update default retrywatcher resource version
2020-05-25 15:27:32 +12:00
Kubernetes Prow Robot
0e37bcce2c
Merge pull request #88385 from tallclair/node-reviews
...
Remove tallclair from some OWNERS files
2020-05-24 20:23:11 -07:00
Caleb Woodbine
1bdb854e7e
Add resource deleting if there wasn't a delete watch event found
2020-05-25 14:59:25 +12:00
Caleb Woodbine
9f0c24ddcf
Fix checks, amount checking
2020-05-25 13:33:48 +12:00
Caleb Woodbine
b63b147d12
Update name, watch event occurence checking
2020-05-25 11:49:57 +12:00
Jorge Alarcon Ochoa
a069eec2bb
Added cadvisor test suite to flag info message
...
The cadvisor test suite is not mentioned in the remote runner's
`--test-suite` flag.
This PR will mention the existence of the cadvisor test suite.
2020-05-23 19:10:32 -04:00
Kubernetes Prow Robot
f01d848c48
Merge pull request #91329 from dims/switch-kube-controller-manager-to-distroless-image
...
Switch kube-controller-manager to distroless image
2020-05-22 17:23:10 -07:00
Stephen Augustus
b692502a9d
Update CNI to v0.8.6
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-22 17:48:56 -04:00
Christopher M. Luciano
2b091f60ca
ingress: Add Ingress to v1 API and update backend to defaultBackend
...
ingress: use new serviceBackend split
ingress: remove all v1beta1 restrictions on creation
This change removes creation and update restrictions enforced by
k8s 1.18 for not allowing resource backends.
Paths are no longer
required to be valid regex and a PathType is now user-specified
and no longer defaulted.
Also remove all TODOs in staging/net/v1 types
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-05-22 11:57:41 -04:00
alejandrox1
ebd84a5517
Tuned npb is workload resources
...
Lowering the amount of cpu allocated to this workload will set the
resources allocated to be similar to the other npb and tf workload in
this tests.
This will also allow to run all three workloads in a n1-standard-12 gcp
instance - which has 16 cpus and 60 GB.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-05-22 09:30:43 -04:00
Kubernetes Prow Robot
9e06faa1fb
Merge pull request #91240 from tosi3k/bump-am-version
...
Update kube-addon-manager to v9.1.1
2020-05-21 19:40:37 -07:00
Davanum Srinivas
b1742f19ef
Switch kube-controller-manager to distroless image
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-21 22:33:54 -04:00
Stephen Heywood
d373bef4e4
Use polling while deleting the collection of pod templates
2020-05-22 01:33:20 +00:00
Kubernetes Prow Robot
bded41a817
Merge pull request #90689 from aojea/nfsv6
...
add ipv6 support to the e2e nfs tests
2020-05-21 03:30:36 -07:00
Aaron Crickenberger
4857893a0c
Promote preemption e2e tests to Conformance
2020-05-20 23:05:15 -07:00
Caleb Woodbine
32e0da39fc
Update to use watcher
2020-05-21 15:58:55 +12:00
Kubernetes Prow Robot
d32875543b
Merge pull request #91227 from aojea/kcliwait
...
kubectl run test: the pod wait (some time) until attach before printing
2020-05-20 19:41:20 -07:00
Kubernetes Prow Robot
97145d685c
Merge pull request #91077 from brianpursley/kubectl-501-2
...
Changed kubectl config set-cluster and set-credentials to support process substitution for filenames
2020-05-20 16:45:25 -07:00
Kubernetes Prow Robot
6eefe7d7d3
Merge pull request #90552 from dims/separate-out-cri-related-code-into-self-contained-package
...
Separate out cri related code into self contained package
2020-05-20 16:44:46 -07:00
Kubernetes Prow Robot
57b0c310b7
Merge pull request #90390 from ii/promote-serviceaccount-resource-lifecycle-test
...
Promote ServiceAccount resource lifecycle test - +3 conformance coverage
2020-05-20 16:44:33 -07:00
Kubernetes Prow Robot
62a4cb930b
Merge pull request #90367 from julianvmodesto/conformance-diff-dry-run
...
Promote diff and dry-run to conformance
2020-05-20 16:44:19 -07:00
Caleb Woodbine
82d76e2d6d
Add dynamic client resource watch function
2020-05-21 10:00:17 +12:00
Julian V. Modesto
3e93f99262
Remove deprecated --server-dry-run.
...
For the beta server-side dry-run feature, `kubectl apply` provided the
`--server-dry-run` flag.
As of 1.18, this flag was deprecated and marked to be removed after 1
release.
2020-05-20 16:53:53 -04:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:46 -04:00
Antoni Zawodny
15e491eb2f
Update kube-addon-manager to v9.1.1
2020-05-20 09:50:20 +02:00
Caleb Woodbine
a3248a7ba8
Add documentation; Update base from invarients
2020-05-20 16:28:01 +12:00
Stephen Heywood
758e3c76a4
Removing extra boilerplate from test
2020-05-20 01:21:04 +00:00
Stephen Heywood
7772a42114
Switch pod template to use Agnhost
2020-05-19 23:44:19 +00:00
Kubernetes Prow Robot
739a61a871
Merge pull request #91221 from gnufied/tolerate-pod-not-found
...
Tolerate pod not found errors in storage e2e
2020-05-19 16:32:33 -07:00
Kubernetes Prow Robot
6cf4ab3c8c
Merge pull request #91071 from alculquicondor/integration_new_node
...
Add test case for a pod becoming schedulable when a node is added
2020-05-19 15:22:33 -07:00
Kubernetes Prow Robot
0e8a2d2244
Merge pull request #90793 from pohly/flaky-mount-volume-calls
...
mock e2e test: reduce flakiness by not testing all calls
2020-05-19 15:22:19 -07:00
Julian V. Modesto
f0eb68c0cf
Make client-side apply safer
...
- Remove the ServerDryRun field and delegate it entirely to the resource.Helper
- Use resource.Helper for deletions (as in `kubectl apply --force`)
instead of using the pruner's method that uses a dynamic client
- Reduce the resource.Helpers and times we check for server-side dry-run
in apply
2020-05-19 17:01:47 -04:00
Davanum Srinivas
fb7cb4307e
Move nfs-provisioner from quay.io/kubernetes_incubator to staging-csi
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 14:46:33 -04:00
Hemant Kumar
155db11b73
Do not fail test if pod is not found
2020-05-19 14:16:25 -04:00
Davanum Srinivas
5c966e3beb
Use staging-csi to work around quay.io availability
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 12:51:54 -04:00
Antonio Ojea
a0f0e58373
kubectl run test wait until pod terminates
...
the test "executing a command with run and attach without stdin"
is inherently flaky, there are several discussion but seems that
it requires changing the way the kubectl run and attach works.
The test fails if we are not able to attach before the container prints
"stdin closed", but hasn't exited yet.
Because the race seems difficult to solve, we can wait 5 seconds
before printing to give time to kubectl to attach to the container.
2020-05-19 13:09:32 +02:00
Jefftree
c7216b9a1b
Fix unmarshal for tests without behaviors
2020-05-18 23:35:25 -07:00
Jefftree
ceb67482c4
link 2 pod conformance tests with behaviors
2020-05-18 23:35:25 -07:00
Stephen Heywood
8ccf59027e
Add: test to ensure that a set of pod templates can be removed by delete collection
2020-05-19 04:33:08 +00:00
Stephen Heywood
cb7a680896
Add: test to ensure that a set of events can be removed by delete collection
2020-05-18 21:49:30 +00:00
Kubernetes Prow Robot
0d4464d014
Merge pull request #91150 from brianpursley/e2e-delete-pods
...
Add code to delete pods at the end of e2e tests to free up capacity
2020-05-18 13:33:48 -07:00
Antoni Zawodny
6b1393a3c5
Remove unnecessary logging info from kubemark nodes annotation
2020-05-18 16:01:50 +02:00
Caleb Woodbine
fcb04acd70
Add WIP watch event tooling
2020-05-18 16:32:38 +12:00
Kubernetes Prow Robot
1911ca213f
Merge pull request #91045 from saschagrunert/port-forward-deflake
...
Deflake port-forward e2e test
2020-05-16 19:00:14 -07:00
Kubernetes Prow Robot
d4ce66fe0b
Merge pull request #90660 from Huang-Wei/synced-sched-err-call
...
Move unschedulable Pod to internal schedulingQ synchronously
2020-05-16 19:00:06 -07:00
Kubernetes Prow Robot
b170451caa
Merge pull request #90183 from dims/update-kubernetes-to-klog-v2
...
Update kubernetes to klog v2
2020-05-16 18:59:51 -07:00
Kubernetes Prow Robot
052f9c8e7d
Merge pull request #90861 from dims/drop-conformance-tag-for-a-hostpath-test
...
Remove [Conformance] from "HostPath should give a volume the correct mode" test
2020-05-16 07:36:40 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Wei Huang
133a02540f
Move unschedulable Pod to internal schedulingQ synchronously
...
- use in-cache Pod instead of real-time Pod (by calling API server) to mark it as unschedulable
in internal schedulingQ
- remove the backoff logic as now we don't call API server
- the whole logic is changed to a synchronous call
2020-05-15 19:27:28 -07:00
Brian Pursley
20642720c6
Added pod deletion utility methods and added code to delete remaining pods in some e2e tests to try to prevent exceeding node capacity
2020-05-15 21:21:37 -04:00
Brian Pursley
84d5e664af
Changed kubectl config set-cluster and set-credentials to support process substitution for filenames
2020-05-15 09:22:59 -04:00
Kubernetes Prow Robot
32680e1c1e
Merge pull request #91039 from Jefftree/conformance-fix-space
...
remove empty line before ConformanceIt
2020-05-15 02:48:39 -07:00
Kubernetes Prow Robot
78abe8b270
Merge pull request #90978 from brianpursley/kubernetes-89259
...
Changed scheduler to use patch when updating pod status
2020-05-15 02:47:53 -07:00
Kubernetes Prow Robot
f12799e787
Merge pull request #90718 from fasaxc/improve-netpol-diags
...
Avoid early exit when collecting post-E2E failure logs.
2020-05-15 02:47:26 -07:00
Kubernetes Prow Robot
8cb57dd09a
Merge pull request #90180 from JacobTanenbaum/e2eTest-conntrack
...
add a test that shows the preservation UDP traffic when server pod cycles
2020-05-15 02:47:12 -07:00
Kubernetes Prow Robot
53a707daae
Merge pull request #88885 from julianvmodesto/kubectl-field-managers
...
Improve kubectl field manager names for clearer conflicts
2020-05-15 02:46:58 -07:00
zhouya0
bbf41448f6
Fix kubectl create secret docker-registry
2020-05-15 12:14:03 +08:00
Brian Pursley
9eb8e7a6d6
Changed scheduler to use patch when updating pod status to avoid potential conflicts
2020-05-14 15:17:53 -04:00
Kubernetes Prow Robot
5bda0c1b3b
Merge pull request #83726 from cofyc/fix56180
...
scheduler: Move all volume binding code into VolumeBinding plugin
2020-05-14 10:08:23 -07:00
Aldo Culquicondor
c8e2d5ba7c
Add test case for a pod becoming schedulable when a node is added
...
We have little coverage around node addition and removal. Since distinct event handlers interact, it is important to cover this in integration tests.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:59:41 -04:00
Aldo Culquicondor
35b9ab1227
Remove unnecessary clientset arg from initPausePod
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:47:12 -04:00
Kubernetes Prow Robot
438debfb72
Merge pull request #91057 from ingvagabund/start-informers-outside-of-InitTestScheduler
...
integration: start informer and scheduler outside of InitTestScheduler
2020-05-14 06:22:22 -07:00
Kubernetes Prow Robot
9978c281ec
Merge pull request #90773 from gnufied/fix-csi-e2e-orphans
...
Fix CSI e2e leaving pods in terminating state
2020-05-13 22:14:21 -07:00
Kubernetes Prow Robot
9188bbbdaa
Merge pull request #90990 from hasheddan/guestbook
...
Retry resolving TCP address in agnhost/guestbook
2020-05-13 15:59:24 -07:00
Kubernetes Prow Robot
4339ac30a0
Merge pull request #90554 from vboulineau/vboulineau/fix_win_stats_init_containers
...
kubelet: fix `/stats/summary` endpoint on Windows when init-containers are present on the node
2020-05-13 15:58:51 -07:00
Jacob Tanenbaum
59082e80e3
Add a test that checks if conntrack entries are cleaned up for UDP traffic
...
ensure that when a pod servicing UDP traffic is deleted the conntrack entries
are cleaned up and another backend can pick up the traffic with minimal
interruption
When using NodePort services and long running connections that on pod deletion
stale conntrack entries can halt the flow of traffic. Add a test case to check
that conntrack entries are cleaned up.
2020-05-13 16:45:58 -04:00
Julian V. Modesto
7af0011884
Promote diff and dry-run to conformance
2020-05-13 13:04:41 -04:00
Jan Chaloupka
65e9826f79
integration: start informer and scheduler outside of InitTestScheduler
...
In case two or more controllers share the informers created through InitTestScheduler,
it's not safe to start the informers until all controllers set their informer
indexers. Otherwise, some controller might fail to register their indexers
in time. Thus, it's responsibility of each consumer to make sure all informers
are started after all controllers had time to get initiliazed.
2020-05-13 18:19:43 +02:00
Hemant Kumar
da941d8d3e
Create mock CSI driver resources in different namespace
2020-05-13 11:16:00 -04:00
Hemant Kumar
708261e06c
Make AfterSuite hooks ordered
...
ginkgo has a weird bug that - AfterEach does not get called when
testsuite exits with certain kind of interrupt (Ctrl-C for example).
More info - https://github.com/onsi/ginkgo/issues/222
We workaround this issue in Kubernetes by adding a special hook into
AfterSuite call, but AfterSuite can not be used to peforms certain
kind of cleanup because it can race with AfterEach hook and
framework.AfterEach hook will set framework.ClientSet to nil.
This presents a problem in cleaning up CSI driver and testpods. This
PR removes cleanup of driver manifest via CleanupAction because that
is not safe and racy (such as f.ClientSet may disappear!) and makes
AfterSuite hooks run in a ordered fashion
2020-05-13 11:15:27 -04:00
Kubernetes Prow Robot
98d404d280
Merge pull request #90963 from justaugustus/kube-cross
...
base-images: Update to kube-cross:v1.13.9-5
2020-05-13 00:19:03 -07:00
Kubernetes Prow Robot
620b7720e6
Merge pull request #90828 from gaurav1086/fix_data_race_storage
...
Fix date race in storage tests
2020-05-13 00:18:40 -07:00
Sascha Grunert
c7648f5984
Deflake port-forward e2e test
...
We should read and verify the data before actually closing the
connection to avoid connection based-races within the test.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-13 08:53:31 +02:00
Kubernetes Prow Robot
07e916b05a
Merge pull request #90155 from robscott/endpointslice-test
...
Improving EndpointSlice tests
2020-05-12 21:00:26 -07:00
Jefftree
365f1d7d82
remove space before ConformanceIt
2020-05-12 17:55:32 -07:00
Kubernetes Prow Robot
6acceaeb2d
Merge pull request #91019 from aojea/rejected
...
improve error logging on e2e pod create function
2020-05-12 15:50:26 -07:00
Stephen Augustus
b5117ae8b5
base-images: Update to kube-cross:v1.13.9-5
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-12 18:14:33 -04:00
hasheddan
921b76ceaa
Move getting IP address into retry loop for agnhost/guestbook
...
Removes the fatal error from getIP and moves it to
retry loop so that application will not immediately
crash on failure.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 13:55:17 -05:00
Kubernetes Prow Robot
53ba2ce026
Merge pull request #90865 from Huang-Wei/dedicated-informfactory-node-controller
...
test: Use dedicated informerFactory for node lifecycle controller
2020-05-12 08:24:59 -07:00
Kubernetes Prow Robot
9fce6b7147
Merge pull request #89023 from k-toyoda-pi/e2e_pdb_remove_unnecessary_error
...
Remove unnecessary return value in e2e/apps/disruption
2020-05-12 08:24:36 -07:00
hasheddan
9081dfb68d
Improve error messages in agnhost/guestbook
...
This updates the error messages when registering a
node to be more explicit about what error occurred
and how long it will wait to retry.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 09:58:53 -05:00
Antonio Ojea
aa4df0422b
improve error logging on e2e pod create function
2020-05-12 13:41:56 +02:00
Yecheng Fu
c14b749521
scheduler/volumebinding: move all volume binding logic into VolumeBinding plugin
2020-05-12 10:13:05 +08:00
Kubernetes Prow Robot
ec0eec68b2
Merge pull request #90979 from damemi/fix-preemption-error
...
Add missing resource limits for e2e preemption
2020-05-11 15:23:07 -07:00
Kubernetes Prow Robot
f553458bbd
Merge pull request #90925 from gaurav1086/fix_namespace_datarace
...
Fix data race in namespace error handling
2020-05-11 15:22:58 -07:00
Kubernetes Prow Robot
437c2df36f
Merge pull request #90855 from wojtek-t/remove_listwatchuntil
...
Remove ListWatchUntil
2020-05-11 15:22:35 -07:00
Kubernetes Prow Robot
fc2c410a5a
Merge pull request #90806 from tosi3k/kubemark_node_size_objects
...
Add option to resize kubemark node objects size
2020-05-11 15:22:21 -07:00
hasheddan
0cacc44fc9
Retry resolving TCP address in agnhost/guestbook
...
Currently the guestbook application will fail if unable
to resolve TCP address on first attempt. If pod networking
is not setup when the application starts then it will be
unable to resolve, leading to frequent failures. This moves
the address resolution into the retry block so it will try
again if unsuccessful on first attempt.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-11 13:45:28 -05:00
Tim Allclair
029a144ae9
Remove tallclair from some OWNERS files
2020-05-11 11:44:38 -07:00
Gaurav Singh
d8a752ff72
Fix data race in namespace
...
Code review changes
2020-05-11 10:46:18 -04:00
wojtekt
ead12b02fe
Remove ListWatchUntil
2020-05-11 16:34:18 +02:00
Mike Dame
e623cc3abf
Add missing resource limits for e2e preemption
2020-05-11 10:01:57 -04:00
Gaurav Singh
93fa760c0a
Code review changes
2020-05-11 08:40:27 -04:00
Kubernetes Prow Robot
7937aa60a3
Merge pull request #90687 from aojea/connt
...
use conntrack instead of the /proc file for the e2e test TCP CLOSE_WAIT
2020-05-10 18:57:50 -07:00
Kubernetes Prow Robot
3c159bb10f
Merge pull request #88532 from zioproto/drop-network-tier-alpha-gate
...
Drop the alpha gating for Network Service Tier configuration support
2020-05-10 12:13:50 -07:00
Kubernetes Prow Robot
d63d77dc4c
Merge pull request #89547 from smarterclayton/graceful
...
netexec: Allow graceful shutdown testing from netexec
2020-05-09 16:49:50 -07:00
Julian V. Modesto
360c348d0e
Set kubectl field manager names
2020-05-09 13:24:39 -04:00
Antonio Ojea
6f9c0f9edd
track debian-iptables test image version
2020-05-09 16:54:23 +02:00
Antonio Ojea
5c8b88ec08
use conntrack instead of the /proc file
...
use the debian-iptables image, that is the base image used for the
kube-proxy one.
It already has the conntrack command, so no need to check for it.
2020-05-09 15:22:05 +02:00
Kubernetes Prow Robot
78e3ea1f20
Merge pull request #90740 from damemi/improve-preemption-e2es
...
Balance node usage before creating victim pods in preemption e2e
2020-05-09 00:44:28 -07:00
Kubernetes Prow Robot
329ecaa657
Merge pull request #90898 from wojtek-t/fix_statefulset_test
...
Fix stateful set test flakiness
2020-05-08 18:28:28 -07:00
Kubernetes Prow Robot
13010d199c
Merge pull request #90878 from saikat-royc/snapshotter-provisioner
...
Pickup Snapshot Provisioner from the snapshot class "driver" info.
2020-05-08 13:43:51 -07:00
Mike Dame
49464d9ec3
Balance node usage before creating victim pods in preemption e2e
2020-05-08 15:53:38 -04:00
Gaurav Singh
af74fbabf4
Remove unused err variable
2020-05-08 14:20:35 -04:00
Kubernetes Prow Robot
5983660ed7
Merge pull request #90543 from giuseppe/fix-tasksaccounting-systemd
...
test, e2e_node: drop superfluous systemd properties
2020-05-08 10:57:43 -07:00
wojtekt
238dde4bdb
Fix statefulset test flakiness
2020-05-08 17:23:03 +02:00
Kubernetes Prow Robot
db9b0b0c0e
Merge pull request #90827 from gaurav1086/apimachinery_fix_race_condition
...
Fix date race in Apimachinery test
2020-05-08 05:23:56 -07:00
Antoni Zawodny
a303346dcc
Add option to resize kubemark node objects size
2020-05-08 13:06:49 +02:00
Saikat Roychowdhury
dcfaaefc60
Pickup Snapshot Provisioner from the snapshot class "driver" info.
...
When using FromFile or FromExisitingClass options, snapshot provisioner
should be picked up from the "driver" tag of VolumeSnapshotClass object.
2020-05-08 05:45:36 +00:00
Davanum Srinivas
b64e904ca8
Drop conformance for a HostPath test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-07 22:40:00 -04:00
Wei Huang
fc11871c61
test: Use dedicated informerFactory for node lifecycle controller
2020-05-07 15:01:55 -07:00
Kubernetes Prow Robot
c5be566b14
Merge pull request #90707 from jherrera123/fix-issue-88132
...
Make flexvolume e2e tests runnable again.
2020-05-07 07:35:15 -07:00
Clayton Coleman
3c9959a5d4
netexec: Allow graceful shutdown testing from netexec
...
The current /exit method is not sufficient to test graceful shutdown
behaviors within Kube that allow services to remain available during
rolling restarts. Add support for `wait=DURATION` and
`timeout=DURATION` to the exit handler and wire that to the Go http
server's graceful termination.
With these methods netexec can be used in a pod to simulate graceful
shutdown by adding a preStop handler that hits the exit endpoint with
a timeout and wait period.
2020-05-07 09:18:27 -04:00
Kubernetes Prow Robot
7f78048594
Merge pull request #90781 from msau42/increase-timeout
...
Increase timeout waiting for driver to start on nodes
2020-05-06 22:23:08 -07:00
Gaurav Singh
37458b350e
Fix date race in storage
2020-05-06 22:57:08 -04:00
Gaurav Singh
254a21b66e
Apimachinery test: Fix date race
2020-05-06 22:50:00 -04:00
Kubernetes Prow Robot
b144eec878
Merge pull request #90778 from msau42/update-mock
...
Update sidecars for csi mock driver
2020-05-06 17:57:08 -07:00
Kubernetes Prow Robot
3416442e4b
Merge pull request #90644 from tanjunchen/remove-controller-dependency
...
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-05-06 11:47:12 -07:00
Kubernetes Prow Robot
0a6c826d3e
Merge pull request #90715 from jsafrane/gluster-ignore-notfound
...
Ignore NotFound error when cleaning up Gluster tests
2020-05-06 05:25:09 -07:00
Patrick Ohly
5aa3805a5f
mock e2e test: reduce flakiness by not testing all calls
...
kubelet sometimes calls NodeStageVolume an NodePublishVolume too
often, which breaks this test and leads to flakiness. The test isn't
about that, so we can relax the checking and it still covers what it
was meant to cover.
2020-05-06 11:43:16 +02:00
Michelle Au
fc08f74157
Increase timeout waiting for driver to start on nodes to reduce test flakiness
...
Change-Id: Id553943e4473b387bf0ae14a18a90cb3a1bcd5c1
2020-05-05 18:10:10 -07:00
Kubernetes Prow Robot
8e3766f2a8
Merge pull request #90215 from jasimmons/pr_agnhost_netexec_http
...
Adds HTTPS logic to agnhost netexec
2020-05-05 18:01:09 -07:00
Michelle Au
b34ad7e8ad
Update sidecars for csi mock driver
...
Change-Id: Ica8ca20404fd15dcfdbb912602934a5b9f24e4c6
2020-05-05 16:21:19 -07:00
Shihang Zhang
3db7275b54
set proper file permission for projected service account volume
2020-05-04 18:25:23 -07:00
Kubernetes Prow Robot
fbacb6e264
Merge pull request #90335 from pohly/cleanup-late-binding
...
e2e storage: wait for PV deletion also for late binding
2020-05-04 18:05:07 -07:00
Kubernetes Prow Robot
03a927e756
Merge pull request #90535 from gnufied/azure-zone-e2e
...
Azure - fix create azure disk PV in regions that don't have zones
2020-05-04 13:46:27 -07:00
Kubernetes Prow Robot
dca3e3f6ed
Merge pull request #90486 from aojea/iperf
...
Fix e2e network performance test
2020-05-04 08:10:26 -07:00
Shaun Crampton
73fe9c9915
Avoid early exit when collecting post-E2E failure logs.
...
collectPodsAndNetworkPolicies() is called to collect diagnostics
after a failure. Previously, if it encountered a failure in getting
the logs it would call Failf(), discarding the rest of the diagnostics
immediately.
2020-05-04 14:32:04 +01:00
Vincent Boulineau
3bff11244b
kubelet: fix /stats/summary
endpoint on Windows when init-containers are present on the node
...
Following changes in #87730 , Kubelet is directly hcsshim to gather stats.
However, unlike `docker stats` API that was used before, hcsshim does not
keep information about exited containers.
When the Kubelet lists containers (`docker_container.go:ListContainers()`),
it sets `All: true`, retrieving non-running containers.
When docker stats is called with such container id, it'll return a valid JSON
with all values set to 0. The non-running containers are filtered later on in the process.
When the hcsshim is called with such container id, it'll return an error, effectively
stopping the stats retrieval for all containers.
2020-05-04 14:42:02 +02:00
Jan Safranek
de09560cf0
Ignore NotFound error when cleaning up Gluster tests
...
"Volumes GlusterFS should be mountable" is a bit flaky in a downstream CI.
This PR make "should be mountable" test on par with the other GlusterFS
tests (in_tree.go: DeleteVolume())
2020-05-04 12:57:45 +02:00
Giuseppe Scrivano
b21b1a5436
test, e2e_node: drop superfluous systemd properties
...
commit 43c56eb403
introduced a change
where CPUAccounting, CPUAccounting and TasksAccounting are enabled for
the systemd service.
It causes a regression on RHEL 7.8 where systemd-run doesn't allow to
set TasksAccounting.
Since Delegate= already enables all the controllers, it is superfluous
to specify them.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-05-04 09:22:35 +02:00
Jesus Herrera
aeb654495b
Fix usage of incorrect TestContext variable
2020-05-03 15:34:43 -04:00
Antonio Ojea
26a00f9032
add ipv6 support to the e2e nfs tests
...
nfs mount command need to use the IP enclosed with square brackets
if is an IPv6 address
2020-05-03 11:06:10 +02:00
Kubernetes Prow Robot
e01f553ddd
Merge pull request #90135 from claudiubelu/tests/subpath-retry-exec
...
tests: Retries exec after container restart due to liveness
2020-05-02 06:02:25 -07:00
Kubernetes Prow Robot
7e627e01ef
Merge pull request #90640 from gongguan/clean-port-flag
...
clean some dead constants
2020-05-01 00:42:22 -07:00
Kubernetes Prow Robot
6b594c25c8
Merge pull request #90615 from dims/drop-conformance-tag-for-tests-that-rely-directly-on-kubelet-logs-api
...
Drop conformance tag for tests that rely directly on kubelet /logs API
2020-05-01 00:42:12 -07:00
Kubernetes Prow Robot
cff910b890
Merge pull request #90509 from knight42/fix/flaky-explain-test
...
fix flaky conformance test
2020-05-01 00:40:18 -07:00
Kubernetes Prow Robot
a0344973a3
Merge pull request #90591 from cofyc/fix-e2e-namespace-creation
...
e2e: regenerate namespace name if the name is already taken
2020-04-30 15:56:13 -07:00
tanjunchen
caddb3ffd3
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-04-30 23:08:33 +08:00
louisgong
9390ff35a1
clean some dead configs
2020-04-30 20:07:08 +08:00
Kubernetes Prow Robot
8876563700
Merge pull request #90360 from tnozicka/fix-client-ca-reload
...
Fix client-ca dynamic reload in apiserver
2020-04-30 01:10:18 -07:00
Caleb Woodbine
bd9269f444
Fix formatting
2020-04-30 14:21:04 +12:00
Davanum Srinivas
3292bb6145
Drop conformance tag for tests that rely directly on kubelet /logs API
...
In caf0d1d61874a2c8687b7deb773eca30ddaee5b6 we documented a policy to
ensure that conformance tests should not rely in existence or use of
kubelet apis directly. So based on that we should drop conformance for
the two tests here that use the "/logs" endpoint directly.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-29 20:16:51 -04:00
Hemant Kumar
9d4329f62c
Check for empty zone string
2020-04-29 10:46:15 -04:00
Tomas Nozicka
b22a170d46
Fix client-ca dynamic reload in apiserver
2020-04-29 16:03:09 +02:00
tanjunchen
3b5ea194ea
test/e2e/framework : move AddOrUpdateTaintOnNode to subpackage node
2020-04-29 21:29:38 +08:00
Claudiu Belu
06a1b7b491
tests: Retries exec after container restart due to liveness
...
The test "should not change the subpath mount on a container restart if the environment variable changes"
creates a pod with the liveness probe: cat /volume_mount/test.log. The test then
deletes that file, which causes the probe to fail and the container to be restarted.
After which it recreates the file by exec-ing into the pod, but there is a chance
that the container was not created yet, or it did not start yet.
This commit adds a few retries to the exec command.
2020-04-29 03:22:30 -07:00
Claudiu Belu
707883d52b
tests: Refactors Variable Expansion tests
2020-04-29 03:21:35 -07:00
Yecheng Fu
38c5da01ad
regenerate namespace name if the name is already taken
2020-04-29 17:27:52 +08:00
Aaron Crickenberger
c209fe8439
fix .import-restrictions to work with import-boss --include-test-files
...
this is mainly to ensure integration tests (which all end in _test)
are properly bossed around for their imports
I had to adjust some of the _test files to adhere to existing
reverse_rules specified elsewhere
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
81881e4a12
prune .import-restrictions
...
specifically:
- cmd/kubeadm/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
- rm pkg/controller/.import-restrictions
- pkg/client/unversioned was removed in 59042
- pkg/kubectl/.import-restrictions
- pkg/printers is no longer used
- pkg/api was masking all of the pkg/apis prefixes
- rm staging/src/k8s.io/code-generator/cmd/lister-gen/.import-restrictions
- noop / empty file
- test/e2e/framework/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
f306a0dbb4
convert .import-restrictions to yaml
...
yaml has comments, so we can explain why we have certain rules or
certain prefixes
for those files that weren't already commented yaml, I converted them to
yaml and took a best guess at comments based on the PRs that introduced
or updated them
2020-04-28 08:41:36 -07:00
knight42
b9fb9b82f3
test(kubectl::explain): move the flaky test out of conformance
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-04-28 21:35:30 +08:00
Kubernetes Prow Robot
f86bf71dbe
Merge pull request #89560 from gavinfish/direct-k8s-pod
...
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-27 22:26:05 -07:00
Hemant Kumar
850da22c02
Azure - do not use 0 zone or empty string for zone when creating PVs
2020-04-27 17:14:50 -04:00
Guangming Wang
e92a91eb72
cleanup: no need nil check before range
2020-04-27 22:12:12 +08:00
Antonio Ojea
2c2e9cdd72
Fix e2e network performance test
2020-04-27 11:57:10 +02:00
Patrick Ohly
e3d258d6ca
e2e storage: wait for PV deletion also for late binding
...
When a test pattern or storage class uses late binding, the cleanup
code didn't know about the PV that may have been created for the PVC
since setting it up and thus then also didn't wait for PV deletion.
This is problematic for test isolation because the next test was
allowed to be started before fully cleaning up. Worse, it the driver
gets removed after the test, the volume might never get deleted.
2020-04-27 10:34:50 +02:00
Gaurav Singh
8240f21753
Convert index variable to interface{}
2020-04-26 11:10:00 -04:00
Gaurav Singh
98051aaba2
Fix race condition in logging
2020-04-25 22:01:21 -04:00
Kubernetes Prow Robot
4e45845530
Merge pull request #90095 from agadelshin/87893-ingress-egress-test
...
Add test for ingress/egress combination
2020-04-25 05:57:28 -07:00
Kubernetes Prow Robot
52ba6dc560
Merge pull request #89594 from wojtek-t/beta_immutable_secrets
...
Promote Immutable Secrets/ConfigMaps to Beta
2020-04-25 03:17:29 -07:00
Kubernetes Prow Robot
d0f10f1d4f
Merge pull request #90465 from wojtek-t/fix_loadbalancer_tets
...
Migrate ingress test manifests to networking API group
2020-04-24 15:32:37 -07:00
Kubernetes Prow Robot
b68bf25531
Merge pull request #90448 from soltysh/issue87851
...
Fix run command when waiting for pods
2020-04-24 15:32:17 -07:00
Kubernetes Prow Robot
219f062769
Merge pull request #64829 from dixudx/e2e_hostpath_type
...
fix bug on checking non directory HostPathType and add e2e tests for HostPathType
2020-04-24 15:31:29 -07:00
Kubernetes Prow Robot
7fdb2b16ae
Merge pull request #90468 from liggitt/fix-cache-control
...
Restore cache-control header filter
2020-04-24 14:01:29 -07:00
Jordan Liggitt
5efcc9e633
Restore cache-control header filter
2020-04-24 15:38:51 -04:00
wojtekt
b112393394
Migrate ingress test manifests to networking API group
2020-04-24 20:41:48 +02:00
Maciej Szulik
6f1484256d
waitForPod should use different exitCondition depending on restart policy
2020-04-24 16:30:46 +02:00
Kubernetes Prow Robot
70c18e4a15
Merge pull request #90404 from beautytiger/200423-nil-check
...
cleanup: delete unnacessary nil check before range
2020-04-24 04:42:06 -07:00
Kubernetes Prow Robot
f7b9960767
Merge pull request #90313 from tangcong/fix-scheduler-static-checkerr
...
fix e2e scheduling staticcheck error
2020-04-23 23:30:20 -07:00
Kubernetes Prow Robot
a62cfe8451
Merge pull request #75111 from tnozicka/fix-e2e-watches
...
Fix watches in e2e tests
2020-04-23 19:20:07 -07:00
Kubernetes Prow Robot
aef471ec3c
Merge pull request #90392 from tanjunchen/remove-direct-dependency
...
test/e2e_node/gpu_device_plugin_test.go:Remove direct prometheus dependencies from k/k
2020-04-23 17:20:20 -07:00
Kubernetes Prow Robot
775feed217
Merge pull request #90018 from wojtek-t/deprecate_default_conversions
...
Deprecate default conversions
2020-04-23 10:23:10 -07:00
Tomas Nozicka
c62db98e95
Update Bazel
2020-04-23 17:27:13 +02:00
Tomas Nozicka
d0a4c52392
Fix watches in apparmor e2e
2020-04-23 17:26:28 +02:00
Tomas Nozicka
df8994c202
Fix watches in e2e framework
2020-04-23 17:17:26 +02:00
Tomas Nozicka
c0ddbb0e97
Fix watches in init container e2e tests
2020-04-23 16:52:29 +02:00
Tomas Nozicka
2256991c93
Fix watches in StatefulSet e2e tests
2020-04-23 16:08:32 +02:00
Guangming Wang
bbd4fea21c
cleanup: delete unnacessary nil check before range
2020-04-23 20:28:14 +08:00
Kubernetes Prow Robot
c12aeb2b77
Merge pull request #89753 from ii/promote-event-resource-lifecycle-test
...
Promote Event resource lifecycle test +5 test endpoint coverage
2020-04-23 03:57:45 -07:00
tanjunchen
de99aaf8d2
test/e2e_node/gpu_device_plugin_test.go:Remove prometheus dependencies from k/k
2020-04-23 14:23:43 +08:00
Caleb Woodbine
e09e781a0c
Promote ServiceAccount resource lifecycle test
2020-04-23 16:32:54 +12:00
Di Xu
3f5e09b6e2
add e2e tests for HostPathType and mark as slow
2020-04-23 10:52:40 +08:00
Kubernetes Prow Robot
7ad2eb04af
Merge pull request #90354 from ii/mark-replicationcontroller-resource-lifecycle-test-as-flaky
...
Mark ReplicationController resource lifecycle test as flaky
2020-04-22 19:22:43 -07:00
Kubernetes Prow Robot
53374fa519
Merge pull request #90343 from neolit123/1.19-remove-kubernetes-anywhere
...
remove kubernetes-anywhere from this repository
2020-04-22 19:22:24 -07:00
Kubernetes Prow Robot
c13a9401ca
Merge pull request #90193 from ii/create-serviceaccount-resource-lifecycle-test
...
Create ServiceAccount resource lifecycle test - +3 endpoint coverage
2020-04-22 19:22:00 -07:00
Kubernetes Prow Robot
43cd2ff239
Merge pull request #89549 from happinesstaker/sa-rotate
...
Monitoring safe rollout of time-bound service account token.
2020-04-22 17:01:58 -07:00
Jiajie Yang
ae0e52d28c
Monitoring safe rollout of time-bound service account token.
2020-04-22 11:59:16 -07:00
Laszlo Janosi
af33c2f7e8
Add CreateSCTPServiceWithPort() to the framework in preparation for the coming SCTP e2e tests
2020-04-22 15:59:59 +00:00
Kubernetes Prow Robot
fc9d174102
Merge pull request #88248 from claudiubelu/tests/reduce-to-agnhost-mounttest
...
tests: Replaces mounttest images used with agnhost (part 4)
2020-04-22 04:53:52 -07:00
Caleb Woodbine
39e5122153
Update ReplicationController resource lifecycle test to be marked as flaky
2020-04-22 15:07:10 +12:00
Caleb Woodbine
9a53b0ec57
Add check for error in listing ServiceAccounts
2020-04-22 12:08:00 +12:00
Caleb Woodbine
c6e1701bda
Add checks to watches; Update to patch different subproperty
2020-04-22 10:45:17 +12:00
Lubomir I. Ivanov
820c87c069
remove kubernetes-anywhere from this repository
...
The project has been deprecated since Dec 2018 and is unused.
Cleanup in:
- /test/e2e/framework/
- /cluster/
2020-04-21 22:52:51 +03:00
Kubernetes Prow Robot
66fd1335fa
Merge pull request #90305 from wojtek-t/enable_couple_large_cluster_tests
...
Enable couple networking tests for large clusters
2020-04-21 07:52:56 -07:00
Jason Simmons
d0f19815d2
Updates agnhost image VERSION and README
2020-04-21 09:43:58 -04:00
Kubernetes Prow Robot
72cdc8c211
Merge pull request #89256 from yue9944882/integration-test-flowcontrol
...
Priority-level isolation integration test
2020-04-21 05:42:55 -07:00
Kubernetes Prow Robot
07179d0207
Merge pull request #87998 from msau42/e2e-reattach-stress
...
Add stress test to repeatedly restart Pods with PVCs in parallel
2020-04-21 03:04:57 -07:00
Kubernetes Prow Robot
4362bf7919
Merge pull request #89505 from knight42/fix/kubectl-explain-crd
...
fix(kubectl): explain crds whose resource name is the same as builtin objects
2020-04-21 01:44:56 -07:00
toyoda
47e4f51da2
Add checking error for disruption e2e test
2020-04-21 09:52:49 +09:00
Kubernetes Prow Robot
d6f44b0ea9
Merge pull request #90278 from aojea/closewait
...
Deflake TCP Closewait e2e test
2020-04-20 17:44:56 -07:00
tangcong
eab22fd805
fix e2e scheduling staticcheck error
2020-04-21 07:11:26 +08:00
Kubernetes Prow Robot
d92fdebd85
Merge pull request #89897 from giuseppe/test-e2e-node
...
kubelet: fix e2e-node cgroups test on cgroup v2
2020-04-20 15:54:12 -07:00
Kubernetes Prow Robot
0e072a8214
Merge pull request #85478 from bart0sh/PR0084-e2e_node-inspect-inspect-image-before-pulling
...
e2e_node: check if image exists locally before pulling
2020-04-20 14:05:40 -07:00
Kubernetes Prow Robot
be9427e253
Merge pull request #90252 from dims/no-need-to-vendor-bazel-gazelle/buildtools/kazel
...
Separate go module for tools to avoid polluting root go.mod
2020-04-20 12:19:41 -07:00
wojtekt
da1ed9d1ed
Enable couple networking tests for large clusters
2020-04-20 21:11:34 +02:00
Kubernetes Prow Robot
2c80046ed1
Merge pull request #90286 from smarterclayton/preempt
...
test: PriorityClass resource quota tests should not cause preemption
2020-04-20 10:42:04 -07:00
wojtekt
0360e4d1a1
Promote Immutable Secrets/ConfigMaps feature to Beta
2020-04-20 18:04:43 +02:00
Kubernetes Prow Robot
7f7378eddf
Merge pull request #89854 from SataQiu/fix-session-affinity-test-20200404
...
Increase the session affinity timeout to ensure that the test passes
2020-04-20 02:49:39 -07:00
Ed Bartosh
88478f3749
e2e_node: check if image exists locally before pulling
...
'docker pull' is a time consuming operation. It makes sense to check
if image exists locally before pulling it from a registry.
Checked if image exists by running 'docker inspect'. Only pull if
image doesn't exist.
2020-04-20 12:27:29 +03:00
Antonio Ojea
e3df13439a
fix service allocation concurrency issues
...
The service allocator is used to allocate ip addresses for the
Service IP allocator and NodePorts for the Service NodePort
allocator. It uses a bitmap backed by etcd to store the allocation
and tries to allocate the resources directly from the local memory
instead from etcd, that can cause issues in environment with
high concurrency.
It may happen, in deployments with multiple apiservers, that the
resource allocation information is out of sync, this is more
sensible with NodePorts, per example:
1. apiserver A create a service with NodePort X
2. apiserver B deletes the service
3. apiserver A creates the service again
If the allocation data of apiserver A wasn't refreshed with the
deletion of apiserver B, apiserver A fails the allocation because
the data is out of sync. The Repair loops solve the problem later,
but there are some use cases that require to improve the concurrency
in the allocation logic.
We can try to not do the Allocation and Release operations locally,
and try instead to check if the local data is up to date with etcd,
and operate over the most recent version of the data.
2020-04-20 09:50:00 +02:00
Kubernetes Prow Robot
1aa2c99a27
Merge pull request #90254 from smarterclayton/flaky_test
...
test: IngressClass exclusion test races with admission cache
2020-04-19 21:11:40 -07:00
SataQiu
fc3d282b10
kube-proxy: increase the session affinity timeout to ensure that the test passes in ipvs mode
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-04-20 10:22:30 +08:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
...
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00
Clayton Coleman
1e4e0759e8
test: PriorityClass resource quota tests should not cause preemption
...
During a parallel test run these tests were observed to cause a
preemption of another test:
```
Apr 19 16:59:06.749: INFO: At 2020-04-19 16:58:52 +0000 UTC - event for pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1: {default-scheduler } Scheduled: Successfully assigned e2e-init-container-7691/pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1 to ip-10-0-148-234.us-west-2.compute.internal
Apr 19 16:59:06.750: INFO: At 2020-04-19 16:58:54 +0000 UTC - event for pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1: {default-scheduler } Preempted: Preempted by e2e-resourcequota-priorityclass-8850/testpod-pclass9 on node ip-10-0-148-234.us-west-2.compute.internal
```
These tests have no need to actually land on a node to validate resource quota and so we can set an impossible scheduling condition. Hopefully we don't have tests that too broadly check impossible scheduling conditions.
2020-04-19 15:08:00 -04:00
Clayton Coleman
77973b5279
test: IngressClass exclusion test races with admission cache
...
The admission cache may take longer to see both ingress classes
than it takes to create the ingress. We must loop until we see
the appropriate error, cleaning up after ourselves as we go.
2020-04-19 10:28:46 -04:00
Antonio Ojea
6efe6e1284
e2e TCP Close-wait don't set conn deadline
...
Don't set a connection deadline for reading, because the read operation will
fail if no data is reaceived after the deadline, and will not keep the
connection in the close_wait status.
2020-04-19 13:52:49 +02:00
Antonio Ojea
4b423ad073
e2e kube-proxy don't delete inmediatly
2020-04-19 13:37:34 +02:00
Antonio Ojea
638e077b4b
e2e kube_proxy pull only if not available
2020-04-19 13:11:31 +02:00
Kubernetes Prow Robot
e95106106b
Merge pull request #90243 from soltysh/issue90074
...
Revert "stop defaulting kubeconfig to http://localhost:8080 "
2020-04-18 23:07:36 -07:00
Kubernetes Prow Robot
640b3c0582
Merge pull request #89916 from tanjunchen/update-20200407
...
test/e2e/autoscaling: refactor installNVIDIADriversDaemonSet()
2020-04-17 14:43:36 -07:00
yue9944882
df5dfb46b7
assert shared concurrency
2020-04-18 01:15:54 +08:00
Kubernetes Prow Robot
87eb688ec9
Merge pull request #90234 from jsafrane/remove-prestop-hook
...
Sync csi-hostpath manifests
2020-04-17 07:41:06 -07:00
Maciej Szulik
a871738c86
Revert "stop defaulting kubeconfig to http://localhost:8080 "
...
This reverts commit b19ad9e7a7
.
2020-04-17 16:37:15 +02:00
Kubernetes Prow Robot
72fb952dd6
Merge pull request #89915 from YuikoTakada/move_e2e_framework_WaitForService
...
Move WaitForService() into e2eservice
2020-04-17 04:49:07 -07:00
Jan Safranek
4bcb3cd34e
Sync csi-hostpath manifests
...
Copy csi-hostpath driver manifests from
kubernetes-csi/csi-driver-host-path. It bumps version of all images to the
release shipped along Kubernetes 1.18.
2020-04-17 09:49:24 +02:00
Kubernetes Prow Robot
7c53c1eb91
Merge pull request #89819 from pohly/enhance-podlogs-master
...
tests: enhance podlogs
2020-04-16 22:19:07 -07:00
Kubernetes Prow Robot
ae8d30631d
Merge pull request #90214 from pohly/stop-pod-master
...
storage tests: really wait for pod to disappear
2020-04-16 20:49:07 -07:00
Yuiko Mori
9c87deb487
Move WaitForService() into e2eservice
2020-04-17 00:11:13 +00:00
Michelle Au
6596e20b18
Make stress test parameters configurable
...
Change-Id: Ia062f3433b6043825a51a54c7c07eb4cdf809631
2020-04-16 14:18:21 -07:00
Kubernetes Prow Robot
aa0665dfee
Merge pull request #90147 from gnufied/use-random-node-zone-for-inline-e2e
...
Use random zone for inline volume e2e tests
2020-04-16 13:59:08 -07:00
Patrick Ohly
0cdd5365a1
storage tests: really wait for pod to disappear
...
As seen in one case (https://github.com/intel/pmem-csi/issues/587 ), a
pod can reach the "not running" state although its ephemeral volumes
are still being torn down by kubelet and the CSI driver. What happens
then is that the test returns too early and even deleting the
namespace and thus the pod succeeds before the NodeVolumeUnpublish
really finishes.
To avoid this, StopPod now waits for the pod to really disappear.
2020-04-16 21:10:56 +02:00
Jason Simmons
c56d8df5e3
Adds HTTPS logic to agnhost netexec
...
The agnhost image used for testing has a `netexec` path which supports
two new flags, `--tls-cert-file` and `--tls-private-key-file`. If the
former is provided, the HTTP server will be upgraded to HTTPS, using the
certificate (and private key) provided.
By default, there are keys already mounted into the container at
`/localhost.crt` and `/localhost.key`, which contain PEM-encoded TLS
certs with IP SANs for `127.0.0.1` and `[::1]`.
2020-04-16 11:42:37 -04:00
Kubernetes Prow Robot
b0806d0c02
Merge pull request #90165 from ScrapCodes/fix_flake_run_apply
...
Fixed flaky test by changing get_object_assert -> wait_object_assert.
2020-04-16 08:38:59 -07:00
Kubernetes Prow Robot
da5e6ad347
Merge pull request #90052 from tosi3k/reenable-ilb-test
...
Remove the 'DisabledForLargeClusters' tag from ILB correctness test
2020-04-16 02:14:45 -07:00
Caleb Woodbine
e31baf82da
Fix build
2020-04-16 17:52:10 +12:00
Caleb Woodbine
23d4367cff
Add ServiceAccount resource lifecycle test
2020-04-16 16:34:59 +12:00
Prashant Sharma
5a765b1e15
Changed get_object_assert -> wait_object_assert, to fix the flaky test.
2020-04-16 10:01:18 +05:30
tanjunchen
2e8e029737
test/e2e/autoscaling: refactor installNVIDIADriversDaemonSet()
2020-04-16 11:36:56 +08:00
Kubernetes Prow Robot
51d41dfdb1
Merge pull request #89542 from julianvmodesto/diff-dry-run-conformance
...
Add kubectl diff and server-side dry-run to e2e tests
2020-04-15 19:50:45 -07:00
Michelle Au
e132b77ae4
Add stress test to repeatedly restart Pods with PVCs in parallel
...
Change-Id: I499571cc86b1058d0e16d79e5e998d1dedfd9a4a
2020-04-15 18:10:35 -07:00
Kubernetes Prow Robot
b35fdbc037
Merge pull request #89904 from alculquicondor/raw-extension-plugin-args
...
Use RawExtension and Object for external and internal, respectively, scheduling plugin args
2020-04-15 15:22:59 -07:00
Kubernetes Prow Robot
b7a6d53f5e
Merge pull request #88924 from dims/add-support-for-listing-conformance-tests-in-e2e.test
...
Add support for listing conformance tests in e2e.test
2020-04-15 13:14:45 -07:00
Kubernetes Prow Robot
413c81a793
Merge pull request #90171 from kubernetes/revert-89421-disabled_for_large_cluster
...
Revert "Remove the 'DisabledForLargeClusters' tags from LB network tests."
2020-04-15 11:36:50 -07:00
Kubernetes Prow Robot
5ccc6e0142
Merge pull request #90166 from claudiubelu/test-images/owner-files-part-2
...
test images: Adds OWNERS files for images (part 2)
2020-04-15 11:36:42 -07:00
Kubernetes Prow Robot
a06d735829
Merge pull request #89152 from claudiubelu/image-promoter/reenable-windows
...
Image promoter: Reenable Windows test image building
2020-04-15 11:35:46 -07:00
Rob Scott
c0f58ba23a
Improving EndpointSlice tests
...
This adds 2 new tests covering EndpointSlices, including new coverage of
the self referential Endpoints and EndpointSlices that need to be
created by the API Server and the lifecycle of EndpointSlices from
creation to deletion. This also removes the [feature] indicator from the
name to ensure that this test will run more often now that it is enabled
by default.
2020-04-15 10:21:00 -07:00
Kubernetes Prow Robot
4cf56b0996
Merge pull request #88114 from pohly/storage-capacity-tests
...
storage capacity tests
2020-04-15 07:02:02 -07:00
Wojciech Tyczynski
5dca58d852
Revert "Remove the 'DisabledForLargeClusters' tags from LB network tests."
2020-04-15 13:45:42 +02:00
Artur Gadelshin
bf30bdddb1
add error check for network policy test
2020-04-15 11:47:02 +02:00
Hemant Kumar
7d6712632c
Use random zone for inline volume e2e tests
2020-04-14 23:37:21 -04:00
tanjunchen
87f2ef51f4
test/e2e/framework:remove direct k8s.io/kubernetes depedencies
2020-04-15 09:39:22 +08:00
Kubernetes Prow Robot
d0183703cb
Merge pull request #90059 from ahg-g/ahg-nodeinfo2
...
Cleanup obsolete NodeInfo methods
2020-04-14 17:32:04 -07:00
Kubernetes Prow Robot
548124828c
Merge pull request #90113 from claudiubelu/windows-tests/gmsa-nanoserver
...
Windows tests: Makes gMSA test more nanoserver friendly
2020-04-14 12:34:26 -07:00
Kubernetes Prow Robot
ea2d784545
Merge pull request #89895 from jingyih/update_etcd_server_3p4p7
...
Update default etcd server to 3.4.7 in k8s v1.19
2020-04-14 12:34:06 -07:00
Aldo Culquicondor
ce05382b58
Use RawExtension and Object for external and internal scheduling plugin args, respectively
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-14 13:44:42 -04:00
Claudiu Belu
2321378fe5
test images: Adds OWNERS files for images (part 3)
...
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).
Note that the code churn is taken into account for authors, and not committers.
Adds OWNERS files for: cuda-vector-add, nonewprivs, pets, redis, volume.
2020-04-14 05:26:22 -07:00
Claudiu Belu
2b5fb5366f
test images: Adds OWNERS files for images (part 2)
...
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).
Note that the code churn is taken into account for authors, and not committers.
Adds ONWERS files for: apparmor-loader, echoserver, jessie-dnsutils, metadata-concealment,
sample-apiserver.
2020-04-14 05:18:34 -07:00
Claudiu Belu
94ffe582e9
Image promoter: Reenable Windows test image building
...
The build times are a bit high for the image builder (~50 minutes), and it will a bit more
when Windows support will be added to the other test images. This commit changes the
machineType to N1_HIGHCPU_8.
Reenables Windows test image building. Added DOCKER_CERT_BASE_PATH (default value: $HOME),
which will contain the path where the certificates needed for Remote Docker Connection can
be found.
If a REMOTE_DOCKER_URL was not set for a particular OS version, exclude that image from the
manifest list. This fixes an issue where, if REMOTE_DOCKER_URL was not set for Windows Server 1909,
the Windows were completely excluded from the manifest list, including for Windows Server 1809
and 1903 which could have been built and pushed.
Sets "test-webserver" as the default CMD for kitten and nautilus. Since they are now based on
agnhost, they should be set to run test-webserver to maintain previous behaviour.
Bumps the agnhost version to 2.13, as 2.12 has already been promoted. 2.13 will contain
Windows support.
Adds Windows support for the kitten and nautilus images, so they can promoted together
with agnhost (they were not previously promoted).
Adds OWNERS files to: agnhost, busybox, kitten, nautilus.
2020-04-14 05:12:46 -07:00
Patrick Ohly
2ae6cf5984
mock tests: per-test timeout for ResourceExhausted
...
The timeout for the two loops inside the test itself are now bounded
by an upper limit for the duration of the entire test instead of
having their own, rather arbitrary timeouts.
2020-04-14 09:11:42 +02:00
tanjunchen
f76da50c7d
test/e2e/framework/util.go:move DsFromManifest to test/e2e/framework/manifest , and rename it to DaemonSetFromURL
2020-04-14 09:54:41 +08:00
jingyih
394df132bd
Update default etcd server to 3.4.7
2020-04-13 14:37:56 -07:00
Kubernetes Prow Robot
c894c7b121
Merge pull request #88393 from abhiraut/e2e-exc-multiple
...
Add e2e test for stacked NetworkPolicies with overlapping CIDR
2020-04-13 13:37:48 -07:00
Claudiu Belu
335dc6e2ee
Windows tests: Makes gMSA test more nanoserver friendly
...
Nanoserver does not have powershell. This commit will replace the powershell
command with its cmd equivalent.
2020-04-13 08:05:16 -07:00
yue9944882
875407a450
add flowcontrol integration test to import whitelist
2020-04-13 22:33:08 +08:00
yue9944882
30bc0fce48
integration test for priority-level isolation
2020-04-13 22:33:07 +08:00
Artur Gadelshin
4164b5c892
Add egress check to deny-all policy
2020-04-13 09:40:49 +02:00
toyoda
64fee7d58b
Remove unnecessary return value in e2e/apps/disruption
2020-04-13 15:04:00 +09:00
Kubernetes Prow Robot
b17ddac4df
Merge pull request #78944 from avorima/golint_fix_job
...
Fix golint errors in pkg/controller/job
2020-04-12 21:57:47 -07:00
Kubernetes Prow Robot
6239abe698
Merge pull request #89225 from andrewsykim/apparmor-api
...
move apparmor annotation constants to k8s.io/api/core/v1
2020-04-12 19:11:50 -07:00
Abdullah Gharaibeh
bed9b2f23b
Cleanup obsolete NodeInfo methods
2020-04-12 18:13:46 -04:00
Artur Gadelshin
875f80e3a3
Add test for ingress/egress combination
2020-04-12 23:36:16 +02:00
Kubernetes Prow Robot
ee6b88ddf9
Merge pull request #90000 from SataQiu/staging-scheduler-20200409
...
scheduler: remove direct import to pkg/master/ports
2020-04-11 10:46:01 -07:00
Kubernetes Prow Robot
4bba193bea
Merge pull request #89666 from julianvmodesto/kubectl-scale-dry-run
...
Support kubectl scale --dry-run=server|client
2020-04-11 10:45:47 -07:00
SataQiu
41d3e44a2f
scheduler: remove direct import to pkg/master/ports
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-04-11 13:56:53 +08:00
Kubernetes Prow Robot
f13051c28c
Merge pull request #90060 from oomichi/WaitForAvailableEndpoint
...
Make WaitForAvailableEndpoint() local
2020-04-10 22:05:47 -07:00
gavinfish
bc0cfd273e
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-11 11:12:36 +08:00
Kubernetes Prow Robot
92356963fd
Merge pull request #90035 from alejandrox1/mv-manifests-to-framework
...
Moved e2e/manifests to e2e test framework
2020-04-10 14:40:01 -07:00
Kubernetes Prow Robot
1c01efe10f
Merge pull request #89945 from k-toyoda-pi/add_error_check_e2e_disruption
...
Add error check for marshaling json in e2e/apps/disruption
2020-04-10 12:26:01 -07:00
Kubernetes Prow Robot
81d2707797
Merge pull request #89889 from tanjunchen/move-func-20200406
...
move function RemoveTaintOffNode in test/e2e/framework/util.go to subpackage node
2020-04-10 12:25:48 -07:00
Kenichi Omichi
76833e2c37
Make WaitForAvailableEndpoint() local
...
WaitForAvailableEndpoint() is only used in e2eservice.
So this makes the function() local clearly.
2020-04-10 18:08:13 +00:00
wojtekt
f624314f91
Fix multiple conversion tests
2020-04-10 17:03:35 +02:00
Antoni Zawodny
4030da9e34
Remove the 'DisabledForLargeClusters' tag from ILB correctness test
2020-04-10 13:55:15 +02:00
Kubernetes Prow Robot
157b2aa820
Merge pull request #89918 from tanjunchen/improve-code
...
test/e2e/scheduling : improve code
2020-04-10 02:17:46 -07:00
alejandrox1
bf984efcc7
Moved e2e/manifests to e2e test framework
...
The functionality included in the e2e/manifests is useful for writing
e2e tests and will be a good addition to the test framework as a
sub-package.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-04-09 20:48:52 -04:00
Kubernetes Prow Robot
0c9245a29f
Merge pull request #89974 from ahg-g/ahg-info
...
scheduler's NodeInfo tracks PodInfos instead of Pods
2020-04-09 09:19:58 -07:00
Kubernetes Prow Robot
897c10e7b2
Merge pull request #89551 from zlabjp/restore-kubectl-prune-multiple-namespaces
...
Restore the ability to `kubectl apply --prune` without -n flag
2020-04-09 07:49:43 -07:00
Giuseppe Scrivano
43c56eb403
e2e_node: adapt tests to cgroup v2
...
and fix node_container_manager_test to run with the systemd cgroup
manager.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-09 16:18:05 +02:00
Kubernetes Prow Robot
1634d9c120
Merge pull request #89982 from neolit123/1.19-fix-kubeadm-integration-tests
...
cleanup the kubeadm integration tests and related scripts
2020-04-09 04:55:44 -07:00
knight42
397f107a08
fix(kubectl): explain crds with the same resource name with builtin objects
2020-04-09 16:44:17 +08:00
Tatsuhiro Tsujikawa
7af3b01f24
Restore the ability to kubectl apply --prune
without -n flag
...
Before https://github.com/kubernetes/kubernetes/pull/83084 , `kubectl
apply --prune` can prune resources in all namespaces specified in
config files. After that PR got merged, only a single namespace is
considered for pruning. It is OK if namespace is explicitly specified
by --namespace option, but what the PR does is use the default
namespace (or from kubeconfig) if not overridden by command line flag.
That breaks the existing usage of `kubectl apply --prune` without
--namespace option. If --namespace is not used, there is no error,
and no one notices this issue unless they actually check that pruning
happens. This issue also prevents resources in multiple namespaces in
config file from being pruned.
kubectl 1.16 does not have this bug. Let's see the difference between
kubectl 1.16 and kubectl 1.17. Suppose the following config file:
```yaml
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: null
name: foo
namespace: a
labels:
pl: foo
data:
foo: bar
---
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: null
name: bar
namespace: a
labels:
pl: foo
data:
foo: bar
```
Apply it with `kubectl apply -f file`. Then comment out ConfigMap foo
in this file. kubectl 1.16 prunes ConfigMap foo with the following
command:
$ kubectl-1.16 apply -f file -l pl=foo --prune
configmap/bar configured
configmap/foo pruned
But kubectl 1.17 does not prune ConfigMap foo with the same command:
$ kubectl-1.17 apply -f file -l pl=foo --prune
configmap/bar configured
With this patch, kubectl once again can prune the resource as before.
2020-04-09 02:54:10 +00:00
Kubernetes Prow Robot
4bdb72ed11
Merge pull request #89113 from claudiubelu/test-images/fixes-and-cleanups
...
test images: Adds various fixes and cleanups to the image building process
2020-04-08 18:19:44 -07:00
Abdullah Gharaibeh
b8ddd00312
scheduler's NodeInfo tracks PodInfos instead of Pods
2020-04-08 17:53:20 -04:00
Lubomir I. Ivanov
9bbd321fec
remove /cluster/kubeadm.sh and /test/cmd/kubeadm.sh
...
/cluster/kubeadm.sh is used to find the kubeadm binary.
This file is legacy and is removed.
Remove /test/cmd/kubeadm.sh. This file contains a function that is used
to build kubeadm and invoke "make test". Move the function contents
to hack/make-rules/test-cmd.cmd.
Stop sourcing /test/cmd/kubeadm.sh in /test/cmd/legacy-script.sh.
Also remove the --kubeadm-path invocation as this can be handled
with an env. variable directly.
2020-04-09 00:47:15 +03:00
tanjunchen
e358e75681
test/e2e/scheduling:improve code
2020-04-08 18:03:15 +08:00
tanjunchen
bf170e1db1
/test/e2e/apimachinery/:fix bug
2020-04-08 17:46:01 +08:00
toyoda
effd064ef7
Add error check for marshaling json
2020-04-08 15:26:10 +09:00
tanjunchen
6532b40f21
move function RemoveTaintOffNode in test/e2e/framework/util.go to subpackage node
2020-04-08 09:59:44 +08:00
Kubernetes Prow Robot
53ffaa7175
Merge pull request #76443 from mgdevstack/promote-service-sessionaffinity
...
Promote e2e "verifying service's sessionAffinity for ClusterIP and NodePort services" to Conformance
2020-04-07 18:47:44 -07:00
Kubernetes Prow Robot
172553bf94
Merge pull request #89926 from wojtek-t/cleanup_default_conversions_2
...
Stop relying on default conversions for metav1beta1 and e2e-node tests
2020-04-07 16:46:23 -07:00
Kubernetes Prow Robot
646ba8b310
Merge pull request #89715 from spiffxp/avoid-kubelet-api-in-conformance
...
Avoid kubelet API in Conformance tests
2020-04-07 16:45:43 -07:00
Kubernetes Prow Robot
3072d1e22e
Merge pull request #88036 from ii/promote-podtemplate-lifecycle
...
Promote: PodTemplate Lifecycle test - +3 conformance endpoint coverage
2020-04-07 15:27:43 -07:00
Kubernetes Prow Robot
007f7ae7dc
Merge pull request #89912 from ahg-g/ahg-fwk
...
Move scheduler's NodeInfo and Listers types to framework pkg
2020-04-07 12:49:57 -07:00
Kubernetes Prow Robot
f21bd9efb9
Merge pull request #89745 from johnbelamaric/kubeconform-cleanup
...
Various cleanup for the kubeconform command
2020-04-07 12:49:44 -07:00
Kubernetes Prow Robot
46b2891089
Merge pull request #89771 from dims/avoid-panic-when-reporting-error-in-conformance-tests
...
Avoid panic when reporting error in conformance test
2020-04-07 08:31:44 -07:00
wojtekt
101221be33
Stop relying on default conversion in node e2e tests
2020-04-07 17:19:41 +02:00
Abdullah Gharaibeh
a5d8172715
move nodeinfo type to framework pkg
2020-04-07 10:25:24 -04:00
Davanum Srinivas
f7e7621395
Avoid panic when reporting error in conformance test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-07 08:37:02 -04:00
Kubernetes Prow Robot
a7f43a7203
Merge pull request #89421 from mm4tt/disabled_for_large_cluster
...
Remove the 'DisabledForLargeClusters' tags from LB network tests.
2020-04-07 05:03:44 -07:00
Patrick Ohly
48f8e398fb
mock tests: remove redundant wrapping of error
...
The "error waiting for expected CSI calls" is redundant because it's
immediately followed by checking that error with:
framework.ExpectNoError(err, "while waiting for all CSI calls")
2020-04-07 13:09:31 +02:00
Patrick Ohly
2550051f3b
mock tests: add timeout
...
The for loop that waited for the signal to delete pod had no timeout,
so if something went wrong, it would wait for the entire test suite to
time out.
2020-04-07 13:09:31 +02:00
Patrick Ohly
f117849582
mock tests: ResourceExhausted error handling in external-provisioner
...
The mock driver gets instructed to return a ResourceExhausted error
for the first CreateVolume invocation via the storage class
parameters.
How this should be handled depends on the situation: for normal
volumes, we just want external-scheduler to retry. For late binding,
we want to reschedule the pod. It also depends on topology support.
2020-04-07 13:09:31 +02:00
Patrick Ohly
367a23e4d9
mock tests: remove redundant retrieval of log output
...
The code became obsolete with the introduction of parseMockLogs
because that will retrieve the log itself. For debugging of a running
test the normal pod output logging is sufficient.
2020-04-07 13:07:09 +02:00
Patrick Ohly
d06589e4b6
mock tests: less verbose log output checking
...
parseMockLogs is called potentially multiple times while waiting for
output. Dumping all CSI calls each time is quite verbose and
repetitive. To verify what the driver has done already, the normal
capturing of the container log can be used instead:
csi-mockplugin-0/mock@127.0.0.1: gRPCCall: {"Method":"/csi.v1.Node/NodePublishVolume","Request"...
2020-04-07 13:07:09 +02:00
Kubernetes Prow Robot
15bb54c2d2
Merge pull request #89041 from jsafrane/stage-error-tests
...
Add NodeStage error tests
2020-04-07 03:25:57 -07:00
Kubernetes Prow Robot
38f0a8bc74
Merge pull request #89652 from liggitt/relist-timeout
...
Fix client watch reestablishment handling of client-side timeouts
2020-04-07 01:15:44 -07:00
Kubernetes Prow Robot
4c81edbb41
Merge pull request #89905 from oomichi/DescribeIng
...
Move DescribeIng() into e2eingress
2020-04-06 20:29:44 -07:00
Kubernetes Prow Robot
667e028f38
Merge pull request #83378 from ii/promote-pod-replicaset-verification
...
Promote pod PreemptionExecutionPath verification - +3 conformance endpoint coverage
2020-04-06 19:09:43 -07:00
Kubernetes Prow Robot
ac40660952
Merge pull request #89556 from smarterclayton/remove_startup_script
...
test: Remove final user of startup-script image
2020-04-06 17:47:34 -07:00
Kubernetes Prow Robot
87966c39f1
Merge pull request #89890 from fedepaol/useagnhost
...
Use agnhost version 2.13
2020-04-06 15:42:32 -07:00
Kenichi Omichi
2f5f16004d
Move DescribeIng() into e2eingress
...
The function is only for e2e ingress test, it is not necessary to
keep the function in e2e test core framework.
2020-04-06 20:01:55 +00:00
Kubernetes Prow Robot
64d75b3bad
Merge pull request #89787 from oomichi/NodeUpgrade
...
Move NodeUpgrade() into GCP e2e tests
2020-04-06 11:20:03 -07:00
Mayank Gaikwad
7aa94a6549
Promote e2e verifying service's session affinity behaviours
2020-04-06 21:42:22 +05:30
Andrew Sy Kim
2e56866c97
move apparmor annotation constants to k8s.io/api/core/v1
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-04-06 10:22:04 -04:00
Federico Paolinelli
7f73d7b6d1
Use agnhost version 2.13
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-04-06 10:00:26 -04:00
Patrick Ohly
981aae35dd
mock tests: do not give up immediately for pod output errors
...
As seen in some test
runs (https://prow.k8s.io/view/gcs/kubernetes-jenkins/pr-logs/pull/89041 ),
retrieving output can fail with "the server rejected our request for
an unknown reason (get pods csi-mockplugin-0)".
If this truly an intermittent error, then the existing retry logic in
the callers can deal with this.
2020-04-06 15:03:44 +02:00
Jan Safranek
e23a26a380
Update to new javascript
2020-04-06 15:03:22 +02:00
Jan Safranek
a4f080861f
Test NodeStage error cases
...
Especially related to "uncertain" global mounts. A large refactoring of CSI
mock tests were necessary:
- to be able to script the driver to return errors as required by the test
- to parse the CSI driver logs to check kubelet called the right CSI calls
2020-04-06 15:03:22 +02:00
Mateusz Matejczyk
0817af735c
Remove the 'DisabledForLargeClusters' tags from ELB network tests.
...
We did some internal testing at Google and, with the recent improvements, we believe that it's safe to re-enable these LB tests for large clusters.
Ref. https://github.com/kubernetes/kubernetes/issues/56138
2020-04-06 14:36:56 +02:00
Kubernetes Prow Robot
c1f1b1bceb
Merge pull request #89848 from seans3/kubectl-apply-fix
...
Even with build error, kubectl apply should apply all valid resources
2020-04-05 18:57:46 -07:00
Caleb Woodbine
b50a710691
Fix formatting
2020-04-06 13:13:10 +12:00
Caleb Woodbine
8390de02d0
Fix formatting
2020-04-06 09:19:54 +12:00
Antonio Ojea
0748a75dfb
e2e TCP CLOSE test wait until pod is ready
...
the e2e TCP CLOSE_WAIT has to create a server pod and then, from
a client, it creates a connection but doesn't notify the server
when closing it, so it stays on the CLOSE_WAIT status until it
times out.
Current test use a simple timeout for waiting the that server pod
is ready, it's better to use WaitForPodsReady for waiting that
the pod is available to avoid problems on busy environments like
the CI.
It also deletes the pods once the tests finish to avoid leaking
pods.
2020-04-05 15:00:14 +02:00
Sean R. Sullivan
748ad74245
Even with build error, kubectl apply should apply all valid resources
2020-04-04 15:48:31 -07:00
Kubernetes Prow Robot
47f5d2923f
Merge pull request #89460 from wawa0210/change-os-label-windows
...
[Trival] beta.kubernetes.io/os deprecated since v1.14, are targeted for removal in v1.18
2020-04-04 08:36:00 -07:00
Prashant Sharma
3ff54eb10c
Fixes a flaky test, by adding kubectl wait for delete deployment in apply.sh ( #89725 )
...
* Add kubectl wait for delete deployment.
* Even better to wait for all pods deleted.
* get_object_assert -> wait_object_assert
2020-04-04 00:07:47 -07:00
Kubernetes Prow Robot
fb9c304766
Merge pull request #89830 from fedepaol/bumpagnhost
...
Bump agnhost version to 2.13, and bump up depending images.
2020-04-03 17:05:47 -07:00
Kubernetes Prow Robot
d911254deb
Merge pull request #89704 from liggitt/gnostic
...
github.com/googleapis/gnostic v0.4.1
2020-04-03 14:19:46 -07:00
Federico Paolinelli
e31f72e3a4
Bump agnhost version to 2.13, and bump up depending images.
...
Kitten / nautilus depend on agnhost.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-04-03 13:00:23 -04:00
Patrick Ohly
b9c5c55c09
podlogs: avoid dumping a terminated container more than once
...
The original logic was that dumping can stop (for example, due to
loosing the connection to the apiserver) and then will start again as
long as the container exists. That it duplicates output on restarts
is better than skipping output that might not have been dumped yet.
But that logic then also dumped the output of containers that have
terminated multiple times:
- logging is started, dumps all output and stops because the
container has terminated
- next check finds the container again, sees no active logger,
repeats
This wasn't a problem for short-lived logging in a custom
namespace (the way how it is done for CSI drivers in Kubernetes E2E),
but other testsuites (like the one from PMEM-CSI) keep logging running
for the entire test suite duration: there duplicate output became a
problem when adding driver redeployment as part of the suite's run.
To avoid duplicated output for terminated containers, which containers
have been handled is now stored permanently. For terminated containers,
restarting of dumping is prevented. This comes with the risk that if
the previous dumping ended before capturing all output, some output
will get lost.
Marking the start and stop of the log was also useful when streaming
to a single writer and thus gets enabled.
2020-04-03 14:45:00 +02:00
Patrick Ohly
dbac2a369a
podlogs: adapt to modified error message
...
Commit 8a495cb5e4
changed the spelling of the error message that we
want to ignore. In case of version skew we suppress both the old and
new spelling.
2020-04-03 14:43:52 +02:00
Kubernetes Prow Robot
15c3e492b3
Merge pull request #89795 from julianvmodesto/fix-diff
...
Ensure diff doesn't persist patches
2020-04-03 04:27:58 -07:00
Kubernetes Prow Robot
7bd48eb3f6
Merge pull request #89784 from oomichi/sshPort
...
Add common SSHPort on e2essh
2020-04-02 21:40:40 -07:00
Kubernetes Prow Robot
821ebaf0c6
Merge pull request #87448 from YuikoTakada/fix_81657_t_integ_dep
...
Fix static check failures in test/integration/deployment
2020-04-02 21:39:45 -07:00
Julian V. Modesto
f448c01651
Add kubectl diff + server-side dry-run to e2e
2020-04-02 20:54:53 -04:00
Julian V. Modesto
9c0320f1bf
Ensure diff doesn't persist patches
2020-04-02 19:23:32 -04:00
Kenichi Omichi
c0d09c943d
Move NodeUpgrade() into GCP e2e tests
...
These functions are for GCP e2e tests only, so this moves these
functions into the tests.
2020-04-02 22:13:50 +00:00
Kubernetes Prow Robot
aff467bbb4
Merge pull request #89777 from wojtek-t/fix_networking_tests_timeouts
...
Fix networking tests timeouts for large clusters
2020-04-02 12:43:20 -07:00
Kubernetes Prow Robot
e8a24cb7f4
Merge pull request #89703 from ahg-g/ahg-podinfo
...
Rename scheduler/nodeinfo pkg to scheduler/types
2020-04-02 12:43:11 -07:00
Kubernetes Prow Robot
4a897137b6
Merge pull request #89678 from tanjunchen/manifest
...
test/e2e/manifest:remove unused function
2020-04-02 10:50:38 -07:00
Kubernetes Prow Robot
6bad8cb126
Merge pull request #89676 from tanjunchen/move-func-20200331
...
test/e2e/framework move func logClusterImageSources to test/e2e/e2e.go
2020-04-02 10:50:25 -07:00
Kenichi Omichi
48fdb95a82
Add common SSHPort on e2essh
...
There were several sshPort values in e2e test packages because
we've migrated code from e2e framework by copying and pastting.
This adds common SSHPort on e2essh package to reduce such duplicated
code.
2020-04-02 17:41:49 +00:00
wojtekt
a20646ef8a
Hide constants to force using functions instead
2020-04-02 17:19:41 +02:00
wojtekt
268b51d023
Cleanup and fix networking test timeouts for large clusters
2020-04-02 17:19:41 +02:00
wojtekt
4c5a963463
Cleanup timeouts for networking tests
2020-04-02 16:30:40 +02:00
Kubernetes Prow Robot
2fd8debe9b
Merge pull request #87926 from fedepaol/agnostsctp
...
Preliminary SCTP connectivity tests
2020-04-02 02:12:24 -07:00
Kubernetes Prow Robot
1130e8910f
Merge pull request #89198 from tanjunchen/cleanup20200318
...
e2e/framework: security/ and /service remove direct import /k8s.io/kubernetes/pkg/
2020-04-01 22:15:05 -07:00
Kubernetes Prow Robot
8d773421ee
Merge pull request #80973 from xiaoanyunfei/bugfix/orphan-volume
...
fix orphaned pod flexvolume can not be cleaned up
2020-04-01 20:50:23 -07:00
Caleb Woodbine
31fea24c39
Promote Event resource lifecycle test
2020-04-02 15:36:49 +13:00
Kubernetes Prow Robot
205e2739bd
Merge pull request #87080 from aojea/tcpclose_lasttry
...
fix flakes on e2e test TCP CLOSE_WAIT timeout
2020-04-01 15:28:24 -07:00
John Belamaric
de5d8d612b
Various cleanup for the kubeconform command
2020-04-01 14:39:52 -07:00
Kubernetes Prow Robot
ed00f42848
Merge pull request #89563 from oomichi/RestartControllerManager
...
Separate RestartControllerManager() as e2ekubesystem
2020-04-01 13:42:23 -07:00
Kubernetes Prow Robot
6e9bec8ee2
Merge pull request #89504 from tanjunchen/remove-dependency-001
...
test/e2e/framework: remove direct imports to k8s.io/kubernetes/pkg
2020-04-01 11:02:23 -07:00
Aaron Crickenberger
1a5f6906e0
e2e: don't use kubelet api to verify pod deletion
...
Conformance tests must not rely on the kubelet API in order to
pass. In this case, I think it's unnecessary to verify that a
kubelet observes the deletion within gracePeriod seconds. The
remaining checks in this test verify that pod deletion happens,
and that the pod is removed.
2020-04-01 08:28:27 -07:00
Aaron Crickenberger
cc7c862ce1
e2e: use apiserver view of pods on node instead of kubelet
...
Conformance tests must not rely on the kubelet API in order to
pass. SchedulerPredicates tests attempt to use the kubelet API
in their BeforeEach, some of which are tagged as Conformance.
Is there a compelling reason to use the kubelet's view of pods
for a given node instead of the apiserver's view of the pods?
2020-04-01 08:28:14 -07:00
Davanum Srinivas
d1c948acdc
Add support for listing conformance tests
...
we print yaml, so you can use yaml tools like `yq`:
```
e2e.test --list-conformance-tests | yq r - --collect *.testname
```
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-01 10:48:53 -04:00
Davanum Srinivas
b6a07b92fc
add conformance testdata/ and make it available from bindata
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-01 10:48:01 -04:00
Kubernetes Prow Robot
e39aa99c73
Merge pull request #89708 from spiffxp/update-conformance-instructions
...
Update conformance docs to reference correct bazel location of testdata
2020-04-01 00:21:27 -07:00
Kubernetes Prow Robot
53eb7cd733
Merge pull request #86858 from ii/create-event-test-to-ensure-creating-modifying-patching-deleting-and-listing
...
Create Event lifecycle test - +5 endpoint coverage
2020-03-31 21:31:27 -07:00
Jordan Liggitt
93c7b24562
github.com/googleapis/gnostic v0.4.1
2020-03-31 23:07:50 -04:00
tanjunchen
45b7736390
remove unused code
2020-04-01 10:50:59 +08:00
Abdullah Gharaibeh
ed3fe054df
move scheduler nodeinfo to pkg/scheduler/types
2020-03-31 21:02:09 -04:00
Caleb Woodbine
ce97b49965
Update conformance metadata
2020-04-01 12:54:09 +13:00
Antonio Ojea
a89c2bdaf1
fix flakes on e2e test TCP CLOSE_WAIT timeout
...
it turns out that the e2e test was not using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.
This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.
It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found.
2020-04-01 01:16:39 +02:00
Aaron Crickenberger
ec0d6cb693
Fix bazel location of testdata
2020-03-31 16:11:18 -07:00
Caleb Woodbine
2b325f07f4
Fix DeleteOptions value
2020-04-01 11:00:20 +13:00
Caleb Woodbine
a8592dd9d1
Fix sig in podtemplates.go
2020-04-01 10:45:20 +13:00
Kubernetes Prow Robot
1b7f5662e1
Merge pull request #89215 from k-toyoda-pi/use_expectnotequal_service
...
Use ExpectNotEqual in test/e2e/network/
2020-03-31 14:15:28 -07:00
Caleb Woodbine
916d96e428
Update test/e2e/framework/events/events.go
...
Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2020-04-01 09:57:29 +13:00
Caleb Woodbine
63632118b7
Fix conformance testdata
2020-04-01 09:43:56 +13:00
Julian V. Modesto
efed958779
Support kubectl scale --dry-run=server|client
2020-03-31 16:19:52 -04:00
Kubernetes Prow Robot
b7faac459f
Merge pull request #89188 from tallclair/psp-tests
...
Move PSP tests behind a feature tag
2020-03-31 12:37:14 -07:00
Kubernetes Prow Robot
7b1a531976
Merge pull request #88588 from ii/create-replication-controller-lifecycle-test
...
Create ReplicationController lifecycle test - +7 endpoint coverage
2020-03-31 08:04:41 -07:00
Kubernetes Prow Robot
f6704fdd66
Merge pull request #89670 from seans3/apply-integration-tests
...
Fixes kubectl apply tests to run; updates broken tests
2020-03-30 23:22:40 -07:00
tanjunchen
59a183f6b3
test/e2e/framework move func logClusterImageSources to test/e2e/e2e.go
2020-03-31 11:34:24 +08:00
Kubernetes Prow Robot
238d2c8776
Merge pull request #89639 from gavinfish/kubelet-metrics
...
e2e/framework: remove direct imports to /pkg/kubelet/...
2020-03-30 20:10:40 -07:00
tanjunchen
6003ff44e8
e2e/framework:security/ remove direct import /k8s.io/kubernetes/pkg/
2020-03-31 09:54:43 +08:00
gavinfish
e50afd00e9
e2e/framework: remove direct imports to /pkg/kubelet/...
2020-03-31 09:31:54 +08:00
tanjunchen
fb078347e3
test/e2e/framework: remove direct imports to k8s.io/kubernetes/pkg
2020-03-31 09:26:07 +08:00
Kubernetes Prow Robot
52c2ff6d1a
Merge pull request #89506 from tanjunchen/remove-dependency-002
...
test/e2e/framework: remove direct dependency to k8s.io/kubernetes/pkg/controller
2020-03-30 17:08:54 -07:00
Kubernetes Prow Robot
740a7b1233
Merge pull request #89235 from oomichi/issue/89185
...
Enable import-boss check for integration test
2020-03-30 17:08:40 -07:00
Sean R. Sullivan
4ca2d5a9da
Fixes kubectl apply tests to run; updates broken tests
2020-03-30 17:04:10 -07:00
Jordan Liggitt
343c1e7636
Fix client watch reestablishment handling of client-side timeouts
2020-03-30 17:48:00 -04:00
Kubernetes Prow Robot
184fe990aa
Merge pull request #89592 from dcbw/e2e-np-previous-logs
...
e2e/network: get previous pod logs on NetworkPolicy test failure
2020-03-30 14:20:40 -07:00
Kenichi Omichi
03c7bdcacc
Enable import-boss check for integration test
...
Integration tests imported e2e test code and the dependency made two drawbacks:
- Hard to move test/e2e/framework into staging (#74352 )
- Need to run integration tests always even if PRs are just changing e2e test code
This enables import-boss check for blocking such dependency.
2020-03-30 21:09:15 +00:00
Kubernetes Prow Robot
9df42c0342
Merge pull request #89641 from tanjunchen/remove-dependeny-20200330
...
test/e2e/framework/kubelet/:remove the direct dependency to k8s.io/kubernetes/pkg
2020-03-30 08:22:37 -07:00
Kubernetes Prow Robot
8d257ad315
Merge pull request #88118 from pohly/wait-for-persistent-volume-deleted-error
...
e2e/storage: check result of WaitForPersistentVolumeDeleted
2020-03-30 07:01:55 -07:00
tanjunchen
72558add6a
test/e2e/framework/kubelet/: remove direct dependency k8s.io/kubernetes/pkg/kubelet/dockershim/metrics
2020-03-30 13:36:58 +08:00
Kubernetes Prow Robot
e03c7756c7
Merge pull request #89213 from tanjunchen/cleanup20200318-003
...
e2e/framework : pods.go remove direct imports to k8s.io/kubernetes/pkg/
2020-03-28 11:27:54 -07:00
Kubernetes Prow Robot
a75ee745fb
Merge pull request #89576 from tanjunchen/add-me-reviewer
...
add @tanjunchen as test/reviewer
2020-03-28 05:07:52 -07:00
Kubernetes Prow Robot
d73907fc25
Merge pull request #89380 from alculquicondor/perf-spreading
...
Add perf test case for Topology Spreading
2020-03-28 02:43:52 -07:00
Kubernetes Prow Robot
e3eb0532da
Merge pull request #89568 from SataQiu/staging-e2e-framework-20200327
...
e2e/framework: remove direct import to pkg/kubelet/util/format
2020-03-27 17:12:15 -07:00
Kubernetes Prow Robot
2d4253077d
Merge pull request #89539 from seans3/kubectl-apply-fix
...
Fixes problem where kubectl apply stops after first error
2020-03-27 17:11:53 -07:00
Kubernetes Prow Robot
4e9dd8fd36
Merge pull request #89454 from gavinfish/import-aliases
...
Update .import-aliases for e2e test framework
2020-03-27 14:35:54 -07:00
Kubernetes Prow Robot
5317a3160c
Merge pull request #89106 from chendave/refactor
...
Decouple yaml based integration test from legacy test
2020-03-27 12:07:53 -07:00
Dan Williams
fe74d08e60
e2e/network: get previous pod logs on NetworkPolicy test failure
...
Sometimes the pod has already been cleaned up by the time the test
tried to grab the logs.
Mar 27 16:19:38.066: INFO: Waiting for client-a-jt4tf to complete.
Mar 27 16:19:38.066: INFO: Waiting up to 5m0s for pod "client-a-jt4tf" in namespace "e2e-network-policy-c-9007" to be "success or failure"
Mar 27 16:19:38.072: INFO: Pod "client-a-jt4tf": Phase="Pending", Reason="", readiness=false. Elapsed: 6.270302ms
Mar 27 16:19:40.078: INFO: Pod "client-a-jt4tf": Phase="Pending", Reason="", readiness=false. Elapsed: 2.01233019s
Mar 27 16:19:42.086: INFO: Pod "client-a-jt4tf": Phase="Succeeded", Reason="", readiness=false. Elapsed: 4.020186873s
STEP: Saw pod success
Mar 27 16:19:42.086: INFO: Pod "client-a-jt4tf" satisfied condition "success or failure"
Mar 27 16:19:42.093: FAIL: Error getting container logs: the server could not find the requested resource (get pods client-a-jt4tf)
Full Stack Trace
github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network.checkNoConnectivity(0xc00104adc0, 0xc0016b82c0, 0xc001666400, 0xc000c32000)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network/network_policy.go:1457 +0x2a0
github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network.testCannotConnect(0xc00104adc0, 0xc0016b82c0, 0x55587e9, 0x8, 0xc000c32000, 0x50)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network/network_policy.go:1406 +0x1fc
github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network.glob..func13.2.7()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network/network_policy.go:285 +0x883
github.com/openshift/origin/pkg/test/ginkgo.(*TestOptions).Run(0xc001e47830, 0xc001e50b70, 0x1, 0x1, 0x0, 0x0)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/test/ginkgo/cmd_runtest.go:59 +0x41f
main.newRunTestCommand.func1(0xc00121b900, 0xc001e50b70, 0x1, 0x1, 0x0, 0x0)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:238 +0x15d
github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).execute(0xc00121b900, 0xc001e50b30, 0x1, 0x1, 0xc00121b900, 0xc001e50b30)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:826 +0x460
github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc00121b180, 0x0, 0x60d2d00, 0x9887ec8)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:914 +0x2fb
github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:864
main.main.func1(0xc00121b180, 0x0, 0x0)
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:59 +0x9c
main.main()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:60 +0x341
STEP: Cleaning up the pod client-a-jt4tf
STEP: Cleaning up the policy.
2020-03-27 13:47:28 -05:00
tanjunchen
94db87234b
add tanjunchen as /test reviewer
2020-03-27 22:56:21 +08:00
SataQiu
b748c702d9
e2e/framework: remove direct import to pkg/kubelet/util/format
2020-03-27 17:19:00 +08:00
Sean R. Sullivan
1083c0fe05
Adds integration test for apply failures when applying multiple resources
2020-03-26 22:33:04 -07:00
Kenichi Omichi
42bb845f40
Separate RestartControllerManager() as e2ekubesystem
...
RestartControllerManager() is kube-controller specific function
and it is better to separate the function as subpackage of e2e
test framework.
In addition, the function made invalid dependency into e2essh.
So this separates the function into e2ekubesystem subpackage.
2020-03-27 03:52:17 +00:00
Clayton Coleman
acb242f99c
test: Remove final user of startup-script image
...
It can be replaced with nc in busybox like other tests.
2020-03-26 23:51:55 -04:00
tanjunchen
27e133afe2
e2e/framework : pods.go remove direct imports to k8s.io/kubernetes/pkg/
2020-03-27 11:42:22 +08:00
Kubernetes Prow Robot
c0526c60b3
Merge pull request #89216 from gavinfish/inte-benchmark-e2e
...
Remove dependency for benchmark integration tests from e2e fw
2020-03-26 18:46:23 -07:00
Dave Chen
49283364bf
Decouple yaml based integration test from legacy test
...
- Move utilities or constants out so that both of them should be able
to run independently.
- Rename the legacy test so that it can eventually be deleted when the
perf dash changes is done
2020-03-27 08:45:59 +08:00
Kubernetes Prow Robot
9dd55b0555
Merge pull request #89509 from tanjunchen/remove-dependency-003
...
test/e2e/framework /service and /pv:remove direct dependency to k8s.io/kubernetes/pkg
2020-03-26 17:24:36 -07:00
Kubernetes Prow Robot
123691bd93
Merge pull request #89231 from andrewsykim/e2e-framework-ssh
...
e2e/framework: implement ssh exec internally
2020-03-26 17:24:23 -07:00
Kubernetes Prow Robot
708dd2ea7a
Merge pull request #89308 from zshihang/sync
...
sync api/v1/pod/util with api/pod/util
2020-03-26 14:10:49 -07:00
Caleb Woodbine
02f983d8c8
Update metadata
2020-03-27 08:59:33 +13:00
Aldo Culquicondor
9b2ff544ed
Fix pod affinity performance test configuration
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-03-26 15:52:44 -04:00
Kubernetes Prow Robot
0dd3753b92
Merge pull request #89393 from Jefftree/bdd-linkage
...
Add CLI script for listing untested conformance behaviors
2020-03-26 12:48:36 -07:00
Kubernetes Prow Robot
f022274d8c
Merge pull request #88778 from ii/create-endpoints-resource-lifecycle-test
...
Create Endpoints resource lifecycle test - +5 endpoint coverage
2020-03-26 11:13:50 -07:00
tanjunchen
9b9b27d768
test/e2e/framework /service and /pv:remove direct dependency to k8s.io/kubernetes/pkg/
2020-03-27 01:11:13 +08:00
tanjunchen
d7e787adce
test/e2e/framework: remove direct dependency to k8s.io/kubernetes/pkg/controller
2020-03-26 23:21:22 +08:00
Patrick Ohly
c9004e704d
e2e/storage: check result of WaitForPersistentVolumeDeleted
...
When deleting fails, the tests should be considered as failed,
too. Ignoring the error caused a wrong return code in the CSI mock
driver to go unnoticed (see
https://github.com/kubernetes-csi/csi-test/pull/250 ). The v3.1.0
release of the CSI mock driver fixes that.
2020-03-26 13:22:04 +01:00
Kubernetes Prow Robot
f8e62e33c9
Merge pull request #89502 from SataQiu/staging-e2e-20200326
...
e2e/framework: remove direct imports to pkg/util/taints
2020-03-26 03:34:25 -07:00
Kubernetes Prow Robot
295b53f7b4
Merge pull request #89214 from jingyih/update_etcd_server_3p4p4
...
Update default etcd server to 3.4.4 in k8s v1.19
2020-03-26 01:14:24 -07:00
SataQiu
d294e672c1
e2e/framework: remove direct imports to pkg/util/taints
2020-03-26 14:43:23 +08:00
Jefftree
074a676dbc
kubetestgen -> kubeconform
2020-03-25 14:37:09 -07:00
Jefftree
77edd42619
Add CLI script for listing untested conformance behaviors
2020-03-25 14:37:09 -07:00
Kenichi Omichi
7398c83afd
Move RestartApiserver() into e2e/network
...
The function is called from e2e/network test only, so this moves
the function into the test for reducing e2e/framework/util.go code
and removing invalid dependency on e2e test framework.
2020-03-25 20:23:25 +00:00
Kubernetes Prow Robot
a291908548
Merge pull request #89462 from wawa0210/change-sriovdp-ds-arch-label
...
beta.kubernetes.io/arch is already deprecated since v1.14, are targeted for removal in v1.18
2020-03-25 11:20:19 -07:00
Jie Shen
68a4b7d621
Move assertCleanup() to e2e kubectl ( #89452 )
...
* Move assertCleanup() to e2e kubectl
* Update test/e2e/kubectl/kubectl.go
Co-Authored-By: SataQiu <1527062125@qq.com>
Co-authored-by: SataQiu <1527062125@qq.com>
2020-03-25 11:20:06 -07:00
Aldo Culquicondor
671cd33986
Add perf test cases for topology spreading
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-03-25 10:06:09 -04:00
Aldo Culquicondor
c9314dde59
Add support for multiple label values in test cases
...
They are assigned in a round robin fashion
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-03-25 10:06:09 -04:00
Kubernetes Prow Robot
3afbcad669
Merge pull request #89436 from oomichi/RestartKubelet
...
Move RestartKubelet() into e2e/storage/vsphere
2020-03-25 02:03:17 -07:00
Kubernetes Prow Robot
7e7c4d1021
Merge pull request #89272 from alculquicondor/perf-mixed-pods
...
Add multiple init pods to scheduler perf test cases
2020-03-25 00:29:02 -07:00
张潇
a6d0f8e3dc
beta.kubernetes.io/arch is already deprecated
2020-03-25 13:34:43 +08:00
张潇
0588958fd3
beta.kubernetes.io/os is already deprecated
2020-03-25 12:57:06 +08:00
drfish
dfab6b637f
Update .import-aliases for e2e test framework
2020-03-25 11:40:02 +08:00
Kubernetes Prow Robot
aa4f8e9a39
Merge pull request #89405 from tanjunchen/move-websocket-subpackage-websocket
...
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket
2020-03-24 20:09:02 -07:00
Caleb Woodbine
9aa3c23ad3
Update DynamicClient fetch of Pod statement
2020-03-25 15:10:28 +13:00
Shihang Zhang
b56da85a77
sync api/v1/pod/util with api/pod/util and remove DefaultContainers
2020-03-24 16:42:32 -07:00
Kenichi Omichi
2158989d6f
Move WaitForPersistentVolumeDeleted() to e2epv
...
The function is for persistent volumes and it doesn't have any
reason why it stays in core test framework. So this moves the
function into e2epv package for reducing e2e/framework/util.go
code.
2020-03-24 22:54:07 +00:00
Kubernetes Prow Robot
91766b86a9
Merge pull request #89387 from oomichi/NewAgnhostPod
...
Move NewAgnhostPod() to e2e/network
2020-03-24 15:27:53 -07:00
Kubernetes Prow Robot
dfe83809f3
Merge pull request #89379 from derekwaynecarr/increase-graceperiod-timeout
...
deflake grace period for pod deletion in node e2e
2020-03-24 15:27:44 -07:00
Kubernetes Prow Robot
89dfebb214
Merge pull request #89359 from gongguan/process
...
eviction by process number
2020-03-24 15:27:25 -07:00
Kubernetes Prow Robot
f898f45b20
Merge pull request #89070 from alculquicondor/static-partitioning
...
Add chunk size option to ParallelizeUntil
2020-03-24 15:27:02 -07:00
Caleb Woodbine
dacd32887f
Update DeleteOptions
2020-03-25 11:24:14 +13:00
Caleb Woodbine
f64d348505
Update DeleteOptions
2020-03-25 11:22:31 +13:00
Caleb Woodbine
58c532b968
Update name of watchEvent and comment on timeout for watch
2020-03-25 11:05:40 +13:00
Caleb Woodbine
772eacadc1
Update naming of watchEvents
2020-03-25 10:50:03 +13:00
Caleb Woodbine
cdcff31585
Update conformance metadata release version to v1.19
2020-03-25 09:35:24 +13:00
Caleb Woodbine
fce812b502
Update conformance metadata to have release version v1.19
2020-03-25 09:31:04 +13:00
Kenichi Omichi
23066215f5
Move RestartKubelet() into e2e/storage/vsphere
...
Since 4e7c2f638d
the function has been
called from storage vsphere e2e test only. This moves the function
into the test file for
- Reducing test/e2e/framework/util.go which is one of huge files
- Remove invalid dependency on e2e test framework
- Remove unnecessary TODO
2020-03-24 17:42:58 +00:00
Kubernetes Prow Robot
bf4cc5b3d9
Merge pull request #89408 from gavinfish/delete-cleanup
...
Delete Cleanup method in e2e util
2020-03-24 10:42:58 -07:00
tanjunchen
aa9d06d79b
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket
2020-03-24 22:54:35 +08:00
Aldo Culquicondor
b01e3dc394
Add transient dependency to test/e2e/framework/.import-restrictions
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-03-24 10:37:50 -04:00
Aldo Culquicondor
e902e70d0d
Use sqrt(n) chunk size in pod affinity and core scheduler
2020-03-24 10:29:59 -04:00
Kenichi Omichi
62f3223dec
Move BlockNetwork() to e2enetwork
...
for removing invalid dependency from e2e core framework to e2essh
subpackage and reducing test/e2e/framework/util.go code which is
one of huge files today.
2020-03-24 13:43:51 +00:00
Kenichi Omichi
5c77461733
Move NewAgnhostPod() to e2e/network
...
because the function is called in e2e/network tests only.
2020-03-24 05:46:49 +00:00
Kubernetes Prow Robot
07a7c4902e
Merge pull request #89388 from oomichi/NewTestPod
...
Move NewTestPod() to e2e/scheduling
2020-03-23 21:57:00 -07:00
Kubernetes Prow Robot
cc06d2a2be
Merge pull request #89243 from SataQiu/staging-e2e-framework-20200319
...
e2e/framework: remove direct imports to /pkg/controller/nodelifecycle
2020-03-23 21:56:47 -07:00
gavinfish
6ea15783e9
Delete Cleanup method in e2e util
2020-03-24 11:44:09 +08:00
Kubernetes Prow Robot
a04c098d1d
Merge pull request #89386 from oomichi/GetFileModeRegex
...
Move GetFileModeRegex to e2e/common
2020-03-23 20:31:28 -07:00
Kubernetes Prow Robot
4738ba5b49
Merge pull request #89335 from gavinfish/rename-waitforpodcondition
...
Rename waitForPodCondition to improve code readability
2020-03-23 20:31:01 -07:00
Kubernetes Prow Robot
cadbfd806b
Merge pull request #89275 from justaugustus/go1139
...
Update to Golang 1.13.9
2020-03-23 20:30:48 -07:00
louisgong
0efb70c0a2
eviction by process number
2020-03-24 09:25:04 +08:00
Kubernetes Prow Robot
2ab6357df0
Merge pull request #88528 from ingvagabund/doc-how-to-extend-scheduler-perf-tests
...
[doc] scheduler_perf: describe suite configuration in more detail
2020-03-23 17:10:47 -07:00
Kenichi Omichi
d1361d10fe
Move NewTestPod() to e2e/scheduling
...
because the function is called in e2e/scheduling tests.
2020-03-23 23:56:09 +00:00
Kenichi Omichi
5f81f5b96c
Move GetFileModeRegex to e2e/common
...
because the function is used at e2e/common tests only.
2020-03-23 23:23:54 +00:00
Kubernetes Prow Robot
1da4f75e24
Merge pull request #85128 from kevtaylor/kep/VolumeSubpathExpansion-Conformance
...
Promote VolumeSubpathEnvExpansion e2e tests to Conformance
2020-03-23 15:32:47 -07:00
Stephen Augustus
b6179ac7b9
deps: Update to Golang 1.13.9
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Co-authored-by: Jeff Grafton <jgrafton@google.com>
2020-03-23 17:10:03 -04:00
Derek Carr
02e4ce6835
deflake grace period for pod deletion in node e2e
2020-03-23 15:23:54 -04:00
Aldo Culquicondor
5adc4c41e3
Add multiple init pods to perf test cases
...
Add test case with several init pods with affinity or antiaffinity.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-03-23 14:55:12 -04:00
Aldo Culquicondor
0e66e56e70
Use b.Fatal instead of klog.Fatal in scheduler perf tests
...
The test tool doesn't work properly with klog.Fatal
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-03-23 14:53:15 -04:00
Kenichi Omichi
d191660c25
Use e2epod.WaitForPodTerminatedInNamespace directly
...
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodTerminated() with the e2epod function.
2020-03-22 17:43:33 +00:00
tanjunchen
bed22fbb44
WaitForPodReady is simply wrapper functions for e2epod package,
...
and they made an invalid dependency to sub e2e framework from the core framework.
So we can use e2epod.WaitTimeoutForPodReadyInNamespace to remove invalid dependency.
The main purpose of this pr is to handle the framework core package dependency subpackage pod.
2020-03-22 23:08:52 +08:00
Kubernetes Prow Robot
d23310a40e
Merge pull request #89324 from tanjunchen/remove-invalid-dependency-waitForPod-002
...
use e2epod.WaitForPodRunningInNamespaceSlow directly
2020-03-22 00:36:44 -07:00
Kubernetes Prow Robot
c3d483bf76
Merge pull request #89323 from tanjunchen/remove-invalid-dependency-waitForPod-001
...
use e2epod.WaitForPodNotFoundInNamespace directly
2020-03-21 21:58:43 -07:00
drfish
9d7dc80b48
Rename waitForPodCondition in lifecycle_test.go to improve code readability
2020-03-22 11:53:51 +08:00
Kubernetes Prow Robot
fb9810c341
Merge pull request #89210 from gavinfish/inte-node-e2e
...
Remove dependency for node integration tests from e2e fw
2020-03-21 20:44:44 -07:00
tanjunchen
aa52bfe4d6
use e2epod.WaitForPodRunningInNamespaceSlow directly
2020-03-21 15:51:49 +08:00
tanjunchen
d18e6569e0
use e2epod.WaitForPodNotFoundInNamespace directly
2020-03-21 15:11:40 +08:00
Kubernetes Prow Robot
53e86a814d
Merge pull request #89204 from tanjunchen/cleanup20200318-002
...
test/framework: psp.go skipper.go remove direct import /k8s.io/kubernetes/pkg
2020-03-20 23:08:44 -07:00
SataQiu
799cdbf7b0
e2e/framework: remove direct imports to /pkg/controller/nodelifecycle
2020-03-21 11:08:57 +08:00
Kubernetes Prow Robot
d3b2199b2f
Merge pull request #89321 from oomichi/WaitForPodNoLongerRunning
...
Use e2epod.WaitForPodNoLongerRunningInNamespace directly
2020-03-20 20:00:53 -07:00
Kubernetes Prow Robot
bf4bc4d883
Merge pull request #89283 from SataQiu/staging-e2e-framework-20200320
...
e2e/framework: remove direct imports to /pkg/client/conditions
2020-03-20 20:00:44 -07:00
Kubernetes Prow Robot
a26f50a52e
Merge pull request #86679 from oomichi/remove-invalid-dependency-27
...
Use e2epod.WaitForPodNameRunningInNamespace directly
2020-03-20 15:58:44 -07:00
Kenichi Omichi
12ff8f2861
Use e2epod.WaitForPodNoLongerRunningInNamespace directly
...
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodNoLongerRunning() with the e2epod function.
2020-03-20 21:05:01 +00:00
Kubernetes Prow Robot
332cab4f3b
Merge pull request #89223 from gavinfish/inte-framework-e2e
...
Remove dependency for integration framework tests from e2e fw
2020-03-20 14:02:23 -07:00
Kubernetes Prow Robot
8a7c682c06
Merge pull request #88949 from gavinfish/remove-node
...
Remove framework.go's dependency on e2e node sub fw
2020-03-20 14:02:09 -07:00
Kubernetes Prow Robot
ede025af1b
Merge pull request #89232 from apelisse/test-apply-status
...
Use discovery to test apply all status
2020-03-20 03:52:36 -07:00
SataQiu
86fe8f6472
e2e/framework: remove direct imports to /pkg/client/conditions
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-03-20 15:13:12 +08:00
Kubernetes Prow Robot
990a3802f6
Merge pull request #89180 from oomichi/LogOutput
...
Move podlogs into e2e/storage/testsuites
2020-03-19 20:31:22 -07:00
Kubernetes Prow Robot
0fe5157009
Merge pull request #88923 from Jefftree/conformance-name
...
Fix Testname missing in conformance.yaml
2020-03-19 20:30:50 -07:00
tanjunchen
a3d802cb68
test/framework: psp.go skipper.go remove direct import /k8s.io/kubernetes/pkg
2020-03-20 10:13:44 +08:00
drfish
f5450543e0
Remove framework.go's dependency on e2e node sub fw
2020-03-20 10:01:51 +08:00
Kubernetes Prow Robot
a480f07b99
Merge pull request #88798 from k-toyoda-pi/update_e2e_for_pdb
...
Improve waitForPDBCollectionToBeDeleted in e2e test
2020-03-19 17:44:36 -07:00
Antoine Pelisse
94cb60e0e8
Use discovery to test apply all status
2020-03-19 09:58:46 -07:00
Andrew Sy Kim
f26b8372f8
e2e/framework: implement ssh exec internally
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-19 11:43:04 -04:00
Kubernetes Prow Robot
e5c67f75a9
Merge pull request #89199 from SataQiu/staging-test-framework-20200318
...
e2e/framework: remove direct imports to pkg/api/v1/pod
2020-03-19 08:27:37 -07:00
Kubernetes Prow Robot
0f336e09e7
Merge pull request #89236 from liggitt/fix-gc-test
...
Restore orphaning check in gc test
2020-03-19 06:07:14 -07:00
Kubernetes Prow Robot
6d67bb3c02
Merge pull request #89228 from andrewsykim/e2e-framework-v1-helper
...
e2e/framework: remove import to pkg/apis/core/v1/helper
2020-03-19 06:06:56 -07:00
Kubernetes Prow Robot
1115ac231a
Merge pull request #89227 from adelina-t/serial_windows_test
...
Label Windows test as Serial.
2020-03-19 06:06:46 -07:00
Kubernetes Prow Robot
f01e0b2f70
Merge pull request #89192 from andrewsykim/e2e-framework-ports
...
e2e/framework: remove imports to pkg/master/ports
2020-03-19 06:06:37 -07:00
Kubernetes Prow Robot
b8a729b899
Merge pull request #89191 from misterikkit/vsphere-panic
...
Fix nil panic in vsphere tests
2020-03-19 06:06:29 -07:00
Kubernetes Prow Robot
2db51c85b9
Merge pull request #89187 from andrewsykim/e2e-framework-jobs
...
e2e/framework: remove imports to pkg/controller/job
2020-03-19 06:06:20 -07:00
Kubernetes Prow Robot
71839b58e3
Merge pull request #89186 from andrewsykim/e2e-framework-deployment-util
...
e2e/framework: remove direct imports to pkg/controller/deployment/util
2020-03-19 06:06:10 -07:00
Kubernetes Prow Robot
9bee0747a9
Merge pull request #89183 from andrewsykim/e2e-framework-storage-class
...
e2e/framework: remove direct import to pkg/apis/v1/storage/util
2020-03-19 06:06:00 -07:00
Odin Ugedal
a233b9aab0
Add verbose message when more than one kubelet is running
2020-03-19 13:08:08 +01:00
Odin Ugedal
8b6160a367
Add support for stopping kubelet in node-e2e
...
This makes it possible to stop the kubelet, do some work, and then
start it again.
2020-03-19 13:08:08 +01:00
Odin Ugedal
2830827442
Add support for removing unsupported huge page sizes
...
When kubelet is restarted, it will now remove the resources for huge
page sizes no longer supported. This is required when:
- node disables huge pages
- changing the default huge page size in older versions of linux
(because it will then only support the newly set default).
- Software updates that change what sizes are supported (eg. by changing
boot parameters).
2020-03-19 13:08:08 +01:00
Kubernetes Prow Robot
1aa64b25a5
Merge pull request #89139 from chendave/flags
...
Respect flags of testing package
2020-03-18 22:24:48 -07:00
Kubernetes Prow Robot
de931d569e
Merge pull request #89105 from andyzhangx/upgrade-40.2
...
Upgrade to azure-sdk v40.2.0
2020-03-18 22:24:29 -07:00
Kubernetes Prow Robot
f899ad704a
Merge pull request #89069 from enj/enj/i/drop_password_file
...
Remove support for basic authentication
2020-03-18 22:24:20 -07:00
Kubernetes Prow Robot
10d6efa04a
Merge pull request #89032 from tanjunchen/move-GetPodSecretUpdateTimeout
...
move GetPodSecretUpdateTimeout from framework/utils to test/e2e/framework/pod/
2020-03-18 22:24:01 -07:00
Kubernetes Prow Robot
df989a45f0
Merge pull request #89011 from oomichi/move-GetClusterZones
...
Move GetClusterZones() to e2enode
2020-03-18 22:23:43 -07:00
Kubernetes Prow Robot
e6e6f7d4dc
Merge pull request #89010 from oomichi/remove-E2ETestNodePreparer
...
Remove unused E2ETestNodePreparer and functions
2020-03-18 22:23:33 -07:00
Kubernetes Prow Robot
b52f703d2c
Merge pull request #88941 from dims/add-version-command-line-parameter
...
Add version flag to e2e.test
2020-03-18 22:23:11 -07:00
drfish
437765db22
Remove dependency for integration framework tests from e2e fw
2020-03-19 10:18:59 +08:00
Jordan Liggitt
69eb837e3b
Restore orphaning check in gc test
2020-03-18 18:04:19 -04:00
Jefftree
40d80195f2
Only check testname for missing
2020-03-18 14:54:06 -07:00
Jefftree
90cd496e72
Include testname
2020-03-18 14:54:06 -07:00
Kenichi Omichi
017eaf170a
Move podlogs into e2e/storage/podlogs
...
The e2e framework package podlogs is used in e2e/storage/testsuites
only. In addition we considered we should have a single e2e framework
package for pod without the podlogs. So this moves the podlogs into
e2e/storage/podlogs for the e2e storage tests.
2020-03-18 17:44:12 +00:00
Andrew Sy Kim
145c1c123c
e2e/framework: remove import to pkg/apis/core/v1/helper
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-18 13:18:39 -04:00
Adelina Tuvenie
d7995f3260
Label Windows test as Serial.
...
Windows test "[sig-windows] [Feature:Windows] Cpu Resources Container
limits should not be exceeded after waiting 2 minutes" should be run
serially to prevent flakyness.
2020-03-18 17:50:36 +01:00
drfish
af1e1f4435
Remove dependency for node integration tests from e2e fw
2020-03-18 20:27:15 +08:00
drfish
6cad278a8c
Remove dependency for benchmark integration tests from e2e fw
2020-03-18 15:57:37 +08:00
toyoda
7499d80fd8
Use ExpectNotEqual in test/e2e/network/
2020-03-18 16:30:56 +09:00
jingyih
f9e0e4c6b4
Update default etcd server to 3.4.4
2020-03-18 00:27:46 -07:00
SataQiu
6a41f331da
e2e/framework: remove direct imports to pkg/api/v1/pod
2020-03-18 11:10:06 +08:00
Kubernetes Prow Robot
b88ea8d2bb
Merge pull request #88930 from oomichi/Failf
...
Replace ExpectNoError(fmt.Errorf(..)) with funcs
2020-03-17 19:28:20 -07:00
Kubernetes Prow Robot
ed4c2dbf92
Merge pull request #88893 from kinvolk/invidian/kube-apiserver-so-reuseport
...
kube-apiserver: use SO_REUSEPORT when creating listener
2020-03-17 19:28:11 -07:00
Kubernetes Prow Robot
d88571833e
Merge pull request #88830 from msau42/update-pd
...
Update version of pd csi driver
2020-03-17 19:27:27 -07:00
Kubernetes Prow Robot
e5f1048945
Merge pull request #88805 from aleksandra-malinowska/gce-multizone-tests
...
ignore gcloud warning in test framework
2020-03-17 19:26:41 -07:00
Kubernetes Prow Robot
fbdda693b4
Merge pull request #88796 from tanjunchen/remove-TODO-20200304
...
test/e2e/framework:remove TODO
2020-03-17 19:26:27 -07:00
Kubernetes Prow Robot
7cadf86d75
Merge pull request #88770 from Jefftree/bdd-capture-behaviors
...
Capture conformance Behaviors in walk.go
2020-03-17 16:22:04 -07:00
Kubernetes Prow Robot
359f39c215
Merge pull request #88531 from claudiubelu/tests/configurable-private-image-pull
...
tests: Adds configurable docker conf for test
2020-03-17 16:21:19 -07:00
Kubernetes Prow Robot
9b8e247839
Merge pull request #88218 from SomtochiAma/pod-creation-methods
...
Refactors MakeSecPods function
2020-03-17 16:20:20 -07:00
Kubernetes Prow Robot
44c103c40d
Merge pull request #87644 from gavinfish/remove_sub_resource
...
Move resource methods from e2e core util to e2e resource fw
2020-03-17 16:19:39 -07:00
Andrew Sy Kim
c1e2f147ce
e2e/frameworK: refactor GetPodsForDeployment to not depend on
...
pkg/controller/deployment/utils
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 18:38:52 -04:00
Andrew Sy Kim
f0f6c6fc81
e2e/framework: remove imports to pkg/master/ports
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 17:42:43 -04:00
Jonathan Basseri
7f17ef28a8
Fix nil panic in vsphere tests
...
During test cleanup, we iterate over nodes.Items, but if test fails
during setup, nodes may be nil.
2020-03-17 14:00:10 -07:00
Tim Allclair
acf38c5f8a
Move PSP tests behind a feature tag
2020-03-17 13:58:34 -07:00
Andrew Sy Kim
6c7bb454d5
e2e/framework: remove imports to pkg/controller/job
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:55:56 -04:00
Andrew Sy Kim
d4d3f3dda8
e2e/framework: copied constants for default storage class annotations should be unexported
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:40:23 -04:00
Andrew Sy Kim
60cb0d3cc1
e2e/framework: remove direct import to pkg/apis/v1/storage/util
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:07:42 -04:00
Kenichi Omichi
2c8955fd4a
Use e2epod.WaitForPodNameRunningInNamespace directly
...
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodRunning() with the e2epod function.
2020-03-17 00:13:14 +00:00
Dave Chen
eedfb593a9
Respect flags of testing package
...
`go test -c -o "perf.test"`
`./perf.test --help` doesn't understand "help" flag without
calling `flag.Parse` explicitly.
2020-03-16 10:24:15 +08:00
Claudiu Belu
7389385a20
test images: Adds various fixes and cleanups to the image building process
...
Adds splitOsArch function to image-util.sh, which makes the script DRY-er.
When building a Windows test image, if REMOTE_DOCKER_URL is not set, skip the rest of the
building process for that image, which will save some time (no need to build binaries).
If a REMOTE_DOCKER_URL was not set for a particular OS version, exclude that image from the
manifest list. This fixes an issue where, if REMOTE_DOCKER_URL was not set for Windows Server 1909,
the Windows were completely excluded from the manifest list, including for Windows Server 1809
and 1903 which could have been built and pushed.
Sets "test-webserver" as the default CMD for kitten and nautilus. Since they are now based on
agnhost, they should be set to run test-webserver to maintain previous behaviour.
2020-03-14 15:18:10 -07:00
Antonio Ojea
2a095f434b
e2e wait until controller manager pod ready
2020-03-14 12:17:25 +01:00
Mateusz Gozdek
dfe1f968ac
kube-apiserver: use SO_REUSEPORT when creating listener on Unix systems
...
So multiple instances of kube-apiserver can bind on the same address and
port, to provide seamless upgrades.
Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
2020-03-13 23:55:57 +01:00
andyzhangx
da20cc202f
chore: upgrade to azure-sdk v40.2.0
...
chore: use autorest v0.9.6
fix go module issue
fix go module error
2020-03-13 11:51:25 +00:00
Antonio Ojea
334d46eed5
fix logging on e2e metrics grabber test
2020-03-13 09:48:39 +01:00
Kevin Taylor
468b3b40d8
Promote VolumeSubpathExpansion e2e tests to Conformance
2020-03-12 20:05:28 +00:00
Kubernetes Prow Robot
5bf4a4ca2f
Merge pull request #89078 from liggitt/kubectl-table-test
...
Remove kubectl column output test
2020-03-12 02:08:38 -07:00
Somtochi Onyekwere
ee41c6b1a4
Refactors MakeSecPods function
2020-03-12 07:14:08 +01:00
Jordan Liggitt
a35ca04dd6
Remove kubectl column output test
2020-03-11 22:59:51 -04:00
Monis Khan
df292749c9
Remove support for basic authentication
...
This change removes support for basic authn in v1.19 via the
--basic-auth-file flag. This functionality was deprecated in v1.16
in response to ATR-K8S-002: Non-constant time password comparison.
Similar functionality is available via the --token-auth-file flag
for development purposes.
Signed-off-by: Monis Khan <mok@vmware.com>
2020-03-11 20:55:47 -04:00
Antonio Ojea
4361f8f052
wait until /metrics are ready on e2e test
...
Some e2e tests depend on the controller-manager to expose metrics
on the path /metrics.
It may happen that when the test runs, the pod is not available or the
URL not ready, causing it to fail.
Previously, the test were waiting until the pod was running, but we
need to wait until the /metrics URL is ready.
2020-03-11 14:32:03 +01:00
tanjunchen
97db7f4b99
move GetPodSecretUpdateTimeout from framework/utils to framework/pod
2020-03-11 15:48:15 +08:00
Kenichi Omichi
c586d8837a
Move GetClusterZones() to e2enode
2020-03-10 18:16:54 +00:00
Kubernetes Prow Robot
c4a7d3cf16
Merge pull request #88903 from claudiubelu/test-images/sample-apiserver-fix
...
test images: ARG instructions should be first
2020-03-10 11:15:35 -07:00
Kenichi Omichi
19566b9c9f
Remove unused E2ETestNodePreparer and functions
...
Since 59533f0cd1
E2ETestNodePreparer
and the related functions have been unused.
This removes them for cleanup.
2020-03-10 17:32:26 +00:00
Saverio Proto
326c25f7a2
Drop alpha gate for network tier annotation
2020-03-10 14:58:36 +01:00
Kubernetes Prow Robot
a35f54e3e8
Merge pull request #88982 from aojea/flakyvolumes
...
e2e: wait for controller manager pod to be ready
2020-03-10 03:29:36 -07:00
Kubernetes Prow Robot
5877945048
Merge pull request #88739 from julianvmodesto/diff-server-side-field-manager
...
Set field manager for kubectl diff --server-side
2020-03-09 18:57:35 -07:00
Kubernetes Prow Robot
b1c1187cca
e2e: wait for controller manager pod to be ready
...
The MetricsGrabber may use the controller-manager pod
to gather metrics, however, it doesn't wait until
it is ready to serve, failing the test if this is the
case.
We wait until the controller-manager pod is running
before trying to get metrics from it.
2020-03-09 22:04:16 +01:00
Kubernetes Prow Robot
0bb125e731
Merge pull request #87487 from skilxn-go/master
...
Move TaintBasedEvictions feature gates to GA
2020-03-09 09:03:45 -07:00
skilxn-go
6b8fc8dc5e
Move TaintBasedEvictions feature gates to GA
2020-03-09 10:49:00 +08:00
Clayton Coleman
d80981b657
test: Detect flakes caused by container teardown races on CRI
...
CRI returns a different reason than the dockershim, and we must also
catch the symptoms of https://github.com/kubernetes/kubernetes/issues/88766
in that environment.
2020-03-08 16:21:57 -04:00
drfish
f4da086cbe
Move resource methods from e2e fw to e2e resource fw
2020-03-08 15:27:49 +08:00
Davanum Srinivas
8f3dfea11f
Add version flag to e2e.test
2020-03-07 18:33:02 -05:00
Kubernetes Prow Robot
672aa55ee4
Merge pull request #87777 from dbenoit17/master
...
fix range copy issue
2020-03-07 08:25:34 -08:00
Kubernetes Prow Robot
b30c9a3aba
Merge pull request #88929 from liggitt/expansions
...
client-go: plumb context to expansions methods
2020-03-06 20:35:34 -08:00
Kubernetes Prow Robot
988982a1f7
Merge pull request #88048 from mtaufen/provider-info-e2etest
...
Add e2e test for validating JWTs as OIDC tokens
2020-03-06 17:59:34 -08:00
Kenichi Omichi
75ca65806d
Replace ExpectNoError(fmt.Errorf(..)) with funcs
...
There were framework.ExpectNoError(fmt.Errorf(..)) calls which just
raise an exception without actual value checks, they just raised the
specified error messages. These usages of framework.ExpectNoError()
seemed a little tricky, so this replaces them with corresponding check
functions for the readability.
2020-03-06 22:00:10 +00:00
Jordan Liggitt
d8abacba40
client-go: update expansions callers
2020-03-06 16:50:41 -05:00
Kubernetes Prow Robot
f52cbea102
Merge pull request #88910 from liggitt/metadata-context
...
Metadata client: plumb context
2020-03-06 13:18:04 -08:00
Jefftree
db714336a9
Update conformance.yaml to remove comments not part of Description
2020-03-06 11:37:35 -08:00
Jefftree
6da6380d1b
Capture behaviors in walk.go
2020-03-06 11:09:25 -08:00
Jordan Liggitt
04a72d5ef9
client-go metadata: update callers
2020-03-06 11:07:54 -05:00
Jordan Liggitt
b7c2faf26c
client-go dynamic client: add context to callers
2020-03-06 10:56:23 -05:00
Jordan Liggitt
b19dc3a474
client-go dynamic client: update DeleteOptions callers
2020-03-06 10:21:23 -05:00
Hemant Kumar
73611a473f
Fix expected version for csidriver
...
Add a comment about GA feature
2020-03-06 08:21:26 -05:00
Christian Huffman
c6fd25d100
Updated CSIDriver references
2020-03-06 08:21:26 -05:00
Charles Eckman
aee9fde751
Add e2e test for validating JWTs as OIDC tokens
...
Adds an E2E test to deploy an agnhost container that runs the test.
Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-03-05 13:58:52 -08:00
Kubernetes Prow Robot
0ad60b35c1
Merge pull request #88801 from jsafrane/snapshot-test-timeout
...
Fix GCE PD snapshot flakiness
2020-03-05 09:08:51 -08:00
Kubernetes Prow Robot
2f145e9422
Merge pull request #88249 from claudiubelu/tests/reduce-to-agnhost-dnsutils
...
tests: Replaces dnsutils image used with agnhost (part 4)
2020-03-05 09:08:37 -08:00
Kubernetes Prow Robot
1f2e1967d1
Merge pull request #88566 from Deepthidharwar/topology-mgr-numa-tests
...
Enable running cpu-mgr-multiNUMA e2e tests with Topology manager
2020-03-05 05:38:37 -08:00
Kubernetes Prow Robot
67c6767b7d
Merge pull request #88721 from Deepthidharwar/sriov-tm-bug
...
FIX SRIOV detection logic not to error out if device not present on the system
2020-03-05 02:58:50 -08:00
Jan Chaloupka
b09676921c
[doc] scheduler_perf: describe suite configuration in more detail
...
The configuration file was design as a yaml file on purpose.
To easily extend the test cases without a need to modify
the testing binary. Also, it's possible to extend the configuration
itself to enrich individual test cases.
2020-03-05 11:42:05 +01:00
Kubernetes Prow Robot
364c66ed9c
Merge pull request #88828 from msau42/fix-skip-log
...
Fix log formatting for skipper.
2020-03-05 00:54:37 -08:00
Kubernetes Prow Robot
1afb554222
Merge pull request #88818 from claudiubelu/test-images/skips-windows
...
test images: Temporarely exclude Windows test images
2020-03-04 20:13:45 -08:00
Kubernetes Prow Robot
7a513b575a
Merge pull request #88440 from smarterclayton/container_success_fix
...
Ensure Kubelet always reports terminating pod container status
2020-03-04 20:13:04 -08:00
Kubernetes Prow Robot
7d6d790b43
Merge pull request #88414 from tanjunchen/resole-TODO
...
test/e2e/:resolve pending TODO: write a wrapper for ExpectNoErrorWithOffset()
2020-03-04 20:12:50 -08:00
Michelle Au
86c9b8ef57
Update version of pd csi driver
...
Change-Id: I1e6858cb641eb1b30b06ac95abe6a83c5312632e
2020-03-04 18:51:47 -08:00
Michelle Au
3ee30343cc
Fix log formatting for skipper. "INFO" is already logged by Logf, and it
...
wasn't in the format syntax.
Change-Id: I760007c9c524bb465f428eb70e7fb30993475086
2020-03-04 17:43:24 -08:00
Kubernetes Prow Robot
d7e7136bbc
Merge pull request #88563 from mateuszlitwin/mlitwin-fix-permit-integration-test
...
fix TestCoSchedulinngWithPermitPlugin and test PermitPlugin
2020-03-04 17:26:37 -08:00
Julian V. Modesto
bacc2c4960
Set field manager for kubectl diff --server-side.
...
Bonus: check diff only dry-runs without persisting.
Co-authored-by: Takahiro HATORI <tahatori@zlab.co.jp>
2020-03-04 20:20:07 -05:00
Federico Paolinelli
c42b1ca783
Add SCTP e2e connectivity tests.
...
Pod2pod connectivity, and pod 2 service.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-03-04 23:34:22 +01:00
Dan Winship
55d3408211
agnhost: add SCTP support to netexec
2020-03-04 23:34:15 +01:00
Caleb Woodbine
bf4f46b9fa
Adjust endpoint watch timeout to 180
2020-03-05 10:24:25 +13:00
Caleb Woodbine
957ab9afaf
Adjust RC watch timeout to 180, update progress log statement
2020-03-05 09:55:38 +13:00
Clayton Coleman
6d98b0a0f4
Test that an always-fail container can't report the pod Succeeded
...
The kubelet can race when a pod is deleted and report that a container succeeded
when it instead failed, and thus the pod is reported as succeeded. Create an e2e
test that demonstrates this failure.
2020-03-04 13:34:20 -05:00
Mateusz Litwin
b93e3d18e9
fix scheduler.TestCoSchedulinngWithPermitPlugin and test scheduler.PermitPlugin
...
After moving Permit() to the scheduling cycle test PermitPlugin should
no longer wait inside Permit() for another pod to enter Permit() and become waiting pod.
In the past this was a way to make test work regardless of order in
which pods enter Permit(), but now only one Permit() can be executed at
any given moment and waiting for another pod to enter Permit() inside
Permit() leads to timeouts.
In this change waitAndRejectPermit and waitAndAllowPermit flags make first
pod to enter Permit() a waiting pod and second pod to enter Permit()
either rejecting or allowing pod.
Mentioned in #88469
2020-03-04 08:45:36 -08:00
Kubernetes Prow Robot
b5b675491b
Merge pull request #86173 from soltysh/cli_defaults
...
stop defaulting kubeconfig to http://localhost:8080
2020-03-04 07:23:47 -08:00
Aleksandra Malinowska
c326149b4a
ignore gcloud warning in test framework
2020-03-04 14:45:05 +01:00
Kubernetes Prow Robot
f692f5cfcd
Merge pull request #88049 from mtaufen/provider-info-agnhost
...
Update agnhost to test OIDC validation of JWT tokens
2020-03-04 03:43:47 -08:00
Jan Safranek
98b9c7b5e8
Fix GCE PD snapshot flakiness
...
It takes more than 5 minutes to restore a GCE PD snapshot + run a pod with
it. Therefore TestVolumeClientSlow is introduced.
2020-03-04 12:39:13 +01:00
Kubernetes Prow Robot
497a998ba6
Merge pull request #88654 from ddebroy/gmsa-disable1
...
Promote GMSA support for Windows to GA
2020-03-04 02:32:01 -08:00
Kubernetes Prow Robot
c2593d3fa7
Merge pull request #88669 from mkimuram/snapfromfile
...
Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test
2020-03-04 01:10:00 -08:00
Kubernetes Prow Robot
71cfd2a3db
Merge pull request #88460 from soltysh/filename_exec
...
Wire --filename flag to exec
2020-03-04 01:09:47 -08:00
toyoda
bf58facaef
Update waitForPDBCollectionToBeDeleted in e2e test
2020-03-04 17:31:50 +09:00
tanjunchen
453a05c03e
test/e2e/framework:remove TODO
2020-03-04 13:00:37 +08:00
Deep Debroy
16d221e407
Promote GMSA to GA
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2020-03-04 02:56:21 +00:00
Caleb Woodbine
ca3542273c
Update Replica count check, undo capitalization for framework.Expect* statements
2020-03-04 15:44:46 +13:00
Caleb Woodbine
3fa4acb9b7
Ensure current Replica check is from ReplicationController watch
2020-03-04 14:55:11 +13:00
Caleb Woodbine
be382a812c
Update test to create endpoint, patch addresses and ports for endpoint, ensure watch for DELETED
2020-03-04 14:24:02 +13:00
Caleb Woodbine
c715fec47d
Update ReplicationController event watch check
2020-03-04 13:08:59 +13:00
Kubernetes Prow Robot
25d241eda2
Merge pull request #85642 from claudiubelu/tests/guestbook-workers-update-image
...
test images: Updates agnhost guestbook subcommand
2020-03-03 15:33:47 -08:00
Charles Eckman
5ceecd3ba3
Update agnhost to test OIDC validation of JWT tokens
...
Extends agnhost with the capability to validate a mounted token against
the API server's OIDC endpoints.
Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-03-03 15:27:47 -08:00
Caleb Woodbine
054a886bf9
Remove sleep and final fetch of ReplicationController
2020-03-04 11:14:03 +13:00
Caleb Woodbine
de5859f7ce
Add Endpoints resource lifecycle test
2020-03-04 11:09:48 +13:00
Masaki Kimura
401b85e547
Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test
2020-03-03 20:28:32 +00:00
Caleb Woodbine
3b1e2249b0
Add ginkgo.By statements, TimeoutSeconds to the ReplicationController watch
2020-03-04 09:19:06 +13:00
Maciej Szulik
9dac1699bf
Wire --filename flag to exec
2020-03-03 12:16:52 +01:00
Kubernetes Prow Robot
9ee75e48c9
Merge pull request #88681 from Huang-Wei/fix-pts-e2e-flak
...
Fix an e2e flake for preemption with hard PodTopologySpread
2020-03-03 00:17:37 -08:00
Kubernetes Prow Robot
1c4f1edfba
Merge pull request #88746 from andrewsykim/test-framework-pkg-apis
...
test/e2e/framework: remove dependencies to internal APIs
2020-03-02 22:13:46 -08:00
Wei Huang
9902021ccd
Fix a PodTopologySpread e2e flake
2020-03-02 16:25:11 -08:00
Kubernetes Prow Robot
4838ac95ca
Merge pull request #88624 from claudiubelu/tests/windows-create-pod-fix
...
tests: Create pod for Windows test
2020-03-02 16:16:46 -08:00
Kubernetes Prow Robot
6c55e4b4f1
Merge pull request #88496 from chewong/fix-memory-limit-test-case
...
test: don't use hardcoded pod count for memory limit test
2020-03-02 16:16:27 -08:00
Kubernetes Prow Robot
a019609d5d
Merge pull request #87508 from jennybuckley/large-obj
...
Don't save managedFields if object is too large
2020-03-02 16:16:05 -08:00
Kubernetes Prow Robot
4b1ee392c1
Merge pull request #79083 from jackkleeman/client-cert-file-reload
...
Add ability to reload client certificates from disk
2020-03-02 16:15:53 -08:00
Kubernetes Prow Robot
a5048219ee
Merge pull request #76838 from claudiubelu/test-images/windows-support
...
test images: Adds Windows Container images support (part 1)
2020-03-02 16:15:38 -08:00
Kubernetes Prow Robot
26d497ac57
Merge pull request #88703 from tanjunchen/simplify-code
...
test/e2e/framework/service/:simplify function CreateTCPService and remove repeat const
2020-03-02 14:50:52 -08:00
andrewsykim
674e539fca
test/e2e/framework: remove dependencies to internal APIs
...
Signed-off-by: andrewsykim <kim.andrewsy@gmail.com>
2020-03-02 16:09:15 -05:00
Kubernetes Prow Robot
24bf9e0327
Merge pull request #88727 from jsafrane/block-snapshot
...
Fix block snapshot tests
2020-03-02 11:43:36 -08:00
Kubernetes Prow Robot
e87cd59e1b
Merge pull request #88685 from fengzixu/move-util-functions
...
Refactor: move generic functions of integration test to util directory
2020-03-02 11:43:23 -08:00
David Eads
b19ad9e7a7
stop defaulting kubeconfig to http://localhost:8080
2020-03-02 18:32:16 +01:00
Jack Kleeman
929b1559a0
Add ReloadCertFromDisk flag to rest.Config and to kubeconfig which allows the provided client certificate files to be reloaded from disk (currently on every use)
...
Close outbound connections when using a cert callback and certificates rotate. This means that we won't get into a situation where we have open TLS connections using expires certs, which would get unauthorized errors at the apiserver
Attempt to retrieve a new certificate if open connections near expiry, to prevent the case where the cert expires but we haven't yet opened a new TLS connection and so GetClientCertificate hasn't been called.
Move certificate rotation logic to a separate function
Rely on generic transport approach to handle closing TLS client connections in exec plugin; no need to use a custom dialer as this is now the default behaviour of the transport when faced with a cert callback. As a result of handling this case, it is now safe to apply the transport approach even in cases where there is a custom Dialer (this will not affect kubelet connrotation behaviour, because that uses a custom transport, not just a dialer).
Check expiry of the full TLS certificate chain that will be presented, not only the leaf. Only do this check when the certificate actually rotates. Start the certificate as a zero value, not nil, so that we don't see a rotation when there is in fact no client certificate
Drain the timer when we first initialize it, to prevent immediate rotation. Additionally, calling Stop() on the timer isn't necessary.
Don't close connections on the first 'rotation'
Remove RotateCertFromDisk and RotateClientCertFromDisk flags.
Instead simply default to rotating certificates from disk whenever files are exclusively provided.
Add integration test for client certificate rotation
Simplify logic; rotate every 5 mins
Instead of trying to be clever and checking for rotation just before an
expiry, let's match the logic of the new apiserver cert rotation logic
as much as possible. We write a controller that checks for rotation
every 5 mins. We also check on every new connection.
Respond to review
Fix kubelet certificate rotation logic
The kubelet rotation logic seems to be broken because it expects its
cert files to end up as cert data whereas in fact they end up as a
callback. We should just call the tlsConfig GetCertificate callback
as this obtains a current cert even in cases where a static cert is
provided, and check that for validity.
Later on we can refactor all of the kubelet logic so that all it does is
write files to disk, and the cert rotation work does the rest.
Only read certificates once a second at most
Respond to review
1) Don't blat the cert file names
2) Make it more obvious where we have a neverstop
3) Naming
4) Verbosity
Avoid cache busting
Use filenames as cache keys when rotation is enabled, and add the
rotation later in the creation of the transport.
Caller should start the rotating dialer
Add continuous request rotation test
Rebase: use context in List/Watch
Swap goroutine around
Retry GETs on net.IsProbableEOF
Refactor certRotatingDialer
For simplicity, don't affect cert callbacks
To reduce change surface, lets not try to handle the case of a changing
GetCert callback in this PR. Reverting this commit should be sufficient
to handle that case in a later PR.
This PR will focus only on rotating certificate and key files.
Therefore, we don't need to modify the exec auth plugin.
Fix copyright year
2020-03-02 17:20:16 +00:00
Deepthi Dharwar
1ede096465
Enable topology-manager-e2e tests to run on MultiNUMA nodes.
...
Signed-off-by: Deepthi Dharwar <ddharwar@redhat.com>
2020-03-02 22:36:43 +05:30
Deepthi Dharwar
4abbce4549
Refactor CPUMananger-e2e-tests so that it be reused by topology-manager-e2e-testsuite.
...
Signed-off-by: Deepthi Dharwar <ddharwar@redhat.com>
2020-03-02 22:36:31 +05:30
Jan Safranek
f96c75bca2
Bump csi-driver-host-path version to get fixed block snapshots
2020-03-02 15:22:32 +01:00