David Porter
7ac2896a14
test: increase timeout in pod collection deletion
...
Increase the current timeout of 1 minute for waiting for all pods to be
deleted to avoid flakiness. To avoiding hardcoding a timeout, use the
built in framework's `PodDelete` timeout which defaults to 5 minutes.
While we are in here, also change `framework.PodStartTimeout` to use
`f.Timeouts.PodStart` since `framework.PodStartTimeouts` are marked as
deprecated.
Signed-off-by: David Porter <david@porter.me >
2022-03-18 13:40:29 -07:00
Kubernetes Prow Robot
9e50a332d8
Merge pull request #108366 from smarterclayton/terminating_not_terminated
...
Delay writing a terminal phase until the pod is terminated
2022-03-17 08:29:21 -07:00
Kubernetes Prow Robot
48ee98fabf
Merge pull request #108757 from liggitt/service-account-conformance
...
Exercise Get of serviceaccount in e2e
2022-03-17 00:41:30 -07:00
Kubernetes Prow Robot
a7740c83f2
Merge pull request #108714 from SergeyKanzhelev/podOverheadConformance
...
pod overhead test to be made a Conformance
2022-03-16 18:35:19 -07:00
Jordan Liggitt
654dc8686b
Exercise Get of serviceaccount in e2e
2022-03-16 20:24:50 -04:00
Kubernetes Prow Robot
b195a64d45
Merge pull request #108644 from Jefftree/googleapis-gnostic
...
googleapis/gnostic -> google/gnostic and update kube-openapi
2022-03-16 15:14:10 -07:00
Sergey Kanzhelev
6b3758bb95
pod overhead test to be made a Conformance
2022-03-16 21:35:02 +00:00
Kubernetes Prow Robot
52ab081283
Merge pull request #108593 from claudiubelu/tests/update-pod-collection-test
...
tests: Updates the should delete a collection of pods test
2022-03-16 13:50:23 -07:00
Kubernetes Prow Robot
0b3629ae7d
Merge pull request #108432 from iXinqi/add-write-file-test
...
Add gMSA Reading and Writing Files Test Case
2022-03-16 12:36:10 -07:00
David Porter
c70f1955c4
test: Add E2E for job completions with cpu reservation
...
Create an E2E test that creates a job that spawns a pod that should
succeed. The job reserves a fixed amount of CPU and has a large number
of completions and parallelism. Use to repro github.com/kubernetes/kubernetes/issues/106884
Signed-off-by: David Porter <david@porter.me >
2022-03-16 13:15:03 -04:00
Clayton Coleman
ca98714ec0
test: Add E2E for init container pod deletion
...
Exploring termination revealed we have race conditions in certain
parts of pod initialization and termination. To better catch these
issues refactor the existing test so it can be reused, and then test
a number of alternate scenarios.
2022-03-16 13:15:03 -04:00
Xinqi Li
65a4d1cbe7
add gMSA remote storage test
2022-03-15 22:51:55 -07:00
Jefftree
8a1d5947ad
googleapis/gnostic -> google/gnostic
2022-03-15 20:44:03 -07:00
Piotr Betkier
3df96cbf01
Add sig-autoscaling as owners of test/e2e/framework/autoscaling
2022-03-15 11:22:49 +01:00
Kubernetes Prow Robot
02b1ec5b0b
Merge pull request #108485 from BigDarkClown/master
...
Make daemon.NodeShouldRunDaemonPod function public
2022-03-15 00:30:21 -07:00
Kubernetes Prow Robot
7cc4fcd802
Merge pull request #108253 from pohly/kubelet-root
...
test: support storage tests with non-standard kubelet root directory
2022-03-15 00:30:10 -07:00
Kubernetes Prow Robot
8bf64e4128
Merge pull request #108652 from 249043822/probe-restart
...
Fix test:Probing container should have monotonically increasing restart
2022-03-14 22:08:11 -07:00
Kubernetes Prow Robot
41dbd290d1
Merge pull request #108694 from mikedanese/metadata-conceal
...
remove metadata-concealment related testing
2022-03-14 18:50:43 -07:00
ZhangKe10140699
d7d7e0d508
Fix test:Probing container should have monotonically increasing restart count
2022-03-15 09:15:33 +08:00
Kubernetes Prow Robot
f9be590b25
Merge pull request #108431 from ii/promote-replace-podtemplate
...
Promote replaceCoreV1NamespacedPodTemplate test - +1 endpoint coverage
2022-03-14 16:24:58 -07:00
Kubernetes Prow Robot
2acc22a9a0
Merge pull request #108690 from klueska/add-owners
...
Add klueska to test/e2e/node/OWNERS file
2022-03-14 14:23:19 -07:00
Kubernetes Prow Robot
5c98eb5625
Merge pull request #108264 from pbetkier/hpa-behavior-e2e-tests-downscale
...
Add e2e test for HPA behavior: decreased downscale stabilization
2022-03-14 14:23:00 -07:00
Mike Danese
b32e043898
remove metadata-concealment related testing
...
We agreed to remove these tests in SIG Auth because they aren't testing
any OSS functionality.
2022-03-14 12:44:48 -07:00
Kevin Klues
b815122f17
Add klueska to test/e2e/node/OWNERS file
...
Signed-off-by: Kevin Klues <kklues@nvidia.com >
2022-03-14 17:02:25 +01:00
Kubernetes Prow Robot
633313616f
Merge pull request #107132 from NikhilSharmaWe/netTest
...
made independent test cases ginkgo.It for checking connectivity
2022-03-11 13:26:22 -08:00
Nikhil Sharma
cf48674dbf
Updated Sig-windows Memory Limits tests to not assume all nodes are the same
2022-03-11 10:48:36 +05:30
Nikhil Sharma
edfd8cba54
made independent test cases ginkgo.It for checking connectivity
2022-03-11 09:02:17 +05:30
Kubernetes Prow Robot
c5f7ceb26c
Merge pull request #108581 from pacoxu/image-docker-hub-fix
...
migrate nginx to k8s.gcr.io image
2022-03-10 16:19:07 -08:00
Steve Kuznetsov
305652a432
conformance: do not parse resourceVersion
...
This test wishes to observe a watch event. In order to do this in the
past, the test chose a well-known `Service` object, fetched it, and did
arithmetic on the returned `resourceVersion` in order to start a watch
that was guaranteed to see an event. It is not valid to parse the
`resourceVersion` as an integer or to do arithmetic on it, so in order
to make the test conformant to an appropriate use of the API it now:
- creates a namespace
- fetches the current `resourceVersion`
- creates an object
- watches from the previous `resourceVersion` that was read
This ensures that an event is seen by the watch, but uses the publically
supported API.
`ConfigMap`s are used instead of `Service`s as they do not require a
valid `spec` for creation and make the test terser.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com >
2022-03-10 09:46:04 -08:00
Claudiu Belu
720ffb826a
tests: Updates the should delete a collection of pods test
...
We should wait for all 3 pods after we've spawned them, instead of
spawning and waiting for them sequentially.
2022-03-10 08:32:50 -08:00
Paco Xu
f2930ec98b
revert change in imports: ide auto-change to make import-boss verify green
2022-03-10 10:20:59 +08:00
Kubernetes Prow Robot
4763d75290
Merge pull request #108598 from chendave/remove_testcases
...
Remove the legacy Nginx testcases
2022-03-09 13:56:12 -08:00
Dave Chen
09e47291c7
Rename variable error to err
...
`error` is the keywork in golang
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-03-09 10:39:34 +08:00
Dave Chen
85dfca3e16
Remove the legacy Nginx testcases
...
Those testcases does't work anymore after nginx-ingress controller
has been upgraded to v1.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-03-09 10:38:07 +08:00
Paco Xu
b03e27af1b
migrate dockerhub image to k8s.gcr.io e2e test image
2022-03-09 09:54:11 +08:00
Bartłomiej Wróblewski
b2e2fb8d89
Make daemon.NodeShouldRunDaemonPod function public
2022-03-08 11:32:17 +00:00
Kubernetes Prow Robot
f93be6584e
Merge pull request #108426 from deads2k/e2e-check
...
add resource enablement check for e2e tests of beta APIs
2022-03-07 11:34:26 -08:00
David Eads
8ab8d05cc4
add resource enablement check for e2e tests of beta APIs
2022-03-07 13:31:37 -05:00
Davanum Srinivas
2fd5d18570
Avoid dockerhub for nginx (fix for only pull-kubernetes-e2e-gce)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-03-04 14:03:18 -05:00
Patrick Ohly
ff5558edc3
test: support storage tests with non-standard kubelet root directory
...
Some storage tests deploy DaemonSets which hard-code /var/lib/kubelet as root
directory for kubelet registration and pod directory. There was already a
parameter which allowed specifying the root directory, just with a very
confusing name ("--volume-dir") and matching field name. A --kubelet-root-dir
parameters gets added because this may make it easier to find the parameter,
with the old name preserved as an alias for the same field for backwards
compatibility.
2022-03-03 12:34:18 +01:00
Kubernetes Prow Robot
88f9728339
Merge pull request #108309 from zshihang/token
...
no auto-generation of secret-based service account token
2022-03-02 06:19:15 -08:00
Stephen Heywood
5597b0c4fb
Promote replace podtemplate e2e test to Conformance
2022-03-02 10:33:02 +13:00
Piotr Betkier
13c3f091a7
Small review fixes
2022-03-01 09:24:26 +01:00
Piotr Betkier
50200dc54f
Add e2e test for HPA behavior: decreased downscale stabilization
2022-03-01 09:24:26 +01:00
Kubernetes Prow Robot
1cc8edb838
Merge pull request #108286 from ii/replace-pod-template
...
Write replaceCoreV1NamespacedPodTemplate test - +1 endpoint coverage
2022-02-28 17:11:46 -08:00
Kubernetes Prow Robot
2c91952fcf
Merge pull request #106486 from Ahmed-Aghadi/codeEnhanceNode
...
test/e2e/node + test/e2e/scheduling: improve checks
2022-02-28 11:17:46 -08:00
AHMED AGHADI
ff0a3009db
Improve checks for test/e2e/node and test/e2e/scheduling
2022-02-28 23:44:21 +05:30
Stephen Heywood
522b9b3de2
Create e2e replace pod template test
...
The test validates the following endpoint
- replaceCoreV1NamespacedPodTemplate
2022-02-25 15:28:15 +13:00
Kubernetes Prow Robot
7588a82bdb
Merge pull request #108293 from chendave/upstream_gopath
...
e2e: Embed DNS related maninfests into codebase
2022-02-24 01:19:33 -08:00
Shihang Zhang
fb6c727fde
no auto-generation of secret-based service account token
2022-02-23 14:17:30 -08:00