Commit Graph

17175 Commits

Author SHA1 Message Date
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