Commit Graph

13803 Commits

Author SHA1 Message Date
Alena Varkockova
853a47c4ed Fix TestUnreservePlugin 2019-06-30 08:29:19 +02:00
Kubernetes Prow Robot
ad79598a36 Merge pull request #79172 from bclau/tests/windows-image-pulling-fix
tests: Fixes Windows image pulling tests
2019-06-28 19:21:25 -07:00
Kubernetes Prow Robot
39c20fdcf1 Merge pull request #79530 from liggitt/remove-print-internal
Remove internal object printing from kubectl
2019-06-28 16:09:42 -07:00
Kubernetes Prow Robot
8e55b5dd40 Merge pull request #79392 from Bowenislandsong/master
adding pre-condition for an e2e scheduler test
2019-06-28 12:43:44 -07:00
Kubernetes Prow Robot
d1d111496a Merge pull request #79238 from bclau/tests/reduce-to-agnhost-part-3
tests: Replaces images used with agnhost (part 3)
2019-06-28 12:43:19 -07:00
Kubernetes Prow Robot
7417360054 Merge pull request #79142 from bclau/test-images/centralize-image-to-agnhost-part-3
Centralizes images into agnhost (part 3)
2019-06-28 12:42:54 -07:00
Jordan Liggitt
cf3e75de70 Remove internal object printing from kubectl 2019-06-28 10:54:50 -07:00
Kubernetes Prow Robot
ce9d4a947e Merge pull request #79500 from BenTheElder/node-run-tests
fix shellcheck failures in test/e2e_node/conformance/run_test.sh
2019-06-28 08:05:51 -07:00
Bowen Song
d39453c35e Adding an if statement to check the number of worker nodes available before running a test that needs 2 nodes.
Checking avoids error assertion in function 'CreateHostPortPods' to fail.
2019-06-28 09:25:39 -04:00
Andrea Nodari
b31f5c7233 Fix golint failures related to docs 2019-06-28 12:31:06 +01:00
Andrea Nodari
35f6ad187b Fix golint failures for test/e2e/scalability 2019-06-28 12:31:06 +01:00
Benjamin Elder
30bf22c10e fix shellcheck failures in test/e2e_node/conformance/run_test.sh 2019-06-27 21:12:08 -07:00
Mayank Gaikwad
49cc8ef60f Replace buzybox and pause pod image with agnhost 2019-06-28 07:44:31 +05:30
Kubernetes Prow Robot
8f41397210 Merge pull request #79490 from seans3/remove-kubectl-dep
Removes test-cmd inappropriate dependency on kubectl
2019-06-27 17:44:11 -07:00
Kubernetes Prow Robot
f3a03f71af Merge pull request #79473 from wojtek-t/coordination_v1
Use coordination v1 API
2019-06-27 15:30:14 -07:00
Kubernetes Prow Robot
d009936151 Merge pull request #79405 from spiffxp/fix-walker-to-walk-all-describes
Conformance walker should handle nested/adjacent Describes
2019-06-27 15:29:35 -07:00
Sean Sullivan
e851af0aab Removes test-cmd inappropriate dependency on kubectl 2019-06-27 10:49:42 -07:00
Kubernetes Prow Robot
6fe4119998 Merge pull request #79467 from jsafrane/fix-mock-selinux
Run sidecars for csi-mock as privileged
2019-06-27 09:39:21 -07:00
wojtekt
e8ca50c43c Use coordination v1 API 2019-06-27 18:08:40 +02:00
Kubernetes Prow Robot
8245461a8d Merge pull request #79008 from jpbetz/fix-addlabel-mutation-example
Fix mutating webhook test image 'addlabel' to not clobber labels
2019-06-27 07:11:21 -07:00
Jan Safranek
d6077c717d Run sidecars for csi-mock as privileged
The driver and provisioner runs as privileged, so make all the other
sidecar containers privileged too.

This helps on system with SELinux, non-privileged container can't access
socket of a privileged one.
2019-06-27 13:39:14 +02:00
Claudiu Belu
54be382552 tests: Clarifies agnhost's entrypoint-tester's usage
Some of the entrypoint-tester related tests overrides agnhost's default entrypoint
with agnhost-2, and this function's args will only contain the subcommand's
args (./agnhost entrypoint-tester these args), but we need to print *all* the
args, which is why os.Args should be printed instead.
2019-06-26 22:14:28 -07:00
Claudiu Belu
af5c0c9e09 Centralizes images into agnhost (part 3)
Centralizes the following images into agnhost:

- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 22:14:28 -07:00
Kubernetes Prow Robot
6b5cb97fba Merge pull request #77397 from jsafrane/scheduler-benchmark-volumes
Add benchmark for scheduling of pods with PVs
2019-06-26 20:03:20 -07:00
Kubernetes Prow Robot
cd89631620 Merge pull request #79424 from draveness/feature/remove-sharing-plugins-in-framework-tests
refactor: add reset method to all test plugins
2019-06-26 18:51:32 -07:00
Claudiu Belu
c752ea8134 tests: Replaces images used with agnhost (part 3)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 13:33:55 -07:00
Claudiu Belu
6b7a641c96 tests: Fixes agnhost logs-generator usage
Cobra flags have 2 dashes, not 1.
2019-06-26 11:38:38 -07:00
draveness
40090e8563 refactor: add reset method to all test plugins 2019-06-26 23:06:34 +08:00
Jan Safranek
f6430c0159 Add benchmark for scheduling of pods with PVs 2019-06-26 14:07:17 +02:00
Aaron Crickenberger
ffe70f1a6e Conformance walker should handle nested/adjacent Describes
This also revealed that the regex for Context was too generous and would
catch things like SecurityContext or ContextWithFoo(...) calls

This ensures that test suites with a ineligible tag in their top-level
Describe will be rejected from promotion to conformance
2019-06-25 21:41:38 -07:00
Kubernetes Prow Robot
20e97a6b4b Merge pull request #79388 from aojea/e2e_ipv6_guestbook
Add ipv6 support to the e2e guestbook test
2019-06-25 19:25:13 -07:00
Kubernetes Prow Robot
ab618571b1 Merge pull request #78291 from goodluckbot/refactor-cleanup-e2e-statefulset-util
Refactor and cleanup for statefulset_utils.go
2019-06-25 18:15:26 -07:00
Kubernetes Prow Robot
5305532fcf Merge pull request #75243 from aojea/e2e_ipv6_dns
Add ipv6 support to the DNS e2e tests
2019-06-25 18:15:14 -07:00
Kubernetes Prow Robot
22fb6fd174 Merge pull request #77595 from bertinatto/volume_limits
Volume Scheduling Limits
2019-06-25 17:01:16 -07:00
Antonio Ojea
207c00aa8c Add ipv6 support to the DNS e2e tests
Current DNS e2e test are only looking for A records, thus all IPv6
tests fail because we should look for AAAA records.

We can ask for both records in the same query, that allows us to
have the same tests for both scenarios.

` dig <name> A <name> AAAA`

In addition, the logic to find the hostname address has to be changed
because the command `hostname -i` fails in an IPv6 environemnt.
However, using `getent hosts $(hostname | ...)` give us the IPv6 adddress
of the current host.

Reference: https://github.com/kubernetes/kubernetes/issues/70248

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-06-25 23:44:17 +02:00
Antonio Ojea
2017d9e03f Add ipv6 support to the e2e guestbook test 2019-06-25 22:40:08 +02:00
Kubernetes Prow Robot
68aaf8b91f Merge pull request #79352 from aojea/e2eIpv6Prestop
add IPv6 support to the e2e PreStop test
2019-06-25 11:44:49 -07:00
Fabio Bertinatto
00b0ab86af Update scheduler to use volume limits from CSINode 2019-06-25 16:30:54 +02:00
Fabio Bertinatto
33c8bacd41 Update nodeinfomanager to store volume limits in CSINode 2019-06-25 16:30:54 +02:00
Kubernetes Prow Robot
1db31d474f Merge pull request #79057 from rphillips/fixes/e2e_kubelet_stats_fix
kubelet_stats: fix potential e2e crash dereferencing ContainerStats.CPU
2019-06-25 03:48:39 -07:00
Antonio Ojea
028206e13b add IPv6 support to the e2e PreStop test 2019-06-25 11:52:07 +02:00
Kubernetes Prow Robot
38e95b1a78 Merge pull request #79317 from BenTheElder/yikeshell
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-25 01:15:29 -07:00
Kubernetes Prow Robot
bbc17310fc Merge pull request #78922 from oomichi/add-ExpectEqual
Add ExpectEqual() to e2e framework
2019-06-25 01:14:50 -07:00
goodluckbot
032dde8754 Refactor statefulset e2e tests 2019-06-25 11:33:58 +08:00
Benjamin Elder
21d1d273c8 fix test/e2e_node/gubernator.sh shellcheck failures 2019-06-23 17:01:54 -07:00
Antonio Ojea
410df752cd Add ipv6 support to [sig-apps] StatefulSet e2e test
Use httpd docker images instead of nginx because they listen
by default both in IPv4 and IPv6
2019-06-23 17:23:28 +02:00
Kubernetes Prow Robot
8ce45b642e Merge pull request #79262 from draveness/feature/graduate-pod-priority-to-ga
feat: cleanup PodPriority features gate
2019-06-23 02:45:54 -07:00
draveness
ca6003bc75 feat: cleanup PodPriority features gate 2019-06-23 11:57:24 +08:00
Jordan Liggitt
6ca80760fd Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
Kubernetes Prow Robot
1dff339905 Merge pull request #67928 from vikaschoudhary16/e2e-dp
Add stub device plugin for e2e tests
2019-06-22 13:46:12 -07:00