Commit Graph

612 Commits (a6ec05e35a946528c83dc19fa4aa2d112710d148)

Author SHA1 Message Date
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