Commit Graph

971 Commits (9b9fd439734c8adb4a1799d698bbef90075de232)

Author SHA1 Message Date
Marek Biskup 13ba177668 kube-addon-update.sh 2015-06-08 15:10:40 +02:00
Jerzy Szczepkowski 445ae0f576 Added e2e test case for network partition.
Added e2e test case which verifies if a node can return to cluster after longer network partition. Valid for gce.
2015-06-08 14:08:32 +02:00
jayunit100 e93d317437 Add a --e2e-output-dir for use in e2e tests (default is /tmp/) 2015-06-05 19:15:50 -04:00
Quinton Hoole 4b84782e64 Merge pull request #9322 from liggitt/e2e_service_account_wait
Wait for default serviceaccount in e2e createTestingNS
2015-06-05 12:54:27 -07:00
Quinton Hoole 640c40da65 Merge pull request #9316 from gmarek/fix_density
Put performance data from Density test into /tmp/ folder
2015-06-05 12:49:49 -07:00
Quinton Hoole 8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Quinton Hoole 21db71db1a Merge pull request #9073 from ArtfulCoder/srv_dns
SRV record support
2015-06-05 11:24:32 -07:00
Jordan Liggitt 4754a6aea1 Wait for default serviceaccount in e2e createTestingNS 2015-06-05 13:33:23 -04:00
Abhishek Shah 7d0adbcb1c SRV record support 2015-06-05 09:31:07 -07:00
markturansky 57d8b30b3e fixed checker pod issue 2015-06-05 12:19:23 -04:00
gmarek 9dee8206f4 Put performance data from Density test into /tmp/ folder 2015-06-05 14:37:20 +02:00
Quinton Hoole 7309e1f707 Merge pull request #9236 from mikedanese/etcd-fail-e2e
add e2e test for etcd failure and recovery
2015-06-04 22:10:31 -07:00
Mike Danese c458ee9dcb add e2e test for etcd failure 2015-06-04 20:49:25 -07:00
markturansky b9d7b27bd0 Added watch to e2e instead of sleep, used GenerateName for objs 2015-06-04 23:08:46 -04:00
Chao Xu d3664957b1 replace v1beta3 with v1 in e2e tests 2015-06-04 17:42:00 -07:00
markturansky deec5f26cd Recycler controller 2015-06-04 15:47:36 -04:00
Chao Xu ef61b031f5 make v1 enabled by default 2015-06-04 11:37:44 -07:00
Quinton Hoole a39a6013cb Merge pull request #8469 from satnam6502/heapster
Add explicit version to name of monitoring RCs
2015-06-04 10:42:54 -07:00
Brian Grant e7788771d6 Merge pull request #9030 from brendandburns/kubectl
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Max Forbes a6c47a07de E2E test node upgrade (to same version) 2015-06-03 17:05:45 -07:00
Brian Grant e3b80db02c Merge pull request #9148 from lavalamp/e2eTestFix
E2e test fix
2015-06-03 12:44:55 -07:00
Brian Grant 8c0b1c7db4 Merge pull request #8809 from rrati/performance-gathering-7572
Performance gathering 7572
2015-06-03 12:37:17 -07:00
Robert Rati a248d0ccf9 Default RunRC to check every 10 seconds if an internval isn't provided. #7572 2015-06-03 15:00:28 -04:00
Robert Rati 4f9046332d Minor fixes and clarifications. #7572 2015-06-03 15:00:27 -04:00
Robert Rati 4e05d85413 Fixed issue reading empty response from a get in getDebugInfo. #7572 2015-06-03 15:00:27 -04:00
Robert Rati 13b8d947fc Revert "Revert "Added metrics/debug gathering methods to utils and used them in density ...""
This reverts commit 70500a64a7.
2015-06-03 15:00:27 -04:00
Filip Grzadkowski 2aac5e0f1a Disable load test from e2e-gce-scalability jenkins job 2015-06-03 20:31:47 +02:00
Brendan Burns ab0c9b8e1e Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout. 2015-06-03 11:21:30 -07:00
Brian Grant 895ad68422 Merge pull request #9145 from caesarxuchao/hack/test-integration
enable v1 in hack/test-integration.go
2015-06-03 11:19:41 -07:00
Daniel Smith 8d4d6276b7 fix elasticsearch test 2015-06-03 10:44:31 -07:00
Eric Tune 6e3ff01fa7 Merge pull request #9092 from lavalamp/no-ro-nonbreaking
Nonbreaking changes working towards removing the RO port
2015-06-03 09:25:46 -07:00
Piotr Szczesniak a7ee5559b1 Merge pull request #9184 from fgrzadkowski/enhance_load_test
Load test: set threshold for latency metrics and add periodic lists
2015-06-03 17:11:26 +02:00
Filip Grzadkowski b3deef2f11 Load test: set threshold for latency metrics and add periodic lists 2015-06-03 16:28:47 +02:00
Brian Grant 43cc6ed3ed Revert "Added e2e test case for network partition." 2015-06-03 07:04:41 -07:00
Piotr Szczesniak f973eb8829 Merge pull request #9181 from fgrzadkowski/decrease_threshold
Decrease threshold for latency metrics in density tests
2015-06-03 15:46:56 +02:00
Filip Grzadkowski 54697db600 Decrease threshold for latency metrics in density tests 2015-06-03 14:31:39 +02:00
Piotr Szczesniak f71baba64f Increased failCount param in RunRC function for e2e tests.
The previous value was 10 (equivalent of 50sec) current is 24 (2min).
Time in brackets mean: how long should I wait for the next pod of RC to be created.

While we are creating 3000 pods for scalability tests it tends to fail.
2015-06-03 13:50:51 +02:00
Piotr Szczesniak 5c7795bdd1 Creating RCs in batches not in parallel in Load e2e test 2015-06-03 13:13:55 +02:00
jayunit100 f3da07552a Fix bad namespace 2015-06-02 23:27:09 -04:00
jayunit100 bcc735af19 Revert "Merge pull request #9166 from GoogleCloudPlatform/revert-8504-ginkgo-names"
This reverts commit 479e5005f5, reversing
changes made to 5115f0e6bc.
2015-06-02 23:23:44 -04:00
Brian Grant b3550bcacf Revert "Cleanup ginkgo declarative naming in E2Es" 2015-06-02 20:16:41 -07:00
Daniel Smith 68d0511d4e remove networking test that doesn't work for RO port 2015-06-02 18:47:06 -07:00
Daniel Smith e341110b95 Fix DNS test to not use RO port 2015-06-02 18:45:26 -07:00
Daniel Smith abb00f1cfc fix e2e service test to not reference ro service 2015-06-02 18:45:26 -07:00
Brian Grant b15efbc2f5 Merge pull request #8504 from jayunit100/ginkgo-names
Cleanup ginkgo declarative naming in E2Es
2015-06-02 18:44:06 -07:00
jayunit100 e6583ef7d7 Cleanup ginkgo declarative naming in E2Es 2015-06-02 17:56:44 -04:00
Chao Xu 89c8949e78 add v1 to hack/test-integration.sh 2015-06-02 14:55:45 -07:00
Brian Grant b5aa78bd44 Revert "Add a test for the service load balancer." 2015-06-02 14:53:58 -07:00
Filip Grzadkowski 98115facfd Revert "Gracefully delete pods from the Kubelet" 2015-06-02 23:40:05 +02:00
Brian Grant b1a0fb0cb3 Merge pull request #8881 from brendandburns/services
Add a test for the service load balancer.
2015-06-02 13:08:02 -07:00
Brian Grant 464224f50d Merge pull request #8862 from jszczepkowski/e2e-net
Added e2e test case for network partition.
2015-06-02 13:07:46 -07:00
Brian Grant b7ae48eb1e Merge pull request #8641 from smarterclayton/gracefully_delete_pods
Gracefully delete pods from the Kubelet
2015-06-02 10:36:27 -07:00
Brendan Burns 3d90d1cefb Add a test for the service load balancer. 2015-06-02 10:16:18 -07:00
Piotr Szczesniak ac82f50afb Disabled load e2e test for scalability Jenkins job 2015-06-02 16:16:02 +02:00
Jerzy Szczepkowski 44f11ea662 Added e2e test case for network partition.
Added e2e test case which verifies if a node can return to cluster after longer network partition. Valid for gce. Finally fixes to #7051.
2015-06-02 13:09:21 +02:00
Filip Grzadkowski d7f242b8b0 Merge pull request #8873 from piosz/load_generator
Re-enabled load e2e test for Jenkins scalability suite
2015-06-02 04:05:23 -07:00
Piotr Szczesniak a2116f2bc1 Re-enabled load e2e test for Jenkins scalability suite
Also increased next pod startup waiting time from 100s to 200s
to eliminate flakiness by incresing failCount param.
2015-06-02 11:26:42 +02:00
Filip Grzadkowski 7580006771 Merge pull request #9059 from fgrzadkowski/watch_density
Use watch-based cache in density e2e tests.
2015-06-02 02:00:26 -07:00
Clayton Coleman f1eaa8a27b Delete resources immediately from e2e tests 2015-06-01 19:24:02 -04:00
Clayton Coleman 984692d205 Verify in hack/test-cmd 2015-06-01 19:24:01 -04:00
Eric Tune 5651bdb237 Merge pull request #8746 from justinsb/e2e_restartpolicy_never
e2e: Specify RestartPolicy=Never in empty_dir test
2015-06-01 13:47:31 -07:00
Eric Tune ccea8fafa5 Merge pull request #8434 from jayunit100/soak_ns_2
Soak ns 2
2015-06-01 13:44:38 -07:00
Filip Grzadkowski 7814297acc Use watch-based cache in density e2e tests. 2015-06-01 17:18:56 +02:00
Justin Santa Barbara 1e99426d5b Support for AWS ELB 2015-05-29 18:53:35 -04:00
Rohit Jnagal 233ce46b83 Merge pull request #8923 from caesarxuchao/TerminationToTerminated
Update ContainerState.Termination to ContainerState.Terminated
2015-05-29 14:51:09 -07:00
Rohit Jnagal d34d00c288 Merge pull request #8898 from brendandburns/tunnel
Move SSH code into a common util package.  Add support for SSH tunnels.
2015-05-29 14:48:37 -07:00
Rohit Jnagal 38c1fe112f Merge pull request #9006 from GoogleCloudPlatform/revert-8927-revert-8822-fifo_rc
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown t…
2015-05-29 11:11:38 -07:00
Rohit Jnagal 697db8ccf1 Merge pull request #8784 from jszczepkowski/e2e-nodes
Added e2e test case which triggers kernel panic on a node.
2015-05-29 09:39:02 -07:00
Rohit Jnagal 2c4ceca1cf Merge pull request #8974 from lavalamp/networkTimeout
Use spew for more informative debug output
2015-05-29 09:33:54 -07:00
Rohit Jnagal ff51f0b2e1 Merge pull request #8696 from derekwaynecarr/force_namespace_creation
Force explicit namespace provision, update e2e for failures
2015-05-29 09:28:47 -07:00
Prashanth B 6c209ec193 Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"" 2015-05-29 09:24:39 -07:00
Daniel Smith 02b1331512 Use spew for more informative debug output 2015-05-28 17:20:42 -07:00
Chao Xu 2f6e5e2e08 Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go 2015-05-28 17:18:24 -07:00
Tim Hockin b72a8309b5 Merge pull request #8972 from lavalamp/networkTimeout
fix old networking test to use version 1.3
2015-05-28 16:53:40 -07:00
Daniel Smith 779e0d8529 fix old networking test to use version 1.3 2015-05-28 16:49:25 -07:00
Tim Hockin 4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin b17e343afc Fix undetected merge conflict 2015-05-28 16:00:10 -07:00
Tim Hockin 081ab3abac Merge pull request #8853 from caesarxuchao/HostToNodeName
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Daniel Smith c8f03fc354 fix timeout for networking test 2015-05-28 15:01:59 -07:00
Daniel Smith 0e49e1535f split into old/new networking test 2015-05-28 15:01:59 -07:00
Daniel Smith d683548fd6 Revert "Revert "Revert "Revert "Fix networking test""""
This reverts commit 30ffe0325c.
2015-05-28 15:01:59 -07:00
Tim Hockin eabc65149e Merge pull request #8896 from lavalamp/e2e-timeout
Give up waiting for failed pods + print status
2015-05-28 15:00:19 -07:00
Tim Hockin 1a45e4006e Merge pull request #8747 from brendandburns/e2e
Add a test for PreStop hooks.
2015-05-28 14:55:40 -07:00
Tim Hockin 8886557da6 Merge pull request #8926 from thockin/remove-debug
Remove debug print
2015-05-28 14:50:17 -07:00
Chao Xu 9c1153322e update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go 2015-05-28 14:10:06 -07:00
Tim Hockin e524d52248 Use $$() in pod commandlines to get $() 2015-05-28 10:53:22 -07:00
derekwaynecarr 3e8b1d5e01 Update all salt providers to force explicit namespace creation; update e2e 2015-05-28 13:45:49 -04:00
Tim Hockin b69fad211e Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones" 2015-05-28 10:23:55 -07:00
Tim Hockin c6ca865e1a Remove debug print 2015-05-28 10:12:37 -07:00
Wojciech Tyczynski 6ffe46a9e0 Merge pull request #8822 from bprashanth/fifo_rc
Wake up rcs when pods get DeletionFinalStateUnknown tombstones
2015-05-28 10:50:28 +02:00
Brendan Burns a51747f941 Move SSH code into a common util package. Add support for SSH tunnels. 2015-05-27 16:58:52 -07:00
Prashanth Balasubramanian 8fa66bd962 Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster 2015-05-27 16:45:51 -07:00
Daniel Smith fe58bf16e8 Give up waiting for failed pods + print status 2015-05-27 16:07:39 -07:00
Tim Hockin 0721377646 Merge pull request #8596 from andronat/fix_8319
Kubectl command renaming (run-container to run and resize to scale)
2015-05-27 15:37:54 -07:00
Quinton Hoole 30ffe0325c Revert "Revert "Revert "Fix networking test""" 2015-05-27 14:52:33 -07:00
Quinton Hoole 851f6b7542 Merge pull request #8852 from brendandburns/core
Add a 'core dump' to failed tests.
2015-05-27 14:14:13 -07:00
Tim Hockin 7480c8263a Merge pull request #8741 from justinsb/e2e_set_http_timeout
e2e: Set (short) timeout for http request polling
2015-05-27 12:43:18 -07:00
Tim Hockin 9d0a4d8791 Merge pull request #8829 from lavalamp/no-ro-nettest
Revert "Revert "Fix networking test""
2015-05-27 12:42:32 -07:00
Brendan Burns 199ed54599 Add a 'core dump' to failed tests. 2015-05-27 11:39:08 -07:00
Anastasis Andronidis 9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
Tim Hockin 244b10e8ba Merge pull request #8812 from jayunit100/kubectlparam
Parameterized kubectl once and for all :)
2015-05-27 09:35:23 -07:00
Jerzy Szczepkowski 039314cce1 Added e2e test cases which trigger different types of node failures.
Added e2e test cases which trigger different types of node failures and verify they are correctly re-assimilated. Valid for gce and gke. Related to #7051.
2015-05-27 11:52:36 +02:00
Brendan Burns 1e94eed475 Add a test for PreStop hooks. 2015-05-26 21:23:15 -07:00
Paul Morie 8b338860aa Make kubelet expand var refs in cmd, args, env 2015-05-27 00:13:57 -04:00
jayunit100 6e4160eeb0 Set option for KubectlPath (kubectl-path) for E2E tests. 2015-05-26 21:46:59 -04:00
Saad Ali bed9f826d3 Merge pull request #7435 from jsafrane/devel/volume-tests
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali abaa278b0e Merge pull request #8643 from vishh/headless
Adding support for generating A records for headless services.
2015-05-26 14:44:00 -07:00
Daniel Smith ea4035d08c Revert "Revert "Fix networking test""
This reverts commit a2d24d3e07.
2015-05-26 13:11:06 -07:00
Filip Grzadkowski 39483ffa90 Merge pull request #8779 from wojtek-t/failing_rc_delete
Increase timeout for deleting RC in e2e tests.
2015-05-26 01:43:34 -07:00
Filip Grzadkowski 702a5e27e9 Merge pull request #8777 from fgrzadkowski/print_top_latency
Print top 5 latency metrics even if they are below threshold
2015-05-26 01:41:41 -07:00
Filip Grzadkowski 9a22286622 Reduce threshold for request latency in density tests to 5 sec 2015-05-25 15:05:34 +02:00
Filip Grzadkowski 892ce56cec Print top 5 latency metrics even if they are below threshold 2015-05-25 14:58:23 +02:00
Marek Grabowski 9797255a15 Merge pull request #8770 from wojtek-t/exclude_proxy_metrics
Ignore /proxy from performance metrics
2015-05-25 13:47:33 +02:00
Jan Safranek 20004e0c16 Add e2e tests for Gluster and NFS tests.
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
  - enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Wojciech Tyczynski ff8c772fe0 Increase timeout for deleting RC in e2e tests. 2015-05-25 11:51:11 +02:00
Jerzy Szczepkowski 7d2fb16829 Extended wait for cluster size timeout.
Extended wait for cluster size timeout in resize nodes e2e test to fix #8715.
2015-05-25 11:03:26 +02:00
Wojciech Tyczynski abc24fa65c Ignore /proxy from performance metrics 2015-05-25 09:21:26 +02:00
Justin Santa Barbara 784c4aef2f e2e: Specify RestartPolicy=Never in host_path test
Fixes #8745
2015-05-24 09:55:07 -04:00
Justin Santa Barbara 51b9c148a9 e2e: Specify RestartPolicy=Never in empty_dir test
Fixes #8745
2015-05-24 00:52:04 -04:00
Justin Santa Barbara 6564fedbdb Set (short) timeout for http request polling 2015-05-23 22:13:49 -04:00
Vishnu Kannan c2fcdec503 Adding an e2e test for headless services. 2015-05-22 23:00:24 -07:00
Justin Santa Barbara c68e4163fe e2e fix: set NodePort back to 0, when changing from NodePort -> ClusterIP 2015-05-22 22:20:29 -04:00
Dawn Chen 8d6d03b4a4 Merge pull request #8707 from justinsb/nodeport
WIP: ServiceType & NodePort work
2015-05-22 16:46:59 -07:00
Justin Santa Barbara 270701b88a e2e testing for NodePort services 2015-05-22 19:14:28 -04:00
Justin Santa Barbara 7346cc8042 Add ServiceType = NodePort; wire everything up 2015-05-22 19:14:28 -04:00
Justin Santa Barbara 973c2e4819 Add Type to ServiceSpec: ClusterIP or LoadBalancer 2015-05-22 19:14:21 -04:00
Dawn Chen 4cad3b568f Merge pull request #8644 from mbforbes/e2eLogBetter
Better logging for e2e start (debug failing pods)
2015-05-22 16:01:34 -07:00
Daniel Smith 05d2ae5642 add framework to service accounts test 2015-05-22 15:29:12 -07:00
Daniel Smith 86799cdd9d add framework to emptyDir test 2015-05-22 15:29:12 -07:00
Daniel Smith 6ae8c78527 secrets test uses framework 2015-05-22 15:29:12 -07:00
Daniel Smith 11087d13b4 dns test uses framework 2015-05-22 15:29:12 -07:00
Justin Santa Barbara 3884d5fc59 Add LoadBalancer status to ServiceStatus
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Dawn Chen 4ca2595ed3 Merge pull request #8651 from lavalamp/e2e-timeout
Start e2e framework; print events
2015-05-22 15:14:23 -07:00
Filip Grzadkowski 70500a64a7 Revert "Added metrics/debug gathering methods to utils and used them in density ..." 2015-05-22 13:00:46 -07:00
Dawn Chen 7c80f3d985 Merge pull request #7573 from rrati/performance-gathering-7572
Added metrics/debug gathering methods to utils and used them in density ...
2015-05-22 10:17:15 -07:00
Maxwell Forbes 4a21bd535e Merge pull request #8677 from jayunit100/minStartupPods
Make minStartupPods feature backward compatible default value = 0.
2015-05-22 09:54:32 -07:00
jayunit100 7063da41da Make minStartupPods feature backward compatible default value = 0. 2015-05-22 10:05:03 -04:00
Daniel Smith 28b3224b72 Start e2e framework; print events 2015-05-21 18:50:55 -07:00
Jerzy Szczepkowski ef965a60f2 Implementation of e2e test that resizes cluster (works on GCE). 2015-05-22 02:59:25 +02:00
Max Forbes 40ba1e3043 Better logging for e2e start (debug failing pods) 2015-05-21 16:48:30 -07:00
jayunit100 56a356d577 Remove global client variable and initialize it locally in tests which accidentally used it. 2015-05-21 18:57:13 -04:00
Dawn Chen ff855dee1e Merge pull request #8603 from lavalamp/e2e-timeout
use ginkgo native timeout method
2015-05-21 09:58:48 -07:00
Dawn Chen ed319ea1ad Merge pull request #8578 from vishh/dns_e2e
Adding "metadata" to the list of required DNS names to be resolved in DNS e2e
2015-05-21 09:43:21 -07:00
Dawn Chen 9a316dd409 Merge pull request #8501 from ArtfulCoder/kubelet_svc_subdomain
Support old and new style dns service names.
2015-05-21 09:22:03 -07:00
Dawn Chen df6c670639 Merge pull request #8500 from rrati/e2e-host-option-fix-8499
The e2e tests will re-honor --host option. #8499
2015-05-21 09:17:44 -07:00
Daniel Smith 8fdf1cca54 use ginkgo native timeout method 2015-05-20 17:36:37 -07:00
Daniel Smith ec1b3a7537 improve network test logging 2015-05-20 17:22:21 -07:00
Abhishek Shah dff3a7daaa skydns changes 2015-05-20 17:04:30 -07:00
Vishnu Kannan 4f664036bf Adding "metadata" to the list of required DNS names to be resolved in DNS e2e. 2015-05-20 11:17:41 -07:00
Robert Rati 3191b26bc6 Only sleep 1.1*interval. #7572 2015-05-19 18:40:21 -04:00
Jeff Grafton e968b6be81 Merge pull request #8442 from mbforbes/e2ePodsReady
Ensure pods both running and ready before starting e2e tests
2015-05-19 13:40:08 -07:00
Quinton Hoole 14665119b4 Revert "improve e2e retry logic with standard wait.Poll()" 2015-05-19 11:17:32 -07:00
Robert Rati b7486b0ca2 The e2e tests will re-honor --host option. #8499 2015-05-19 14:13:11 -04:00
Max Forbes 1da46ca3d0 Ensure pods both running and ready before starting e2e tests 2015-05-19 10:53:02 -07:00
Maxwell Forbes b963307496 Merge pull request #8473 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e (attempt N+1)
2015-05-19 10:48:14 -07:00
Robert Rati 7361f751a6 Create a config struct for RunRC and allow polling interval to be
configurable.  #7572
2015-05-19 13:37:37 -04:00
Robert Rati 9e06132ed3 Minor cleanup. #7572 2015-05-19 13:22:20 -04:00
Quinton Hoole 063139996e Merge pull request #8399 from ZJU-SEL/improve_e2e_retry_logic
improve e2e retry logic with standard wait.Poll()
2015-05-19 09:48:18 -07:00
Jeff Grafton bf1de72f4a Revert "Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)""
This reverts commit f4bb6aa37d.
2015-05-19 09:13:08 -07:00
Brian Grant 2c81050e6f Merge pull request #8457 from davidopp/master
Fix stylistic isues with #5547. Closes #4910.
2015-05-19 07:43:21 -07:00
Robert Rati 9caee9ad16 Moved FifoQueue to separate file and minor cleanup. #7572 2015-05-19 10:25:02 -04:00
Robert Rati b78576386f Use getMetrics in ReadLatencyMetrics. #7572 2015-05-19 10:23:17 -04:00
Robert Rati ac282bd50a Cleaned up the output files. #7572 2015-05-19 10:23:17 -04:00
Robert Rati ec5e7093b6 Created a fifo queue containing results from listing pods and checks
from from the queue to generate finer granularity #7572
2015-05-19 10:23:17 -04:00
Robert Rati bd3306c845 Moved writePerfData to utils. #7572 2015-05-19 10:14:47 -04:00
Robert Rati a89121cb70 Added metrics/debug gathering methods to utils and used them in density #7572 2015-05-19 10:14:47 -04:00
jayunit100 eb75f98ddc Reintroduce soak test_ns so that it passes continuous E2E's easily, implemented polling alternative to channels, Moved to new file 2015-05-19 09:42:14 -04:00
He Simei 09fc2a5013 improve retry logic with standard wait.Poll()
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-05-19 21:31:27 +08:00
David Oppenheimer 44b1e1ca0c Fix stylistic isues with #5547. Closes #4910. 2015-05-18 23:32:06 -07:00
Quinton Hoole f4bb6aa37d Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)" 2015-05-18 21:04:26 -07:00
Satnam Singh 702bf625ce Add explicit version to name of monitoring RCs 2015-05-18 18:13:18 -07:00
Tim Hockin fd22f48f5b rename StorageType StorageMedium 2015-05-18 17:21:30 -07:00
Tim Hockin f66ca25d9f Rename AccessMode to PersistentVolumeAccessMode 2015-05-18 17:21:30 -07:00
Prashanth Balasubramanian a6607afa80 Don't relist events in density 2015-05-18 16:55:43 -07:00
Daniel Smith 5e056f119d Merge pull request #6694 from bprashanth/bench
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
Jeff Grafton 35c4b92e92 Make e2e compatible with Go 1.3 and OS X.
Go 1.4 added the -o flag to the "go test" command as well as support for
the TestMain() function, so we must work around these not existing in
Go 1.3.

The version of readlink on OS X does not have the -f flag - so we'll
just skip canonicalizing the path.
2015-05-18 12:11:33 -07:00
Jeff Grafton b79fae5d71 Revert "Revert "Once again, use native Ginkgo test runner instead of cmd/e2e.""
This reverts commit 67da1ac0c8.
2015-05-18 11:39:21 -07:00
jayunit100 378f302632 Revert "Merge pull request #8415 from GoogleCloudPlatform/revert-8325-ns_5152015"
This reverts commit fec9a524dd, reversing
changes made to 26b27b5e0f.
2015-05-18 14:23:13 -04:00
Victor Marmol 45874d5f76 Merge pull request #5547 from gmarek/client3
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Quinton Hoole 636569fc8d Revert "E2E: Namespace soak test, confirms deletion of 100 NS happens within 150 seconds" 2015-05-18 09:04:10 -07:00
Victor Marmol 4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Clayton Coleman 3b10d82864 Merge pull request #8391 from liggitt/etcd_token_lookup
Make serviceaccount/token lookup more flexible
2015-05-18 11:08:30 -04:00
Clayton Coleman 485a420326 Merge pull request #8257 from liggitt/multi_user_controller
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-18 10:39:50 -04:00
Derek Carr de45d626a7 Merge pull request #8325 from jayunit100/ns_5152015
E2E: Namespace soak test, confirms deletion of 100 NS happens within 150 seconds
2015-05-18 08:24:11 -04:00
Jordan Liggitt d90e7409e4 Prevent auth recursion for service account tokens 2015-05-16 23:39:07 -04:00
Jordan Liggitt 7e9281fc39 Allow ServiceAccountsController to manage multiple named service accounts 2015-05-15 23:42:00 -04:00
Brendan Burns 7e96aec477 Fix some races/multi-thread access in the reboot test. 2015-05-15 19:46:00 -07:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Brendan Burns ab0844840a Merge pull request #8246 from rrati/red-flag-pod-termination
Correct logic for failing after % of containers fail. #7790
2015-05-16 02:46:07 +01:00
Prashanth Balasubramanian 4200033c0a Add a simple master benchmark and a wrapper to run it. 2015-05-15 17:30:17 -07:00
Max Forbes b32c54625b Enable reboot test for GKE 2015-05-15 17:27:39 -07:00
Max Forbes 5d1d37f9ca Add a node reboot test. 2015-05-15 17:25:28 -07:00
Jeff Grafton 67da1ac0c8 Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
This change broke compilation on go 1.3 and running e2e tests on OS X.

This reverts commit 86b023fdd6.
2015-05-15 16:41:55 -07:00
Jeff Grafton 86b023fdd6 Once again, use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.

This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
 - The -t/--tests flag has been removed
 - Calling cmd/e2e/e2e directly obviously won't work, but that was never
   intended to be supported anyway
 - If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
   will run test specs in parallel. (Currently defaults to n, since some
   tests are broken in this mode.)

Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
Jeff Grafton fa77928c30 e2e: don't try to clean up after rolling-update test 2015-05-15 11:23:06 -07:00
Quinton Hoole a2d24d3e07 Revert "Fix networking test" 2015-05-15 11:04:23 -07:00
Vish Kannan d2e291e8fc Merge pull request #8254 from jayunit100/e2e_hostPath
E2E hostPath test
2015-05-15 10:50:58 -07:00
jayunit100 4812232966 E2E: Namespace soak test, confirms deletion happens within 100 seconds 2015-05-15 13:35:53 -04:00
Filip Grzadkowski 6ec9821a69 Merge pull request #8317 from piosz/load_generator
Disabled e2e load test on Jenkins
2015-05-15 17:38:20 +02:00
Robert Rati 30c7dbc7bd Correct logic for failing after % of containers fail. #7790 2015-05-15 10:06:30 -04:00
Piotr Szczesniak 9786f09426 Disabled e2e load test on Jenkins 2015-05-15 15:27:57 +02:00
gmarek d65f67a4d1 Fix kubectl e2e test 2015-05-15 15:02:53 +02:00
gmarek 27d660d0ac Add a resource specifying number of Pods that are allowed to run on Kubelet. 2015-05-15 10:57:46 +02:00
jayunit100 0a8577fced Test for hostPath which can eventually be refactored to also test emptyDir.
Add namespace support and remove requirement that host mount has to be type tmpfs
2015-05-14 23:09:21 -04:00
Robert Bailey a91a7bfe77 Merge pull request #8265 from pmorie/e2e
Fix path construction bug in shell e2e
2015-05-14 19:37:15 -07:00
Paul Morie 3668f6ab5b Fix path construction bug in shell e2e 2015-05-14 19:37:24 -04:00
Daniel Smith f820704003 Fix networking test 2015-05-14 14:20:36 -07:00
Victor Marmol 5dc415c1c2 Merge pull request #8230 from vishh/e2e_dns
Moving dns e2e tests in existing services test into a separate DNS e2e test
2015-05-14 11:40:39 -07:00
Rohit Jnagal bd0156c65a Merge pull request #8204 from jlowdermilk/gke-todos
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Vishnu Kannan 439e2f5fde Moving dns e2e tests in existing services test into a separate DNS e2e test. 2015-05-14 09:59:16 -07:00
marekbiskup 672819be16 multiport endpoint e2e test 2015-05-14 13:42:46 +02:00
Prashanth Balasubramanian 5de27ede44 Add clarity to density tests 2015-05-13 16:34:45 -07:00
Jeff Lowdermilk 3f3760a14a Cleanup some todos for gke + rip out dead AuthConfig code 2015-05-13 13:54:02 -07:00
Rohit Jnagal 881f11adbf Merge pull request #8175 from piosz/load_generator
Added more logging to load e2e test
2015-05-13 13:31:50 -07:00
markturansky 0191574f7e Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName 2015-05-13 14:05:21 -04:00
Rohit Jnagal fe24da8478 Merge pull request #8128 from brendandburns/e2e
Switch networking e2e to v1beta3.  Update the network-tester container.
2015-05-13 10:27:03 -07:00
Zach Loafman eef53c5ce0 Merge pull request #8143 from quinton-hoole/2015-05-12-events-e2e-retry
Add retry logic to events e2e test.
2015-05-13 07:24:31 -07:00
Piotr Szczesniak 2cee828c91 Added more logging to load e2e test 2015-05-13 16:12:17 +02:00
Brendan Burns 46be5482d0 Switch to a newer version of the nettest container. 2015-05-12 17:19:52 -07:00
Quinton Hoole 0981179d63 Add retry logic to events e2e test. 2015-05-12 15:47:58 -07:00
Satnam Singh 7cff506c93 Make the Elasticsearch logging pods discover each other 2015-05-12 15:26:09 -07:00
Clayton Coleman 7d620c20b9 Merge pull request #8105 from thockin/dns-domain
Rename default DNS domain to cluster.local
2015-05-12 17:18:45 -04:00
Vish Kannan a74522a738 Merge pull request #8011 from brendandburns/exec
Switch exec to look at exit code not output status.
2015-05-12 12:43:11 -07:00
Nikhil Jindal 85d9bebe78 Merge pull request #8111 from piosz/load_generator
Enabled load e2e test for gce-scalability
2015-05-12 10:31:01 -07:00
Nikhil Jindal d75bd8bf2a Merge pull request #7101 from liggitt/service_account
ServiceAccounts
2015-05-12 10:23:41 -07:00
Piotr Szczesniak f20fc5644c Enabled load e2e test for gce-scalability 2015-05-12 15:44:44 +02:00
Piotr Szczesniak 962f10ee58 Merge pull request #7771 from piosz/load_generator
Implemented first version of load test
2015-05-12 09:24:19 +02:00
Tim Hockin e83e49b076 rename default DNS domain to cluster.local 2015-05-11 23:00:43 -07:00
Quinton Hoole 78ee2ed325 Revert "E2E: Soak test and Functional tests for K8Petstore " 2015-05-11 18:24:42 -07:00
Jeff Lowdermilk ac87ed6516 Merge pull request #8064 from deads2k/death-to-auth-path
eliminate auth-path
2015-05-11 15:41:41 -07:00
Jordan Liggitt 92bd58ede6 ServiceAccount e2e/integration tests 2015-05-11 17:18:06 -04:00
Nikhil Jindal 2dbe659887 Merge pull request #7639 from jayunit100/e2e-k8bps
E2E: Soak test and Functional tests for K8Petstore
2015-05-11 10:16:40 -07:00
Piotr Szczesniak aa116e2033 Implemented first version of load test
As for now it creates a bunch of Replication Controllers and play with them

Partially addresses #3139
2015-05-11 16:40:59 +02:00
deads2k 19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
Wojciech Tyczynski a98770e1ba Merge pull request #8051 from fgrzadkowski/big_disk
Increase disk size for kubernetes master.
2015-05-11 16:28:19 +02:00
Clayton Coleman 8755ea8ec9 Merge pull request #7704 from smarterclayton/parallel_allocator
Use etcd to allocate PortalIPs instead of in-mem
2015-05-11 09:56:10 -04:00
Filip Grzadkowski 26d14300e9 Increase disk size for kubernetes master.
Signed-off-by: Filip Grzadkowski <filipg@google.com>
2015-05-11 15:35:38 +02:00
Wojciech Tyczynski 9b6ef98469 Merge pull request #8035 from shawnps/patch-9
Fix Sprintf verb
2015-05-11 12:43:01 +02:00
Shawn Smith 5d5c660f4b Add missing Errorf formatting directives 2015-05-10 13:25:14 +09:00
Shawn Smith 5b0d4d72ba Fix Sprintf verb 2015-05-10 13:22:18 +09:00
Brendan Burns c9324e6e38 Switch exec to look at exit code not output status. 2015-05-08 16:51:37 -07:00
jayunit100 13a9ae15f5 E2E: Functional + Soak test for k8petstore, revised with improved polling, exit code handling. 2015-05-08 20:53:22 +00:00
Clayton Coleman 5bcb96dae1 Separate out the master's control loops
These are "Bootstrap Controllers" as distinct from
the controllers in the controller-manager binary - they
are necessary for the cluster to start running.
2015-05-08 16:04:03 -04:00
Clayton Coleman e200d5a317 Make PortalIP alloc HA
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards

Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
Daniel Smith 6ab51f3bc0 Merge pull request #7668 from bprashanth/scheduling_minions
Scheduler ignores nodes that are in a bad state
2015-05-07 10:58:02 -07:00
Brendan Burns 5461231c1c Merge pull request #7567 from endocode/kbeecher/wip_etcd_migrate_keys
WIP: Add startup code to apiserver to migrate etcd keys
2015-05-07 10:05:41 -07:00
Vish Kannan e25210d367 Merge pull request #7822 from thockin/dns
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
Wojciech Tyczynski 1d59a0351f Merge pull request #7857 from fgrzadkowski/fix_jenkins
Ignore latency metrics for events
2015-05-07 13:26:12 +02:00
Filip Grzadkowski c073c9b9c9 Ignore latency metrics for events 2015-05-07 10:19:22 +02:00
Wojciech Tyczynski 5200aa1981 Merge pull request #7839 from jayunit100/density-verify-param
E2E: Parameterize Density failure
2015-05-07 10:16:31 +02:00