Commit Graph

45 Commits (18533fe84f2b4208a3b5baee4a66d786d9fe28ae)

Author SHA1 Message Date
Kubernetes Prow Robot e1c5e8394e
Merge pull request #71950 from bclau/fix-max-backoff-test-flake
tests: getRestartDelay waits for the next Terminated state
2019-03-06 03:26:04 -08:00
Claudiu Belu 5edc073122 tests: getRestartDelay waits for the next Terminated state
Kubelet might miss reporting the new Running state when restarting
a pod after its backoff period expired, and thus, the pod will
continue to remain in CrashLoopBackOff state, causing the
"should cap back-off at MaxContainerBackOff" and
"should have their auto-restart back-off timer reset on image update"
tests to fail, since they're waiting the Pods to enter a Running state.

Waiting for the next Terminated state instead of the next Running state
is more reliable.

Note that this adds 5 seconds to the restart delay due to the fact that
the Container runs for 5 seconds (it's command is "sleep 5"), but it is
within the test's expectations.
2019-03-03 08:35:51 -08:00
pontiyaraja 12943ce1ac removed flaky watch from pods test cases 2019-02-27 11:24:20 +05:30
Mayank Gaikwad 78a15ed1c9 Promote pod's websocket based NodeConformance tests to Conformance 2018-09-30 21:57:49 +05:30
Mayank Gaikwad 440816af3d Add slow test comment and format import statements 2018-09-28 00:47:11 +05:30
Kubernetes Submit Queue d46d67159f
Merge pull request #65222 from adelina-t/make-e2e-test-platform-agnostic
Automatic merge from submit-queue (batch tested with PRs 67739, 65222). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Tests: Make e2e test platform-agnostic

The test:
[k8s.io] Pods should support remote command execution over websockets [NodeConformance]

  uses cat on /etc/resolv.conf and checks if the output from the container is  "namespace",
which is incompatible with windows containers as there is no such file.

  Since the test just check if remote command execution works, the command is
irrelevant as long as the output checks out. Switched to using echo "remote execution test",
and checking that output as it works for both windows and linux.
2018-08-28 12:31:04 -07:00
Minhan Xia 3951168c6f add NodeConformance test for PodReadinessGate 2018-08-21 11:34:53 -07:00
thdrnsdk 2cd42c3600 delete the busyboxImage and mountTest var and change use imageutils 2018-08-14 22:37:40 +09:00
Manjunath A Kumatagi 1f7f33aaa4 Update the nginx image from hub.docker.com 2018-08-04 05:19:53 +05:30
Srini Brahmaroutu 73700aef01 Adding details to Conformance Tests using RFC 2119 standards. 2018-08-01 11:39:01 -07:00
TaEduard 66b5b9b2f4 Tests: Make e2e test platform-agnostic
The test:
[k8s.io] Pods should support remote command execution over websockets [NodeConformance]

  uses cat on /etc/resolv.conf and checks if the output from the container is  "namespace",
which is incompatible with windows containers as there is no such file.

  Since the test just check if remote command execution works, the command is
irrelevant as long as the output checks out. Switched to using echo "remote execution test",
and checking that output as it works for both windows and linux.
2018-06-19 17:21:34 +03:00
Yu-Ju Hong 39bb841827 test/e2e/common: Add NodeFeature or NodeConformance tags
The following tests are not tagged because they are not really run in
node e2e suites:
  * A subset of host path tests that required SSH access
    - should evaluate whether the tests should be moved to test/e2e_node
  * GCP volume tests
    - should evaluate whether these tests should be moved out of the
    common directly since they are not shared with the node e2e suite.
2018-05-21 21:28:42 -07:00
Yu-Ju Hong 3815dfe478 test/e2e/common: add NodeConformance tag to all Conformance tests 2018-05-21 18:09:33 -07:00
Manjunath A Kumatagi 1bb810e749 Use pause manifest image 2018-04-06 11:00:50 +05:30
Seth Jennings 0639f1def6 make read from channel other than stdout non-fatal 2018-02-26 15:30:41 -06:00
Di Xu 48388fec7e fix all the typos across the project 2018-02-11 11:04:14 +08:00
Matt Liggett a5967cbaf1 Add framework.ConformanceIt as the new way to declare conformance tests.
Also rewrite all existing conformance tests to use this.
2017-10-27 15:29:59 -07:00
Kevin 4c8539cece use core client with explicit version globally 2017-10-27 15:48:32 +08:00
Brad Topol 873929934a Add pod related conformance annotations
Signed-off-by: Brad Topol <btopol@us.ibm.com>

ran gofmt and rebased
2017-10-18 06:24:11 -07:00
Manjunath A Kumatagi ee4d54c70c Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
Chao Xu 60604f8818 run hack/update-all 2017-06-22 11:31:03 -07:00
Chao Xu f4989a45a5 run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
Kris 2ab0320745 Switch all e2es to the ginkgo wrapper 2017-06-12 14:40:11 -07:00
NickrenREN d4376599ba Cleanup: replace some hardcoded codes and remove unused functions 2017-04-25 09:38:25 +08:00
Chao Xu 4f9591b1de move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
David Ashpole 3806d386df use default timeout for deletion 2017-03-08 14:40:19 -08:00
Clayton Coleman 3f04421d7b
Pod deletion observation is flaking, increase timeout and debug more
We can afford to wait longer than 30 seconds, and we should be printing
more error and output information about the cause of the failure.
2017-02-24 17:03:38 -05:00
deads2k c9a008dff3 move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
Dr. Stefan Schimanski d7eb3b6870 pkg/util: move uuid and strategicpatch into k8s.io/apimachinery 2017-01-25 19:45:09 +01:00
Clayton Coleman be6d2933df
refactor: Move *Options references to metav1 2017-01-24 13:41:51 -05:00
Clayton Coleman 469df12038
refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
Clayton Coleman 9a2a50cda7
refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
deads2k 6a4d5cd7cc start the apimachinery repo 2017-01-11 09:09:48 -05:00
Wojciech Tyczynski a9ec31209e GetOptions - fix tests 2016-12-09 09:42:01 +01:00
Chao Xu a55c71db4d test/e2e 2016-11-23 15:53:09 -08:00
Jan Chaloupka 4fde09d308 Replace client with clientset in code 2016-10-23 22:00:35 +02:00
Paul Morie 53ec6e60fe Remove deferred deletion calls from E2E tests 2016-10-17 10:36:22 -04:00
Mac Browning b9ca7384ec annotate errors in e2e tests 2016-10-06 23:11:29 -04:00
Kubernetes Submit Queue 00d8322571 Merge pull request #31829 from timstclair/flake
Automatic merge from submit-queue

Add retries to service environment variable test

Fixes (hopefully): https://github.com/kubernetes/kubernetes/issues/30548#issuecomment-243907466

/cc @euank @dchen1107
2016-08-31 19:11:06 -07:00
Tim St. Clair f9a2c07c20
Add retries to service environment variable test 2016-08-31 16:46:03 -07:00
Vishnu kannan 8d74371537 make pods e2e retry getting logs from web-sockets
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-08-30 17:11:48 -07:00
Vishnu kannan 8e29b98128 fix pod get logs over websocket e2e test
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-08-29 14:37:01 -07:00
Random-Liu 671229c450 Extend the wait time to 2*time.Minute for liveness check test. 2016-08-11 17:35:39 -07:00
Random-Liu 9bfa0a6e47 Split pods.go into smaller parts. 2016-08-03 13:31:48 -07:00
Random-Liu 0362789283 Move pods.go into common directory. 2016-08-03 13:29:17 -07:00