Commit Graph

445 Commits (046391db6962adb2a8e3c6944cca79f08d25c3e5)

Author SHA1 Message Date
Medya Gh 441f999e1d Add better logging 2019-08-21 15:56:46 -07:00
Medya Gh e325516ab1 remove retry start from integeration tests 2019-08-21 15:56:46 -07:00
Thomas Strömberg b9a88eb52b
Merge pull request #5116 from josedonizetti/refactor-read-config
Refactor config.ReadConfig to accept a file
2019-08-21 10:16:08 -07:00
josedonizetti 1ed3f4481b Improve variable naming 2019-08-21 10:53:48 -04:00
Medya Ghazizadeh cebaad1836
fix none perm flake test (#5151) 2019-08-20 16:32:48 -07:00
josedonizetti 19364326b1 Change TestConfig to use RunCommandRetriable 2019-08-20 09:19:40 -04:00
josedonizetti 5e45bb2297 Fix doc 2019-08-20 09:17:20 -04:00
josedonizetti 11bd62a625 Extract TestConfig from TestFunction 2019-08-20 08:58:57 -04:00
Medya Ghazizadeh c3cfedff79
Merge pull request #5121 from medyagh/refactor_util_kube
Add wait-timeout flag to start command and refactor util/kubernetes
2019-08-19 22:11:36 -07:00
josedonizetti 15f6e90ce2 Fix testConfig 2019-08-19 20:35:59 -04:00
josedonizetti 06da850ed7 Change testConfig profile name 2019-08-19 20:23:07 -04:00
josedonizetti 0843e01c94 Change testConfig to use default cpus 2019-08-19 20:11:23 -04:00
josedonizetti 911ce1276d Rename integration to testConfig 2019-08-19 20:08:52 -04:00
josedonizetti 69dfac387d Add config integration test 2019-08-19 19:37:02 -04:00
Medya Gh f75b558ac2 rename kube pkg to kapi 2019-08-19 16:11:38 -07:00
AllenZMC f4adb99c31
fix wrong spells in flags.go 2019-08-19 20:52:44 +08:00
Medya Gh 6554a5146f make TestVersionUpgrade campatible with the new flag 2019-08-18 02:36:18 -07:00
Medya Gh af16d336da Fixed givsor test setup and added time out to integration test 2019-08-18 01:39:42 -07:00
Medya Gh 5464a7c9e2 adding a new flag wait-timeout and reduce default wait from 5 to 3 2019-08-18 01:14:02 -07:00
Medya Gh 5811610697 refactor util/kuberentes and ExtraOptions 2019-08-17 19:05:54 -07:00
Priya Wadhwa 198d6397f9 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-08-15 13:56:37 -07:00
Sharif Elgamal 88c27daf70
Merge pull request #5082 from sharifelgamal/windows-ci
Fix TestVersionUpgrade for Windows
2019-08-14 14:08:47 -07:00
Sharif Elgamal 36961c90d5
fix TestVersionUpgrade for Windows 2019-08-14 12:21:42 -07:00
Medya Gh c8e6f61bc1 convert all util.Retry to retry.Expo 2019-08-14 00:24:51 -07:00
Medya Gh f17f3408a8 convert all RetryAfter to retry.Expo 2019-08-13 23:48:30 -07:00
Medya Gh 06d0e48156 move all RetryX to retry.Expo 2019-08-13 22:18:47 -07:00
Medya Gh 998d305af3 Adding lock to most ioutil.WriteFile 2019-08-13 21:12:34 -07:00
Medya Ghazizadeh 7bb085ad24
Merge pull request #5003 from medyagh/kubeconfig
Refactor Kubeconfig
2019-08-13 14:57:49 -07:00
Sharif Elgamal 95dd194bf5
Make sure minikube is up before checkout .minikube directory (#5050) 2019-08-12 14:13:45 -07:00
Medya Gh f0f4352bb1 goimport 2019-08-09 16:08:14 -07:00
Medya Gh 3ad2aecb82 add kubecontext integraiton tests to functional tests as well 2019-08-09 15:56:05 -07:00
Medya Gh 8763e6d692 Add integration test for kubeconfig current-context 2019-08-09 15:52:48 -07:00
Thomas Strömberg 4a335cbd56
Merge pull request #5026 from tstromberg/drvmnt
Restore --disable-driver-mounts flag
2019-08-09 07:49:05 -07:00
Thomas Stromberg 32c405d44d Fix way flags are being passed into crio test 2019-08-09 06:35:39 -07:00
Thomas Stromberg d18978450c Restore --disable-driver-mounts flag 2019-08-08 17:12:33 -07:00
Sharif Elgamal 1f48364487
Fix prepareNone and add integration test for it (#5023)
* Fix prepareNone and add integration test for it

* add test file

* only compile none test on linux

* build tags are confusing

* build tags are quite confusing

* build tags are very confusing
2019-08-08 15:47:44 -07:00
Priya Wadhwa d5e4cc1c43 No longer need to build out/gvisor-addon since it's built in the docker image 2019-08-08 11:28:40 -07:00
Priya Wadhwa cdbb2dd572 Updated gvisor test 2019-08-05 15:21:09 -07:00
Priya Wadhwa 24a2748af8 rebased, fixed merge conflicts 2019-08-05 13:53:23 -07:00
Priya Wadhwa f216fe68ad Check local daemon for cached image before checking remote repo 2019-08-05 13:07:47 -07:00
Medya Gh e6079dc358 final touch on parallel integration 2019-08-01 16:42:29 -07:00
Medya Gh 4b03e68366 making functional test not parallel 2019-08-01 14:36:46 -07:00
Medya Gh 4df651a4f8 fix download binary func 2019-08-01 13:44:57 -07:00
Medya Gh 5a5bec97dc detect profile name for all tests using profileName(t) 2019-08-01 12:44:41 -07:00
Medya Gh 3907c1564a remove util.go 2019-08-01 12:27:27 -07:00
Medya Gh c4951ec6a7 merge upstream master 2019-08-01 12:16:57 -07:00
Medya Gh 6b495f8cdb move download logic to TestDownloadOnly 2019-08-01 10:58:00 -07:00
Medya Gh 4be502826b move helpers to test file, remove more unused funcs 2019-08-01 10:39:59 -07:00
Medya Gh 00b41a794d remove unsed funcs 2019-08-01 09:58:43 -07:00
Medya Gh 0f8dcb6deb moving util func used by single test 2019-08-01 09:55:26 -07:00
Medya Gh c315178937 remove unused Copy func 2019-08-01 09:53:46 -07:00
Zoltán Reegn de27472759 Remove ingress-nginx default backend
It's not needed since nginx 0.20.0.

See the following pull-requests for context:
* https://github.com/kubernetes/ingress-nginx/pull/3126
* https://github.com/kubernetes/ingress-nginx/pull/3156
2019-08-01 09:51:30 -07:00
Medya Gh 59e6dc8f46 add more tear down and clean up 2019-08-01 00:31:38 -07:00
Medya Gh 270317b860 tweak 2019-07-31 23:05:43 -07:00
Medya Gh 4de8fe5aeb making parallel optional 2019-07-31 22:50:04 -07:00
Medya Gh 45430fddb0 faster retryX 2019-07-31 22:25:33 -07:00
Medya Gh f38292f61d combine gvisor tests to one 2019-07-31 21:28:52 -07:00
Medya Gh 5f16becbab handle minikube status retruning error for no good reason 2019-07-31 18:15:35 -07:00
Medya Gh b08a2d8f92 fix minikube runner status 2019-07-31 17:31:28 -07:00
Medya Gh 8f30c75b1f remove duplicate test 2019-07-31 16:58:34 -07:00
Medya Gh 5a80367e70 handle status error on none 2019-07-31 14:46:28 -07:00
Medya Gh d8dcc6d3ac fix check status 2019-07-31 13:53:56 -07:00
Medya Gh 14219e1967 fix minikube runner get status 2019-07-31 13:17:08 -07:00
Medya Gh 9170ee9c42 fix nil err 2019-07-31 12:10:12 -07:00
Medya Gh 43751a4f4a linting 2019-07-31 12:05:57 -07:00
Medya Gh 942921ed16 Getting rid of ensure running 2019-07-31 11:37:35 -07:00
Medya Gh 78e15577bd log stderr added retriable command 2019-07-31 11:32:49 -07:00
Medya Gh da5a2a3b0e adding exponential retry 2019-07-30 22:48:51 -07:00
Medya Gh 5fb29ebae7 refactor] 2019-07-30 16:36:53 -07:00
Medya Gh aee599f011 add hostname friendly testnames, improve download-only test 2019-07-30 15:38:46 -07:00
Medya Gh 3926125c76 Create a new run group for start_stop_delete tests 2019-07-30 13:20:44 -07:00
Medya Gh fe05e0d372 skipping proxy warnning 2019-07-30 11:50:06 -07:00
Medya Gh 9ee922e286 Proxy tear down none 2019-07-30 10:46:46 -07:00
Medya Gh ce27dba276 Added timeout for start 2019-07-30 10:45:52 -07:00
Medya Gh e94da73884 Fix zombie defuncts by not waiting for tear down 2019-07-30 10:45:44 -07:00
Medya Gh 4728165354 Add run group for defer paralell 2019-07-30 10:45:44 -07:00
Medya Gh 4c8ea939ab defer delete minikube in all tests 2019-07-30 10:45:31 -07:00
Medya Gh ff747089cc add minikube delete to all tests at the end 2019-07-30 10:45:22 -07:00
Medya Gh dabd0c41d4 get profile names automaticly from test names 2019-07-30 10:45:05 -07:00
Medya Gh e865c93fc9 move all starts to new start func 2019-07-30 10:45:05 -07:00
Medya Gh f104fc68e1 Rename all subset tests files 2019-07-30 10:44:54 -07:00
Medya Gh 050c7aedb3 add new helper for minikube runner fix proxy test
merge upstream commons
2019-07-30 10:44:21 -07:00
Medya Gh a9b18cdc94 Changed hardcoded testdata path 2019-07-30 10:44:21 -07:00
Medya Gh a63e6c3633 moving all containerd tests one file and fix profile 2019-07-30 10:44:12 -07:00
Medya Gh e3db9a41ba decouple isNoneDriver from minikube driver for more reusability 2019-07-30 10:43:47 -07:00
Medya Gh 25bc27e170 move file download logic to common.sh 2019-07-30 10:43:20 -07:00
Medya Gh 04144ca1d4 wait for dashboard 2019-07-30 10:43:10 -07:00
Medya Gh 9b3f72024a list vms after clean up 2019-07-30 10:42:55 -07:00
Medya Gh c6c84ab835 Add profile to test start stop 2019-07-30 10:42:42 -07:00
Medya Gh ab28a3ced1 # This is a combination of 5 commits.
# This is the 1st commit message:

organize integration tests files by type

# This is the commit message #2:

Adding separate profile for each kind of test

# This is the commit message #3:

Adding clean up to delete newly added TestVms

# This is the commit message #4:

goimport

# This is the commit message #5:

making them run in parallel
2019-07-30 10:40:38 -07:00
Medya Gh d47d51d8ab Adding optional set kubecontext 2019-07-30 10:40:25 -07:00
Medya Gh 59fd6df393 prepend instead of append for minikube runner 2019-07-30 10:40:11 -07:00
Medya Gh 29aa58df7e prepend kube-context instead of append 2019-07-30 10:40:11 -07:00
Medya Gh d1a41e0015 Added default profile 2019-07-30 10:40:11 -07:00
Medya Gh 43d1c66705 Added profile to kubectl_runner 2019-07-30 10:40:10 -07:00
Medya Gh 676ad09b12 Adding profile to minikube runner 2019-07-30 10:40:10 -07:00
Medya Gh a3eeb9e083 removing unused functions 2019-07-30 10:40:10 -07:00
Medya Gh f6e6d6ca55 moving minikube runner to its own file
Fix typo
2019-07-30 10:40:02 -07:00
Medya Gh 2367553316 moving commonutils to its own files 2019-07-30 09:53:32 -07:00
Medya Gh c6dbaf1ce7 moving KubectlRunner to its own file 2019-07-30 09:53:32 -07:00