David Porter
4b056a615a
Skip runtimeclass test unless provider GCE
...
This test case requires special test-handler setup which is only done
for gce clusters created by kube-up scripts. Let's skip the test when
run under other providers.
2021-09-14 13:23:09 -07:00
pacoxu
ddaa3466eb
correct unsafe sysctls e2e test case & use status reason check instead of events watch
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2021-08-18 15:11:09 +08:00
Claudiu Belu
91c095a11f
tests: Enable some [LinuxOnly] tests for Windows Containerd
...
Windows Containerd has more features than Windows Docker. One of them is single file
mappings, allowing us to also map individual files into containers, not just folders.
This will set the tag [Excluded:WindowsDocker] for those tests instead of [LinuxOnly].
Co-authored-by: Mark Rossetti <marosset@microsoft.com >
2021-08-16 07:43:24 -07:00
Kubernetes Prow Robot
e6c7837afe
Merge pull request #101063 from claudiubelu/tests/lifecycle-hooks
...
tests: Spawn poststart / prestop pods on the same node as the http pod
2021-08-12 10:19:49 -07:00
Kubernetes Prow Robot
20d5526575
Merge pull request #103593 from matthyx/container_probe
...
Flake #99979 increase delay for ready state propagation
2021-08-05 14:09:19 -07:00
Mike Miranda
0cce9a4a6c
Remove conformance status from a sysctl test and relabel
2021-07-22 20:12:26 +00:00
Matthias Bertschy
5f0925a294
Flake #99979 increase delay for ready state propagation
2021-07-15 11:42:33 +02:00
Kubernetes Prow Robot
02355e22b3
Merge pull request #103650 from dims/get-golangci-lint-back-on-its-feet
...
Get golangci lint back on its feet
2021-07-15 02:06:48 -07:00
Kubernetes Prow Robot
f6c2068623
Merge pull request #102921 from fromanirh/pod-readiness-gate-timeout
...
e2e: increase readiness gate timeout
2021-07-14 23:34:48 -07:00
Davanum Srinivas
75748c185e
enable verify-golangci-lint.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-07-14 08:53:33 -04:00
Davanum Srinivas
07332ad398
fix ineffassign and varcheck
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-07-14 08:41:22 -04:00
Kubernetes Prow Robot
82398d1c0a
Merge pull request #103427 from matthyx/99437
...
Fix test "Pods should run through the lifecycle of Pods and PodStatus"
2021-07-09 06:00:54 -07:00
Matthias Bertschy
b1f34ea205
add RetryOnConflict to pod status updates
2021-07-02 12:38:53 +02:00
Kubernetes Prow Robot
62503f254e
Merge pull request #103413 from mgutierrez98/refactor-whitelist-blacklist
...
Refactored files containing whitelist/blacklist to allowlist/denylist…
2021-07-01 18:12:25 -07:00
mgutierrez98
1cfbb0aa25
remove webhook.go to revert changes to conformance test
2021-07-01 20:24:46 +00:00
Francesco Romani
c69ad8c57a
e2e: increase readiness gate timeout
...
We're trying to fix https://github.com/kubernetes/kubernetes/issues/75355
sicne long time, and we believe the current timeout could
actually be too low (despite being "forever", which is 30s).
To validate this theory, we set the timeout to one full minute.
Also, make the logging more verbose to make the troubleshooting easier.
Signed-off-by: Francesco Romani <fromani@redhat.com >
2021-06-29 09:01:31 +02:00
tanjing2020
f80f9eeb6d
Destroy the created runtimeclass resources at the end of the test case.
2021-06-29 09:20:40 +08:00
Kubernetes Prow Robot
7eae33cb0e
Merge pull request #101464 from Nick-Triller/deflake_assert_events
...
e2e: deflake test by not relying on events
2021-06-24 17:44:45 -07:00
Claudiu Belu
f9e4a015e2
tests: Spawn poststart / prestop pods on the same node as the http pod
...
In the case of multinode clusters, the http server pod and the test cluster can
spawn on different nodes, which can be problematic for poststart / prestop hooks,
as they are executed by the kubelet itself, and the cross-node lifecycle hook might
fail (according to the Kubernetes network model, it is not mandatory for kubelet to
be able to access pods on a different node).
This commit ensures that the test pod spawns on the same node as the http server pod.
2021-06-19 23:13:39 -07:00
Sergey Kanzhelev
ff0f83b4b2
skipping more tests in case when ExecProbeTimeout set to false
2021-06-15 00:24:09 +00:00
Kubernetes Prow Robot
9f7c9c322f
Merge pull request #101738 from matthyx/deflake-startupprobe
...
fix manual trigger of readinessProbe on startupProbe success
2021-06-03 14:34:42 -07:00
Kubernetes Prow Robot
916ed1d3ad
Merge pull request #100543 from chaitanyabandi/variable-expansion
...
Don't replace pod annotations in variable expansion test
2021-05-21 17:43:37 -07:00
Chaitanya Bandi
0681a44672
Don't replace pod annotations in variable expansion test
...
This change fixes the "Variable Expansion should verify that a failing subpath
expansion can be modified during the lifecycle of a container" conformance test
where the annotations are replaced with those used by the test, instead of
appending them.
This may cause undesirable side-effects with other controllers that may be
using pod annotations.
2021-05-21 13:38:04 -07:00
Stephen Heywood
4e3d006001
Increase TerminationGracePeriodSeconds to 1
2021-05-12 11:09:34 +12:00
Nick Triller
5ea0162906
e2e: deflake test by not relying on events
2021-05-06 10:49:21 +02:00
Matthias Bertschy
3916c00955
fix manual trigger of readinessProbe on startupProbe success
2021-05-05 11:21:40 +02:00
Antonio Ojea
3511357c0a
Revert "Deflake startupProbe e2e test"
...
This reverts commit bcd582030f
.
2021-05-01 10:29:03 +02:00
Kubernetes Prow Robot
6e29545168
Merge pull request #99998 from matthyx/deflake-startupprobe
...
Deflake startupProbe e2e test
2021-04-29 01:16:50 -07:00
Matthias Bertschy
bcd582030f
Deflake startupProbe e2e test
...
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com >
2021-04-28 07:07:01 +02:00
Kubernetes Prow Robot
21ab9c4175
Merge pull request #95286 from SergeyKanzhelev/removePodUnknown
...
Deprecating PodUnknown podPhase
2021-04-27 11:21:38 -07:00
Kubernetes Prow Robot
3eac797255
Merge pull request #100200 from jackfrancis/ctx-respect-ExecProbeTimeout
...
respect ExecProbeTimeout=false for dockershim
2021-04-10 22:55:59 -07:00
Kubernetes Prow Robot
c648d897e8
Merge pull request #100433 from gavinfish/e2e-common-unify
...
Unify some methods in e2e common
2021-04-08 22:09:14 -07:00
Jack Francis
5a43067915
respect ExecProbeTimeout
2021-04-07 12:38:19 -07:00
Sergey Kanzhelev
4b05fe6644
podUnknown is marked as Obsolete
2021-04-06 22:43:08 +00:00
James Sturtevant
d0683b8ce2
align some of the pod start up times
2021-04-02 11:29:38 -07:00
Kubernetes Prow Robot
770d3f181c
Merge pull request #99734 from wgahnagl/sysctls-conformance
...
Promote sysctls e2e test to Conformance
2021-03-26 18:26:43 -07:00
Skyler Clark
c6b99025a6
adds sysctls conformance tests
2021-03-25 09:28:25 -04:00
drfish
0558ca1918
Unify some methods in e2e common
2021-03-21 21:51:56 +08:00
Kubernetes Prow Robot
d39c427d01
Merge pull request #100050 from neolit123/1.21-tag-node-probe-test-with-kubelet-version
...
e2e/common/node: tag tests with MinimumKubeletVersion
2021-03-12 18:01:03 -08:00
Elana Hashman
06e634e216
Add e2es for terminationGracePeriod override
2021-03-11 14:38:06 -08:00
Lubomir I. Ivanov
d9facaec82
e2e/common/node: tag test with MinimumKubeletVersion
...
The tests:
"Pod liveness probe, container exec timeout, restart"
"Pod readiness probe, container exec timeout, not ready"
cannot be run against a kubelet older than 1.20.
Tag them with [MinimumKubeletVersion:1.20].
2021-03-11 01:03:05 +02:00
Davanum Srinivas
6c76fe9c14
Skip test when depending on feature
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-03-09 17:22:10 -05:00
Davanum Srinivas
ecc8de7083
Revert : conformance: promote container exec probe timeout tests
...
Reverting af3e118b1f
and
2242d0ffc4
as these tests fail when
ExecProbeTimeout feature gate is turned on.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-03-09 17:05:07 -05:00
Kubernetes Prow Robot
b85313b6dd
Merge pull request #99853 from wojtek-t/cleanup_describe_17
...
Cleanup the remaining multi-owned sig-node tests
2021-03-08 19:23:44 -08:00
Kubernetes Prow Robot
c193c1b234
Merge pull request #98376 from matthyx/mega
...
Make all health checks probing consistent
2021-03-06 11:45:41 -08:00
Matthias Bertschy
b203fb0565
Deflake e2e test for startupProbe
2021-03-06 14:43:45 +01:00
wojtekt
ae8baefeff
Cleanup the remaining multi-owned sig-node tests
2021-03-05 20:27:31 +01:00
Derek Carr
6215b12c84
e2e testing for hugepages downward api
2021-03-05 11:11:27 -05:00
Matthias Bertschy
431e6a7044
Move readinessManager updates handling to kubelet
2021-03-05 07:02:25 +01:00
Matthias Bertschy
4870e64ac1
Improve update time of readiness state
2021-03-05 07:02:24 +01:00