Commit Graph

113 Commits

Author SHA1 Message Date
Jordan Liggitt
8111bb3d77 Update wardle e2e image 2019-12-16 11:06:11 -05:00
Claudiu Belu
e8d062bd4a tests: Replaces guestbook with agnhost equivalent
The redis version has been bumped to version 5.0.5, but the maximum version supported on
Windows is 3.2. This can lead to failing tests, the output and behaviour can be different
(see #80516). In order to prevent such failures, the amount of times the Redis image is
used can be reduced.

This commit uses the previously added agnhost guestbook subcommand as a replacement for the
Guestbook application created by the test "should create and stop a working application".

Adds AgnhostPrivate to test/utils/image/manifest. Some tests are trying to pull
the agnhost image from the private registry, meaning that we would need to
always build and push the agnhost image to both e2e and private registry
whenever we bump its version. Decoupling them would mean that we only need
to push the image to the e2e registry.
2019-11-12 07:23:04 -08:00
Jingyi Hu
706cde51c5 Update default etcd server to 3.4.3 2019-10-28 18:29:37 -07:00
Kubernetes Prow Robot
9039e6b754
Merge pull request #83398 from bclau/tests/fix-windows-image-pulling
tests: Simplifies image pulling tests
2019-10-21 19:55:21 -07:00
Joe Betz
c92bd5e7b5 Upgrade to etcd server 3.3.17 2019-10-13 17:17:15 -07:00
Claudiu Belu
3c8822133a tests: Simplifies image pulling tests
Melds the "pull image from gcr.io" and "pull image from docker hub" tests
into a single test that pulls the agnhost image from the configured
e2eRegistry.

This also removes the need to maintain and update the image
"gcr.io/kubernetes-e2e-test-images/windows-nanoserver:v1". It should have been
a manifest list that also includes future Windows releases, like Windows Server 1903.
Additionally, the image has ~300 MB, meaning that with this change, it won't have to
wait as much to spawn a pod.

Removes "should not be able to pull non-existing image from gcr.io", since
the test "should not be able to pull image from invalid registry" test already
exists, and both of them test the same effect: cannot spawn a pod with an
image that does not exist.
2019-10-06 04:41:38 -07:00
Matthew Wong
74adfc31b9 Bump nfs provisioner version to v2.2.2 2019-10-01 15:46:19 -07:00
John Schnake
2dab911ac2 Use imageutils instead of hardcoded image paths
A number of tests were using hardcoded image paths instead of
going through the imageutils package. The reason for centralizing
the logic there is to keep an eye on what images we use and where
they come from.
2019-09-27 15:01:08 -05:00
Kubernetes Prow Robot
c4c64673d7
Merge pull request #82199 from dims/update-to-etcd-3.3.15-0-image
Update default etcd server to 3.3.15 for kubernetes 1.16
2019-09-05 06:35:10 -07:00
Jordan Liggitt
d150f15d91 Add readiness probes to CRD/Admission webhook pods 2019-08-30 22:42:38 -04:00
Davanum Srinivas
8fbfdf8267
Update default etcd server to 3.3.15 for kubernetes 1.16
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Joe Betz
5abf6b5d3e Bump agnhost image version to 2.5 2019-08-19 18:31:23 -07:00
Beata Skiba
3e96208700 Fix registry for prometheus-to-sd 2019-08-02 13:36:08 +02:00
Beata Skiba
f629d26611 Fix registry for PrometheusDummyExporter 2019-07-31 15:38:36 +02:00
Kubernetes Prow Robot
29669a5e21
Merge pull request #74703 from johscheuer/refactor-csi-e2e-tests
Add patch method for container images
2019-07-17 02:40:34 -07:00
Kubernetes Prow Robot
9ac3fadbad
Merge pull request #80126 from aojea/redis
Use docker official redis images
2019-07-15 21:51:24 -07:00
Johannes M. Scheuermann
302e9d9f6b Add patch method for container images
Return error if registry is missing otherwise the log message could be
overlooked by a developer
2019-07-15 19:05:09 +02:00
Antonio Ojea
dc7694405a
Remove GBRedisSlave image 2019-07-13 17:18:12 +02:00
Antonio Ojea
33e1b1d8a5
Use docker official redis images 2019-07-13 17:01:25 +02:00
Dan Winship
9f5e1a140d Make service "no endpoints" test use agnhost connect 2019-07-12 07:25:37 -04: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
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
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
Antonio Ojea
2017d9e03f
Add ipv6 support to the e2e guestbook test 2019-06-25 22:40:08 +02: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
Claudiu Belu
9e81f3b50b tests: Replaces images used with agnhost (part 2)
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:

- net
- netexec
- nettest
- webhook
2019-06-17 06:04:18 -07:00
Claudiu Belu
d274107620 tests: Fixes Windows image pulling tests
A previous commit removed all hardcoded image names from the tests
and centralized them into kubernetes/test/utils/image/manifest.go,
but it contained a few errors, which causes the image pulling tests
to fail on Windows:

1. No entry was written for AuthenticatedWindowsNanoServer, causing
   one of the tests to try to spawn a pod with the image name /.
2. The registry set for WindowsNanoServer was e2eRegistry, which is
   set to a dockerhub registry (e2eteam) in all sig-windows jobs,
   which is not the purpose of the test itself (the test tries to
   spawn a pod using an image from gcr.io).

The reason why e2eRegistry is set to e2eteam is because that
registry contains the Windows images needed for all the Kubernetes
E2E tests.

This commit addresses this issue.
2019-06-17 01:42:30 -07:00
Claudiu Belu
bd8cb8fae0 tests: Replaces images used with agnhost (part 1)
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:

- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 15:05:50 -07:00
Mayank Gaikwad
3377737af2 Add references of registry and image from imageutils 2019-05-31 14:27:07 +05:30
Robert Krawitz
46b3c75113 Add e2e test for quota-based eviction.
Positive test is skipped if quotas not available.
2019-05-29 15:12:28 -04:00
Tim Allclair
c851c480d3 Move to debian-base non-root image 2019-05-24 11:57:43 -07:00
Tim Allclair
6e78c5bdde Add RunAsNonRoot test 2019-05-23 12:23:04 -07:00
Chao Xu
7bb4a3bace Run deleteValidation at the storage layer so that it will be retried on
conflict.

Adding unit test verify that deleteValidation is retried.

adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.

update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.
2019-05-17 09:54:11 -07:00
Mike Danese
96ed93d889 BoundServiceAccountTokenVolume: add e2e test 2019-05-14 09:43:45 -07:00
Kubernetes Prow Robot
3d800dff75
Merge pull request #75115 from bclau/resource-consumer-controller
Uses the resource-consumer/controller image instead of resource-consumer-controller
2019-05-06 15:29:40 -07:00
Claudiu Belu
53df13ac22 Uses the resource-consumer/controller image instead of resource-consumer-controller
Dockerhub does not support slashes in the image names, so when the tests are
configured to use a dockerhub registry instead of the current
gcr.io/kubernetes-e2e-test-images registry, the tests using the mentioned image
will fail, as the image cannot exist and cannot be pulled.
2019-04-25 05:17:25 -07:00
Jan Safranek
5a3796b115 Revert "hack"
This reverts commit 5f9756c3ce.
2019-04-15 14:26:55 +02:00
Jan Safranek
5f9756c3ce hack
in VM:
make all WHAT=volume/iscsi
(+ break after amd64)
2019-04-10 14:54:06 +02:00
Jan Safranek
b18dba3794 Parallelize iSCSI tests
iSCSI target (=the server) is implemented in Linux kernel. The "iSCSI
server" pod is not a real server, it just configures the kernel on the
host. In order to run iSCSI tests in parallel, we need to be able to
run multiple such pods on a single node, serving different LUNs to
different tests.

The "server pod" must run with HostNetwork=true to achieve that.
Each pod then creates its own IQN with namespace name, so it can't
collide with other server pods running in another namespaces on the same
node.
2019-04-10 14:43:06 +02:00
Kubernetes Prow Robot
c644851d31
Merge pull request #76136 from mkumatag/update_etcd_repo
Use multi-arch etcd image
2019-04-04 22:31:54 -07:00
Manjunath A Kumatagi
175dcdb3d6 Use multi-arch etcd image 2019-04-04 08:35:57 -07:00
Claudiu Belu
625a9d98a8 tests: Adds agnhost image
The new image is meant to be used for testing purposes, whenever there
are significant differences between Linux and Windows in the way
something is obtained or tested. For example, the DNS suffix list can
be found in ``/etc/resolv.conf`` on Linux, but on Windows, such file
does not exist, and one way to obtain the mentioned list would be
through some powershell commands.

The image contains an extendable CLI as the entrypoint, the tests
only having to add the necessary arguments. For the previous example,
passing the ``dns-suffix`` argument will print out the comma separated
DNS suffix list, on both Linux and Windows.

The image name means that it should behave the same way on any host,
no matter the host OS.
2019-03-30 06:04:56 -07:00
Tim Allclair
691a301368 e2e test for http probe redirects 2019-03-15 11:52:25 -07:00
Patrick Barker
45d715cdc6 adds dynamic audit e2e test 2019-03-05 14:38:58 -07:00
Steve Sloka
6dc5494ec9 Refactor to allow for a way to get list of e2e images
Signed-off-by: Steve Sloka <slokas@vmware.com>
2019-03-01 17:15:19 -05:00
Claudiu Belu
de1e1ad045 tests: Adds configurable registry for etcd image
The image ``quay.io/coreos/etcd:v3.3.10`` does not have Windows
support and Windows Containers cannot be spawned using it.

Makes the etcd image's registry configurable, so the tests can be
configured to use a registry which has Windows support.
2019-02-26 13:54:55 -08:00
Haowei Cai
e6626b70cc build and push e2e test image 2019-02-26 14:44:03 -08:00
Jiaying Zhang
8408188cdf Update CudaVectorAdd test image to be built with Cuda10 docker image.
The previous version of CudaVectorAdd test image can still be used
in our testing. A later change will extend the existing gpu e2e tests
to run pods with two containers. One with CudaVectorAdd version1 and
the other with CudaVectorAdd version2 so that we can test both
Cuda versions.
2019-02-07 13:29:48 -08:00
Alfredo Espejel
688e1d1053 Fixed resource consumer to expose /metrics instead of /Metrics 2019-02-05 10:15:42 +01:00
Jake Sanders
2a6dd3b854 bump metadata-proxy to v0.1.11, update tests & test image 2018-11-19 13:59:17 -08:00