Commit Graph

688 Commits (3c37556627b8932f76e3db46b6ebdae8dc0ed156)

Author SHA1 Message Date
Priya Wadhwa 1126f26197 Parallelize test again, running locally with virtualbox on macOS was successful 2019-12-30 14:21:23 -05:00
Priya Wadhwa e47cde6ae4 Rebased on master, moved istio addon into new package 2019-12-30 10:10:05 -05:00
Priya Wadhwa 81a2c1650b try running addons test in sequence, since parallel test seems to be failing on virtualbox 2019-12-20 15:53:55 -08:00
Medya Gh 825d7bbeca fix integration test 2019-12-20 12:24:05 -08:00
Medya Gh a283668cdf fix lint 2019-12-20 12:24:05 -08:00
Medya Gh 688b608197 add comment for test 2019-12-20 12:24:05 -08:00
Medya Gh 3b9fadaa8a add integration test for cache reload 2019-12-20 12:24:05 -08:00
Priya Wadhwa 2f50957418 increase wait times for pods, virtualbox integration test was timing out 2019-12-19 16:57:06 -08:00
tstromberg 3ea6147624 Merge branch 'master' into int-ughs 2019-12-19 16:16:43 -08:00
tstromberg e7572ed98b Fix variable name 2019-12-19 13:03:43 -08:00
tstromberg ca06c7224e Increase context timeout 2019-12-19 12:56:07 -08:00
tstromberg 90a6a1e430 Improve image filter 2019-12-19 12:54:05 -08:00
Thomas Strömberg 4e0454d6b4
Merge pull request #6111 from tstromberg/awful-offl
Offline: always transfer image if lookup fails, always download drivers
2019-12-19 11:52:28 -08:00
tstromberg a0b752ad00 Enforce that offline test runs right after download test 2019-12-18 15:15:48 -08:00
tstromberg e9ee73ba17 Double timeouts, filter image list further 2019-12-18 15:14:10 -08:00
tstromberg 0ae29db951 Increase timeouts/offsets for more reliable integration testing 2019-12-18 14:53:46 -08:00
tstromberg 561046ab51 Rename tests to ensure ordering 2019-12-18 09:47:38 -08:00
tstromberg 6208b6cc27 Add HTTP_PROXY and comment 2019-12-18 09:41:52 -08:00
tstromberg 896f96dfc4 Pass the env in properly 2019-12-17 15:34:47 -08:00
tstromberg de4b9b65fb Add offline integration test 2019-12-17 15:22:13 -08:00
Priya Wadhwa 5003684b5b rebased on master 2019-12-16 10:49:55 -08:00
Kenta Iso a840cb7289 Fix update-context to use KUBECONFIG when the env is set and add integration test 2019-12-17 00:58:45 +09:00
tstromberg c0349fb9ad Don't check image versions with the none driver (no crictl) 2019-12-10 17:53:04 -08:00
Thomas Stromberg a1ddd283fe Check errors, remove docker.io prefix used by crio 2019-12-10 14:28:40 -08:00
Priya Wadhwa e0b6a1eb49 Address review comments
Address nits and remove integration test to make sure addon manager pod
is up and running since we will no longer enable it by default.
2019-12-10 14:16:28 -08:00
Thomas Stromberg 661ebf843f Merge master 2019-12-10 14:07:02 -08:00
Thomas Stromberg 32e0732e15 Add integration test 2019-12-10 14:02:12 -08:00
Thomas Strömberg 349f414dee
Merge pull request #5987 from medyagh/cache_fix2
cache add: load images to all profiles & skip previously cached images
2019-12-10 13:58:57 -08:00
Medya Gh b49425d768 fix integration test logic for cache 2019-12-10 12:15:20 -08:00
Thomas Stromberg 8b7aaba627 Sync correct Kubernetes versions from kubeadm constants 2019-12-10 08:12:15 -08:00
Thomas Strömberg a6c749f905
Merge pull request #5798 from nanikjava/f-fix-2570
Make Kubernetes version sticky for a cluster instead of auto-upgrading
2019-12-09 13:47:44 -08:00
Medya Gh 71857f4288 organize cache functional test 2019-11-26 16:19:29 -08:00
Medya Gh 63868dba4d add integrationn tests for cache 2019-11-26 16:08:07 -08:00
Nanik T aaae707702 Add test case to test file sync between host and VM.
Executing 'minikube start' when it is currently running
will allow user to sync folder under MINIKUBE_HOME/files
to the VM.

The test case will copy a file to the MINIKUBE_HOME/files/etc
folder to be copied to the VM /etc/ folder.
2019-11-27 06:49:10 +11:00
Kenta Iso 7e27f6ddcb Fix metrics-server to be able to collect metrics and add integration test 2019-11-17 01:01:48 +09:00
Nanik T f680d1b1fc Fix --kubernetes-version for upgrading cluster to correct version
This PR fix the issue of checking kubernetes-version and upgrading it. The fix now
will do the following

* Not specifying the --kubernetes-version flag means just use the currently deployed version.
* If an update is available inform the user that they may use --kubernetes-version=<version>.
* When --kubernetes-version is specifically set, upgrade the cluster.

Also add integration testing to test upgrading and downgrading
2019-11-16 21:12:54 +11:00
Thomas Stromberg e338ac0cc9 Double pod test waits 2019-11-13 06:42:07 -08:00
Thomas Stromberg 00c33d0a22 KubectlGetPods now requires --wait=true 2019-11-12 22:43:55 -08:00
Thomas Stromberg 6ba05939e6 Add stderr checking to validateKubectlGetPods 2019-11-12 21:38:31 -08:00
Thomas Stromberg f5736fd9af Set kubectl context in validateKubectlGetPods 2019-11-12 20:11:21 -08:00
Thomas Stromberg 2128326cf7 Remove unused tests 2019-11-12 14:19:52 -08:00
Thomas Stromberg e142319e1c Wait for any kube-system pod rather than apiserver (much faster) 2019-11-12 14:13:38 -08:00
Sharif Elgamal c03aee8322
Refactor config.Config to prepare for multinode (#5889)
* Refactor config.Config to prepare for multinode

* merge conflict
2019-11-11 17:52:15 -08:00
Thomas Strömberg 8b2d7c8fae
Merge pull request #5852 from tstromberg/unready2
Add memory and wait longer for TestFunctional tests, include node logs
2019-11-11 14:34:41 -08:00
Thomas Stromberg 42e711df99 Move show-labels and get-node to post-mortem logs 2019-11-11 08:18:39 -08:00
Thomas Stromberg 885f4c2653 Pre-cache hello-node, wait longer for mysql password 2019-11-11 08:18:01 -08:00
Thomas Stromberg fd27e16c18 Reduce mysql retry time to 3s 2019-11-07 06:53:53 -08:00
tstromberg c9f99ece2c Add 'kubectl describe node' output, make error messages clearer 2019-11-06 15:17:36 -08:00
tstromberg b1e4ad1daa Add 500MB more memory, extend wait times 2019-11-06 15:17:09 -08:00
tstromberg b27e926967 Skip DashboardCmd test on Windows 2019-11-06 14:14:56 -08:00
Thomas Strömberg cd19c5166f
Merge pull request #5790 from tstromberg/service
service: fix --url mode, add integration tests
2019-10-30 15:27:38 -07:00
Thomas Strömberg 0e2544badd
Merge pull request #5794 from tstromberg/none-reliable
Fix pod list retry, reset start timer
2019-10-30 15:27:22 -07:00
tstromberg 8b24eafbed Fix pod list retry, reset start timer 2019-10-30 14:36:15 -07:00
tstromberg 4ce2f784f1 Fix failure issues with integration testing for service command 2019-10-30 13:57:08 -07:00
tstromberg f60764b07f service: fix --url mode, add integration tests 2019-10-30 10:44:54 -07:00
Thomas Stromberg 850ee4bf62 Refactor wait code into WaitForStartSlot to avoid parallel conflation 2019-10-30 09:27:25 -07:00
Thomas Stromberg a3c8299995 Improve start offsets in MaybeSlowParallel by using a schedule 2019-10-30 07:47:09 -07:00
Thomas Stromberg 67181c6dd6 Merge 2019-10-30 06:37:48 -07:00
Thomas Strömberg ba8aeaae71
Merge pull request #5784 from tstromberg/podwait-none2
Improve reliability of TestStartStop with none driver
2019-10-30 06:08:53 -07:00
Thomas Stromberg b77490aba9 Remove trailing semicolon 2019-10-29 23:02:14 -07:00
Thomas Stromberg 9303f5dd2f Correct bad merge 2019-10-29 22:42:15 -07:00
Thomas Stromberg ecaf6ddb86 explicitly set --wait=true 2019-10-29 22:16:52 -07:00
Thomas Stromberg 0796be82d5 Make log message friendlier 2019-10-29 22:15:23 -07:00
Thomas Stromberg ce8e7e1510 Merge and fix LOAD calculation 2019-10-29 22:12:23 -07:00
Thomas Strömberg 646180bc19
Merge pull request #5783 from tstromberg/gvisor-flag
CI experiment: Move gvisor testing behind a flag, double timeout
2019-10-29 22:07:09 -07:00
Thomas Strömberg e10ceefa32
Merge pull request #5768 from tstromberg/postmortem-problems
CI: Cut down log noise by just showing problems by default
2019-10-29 21:59:42 -07:00
Thomas Stromberg 5ac8aef303 Retry Pods.List, as it may fails when the apiserver is being rescheduled 2019-10-29 21:53:30 -07:00
Thomas Stromberg 279915a38d Merge 2019-10-29 21:50:50 -07:00
Thomas Stromberg af6468f5a4 Move gvisor testing to live behind a flag, double timeout 2019-10-29 20:20:33 -07:00
Thomas Stromberg 215534a487 Increase gvisor timeout 2019-10-29 20:15:42 -07:00
Thomas Stromberg 78d4406f88 Increase time penalty to 30s to further offset test runs 2019-10-29 20:09:39 -07:00
tstromberg 02d7b74d10 Flag should be --problems 2019-10-29 15:45:07 -07:00
tstromberg f6bd4df15c Address feedback 2019-10-29 14:21:53 -07:00
tstromberg 1a6cfdb034 Cut down log noise by just showing problems by default 2019-10-29 13:15:21 -07:00
tstromberg a2e684cf8d Retry mysql check, as mysqld doesn't come up fully configured immediately 2019-10-29 13:13:33 -07:00
tstromberg 0b7a54079d Merge branch 'master' into ulimit 2019-10-29 12:04:04 -07:00
Thomas Stromberg f34b51db65 default-ulimit should be an arg, not an environment var 2019-10-29 07:56:31 -07:00
Thomas Stromberg 205376fc6d WIP: Consistently set 'ulimit -n' across runtimes 2019-10-28 22:31:57 -07:00
Priya Wadhwa 5113270c81 Update integration test name 2019-10-28 17:13:41 -07:00
Priya Wadhwa c3dd5bc0c6 Add integration test
to make sure apiserver is up and running and that the pod can be
accessed via kubectl.
2019-10-28 16:50:01 -07:00
Thomas Stromberg 11e8a45fe5 Set gvisor-addon version, make cache add non-fatal 2019-10-25 18:20:43 -07:00
Thomas Strömberg d32431efba
Merge pull request #5735 from tstromberg/gvisor-yiso
gvisor: Use chroot instead of LD_LIBRARY_PATH
2019-10-25 15:41:28 -07:00
Medya Ghazizadeh 87c36a2710
Fix typo in integration test readme 2019-10-25 14:55:54 -07:00
tstromberg 9b2ce99723 Use chroot instead of LD_LIBRARY_PATH for containerd restart 2019-10-25 14:03:01 -07:00
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