Commit Graph

646 Commits (6e0aeda4ea4baf9181b847b4cf2226dd2f99703e)

Author SHA1 Message Date
Thomas Stromberg 4f3afcd1fa Merge branch 'master' into unthread-start 2020-01-09 14:50:17 -08:00
Thomas Stromberg c18692f4a7 Create explicit var to avoid incorrect loop iterator reference 2020-01-09 13:51:29 -08:00
Thomas Stromberg 4091486679 Remove --start-offset flag 2020-01-09 13:41:52 -08:00
Thomas Stromberg e5fd7a6a81 Replace integration-test specific hacks with actual protection against racey events 2020-01-09 12:58:10 -08:00
Thomas Stromberg 7acf688f7a Merge master 2020-01-09 11:13:25 -08:00
Thomas Stromberg c5e917366f Add --dry-run option to start 2020-01-09 11:10:23 -08:00
Priya Wadhwa 885ec3c725 Don't run TestAddons in parallel with other tests, virtualbox on linux complains 2020-01-02 10:50:11 -08:00
Priya Wadhwa 44cde7767f update gvisor addon test now that addons are per profile 2019-12-30 16:31:59 -05:00
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