Commit Graph

604 Commits (b63212eacf34f9b44d9836abb0ecfddf1cd7b320)

Author SHA1 Message Date
Thomas Stromberg c50a849349 Add more debug logs 2019-10-24 20:34:38 -07:00
Thomas Stromberg c2fd3c6504 Move expected driver check to its own subtest 2019-10-24 15:23:39 -07:00
Thomas Stromberg c925f65629 Warn about driver status, add more logging 2019-10-23 22:33:05 -07:00
Thomas Stromberg dcdac36e98 Add integration tests 2019-10-23 21:45:23 -07:00
Thomas Strömberg fbc1630fc5
Merge pull request #5611 from woodcockjosh/json-output-for-status
Add json output for status
2019-10-21 18:37:34 -07:00
tstromberg 7581cf3e0c Address merge conflicts 2019-10-21 11:12:06 -07:00
Josh Woodcock 144654e40d Add profile argument to command for validateStatusCmd test 2019-10-21 13:00:01 -05:00
Josh Woodcock dc411abf97 Update validate status integration test to reflect changes to default output 2019-10-21 12:50:00 -05:00
Josh Woodcock 6aaed92496 Add json output for status 2019-10-21 12:50:00 -05:00
Thomas Strömberg 723e77ed62
Merge pull request #5601 from woodcockjosh/json-output-for-addons-list
Add JSON output for addons list
2019-10-21 10:25:24 -07:00
Thomas Strömberg 523db2099c
Merge pull request #5640 from sharifelgamal/auto-download-off
add ability to override autoupdating drivers
2019-10-21 10:16:49 -07:00
tstromberg 35f7c9f38a Merge branch 'master' into drv-reorg 2019-10-21 09:50:08 -07:00
Thomas Strömberg 56a23cab4a
Merge pull request #5654 from tstromberg/delete-anyways
Ensure that delete succeeds even if cluster is unavailable
2019-10-18 16:06:12 -07:00
Thomas Strömberg 2281b364c5
Merge pull request #5653 from tstromberg/enable-disable-offline
Add test to ensure addon state is mutable for stopped clusters
2019-10-18 16:03:58 -07:00
tstromberg 7cb0cfdf79 Pass lint checks 2019-10-18 13:53:57 -07:00
Thomas Stromberg 6d7d589a52 Consolidate driver-interaction code into pkg/minikube/driver 2019-10-18 13:00:07 -07:00
Thomas Stromberg 2180c1405b Ensure that delete succeeds even if cluster is unavailable 2019-10-17 16:23:21 -07:00
Sharif Elgamal dc94405a34 Merge branch 'master' of github.com:kubernetes/minikube into auto-download-off 2019-10-17 15:32:09 -07:00
Thomas Strömberg dd266c751f
Merge pull request #5554 from woodcockjosh/json-output-for-profile-lists
Add json output for profile list
2019-10-17 15:21:24 -07:00
Thomas Stromberg 3cf2830705 Add test to ensure addon state is mutable for stopped clusters 2019-10-17 14:48:41 -07:00
Josh Woodcock b132b04809 Add json output for addons list 2019-10-17 16:47:43 -05:00
Thomas Strömberg 6d63e43caf
Merge pull request #5555 from woodcockjosh/fix-addons-output-format-option
Fix addons list output format option
2019-10-17 14:46:02 -07:00
Thomas Strömberg fe93e7946c
Merge pull request #5651 from tstromberg/longer-gvisor-timeout
Allow more time for gvisor to complete on slower machines
2019-10-17 14:25:02 -07:00
Josh Woodcock 4a4fa6567a Add tests for profile list command 2019-10-17 16:15:15 -05:00
Thomas Stromberg e1f49c277b Allow more time for gvisor to complete on slower machines 2019-10-17 13:53:36 -07:00
Thomas Stromberg e008688239 Fix comments 2019-10-17 12:55:56 -07:00
Thomas Stromberg 21aeec60ea Remove obsolete comment 2019-10-17 12:41:27 -07:00
Thomas Stromberg f75c26e31e Rename serial tests file 2019-10-17 12:40:52 -07:00
Thomas Stromberg a0a5b685f9 Move delete --all test so that it is run in serial 2019-10-17 12:38:02 -07:00
Sharif Elgamal 0bca92a3ef fix tests 2019-10-16 15:01:26 -07:00
Josh Woodcock f39ecda4cb Add tests for addons custom output format 2019-10-11 09:43:00 -05:00
Marek Schwarz 09ce93faf0 Added delete --all to common.sh
Run delete --all after start_stop_delete_test
2019-10-10 21:32:27 +02:00
Kenta Iso 1e11576c9a Add addons flag to 'minikube start' in order to enable specified addons 2019-10-10 11:29:13 +09:00
Zhongcheng Lao 630dba3af1
Merge remote-tracking branch 'origin/master' into crio-containerd-image-repo 2019-09-28 12:23:20 +08:00
Thomas Strömberg 61da2b0708
Merge pull request #5465 from tstromberg/gvisor-2
Re-enable gvisor tests now that #5305 is resolved
2019-09-26 11:59:54 -07:00
tstromberg bd41482c27 Re-enable gvisor tests now that #5305 is resolved 2019-09-25 16:56:06 -07:00
Zhongcheng Lao 08161722b0
Adds PauseImage to get pause image names
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2019-09-25 08:12:32 +08:00
tstromberg 2241e73815 Wait up to 55m (just short of 60m default) 2019-09-23 11:00:01 -07:00
tstromberg f2e96806db Wait longer for TestVersionUpgrade as old versions may need to retry 2019-09-23 10:58:14 -07:00
serhatcetinkaya f2d028c239 resolve circular import problem 2019-09-19 23:34:28 +03:00
serhatcetinkaya 20a439de02 replaced constants.GetMinipath() with localpath.MiniPath() 2019-09-19 23:28:20 +03:00
tstromberg d0bff3872d Pass driver name rather than executable name 2019-09-18 15:08:53 -07:00
Thomas Stromberg 197039c23d Fix tests 2019-09-18 13:46:10 -07:00
Jose Donizetti 6ee291b07a Add hyperkit installOrUpdate test 2019-09-18 13:06:48 -03:00
Thomas Strömberg 978d05b11e
Merge pull request #5382 from tstromberg/too-much-logs
Redirect machine driver logs to glog, reduce log spam elsewhere
2019-09-17 10:47:11 -07:00
Thomas Strömberg f6560448ab
Merge pull request #5381 from tstromberg/int-antirace
Offset integration tests which start clusters by 5s
2019-09-17 10:47:03 -07:00
Thomas Stromberg 63069575ba Decrease logging level: the extra spam hurts rather than helps 2019-09-17 09:53:58 -07:00
Thomas Stromberg fff8f5cbec Offset integration tests which start clusters by 5s 2019-09-17 07:08:57 -07:00
Thomas Stromberg 7633c038e7 Use v1.3.0 as test version to avoid 404 2019-09-16 20:36:29 -07:00
Thomas Stromberg 6142969467 Add version argument to download to prevent v0.0.0 download error 2019-09-16 20:20:16 -07:00
Thomas Stromberg 9ce3be6b88 Stricter permissions 2019-09-16 19:10:38 -07:00
tstromberg 027e2ea39b Add more logging for test failures 2019-09-16 13:25:20 -07:00
tstromberg 74f3b780e4 CleanupWithLogs: Increase line count from 5 to 100 2019-09-16 13:03:34 -07:00
Thomas Strömberg 87928a4a7e
Add missing philosophy section 2019-09-16 06:41:44 -07:00
Thomas Strömberg 9df43318fa
Merge pull request #5335 from tstromberg/norunner2
Fine-tune integration test logging
2019-09-13 10:16:55 -07:00
Thomas Stromberg 9fa0453c73 Call fatalf if first start fails in start_stop_delete 2019-09-13 10:04:40 -07:00
Thomas Stromberg 6eadaaaaf9 Use CleanupWithLogs, even for docker, so that we see docker logs 2019-09-13 09:11:19 -07:00
Thomas Stromberg 6097f758df Arbitrarily extend addon timeouts 2019-09-13 07:45:17 -07:00
Thomas Stromberg 625a4f8c05 Minor tuning of test log verbosity 2019-09-13 07:42:30 -07:00
Thomas Stromberg 05a3279929 Add more logging for solving tricky bugs 2019-09-12 22:06:18 -07:00
Thomas Stromberg ad9debaec4 Address PR comment: skip failing mount test on hyperv 2019-09-12 17:13:38 -07:00
Thomas Stromberg 340fe232df Increase context timeouts for poorly behaved hosts 2019-09-12 17:06:59 -07:00
Thomas Stromberg 722cdea602 TestVersionUpgrade reliability: bump OldestKubernetesVersion, retry release startup 2019-09-11 20:28:13 -07:00
Thomas Stromberg 4f8cac64a6 Extend TestFunctional context timeout to 40 minutes 2019-09-11 16:19:25 -07:00
Thomas Stromberg 6639489ce9 Add sleep between Terminate and Kill 2019-09-11 15:22:33 -07:00
Thomas Stromberg 7c2801f565 Double context.WithTimeout durations for slower test machines 2019-09-11 15:20:19 -07:00
Thomas Stromberg 2e4f7a0345 Remove -f from kubectl get svc call, increase timeout 2019-09-11 15:18:36 -07:00
Thomas Stromberg 951cea7f1f Increase TestDockerFlags verbosity 2019-09-11 13:09:33 -07:00
Thomas Stromberg f0d00bfd36 improve error checking 2019-09-11 13:09:12 -07:00
Thomas Stromberg 2b58dbd285 retry nslookup, make sure start includes StartArgs 2019-09-11 13:08:44 -07:00
Thomas Stromberg 4885f6c584 Merge driver change 2019-09-11 11:57:38 -07:00
Thomas Stromberg 7a5042793b Merge branch 'master' into norunner2 2019-09-11 11:54:24 -07:00
Thomas Stromberg 4b484bdbff Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
Thomas Stromberg 90608a3169 Refactor parallelized integration tests for clarity 2019-09-11 09:59:38 -07:00
josedonizetti 6898cb1073 Restore original PATH 2019-09-11 11:34:29 -03:00
josedonizetti c434797f59 Remove debug logs 2019-09-11 11:34:29 -03:00
josedonizetti 5232043d33 Change driver permission 2019-09-11 11:34:29 -03:00
josedonizetti 3bb79f6878 Add full driver folder path 2019-09-11 11:34:29 -03:00
josedonizetti 219109c98e Add log lines to debug test 2019-09-11 11:34:29 -03:00
josedonizetti 85778d36a4 Remove deggubing information 2019-09-11 11:34:29 -03:00
josedonizetti e30fe10737 Add debugging information 2019-09-11 11:34:29 -03:00
josedonizetti 44889de368 Fix testdata directory for driver install or update test 2019-09-11 11:34:29 -03:00
josedonizetti ce93bd0253 Skipe driver intallOrUpdate test for none driver 2019-09-11 11:34:29 -03:00
josedonizetti 0cf4921c14 Add drivers.InstallOrUpdate acceptance tests 2019-09-11 11:34:29 -03:00
Sharif Elgamal 0a0c527571
remove extra line 2019-09-10 10:01:29 -07:00
Sharif Elgamal c568fe3551
remove more platform specific stuff 2019-09-09 13:50:14 -07:00
Sharif Elgamal 6889e8f42e
platform agnostic kill process 2019-09-09 13:42:50 -07:00
Sharif Elgamal 1cfa96ff09
add testing parameter 2019-09-06 15:06:48 -07:00
Sharif Elgamal 2d4dfedba5
Kill all children processes when cleaning up integration tests 2019-09-06 15:04:54 -07:00
Ian Lewis 1598a28dd5 Update gVisor tests to actually start a cluster. 2019-09-04 09:12:42 +00:00
Ian Lewis d8c380da85
Merge branch 'master' into gvisor-containerd-shim_v0.0.2 2019-09-03 22:20:12 -04:00
tstromberg 001c4fc7b0 Use path.Join instead of filepath.Join to avoid generating bad paths in Windows 2019-08-28 12:35:43 -07:00
Zoltán Reegn 3056ca2d48 Upgrade addons to use apps/v1 instead of extensions/v1beta1
extensions/v1beta1 are deprecated and will not be served with kubernetes 1.16
anymore.

For Deployment,DaemonSet and StatefulSet the apps/v1 api has been present
since kubernetes 1.9.

See following blog post for details:
https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
2019-08-26 15:00:49 +02:00
Ian Lewis d14bdbced7 Update gvisor runsc version
- Updates the gvisor addon to use containerd shim v2
- Updates the version of runsc
- Auto-installs a gvisor RuntimeClass

Issue #4482
2019-08-26 05:02:22 +00:00
Thomas Stromberg 111873e0b8 GetKubeadmCachedBinaries() is now constants.KubeadmBinaries 2019-08-22 11:41:06 -07:00
Medya Gh 7c9c4ac0f9 add quote for log 2019-08-21 18:00:30 -07:00
Medya Gh 6abf0ed2d5 fix not to fail logic 2019-08-21 17:58:25 -07:00
Medya Gh 56cbffb028 skip none test for image cache 2019-08-21 15:56:46 -07:00
Medya Gh ac254bc785 check err 2019-08-21 15:56:46 -07:00
Medya Gh 0f0def79ce change RunCommand for test config 2019-08-21 15:56:46 -07:00
Medya Gh 16e5aeec5e lint 2019-08-21 15:56:46 -07:00
Medya Gh 8cadce302a lint and add profile name to end of obvious log block 2019-08-21 15:56:46 -07:00
Medya Gh 246f33f52b Less Retry on minikube, new auto fail helpers MustStart,MustRun 2019-08-21 15:56:46 -07:00
Medya Gh 8796539112 skip cache imge test for none 2019-08-21 15:56:46 -07:00
Medya Gh b3c9eea3d8 improve logging, fix expected filename for downloadonly 2019-08-21 15:56:46 -07:00
Medya Gh c7e0d3aa8e lint and simplify download_only 2019-08-21 15:56:46 -07:00
Medya Gh eef31403b4 Unified StartFail Logging, more t.Error and Added download only test, 2019-08-21 15:56:46 -07:00
Medya Gh 8923e4b5cd Fix string replace 2019-08-21 15:56:46 -07:00
Medya Gh 0e13fecd8b fix replace 2019-08-21 15:56:46 -07:00
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