Commit Graph

782 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8b2f5be319
Merge pull request #96485 from ii/promote-lifecycle-test-pod-podstatus
Promote Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-11-23 11:39:01 -08:00
Kubernetes Prow Robot
18099e1ef7
Merge pull request #96495 from andrewsykim/dockershim-exec-context
kubelet: dockershim ExecSync should return context.DeadlineExeceeded on timeout
2020-11-19 09:06:51 -08:00
Andrew Sy Kim
f5a82f70e5 e2e/node: increase timeouts seconds to 5 for liveness probe restart test
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-17 10:02:08 -05:00
Sergey Kanzhelev
5da4cf0478 convert the runtimeclass API tests to conformance 2020-11-16 21:56:57 +00:00
Kubernetes Prow Robot
44b9de34fe
Merge pull request #96460 from aojea/badtestsctp
SCTP testing: fixes and additions
2020-11-16 10:26:05 -08:00
Sergey Kanzhelev
3af0ab440a Test CRUD operations on RuntimeClasses API 2020-11-13 19:54:32 +00:00
Antonio Ojea
19cf272b37 add more e2e sctp tests
Add more e2e SCTP tests for Services and intra-pod communication.
2020-11-13 17:07:00 +01:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Kubernetes Prow Robot
a7ae99d364
Merge pull request #94439 from claudiubelu/tests/agnhost-usage-refactor-3
tests: Refactor agnhost image pod usage - common (part 2)
2020-11-11 18:49:12 -08:00
Stephen Heywood
16480d8ec0 Promote Pod/PodStatus lifecycle e2e test to Conformance 2020-11-12 12:21:40 +13:00
Sergey Kanzhelev
06da0e5e74 GA of RuntimeClass feature gate and API 2020-11-11 19:22:32 +00:00
Derek Carr
45bd6cb186 Downward API hugepages 2020-11-10 16:09:13 -05:00
Andrew Sy Kim
81ad32e3a4 kubelet: add e2e test for exec readiness probe timeout
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-09 13:03:28 -05:00
Andrew Sy Kim
733862ed7f kubelet: stop skipping docker exec livenessprobe timeout test
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-09 13:03:28 -05:00
Stephen Heywood
36f4527956 Add constant PodReadyTimeout to e2e test 2020-11-07 08:21:15 +13:00
Stephen Heywood
079764ebd5 Adjusted timings and management of pods in e2e test 2020-11-07 08:21:15 +13:00
Caleb Woodbine
6035ccd46c Create Pod+PodStatus resource lifecycle test 2020-11-07 08:21:15 +13:00
Derek Carr
7eb37a7497 Add support to size memory backed volumes 2020-11-06 09:35:14 -05:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names (#96033)
* Rename const for topology.../zone

* Rename const for topology.../region

* Rename const for failure-domain.../zone

* Rename const for failure-domain.../region

* Restore old names for compat
2020-11-05 20:26:50 -08:00
Kubernetes Prow Robot
f00ec1b449
Merge pull request #95679 from EdDev/test-e2e-remove-w8-4-pod-running-after-createsync
test, e2e: Remove duplication when using PodClient.CreateSync
2020-10-27 15:32:11 -07:00
Kubernetes Prow Robot
6b7e8070b6
Merge pull request #94796 from harche/rtclass_test
Move the RuntimeClass tests out of node-kubelet-orphans
2020-10-20 13:44:20 -07:00
Claudiu Belu
2161a97505 tests: Refactor agnhost image pod usage - common (part 2)
A previous commit added  a few agnhost related functions that creates agnhost
pods / containers for general purposes.

Refactors tests to use those functions.
2020-10-18 08:44:38 -07:00
Edward Haas
c104671401 test, e2e: Remove duplication when using PodClient.CreateSync
The CreateSync method includes the waiting for the pod to become running
and returns a fresh new pod instance.
In addition, errors are asserted in the method.

Therefore, there is no need for the callers to repeat these operations.
Some, like the error assertions, will never be reached in case they
occur as they will explode from within the method itself.

Signed-off-by: Edward Haas <edwardh@redhat.com>
2020-10-18 15:42:06 +03:00
Kubernetes Prow Robot
f738e5b320
Merge pull request #94440 from claudiubelu/tests/agnhost-usage-refactor-2
tests: Refactor agnhost image pod usage - common (part 1)
2020-10-16 14:58:12 -07:00
Kubernetes Prow Robot
128b697d55
Merge pull request #95276 from jayunit100/95216_ginkgo
Have udp tests return idiomatic ginkgo errors, update reporting of mutating parts
2020-10-07 10:44:15 -07:00
Kubernetes Prow Robot
5e44d8ebaf
Merge pull request #95015 from Jefftree/bdd-remove-dependency
Remove dependency on behaviors for conformance walk.go
2020-10-05 13:04:19 -07:00
jay vyas
56def96d9d Update DialFromNode to return values as is done w/ other tests. Update
comments to clarify missing probability check function (since they need
to be updated anyways b/c of the return value introduced)
2020-10-04 15:59:20 -04:00
Claudiu Belu
c99b18580d tests: Refactor agnhost image pod usage - common (part 1)
A previous commit added  a few agnhost related functions that creates agnhost
pods / containers for general purposes.

Refactors tests to use those functions.
2020-09-26 05:29:33 -07:00
Kubernetes Prow Robot
807db805c3
Merge pull request #94969 from wojtek-t/list_all_namespaces_lease
Add test for listing Leases from all namespace
2020-09-24 13:57:39 -07:00
Jefftree
fe972b8f2f Remove dependency on behaviors for conformance generation 2020-09-23 13:28:06 -07:00
Kubernetes Prow Robot
61490bba46
Merge pull request #93837 from jayunit100/DialFromContainerB
intra-pod test improvements for bug-triage and node-level reporting
2020-09-22 12:22:50 -07:00
wojtekt
a65fec2a8a Add test for listing Leases from all namespace 2020-09-22 14:27:49 +02:00
Harshal Patil
feea9f3708 Move the RuntimeClass tests out of node-kubelet-orphans
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-09-15 12:51:38 +05:30
Kenichi Omichi
12c0eaef25 Use ExpectNoError(err)
We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
2020-09-03 23:29:07 +00:00
Matthew Fenwick
81219ca9d2 address review comments 2020-09-02 21:49:45 -04:00
Kubernetes Prow Robot
ef1655f691
Merge pull request #93963 from claudiubelu/tests/fixes-expansion-tests-negative-test
Fixes variable expansion false positive
2020-08-27 16:07:47 -07:00
Matthias Bertschy
ea14585500 Remove StartupProbe featuregate and related logic 2020-08-22 15:09:52 +02:00
Claudiu Belu
8ca08f1ced tests: Use Windows absolute path on Windows pods
The test "should fail substituting values in a volume subpath with absolute path" creates a pod
with a variable expansion path which is set as an absolute path. However "/tmp" is not an absolute
on Windows, it has to be prefixed with the drive letter (C:\tmp). But C:\tmp does not typically
exist on Windows nodes, so we use C:\Users instead.
2020-08-18 13:39:31 -07:00
Matthew Fenwick
14fe811563 back out conversion of DialFromNode->DialFromTestContainer 2020-08-12 13:11:51 -04:00
jay vyas
56e2adbd79 implement breadth first try 2020-08-11 11:32:46 -04:00
jay vyas
ccbfa84173 golint
flip logging messages

run pod->node conformance tests the same way
2020-08-10 15:46:49 -04:00
jay vyas
35f5e8e66f minor logic fix 2020-08-09 16:45:51 -04:00
jay vyas
84f7d1e636 e2e test intra-pod breadth first logging and summary
gofmt
2020-08-09 16:35:03 -04:00
Claudiu Belu
72a26aed7d tests: Fixes variable expansion false positive test
Some of the tests are negative test cases which are supposed to ensure that those
invalid usecases are handled properly.

However, some of the tests are false positives, they can pass due to various reasons.
One such example is: "should fail substituting values in a volume subpath with absolute path".
This test can pass if:

- the Pod cannot start due to various reasons (e.g.: the container image cannot be pulled or does
  not exist).
- the Pod ran to completion, even though the container was not supposed to start in the first place.
2020-07-31 01:23:09 -07:00
Kubernetes Prow Robot
20fbf09c3e
Merge pull request #93551 from brianpursley/runtimeclass-e2e-fix
Remove special case for node e2e tests when expecting pod rejection
2020-07-30 23:53:06 -07:00
Jefftree
ace97738e2 Update formatting of conformance comment 2020-07-29 20:50:44 -07:00
Brian Pursley
6029346d0d Remove special case for node e2e tests when expecting pod rejection 2020-07-29 22:28:03 -04:00
Kubernetes Prow Robot
5ca6d567c4
Merge pull request #93086 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-test
Promote Delete Collection Pods e2e test to conformance +1 endpoint coverage
2020-07-28 19:25:48 -07:00
Kubernetes Prow Robot
607c5daabd
Merge pull request #93405 from liggitt/revert-pod-lifecycle-flake
Revert "Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 04:30:22 -07:00
Kubernetes Prow Robot
55476fb872
Merge pull request #93373 from liggitt/deflake-pod-collection
Delete pod collection immediately
2020-07-24 02:08:22 -07:00