Commit Graph

130 Commits

Author SHA1 Message Date
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
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
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
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
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
jingyih
394df132bd Update default etcd server to 3.4.7 2020-04-13 14:37:56 -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
Federico Paolinelli
7f73d7b6d1 Use agnhost version 2.13
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-04-06 10:00:26 -04: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
jingyih
f9e0e4c6b4 Update default etcd server to 3.4.4 2020-03-18 00:27:46 -07: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
Claudiu Belu
1b71b2a9a2 tests: Replaces mounttest images used with agnhost (part 4)
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:

- mounttest
- mounttest-user

Additionally, removes the usage of the mounttest-user image and removes
it from kubernetes/test/images. RunAsUser is set instead of having that image.
2020-02-29 15:05:57 -08:00
Claudiu Belu
c57f20b712 tests: Replaces dnsutils image used with agnhost (part 4)
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:

- dnsutils

dnsmasq is a Linux specific binary. In order for the tests to also
pass on Windows, CoreDNS should be used instead.
2020-02-26 21:51:23 -08:00
Kubernetes Prow Robot
937008e3ac
Merge pull request #81226 from claudiubelu/tests/reduce-to-agnhost-part-4
tests: Replaces images used with agnhost (part 4)
2020-02-20 01:13:03 -08:00
Claudiu Belu
f7942290af tests: Replaces images used with agnhost (part 4)
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:

- resource-consumer-controller
- test-webserver
2020-02-18 16:29:49 -08:00
Benjamin Elder
3fb7183215 bump pause to 3.2 in test/ 2020-02-14 14:03:19 -08:00
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