Commit Graph

1211 Commits (0a4f2930e3d2e19bfbd51e9a05959e1ce05b46be)

Author SHA1 Message Date
Thomas Stromberg 89b28c482e Filter describe for non-running pods 2020-04-08 20:14:55 -07:00
Thomas Stromberg 93060d17d1 keep header 2020-04-08 15:35:09 -07:00
Thomas Stromberg 194b8cd7d8 Modify post-mortem logs so I don't need to count dashes 2020-04-08 15:34:16 -07:00
Thomas Stromberg 546c8daa13 cert sync: ignore 0-byte certs, test for them explicitly 2020-04-08 15:04:12 -07:00
Thomas Stromberg 688a0b2a9f Merge upstream 2020-04-08 13:01:23 -07:00
Thomas Stromberg 3a9bdd5328 Add df and desc po to post-mortem out 2020-04-08 11:35:36 -07:00
Medya Ghazizadeh e098a3c4ca
Merge pull request #7449 from medyagh/fix_soft_start_nondocker
Behavior change: start with no arguments uses existing cluster config
2020-04-07 17:12:52 -07:00
Medya Gh c11e642b2a put apiPort in a variable 2020-04-07 13:14:30 -07:00
Medya Ghazizadeh 0a2bc95ad7
Merge pull request #7486 from medyagh/cni_wait
CI: change wait for  cni
2020-04-07 12:48:29 -07:00
Medya Gh 2d6b8c531c fix negated if 2020-04-07 12:04:26 -07:00
Medya Gh b748766c24 wait cni 2020-04-07 11:06:12 -07:00
Medya Gh e120758639 same tabs 2020-04-07 10:49:06 -07:00
Medya Gh 4464b84820 make post mortem logs easier on the eye 2020-04-07 10:43:05 -07:00
Medya Gh e4abe73a25 lint 2020-04-06 21:26:45 -07:00
Medya Gh d9fa543951 fix comment 2020-04-06 21:08:09 -07:00
Medya Gh 2a66c8cdc5 add log for how long soft start took 2020-04-06 21:06:27 -07:00
Medya Gh 67f1276c9c add soft start integeration test 2020-04-06 21:03:12 -07:00
Medya Gh 52fee5056d add soft start test 2020-04-06 20:14:20 -07:00
Thomas Stromberg 3a32ce6710 Improve test 2020-04-04 13:24:31 -07:00
Thomas Stromberg c922c16b97 Make this single-node for now 2020-04-04 12:50:44 -07:00
Thomas Stromberg 2419cb72c7 Add test for multi-node without errors 2020-04-04 12:41:54 -07:00
Medya Gh 62e3b74652 adjust github actions 2020-04-03 20:52:53 -07:00
Medya Ghazizadeh a86fd2aa8b
Merge pull request #7374 from medyagh/improve_test_msg
fix validate test output for TestFunctional/parallel/NodeLabels
2020-04-02 17:51:35 -07:00
Thomas Strömberg 37a98106c4
Merge pull request #7382 from tstromberg/stderr-fix3
Move errors and warnings to output to stderr
2020-04-02 14:36:16 -07:00
Thomas Strömberg 78ecf53d40
Merge pull request #7360 from tstromberg/wrong-url
Correct assumptions for forwarded hostname & IP handling
2020-04-02 14:33:48 -07:00
Thomas Stromberg 5b3834ec63 Merge to master 2020-04-02 12:39:32 -07:00
Thomas Stromberg ae52a11692 Swap stdout/stderr in test 2020-04-02 12:27:19 -07:00
Thomas Strömberg 4b0d33ad62
Merge pull request #7384 from tstromberg/cp-umask2
Run sudo for file display due to umask
2020-04-02 11:47:00 -07:00
Thomas Stromberg 5266b69dbe Add response to get error, disable service check on macOS/Windows 2020-04-02 10:51:15 -07:00
tstromberg a855f4ed05 Run sudo for file display due to umask 2020-04-02 10:37:23 -07:00
Thomas Stromberg a71edc3920 Merge branch 'master' into wrong-url 2020-04-02 08:32:54 -07:00
Medya Gh 9b04d2afbb change all q to s for rr.Output 2020-04-01 21:40:09 -07:00
Medya Gh c74604e806 fix validate node test output 2020-04-01 21:34:37 -07:00
Thomas Stromberg ba84f942bd Apply a memory limit 2020-04-01 15:47:35 -07:00
Thomas Stromberg 1dcd5cd310 Pick a more universal hostname, add comment about docker 2020-04-01 14:38:46 -07:00
Thomas Stromberg 0432095115 Update IP check message 2020-04-01 13:53:47 -07:00
Thomas Stromberg b7f3f045c6 Update integration tests 2020-04-01 13:01:12 -07:00
Vincent Link 5bb0c580a0 Add simple embed-certs integration test 2020-03-29 15:12:37 +02:00
Anders F Björklund d2f3e18d3a Fix misspelling of existence in integration test 2020-03-27 09:33:21 +01:00
Priya Wadhwa 721a57c25a Rebased 2020-03-26 11:01:28 -07:00
Sharif Elgamal 974d45dfd3 make http error test fatal to avoid nil pointer 2020-03-26 10:01:55 -07:00
Thomas Stromberg d2c71b5363 Fix testing regression which broke stdout reads 2020-03-26 08:11:39 -07:00
Thomas Strömberg e5843bfbdc
Merge pull request #7248 from medyagh/improve_test_logs
Improve test logs formatting
2020-03-26 06:27:34 -07:00
Medya Gh 2ced39c745 add \n for stdout too 2020-03-25 22:54:43 -07:00
Medya Gh fffac25262 indent test outputs 2020-03-25 22:45:29 -07:00
Medya Gh 2e64eb7952 convert all rr.Args to rr.Command() 2020-03-25 22:21:19 -07:00
Medya Gh dc5dd62b58 lint 2020-03-25 22:15:24 -07:00
Medya Gh acc951033b improve test logs for start_stop_delete 2020-03-25 22:10:32 -07:00
Medya Gh 73a9653c80 improve logging for gvisor test 2020-03-25 21:52:00 -07:00
Medya Gh 90cac63b85 improve formatting for TestGuestEnvironment 2020-03-25 21:48:36 -07:00
Medya Gh 362254cfc5 improve test log formatting for functional_test 2020-03-25 21:43:32 -07:00
Medya Gh b63f048854 improve logs for fn_tunnel_cmd 2020-03-25 20:26:10 -07:00
Medya Gh 2ac46e8ba9 improve logs for fn_pvc 2020-03-25 20:22:02 -07:00
Medya Gh a30ec2574c improve logs for fn_mount_cmd tests' 2020-03-25 20:18:05 -07:00
Medya Gh cc0262ef55 improve logging and fix some not logged errors 2020-03-25 19:58:38 -07:00
Thomas Stromberg 9089296f2e validateMinikubeKubectl: Add -p to minikube call to get Kubernetes version 2020-03-25 14:57:27 -07:00
Thomas Stromberg 9597fcc134 validateMinikubeKubectl: Add --context to kubectl call to pass profile name 2020-03-25 14:52:51 -07:00
Thomas Stromberg a8d63f7fa5 none: Skip checkHelmTiller if socat is not installed 2020-03-25 10:24:57 -07:00
Priya Wadhwa 9d75c7c35a Rebased, resolved merge conflicts 2020-03-25 10:07:58 -07:00
Priya Wadhwa 455ebeac01 update test, don't need to rerun v1.17.0 since those images exist anyway 2020-03-24 17:28:57 -07:00
Priya Wadhwa 744f76e3b6 fix lint 2020-03-24 17:25:27 -07:00
Priya Wadhwa d2171be291 rebased' 2020-03-24 16:39:54 -07:00
Priya Wadhwa 8d9e26d994 Test restart with preloaded tarball and without 2020-03-24 11:58:41 -07:00
Priya Wadhwa 4a7f59f8a8 remove preload flag 2020-03-24 10:59:25 -07:00
Priya Wadhwa 5ef83f35e2 Add --preload flag to optionally turn off preload 2020-03-24 10:53:02 -07:00
Medya Gh 0478f2d204 adjuts the retry times 2020-03-24 06:37:16 -07:00
Medya Gh 42980d609b remove not needed retry 2020-03-24 06:29:35 -07:00
Medya Gh 407637b4a2 download only for both docker and podman 2020-03-24 06:07:51 -07:00
Medya Gh 653fac46ec skip preload test for none 2020-03-24 00:46:48 -07:00
Medya Ghazizadeh 7bff52ef0a
Merge pull request #7180 from sharifelgamal/conntrack
install conntrack for github action integration tests
2020-03-23 17:50:19 -07:00
Sharif Elgamal 0ff8becc63 install conntrack everywhere, check for vm-driver in tests 2020-03-23 17:09:12 -07:00
Priya Wadhwa 74380b0eda Fix output of ssh command test
The /r isn't actually returned.
2020-03-23 14:40:02 -07:00
Priya Wadhwa 72c4bef5ca update integration test 2020-03-23 12:32:36 -07:00
Thomas Strömberg 8e9d8a221c
Merge pull request #7134 from tstromberg/test-download-only
download_only_test: Fix non-docker runtimes, remove expected-driver test
2020-03-21 14:48:01 -07:00
Thomas Strömberg 9f851f7886
Merge pull request #7136 from tstromberg/crio-mismatch
Fix TestStartStop/group/crio: images mismatch
2020-03-21 14:41:55 -07:00
Thomas Stromberg 17e6d84c3f Remove unused code 2020-03-21 10:47:58 -07:00
Thomas Stromberg e6948b90b4 Trim crio prefix, dedup results 2020-03-21 10:47:08 -07:00
Thomas Strömberg 0c7bddab2b
Merge pull request #7130 from govargo/feature/helm-tiller-2.16.3
bumpup helm-tiller v2.16.1 → v2.16.3
2020-03-21 10:36:56 -07:00
Thomas Strömberg 3022e9a773
Merge pull request #6773 from sayboras/bugfix/non-test
Fix none-test integration test
2020-03-21 10:28:11 -07:00
Thomas Stromberg d75dc6a229 Remove broken ExpectedDefaultDriver test, fix call to PreloadExists 2020-03-21 10:22:45 -07:00
Thomas Stromberg c42ecf95e0 Download dependencies for non-Docker runtimes 2020-03-21 07:53:03 -07:00
Iso Kenta eca69790a5 bumpup helm-tiller v2.16.1 → v2.16.3 and add integration test for tiller 2020-03-21 18:27:57 +09:00
Priya Wadhwa 3dfb0ae98d check if preloaded tarball was downloaded if preload exists 2020-03-18 13:50:24 -07:00
Priya Wadhwa 2a38c7395e fix lint 2020-03-18 11:49:09 -07:00
Priya Wadhwa 17a30cdd7a Change download test to use unsupported preload version
So that we can still make sure that images are being pulled properly.

Also, remove the check for the kic base image. Right now, it isn't working, and I'm working on a fix in another PR.
2020-03-18 11:03:30 -07:00
sayboras 63dc938504 Update KUBECONFIG for change non user test
Install lz4 in ubuntu
2020-03-12 08:13:48 +11:00
Priya Wadhwa 3462c4ce94 Update integration test 2020-03-11 14:06:32 -07:00
Priya Wadhwa 68f236654f Add integration test 2020-03-10 19:32:22 -07:00
Thomas Stromberg 318f9f2b75 Flip boolean logic 2020-03-06 12:48:54 -08:00
Thomas Stromberg b5f1cf80a5 Fix nil pointer dereference on error 2020-03-06 12:32:30 -08:00
tstromberg 1f61f39bae Merge conflict 2020-03-05 15:33:46 -08:00
tstromberg 39631edec7 Remove hardcoded version number 2020-03-05 13:58:49 -08:00
tstromberg b6c96eef30 Skip ISO checksum validation if custom URL is specified 2020-03-05 13:49:48 -08:00
tstromberg de1d2639da Set explicit memory defaults in integration tests 2020-03-05 13:03:57 -08:00
Thomas Stromberg 3e772d0048 Merge master 2020-03-04 20:18:16 -08:00
Medya Ghazizadeh d5bc3fdc65
Merge pull request #6888 from sharifelgamal/driver
Switch --vm-driver paramter to --driver
2020-03-04 19:04:43 -08:00
Thomas Stromberg 27cca764b5 Fix integration test 2020-03-04 18:57:12 -08:00
Thomas Stromberg a1ebcbd031 Merge conflicts 2020-03-04 18:01:41 -08:00
Medya Ghazizadeh 9c1dbe745c
Merge pull request #6889 from tstromberg/symlink-inversion
Fix inverted certificate symlink creation logic
2020-03-04 16:29:18 -08:00
Thomas Stromberg d45471ca8d Add certificate sync integration test 2020-03-04 14:48:40 -08:00
Sharif Elgamal ac0c1bad42 missing files 2020-03-04 13:48:21 -08:00
Priya Wadhwa 26de14676d Add integration test for docker download only 2020-03-02 16:54:05 -08:00
Tam Mach 37f572befa Use existing function to check for none driver 2020-02-23 15:56:27 +11:00
sayboras 470a8dd39b Use command result arguments 2020-02-23 15:32:32 +11:00
sayboras 76cd0e49a1 Fix TestDownloadOnly for --vm-driver=none 2020-02-23 15:30:03 +11:00
sayboras 19d39800dd Add StartArguments in the command 2020-02-23 13:34:34 +11:00
Medya Gh c745cc46b2 add sudo to systemctl commands 2020-02-22 11:12:18 -08:00
Medya Ghazizadeh 44e7cb20ac
Merge pull request #6717 from medyagh/annotate_node
label minikube nodes
2020-02-21 17:00:07 -08:00
Medya Gh e6535896b4 integration test for show labels 2020-02-21 16:01:47 -08:00
Medya Gh a100eaef89 new flag for integration tests timeout-multiplier 2020-02-21 10:43:01 -08:00
Medya Gh 4c14c48304 lint 2020-02-21 09:46:37 -08:00
Medya Gh 2da158a1a0 typo 2020-02-20 17:01:28 -08:00
Medya Gh 763d54025c change all timeouts in the integration tests 2020-02-20 16:40:18 -08:00
Medya Gh 6e0aeda4ea change all time durations 2020-02-20 16:19:59 -08:00
Medya Gh ef43e63e9b add miniutes 2020-02-20 15:58:05 -08:00
Medya Gh 7c831eb2de lint 2020-02-20 14:24:37 -08:00
Medya Gh c85fe4955d Add integration tests for node labels 2020-02-20 13:57:09 -08:00
Medya Gh 7ada4f5c7f lint 2020-02-19 22:41:23 -08:00
Medya Gh 97627cd131 lint functional test 2020-02-19 22:30:47 -08:00
Medya Gh 3165f5e441 goimports lint 2020-02-19 22:17:37 -08:00
Medya Ghazizadeh a5c76f894c
Merge pull request #6672 from aallbrig/profile-command-improvement
Profile command should not create non existent profiles
2020-02-19 21:20:51 -08:00
aallbright 020c0f3d93 Use JSON output to determine desired behavior 2020-02-19 22:56:32 -05:00
aallbright addb2e623e word -> line 2020-02-18 19:00:57 -05:00
aallbright ff873d2728 Add tests around nonexistent profiles 2020-02-18 07:10:27 -05:00
sayboras 6e20661da8 Add start cluster with latest version after failed downgrade 2020-02-16 21:33:04 +11:00
Medya Ghazizadeh dba9ce14ad
Merge pull request #6588 from priyawadhwa/minikube-kubectl-test
Add integration test for minikube kubectl command
2020-02-15 00:48:22 -07:00
tstromberg ccec3babb0 Merge conflict 2020-02-13 16:54:25 -08:00
Sharif Elgamal 6d8a112abe don\'t return that the machine doesn\'t exist if the k8s is stopped 2020-02-13 14:20:58 -08:00
Priya Wadhwa 3340e9bc2f fix test 2020-02-13 13:34:05 -08:00
Sharif Elgamal 2785d292f5 Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-13 10:15:04 -08:00
Tam Mach b911e8f038
Bump go-containerregistry to latest (#6073)
* Bump go-containerregistry to latest

Signed-off-by: sayboras <sayboras@yahoo.com>

* Fix integration for cache image
2020-02-13 02:20:32 -07:00
Medya Ghazizadeh 25167e1b75
Fix docker-env and add unit and integration tests (#6604)
* Fix docker cert env in docker-env for docker driver

* add unit tests

* add integration tests for docker-env cmd

* lint

* fix lint

* merge conflict

* improve docker-env integraiton test

* linting
2020-02-13 02:17:11 -07:00
Medya Ghazizadeh 398c7ef00b
Add podman driver (#6515) 2020-02-12 19:11:44 -07:00
tstromberg 2313b72a7d sync: Fix path confusion and directory creation bugs 2020-02-12 14:26:38 -08:00
Priya Wadhwa df8faad4bf Rebased on master, moved integration test to functional test 2020-02-12 09:54:17 -08:00
priyawadhwa af353314e0
Separate cached kubernetes binaries by OS on host machine (#6586)
* Separate cached kubernetes binaries by OS on host machine

This way, all kubernetes binaries stored in ~/.minikube/cache/linux will be copied over to the VM and used for `minikube kubectl` on linux machines. kubectl will be stored in `~/.minikube/cache/{windows or darwin}` on windows/darwin so that `minikube kubectl` still works.

* Review comment

* Update integration test

* Make sure --download-only includes OS specific kubectl

Update integration test to make sure we download
OS specific kubectl on darwin/windows when using --download-only flag
2020-02-11 23:23:37 -07:00
Sharif Elgamal adc1a56903 search and replace cleanup 2020-02-11 17:11:23 -08:00
Sharif Elgamal 744efaa330 REFACTOR COMPLETE? 2020-02-11 17:06:59 -08:00
Priya Wadhwa 1b196a6cbd Add integration test for minikube kubectl command 2020-02-11 14:05:06 -08:00
Priya Wadhwa 996f4e7ede Update integration test 2020-02-11 13:22:08 -08:00
anencore94 6540cfaf31
Update delete-config-context test (#6567)
update the test to use exitcode as as assertion
and to print stdout for debugging easily in error
case

Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
2020-02-10 13:44:53 -07:00
Thomas Strömberg 8762c48921
Merge pull request #6541 from anencore94/deleteContext
Fix to delete context when delete minikube
2020-02-07 16:15:56 -08:00
anencore94 460f8d0187 Fix bug to delete context when delete minikube
- when `minikube delete`, minikube must delete its config which
  are set when `minikube start`.
- But, there was some mistakes in the function that does this
  logic

Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
2020-02-07 20:00:08 +09:00
Thomas Stromberg caf4c62943 Move --install-addons toggle to tests that do not use addons 2020-02-06 17:35:52 -08:00
Thomas Stromberg 4ba0f52f57 Add flag to toggle installation of addons 2020-02-06 17:29:19 -08:00
tstromberg 4ed5b4838e Add integration test to ensure that we addons enabled while the cluster was stopped come up successfully 2020-02-03 10:50:06 -08:00
tstromberg f283a576c1 Promote status function to one that should be used across tests 2020-01-30 14:36:39 -08:00
tstromberg dad1ebaff4 Merge branch 'master' into cleaner-int-logs 2020-01-29 17:02:38 -08:00
Sharif Elgamal 9a49c587d5
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 15:54:04 -08:00
tstromberg 711dab3848 Update CRIO test to v1.15.7 to fix cgroups bug 2020-01-24 14:39:53 -08:00
Sharif Elgamal 77d838d3d2
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 10:50:57 -08:00
Sharif Elgamal 791f28ff4c things work now 2020-01-23 13:21:21 -08:00
tstromberg 9fc5db914c Decrease cylomatic complexity of TestStartStop 2020-01-22 16:39:26 -08:00
tstromberg 1a13055d00 Add integration tests 2020-01-22 15:50:09 -08:00
tstromberg b115f181c4 Increase time limit to 5s 2020-01-22 12:14:54 -08:00
tstromberg 4be56d6d31 Double dry-run time limit, add logging 2020-01-22 12:14:05 -08:00
Priya Wadhwa 53fac08913 fix lint 2020-01-14 13:20:58 -08:00
Priya Wadhwa 5b219088d2 updaate download only test to include kubectl release binary 2020-01-14 13:05:39 -08:00
Priya Wadhwa 2029d6012c Rebased on master 2020-01-14 10:27:39 -08:00
Medya Ghazizadeh 8718a54d91
Merge pull request #6256 from tstromberg/dry-run
Add --dry-run option to start
2020-01-13 13:37:15 -08:00
Medya Gh 39d17872e7 fix integration test 2020-01-13 12:03:26 -08:00
Medya Gh b36bc1ec66 fix integration test for tabular view 2020-01-10 16:39:17 -08:00
tstromberg 5ba779f74d Only grab post-mortem logs if VM is running 2020-01-10 15:10:03 -08:00
Thomas Stromberg 0fee6cbe3a Merge master 2020-01-09 15:16:29 -08:00
Thomas Stromberg 9611d7e7e2 Merge branch 'master' into int-ughs-local 2020-01-09 15:09:46 -08:00
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
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
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
Medya Gh aeaa5733f8 consistant naming for kubectl runner 2019-07-30 09:53:32 -07:00
Medya Gh 673b82a157 consistant naming for all minikube runners 2019-07-30 09:53:32 -07:00
Zoltán Reegn d1436b40fe 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-07-30 09:32:02 +02:00
Sharif Elgamal 2bca6dccac
Fix minikube start args for integration tests (#4885)
I've been seeing errors like `Error running command: -p=TestPersistence start --vm-driver=hyperv --hyperv-virtual-switch=primary-virtual-switch --bootstrapper=kubeadm--wait=false --v=10 --logtostderr  --alsologtostderr --v=2 . Output: * minikube v1.2.0 on windows (amd64)` in my hyperV testing which means we need an extra space here.
2019-07-29 13:14:40 -07:00
Jose Donizetti fe00076341
Revert "Fix flag.Parse error logging" 2019-07-25 23:03:04 -03:00
Priya Wadhwa 876af77019 cache image before minikube start 2019-07-25 14:00:24 -07:00
Medya Gh 10f721fc0a add comment for lint 2019-07-25 13:25:52 -07:00
josedonizetti 6ccf62096e Add initflag to test binary 2019-07-25 14:37:37 -03:00
Medya Ghazizadeh 9f42df6209
Merge pull request #4811 from medyagh/add_profile_list_cmd
Add a new command (profile list)
2019-07-19 15:43:50 -07:00
Medya Gh 136aa61463 Added integeration tests for profile list 2019-07-19 11:31:00 -07:00
Thomas Stromberg caa2719b86 Reduce log noise in TestRegistry 2019-07-19 10:38:33 -07:00
Thomas Stromberg 56ae84b921 Refactor TestRegistry for new label configuration 2019-07-19 10:35:41 -07:00
Priya Wadhwa d243c30616 cache gvisor image 2019-07-17 15:25:30 -07:00
tstromberg 146b87158a Merge branch 'master' into faster-kubelet 2019-07-17 11:35:47 -07:00
Thomas Strömberg 1d567eabad
Merge pull request #4639 from castlemilk/registry-integration-tests
Added integration tests for registry
2019-07-17 09:56:04 -07:00
tstromberg 2d46f42e7b Omit --wait for the released version, as it does not support this new flag 2019-07-15 08:53:42 -07:00
tstromberg 9f2590752b Set --wait=false to more tests where appropriate 2019-07-12 17:03:41 -07:00
tstromberg 21ab32eaf8 Make GlobalArgs vs StartArgs more explicit 2019-07-12 16:57:23 -07:00
tstromberg 44c8dd52a8 Add --wait flag to allow users to skip pod health checks 2019-07-12 14:18:43 -07:00
Priya Wadhwa 065045e02a Save gvisor-image.tar in /files 2019-07-11 15:18:56 -07:00
Priya Wadhwa 1ec4012052 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-07-11 12:43:42 -07:00
Priya Wadhwa d68e054dfd Attempt to copy gvisor tar and load with ctr 2019-07-11 11:58:57 -07:00
Priya Wadhwa 3ffe2af1e4 Point docker daemon to minikube and rebuild docker image 2019-07-10 16:14:46 -07:00
Priya Wadhwa 1a49eecaf7 Upload gvisor-addon to integration tests bucket; build gvisor image from common.sh 2019-07-09 17:08:36 -07:00
Priya Wadhwa d2e5a4b052 build gvisor image locally in integration tests; add temporary error to make sure that image is used 2019-07-09 12:46:57 -07:00
Priya Wadhwa 5688e17d73 fix cmd directory 2019-07-08 17:11:54 -07:00
Priya Wadhwa a8f1ed7a26 Rebuild gvisor image for integration tests
We should rebuild the gvisor image for integration tests, so that if
changes are made to the gvisor image they are tested. I added an
environment variable that, when set, will change the expected gvisor
image repo.
2019-07-08 15:54:30 -07:00
Ben Ebsworth 39a136fdb9 fix raising fatal error on retryablehttp 2019-07-06 19:03:14 +10:00
Ben Ebsworth 8b2d1ec2e6 fixed registryEndpoint string 2019-07-06 18:52:40 +10:00
Ben Ebsworth 637262cea2 re-added int testds 2019-07-06 18:52:40 +10:00
Kyle Bai c5f695e8a0 Better comment syntax 2019-07-05 11:17:10 +08:00
Ben Ebsworth 05683a0d01 moved to using retryablehttp 2019-07-01 06:31:52 +10:00
Ben Ebsworth 6fa12ea036 fixed linting 2019-06-29 21:33:19 +10:00
Jose Donizetti ad97983d9e # This is a combination of 8 commits.
# This is the 1st commit message:

Fix doc comment version.gitCommitID doc


# This is the commit message #2:

Add hyperkit doc


# This is the commit message #3:

Add commit id to docker-machine-driver-kvm2 version


# This is the commit message #4:

removed label selector for registry-proxy daemonset

# This is the commit message #5:

Add support to custom qemu uri on kvm2 driver


# This is the commit message #6:

Improve hyperkit vm stop


# This is the commit message #7:

Make virtualbox DNS settings configurable 


# This is the commit message #8:

added integration tests for registry addon
2019-06-29 18:27:47 +10:00