Commit Graph

733 Commits

Author SHA1 Message Date
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
Jordan Liggitt
bf6f87c637 Revert "Merge pull request 90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test" 2020-07-24 00:24:27 -04:00
Jordan Liggitt
6ef0fa6244 Delete pod collection immediately 2020-07-23 00:01:46 -04:00
Caleb Woodbine
642bed3c6c Update test images to use conformance images 2020-07-23 14:13:40 +12:00
Caleb Woodbine
080ad0990a Add logs for Pod observations while watching for a running state 2020-07-22 16:44:18 +12:00
Caleb Woodbine
a0861aeb52 Fix fmt and staticcheck 2020-07-22 15:23:56 +12:00
Caleb Woodbine
d26cb7150a Remove created check 2020-07-22 13:55:29 +12:00
Caleb Woodbine
d60a57ad73 Update watches to use watchtools.Until, namespace var name 2020-07-22 10:33:55 +12:00
Caleb Woodbine
bd34e1c445 Fix label patch and check 2020-07-22 10:07:18 +12:00
Caleb Woodbine
05163497bc Fix bazel build 2020-07-20 11:15:57 +12:00
Caleb Woodbine
dc30156fb8 Update error handling formatting, handling of type conversion in watch event loop 2020-07-20 10:03:49 +12:00
Caleb Woodbine
6e04fbdde1 Update error statements 2020-07-20 10:03:49 +12:00
Caleb Woodbine
a2c19d7ae0 Add watch checks 2020-07-20 10:03:49 +12:00
Caleb Woodbine
a4e29f2481 Fix formatting 2020-07-20 10:03:49 +12:00
Caleb Woodbine
cb7835bcb0 Add check for unmarshalling onto a Pod object type 2020-07-20 10:03:49 +12:00
Caleb Woodbine
c6a86b5fed Fix test to use values from v1, wording; Update variables to be more templatable 2020-07-20 10:03:49 +12:00
Caleb Woodbine
47cd8dde56 Update to check response data of UpdateStatus instead of listing after updating the status 2020-07-20 10:03:49 +12:00
Caleb Woodbine
19e9368eb8 Create Pod+PodStatus resource lifecycle test 2020-07-20 10:03:49 +12:00
Kubernetes Prow Robot
8c300565c2
Merge pull request #90941 from ii/ii-promote-configmap-lifecycle
Promote: ConfigMap Lifecycle test - +2 conformance endpoint coverage
2020-07-15 15:28:48 -07:00
Kubernetes Prow Robot
cccb28bb5e
Merge pull request #92812 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-template-test
Promote DeleteCoreV1CollectionNamespacedPodTemplate test+promote - +1 endpoint
2020-07-10 15:43:01 -07:00
Stephen Heywood
9520a87488 Fix metadata formatting 2020-07-09 21:16:22 +00:00
Kubernetes Prow Robot
1f89f42602
Merge pull request #92621 from spiffxp/simplify-configmap-lifecycle-test
Simplify ConfigMap lifecycle e2e test
2020-07-09 09:07:31 -07:00
Kubernetes Prow Robot
d9b084a9d1
Merge pull request #89629 from fatedier/subpath
Modified subpath configmap mount fails when container restarts
2020-07-09 09:06:32 -07:00
Kubernetes Prow Robot
2e6d06c13a
Merge pull request #92479 from ii/heyste-delete-core-v1-collection-namespaced-pod-test
Create deleteCoreV1CollectionNamespacedPod test - +1 endpoint coverage
2020-07-09 00:05:10 -07:00
fatedier
78b5003e88 update e2e test 2020-07-03 20:31:00 +08:00
Stephen Heywood
0da98ad96f Promote: PodTemplate delete a collection test 2020-07-03 00:02:58 +00:00
Stephen Heywood
bcd7d08616 Reduce log verbosity 2020-07-01 21:04:59 +00:00
Stephen Heywood
ec949fc50b Update to keep logging consistent 2020-07-01 19:43:44 +00:00
alejandrox1
4338053d8f Renamed image "white lists" to pre-pull image lists in test
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-07-01 13:48:47 -04:00
Stephen Heywood
eb8ddc464a Add check on deleteCollection, improve logging 2020-07-01 02:46:34 +00:00
Aaron Crickenberger
225e7c75b5 Reorder checks slightly, add a list-by-namespace call
Now the test covers 6 different api calls
- verify create with a get
- verify patch with a list (all namespaces)
- verify delete with a list (single namespace)
2020-06-29 19:03:44 -07:00
Aaron Crickenberger
121676e220 Drop the use of watchtools
The thing is, for this test at least, I'm pretty sure there's nothing
we need to wait on. Instead of waiting for a deleted event, we will
relist configmaps and expect 0, to confirm the deletion took effect
2020-06-29 19:02:15 -07:00
Aaron Crickenberger
0a869ac043 Use different resource versions each time
In this way, we avoid having to skip over "stale" watch events. The
downside is having to keep track of the previous resource version.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
4582e26ae1 Now use the stock watchtools.Until
By passing in the same initial resource version each time, we get
all watch events from the beginning each time.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
1048dddc36 For grins, make the watch checks very detailed
So we know we're not just seeing an arbitrary watch event, we're
seeing _the_ watch event that describes the results of our actions
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
9fb05616ca Drop WatchSequenceEventVerifier from configmap lifecycle test
Collecting events in a certain order and then verifying the order in
which they were collected feels redundant.
2020-06-29 14:53:10 -07:00
Stephen Heywood
832e4718da Ensure that a set of pods can be removed by delete collection 2020-06-24 05:47:34 +00:00
Caleb Woodbine
d9ca8498db Update conformance metadata to have release version v1.19 2020-06-24 09:30:50 +12:00
Caleb Woodbine
b4ee99c465 Fix formatting 2020-06-24 09:30:50 +12:00
Caleb Woodbine
f6cd389a6c Fix: formatting 2020-06-24 09:30:50 +12:00
Caleb Woodbine
0ea650b2c6 Fix: conformance data, conformance test entrypoint 2020-06-24 09:30:50 +12:00
Caleb Woodbine
0b6994e85d Promote: ConfigMap Lifecycle test 2020-06-24 09:30:50 +12:00
RobertKielty
5c27c7e304 renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
Part of work to remove racist language, this name change also improves on the
  semantics of this variable name as it was not actually a list of permissible
  images but rather a list of images that are required for e2e_node tests that
  are to be pre-pulled so that they are available prior to running e2e tests.

  Worth noting that this list of images is "union merged" with another list when
  setting up e2e_node tests and as such there is the possibilty for overlap.

 # Please enter the commit message for your changes. Lines starting
2020-06-21 18:46:06 +01:00
Warren Fernandes
296f50365b Rename NodeImageWhiteList to NodePrePullImageList 2020-06-19 16:12:27 -06:00
Kubernetes Prow Robot
580eebb03b
Merge pull request #90944 from ii/ii-update-and-improve-configmap-resource-lifecycle-test
Update and improve ConfigMap resource lifecycle test
2020-06-16 19:22:05 -07:00
Kubernetes Prow Robot
f455a143df
Merge pull request #91259 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-template-test
Create deleteCoreV1CollectionNamespacedPodTemplate test+promote - +1 endpoint coverage
2020-06-16 13:46:04 -07:00
Caleb Woodbine
34ddb64825 Add cleanup function; Fix build 2020-06-11 14:09:41 +12:00
Caleb Woodbine
34988cfe0e Update to include watch tooling 2020-06-11 14:09:41 +12:00
Caleb Woodbine
b52740c44f Add watch event checks 2020-06-11 14:09:41 +12:00