Patrick Ohly
567ce87aee
CSIStorageCapacity: E2E test with mock driver
...
We can create CSIStorageCapacity objects manually, therefore we don't
need the updated external-provisioner for these tests.
2020-07-08 08:02:26 +02:00
Ciprian Hacman
9a23ee02b3
Use Pause image for DisruptionController tests
2020-07-08 06:40:41 +03:00
Kubernetes Prow Robot
7de3f938c8
Merge pull request #92873 from liggitt/admission-flake
...
Deflake timeout admission test
2020-07-07 13:28:06 -07:00
Jordan Liggitt
1c8c850944
Skip expensive integration tests in short run mode
2020-07-07 14:41:21 -04:00
Kenichi Omichi
e1f4d5b110
Add nodeHasControlPlanePods()
...
DeprecatedMightBeMasterNode() has been marked as deprecated and we need to
find alternative way for callers of the function.
In NewResourceUsageGatherer(), the function was called for distinguishing
the specified pods are running on master nodes, and the gatherer gathers
those pods' resource usage.
This adds nodeHasControlPlanePods() to gistinguish the specified pods
are running on nodes which are operating control plane pods (kube-scheduler
and kube-controller-manager) and replace callers of DeprecatedMightBeMasterNode()
with this new function as better way.
2020-07-07 18:19:22 +00:00
Jordan Liggitt
dcc536097a
Deflake timeout admission test
2020-07-07 13:36:07 -04:00
Anders Eknert
c595f983fa
Move kube_flags_without_token creation
2020-07-06 21:55:23 +02:00
Rob Scott
85d5a15841
Adding integration and e2e tests to cover EndpointSliceMirroring
2020-07-06 12:43:34 -07:00
Chethan Venkatesh
3e19a33cea
Fix typo in vsphere e2e tests
2020-07-06 11:39:26 -07:00
Jeff Grafton
089a1af421
Move ixdy to emeritus
2020-07-06 10:39:56 -07:00
Stephen Heywood
e76ac2dc2b
Promote: event delete a collection test
2020-07-05 23:27:17 +00:00
Kubernetes Prow Robot
865cbf0bdf
Merge pull request #91517 from gaurav1086/Remove_unnecessary_Sprintfs
...
cleanup: Remove_unnecessary_Sprintfs
2020-07-05 05:26:49 -07:00
Chethan Venkatesh
5849f1681c
Fix vsphere util method - disksAreAttached
2020-07-04 19:33:36 -07:00
Divyen Patel
950ed79e41
fixed e2e test vsphere_volume_datastore.go
2020-07-04 16:56:27 -07:00
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
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
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
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
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
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