Commit Graph

2106 Commits (revert-19748-fix_wait)

Author SHA1 Message Date
Ilya Zuyev f50c2bf617 tests: extract an utility method for image ids 2021-01-13 13:58:55 -08:00
Ilya Zuyev 519103f58b Merge branch 'master' into ilyaz/arm64-fixes 2021-01-12 14:51:23 -08:00
Thomas Stromberg 6ec94aa064 Merge to master 2021-01-08 15:40:24 -08:00
Thomas Stromberg 66a671fc86 Experimental macOS/arm64 work 2021-01-08 15:38:31 -08:00
Priya Wadhwa 322efcb406 Merge branch 'master' of https://github.com/kubernetes/minikube into network-flag 2020-12-23 14:02:22 -08:00
Sharif Elgamal 8f119049fd
Merge pull request #9978 from spowelljr/fixContextTimeout
Removed parallel running from test func to prevent ctx timeout
2020-12-17 10:12:58 -08:00
Sharif Elgamal 82694941ed Merge branch 'master' of github.com:kubernetes/minikube into ingress-none 2020-12-17 10:09:16 -08:00
Thomas Strömberg 49f850cb50
Merge pull request #9963 from afbjorklund/dashboard-2.1.0
Upgrade kubernetes dashboard to v2.1.0 for 1.20
2020-12-17 08:00:35 -08:00
Ilya Zuyev 05bc271ef8 Fix arch related checks 2020-12-16 18:13:13 -08:00
Steven Powell b52666bea7 Removed parallel running from test func to prevent ctx timeout 2020-12-16 17:18:08 -07:00
Priya Wadhwa 787cf77d6c Only run existing network test with kic driver 2020-12-16 11:11:39 -08:00
Priya Wadhwa 55f496492c fix merge conflict 2020-12-16 10:37:51 -08:00
Steven Powell 5f0144ac32 Added sub-step logging to adm init step on start 2020-12-15 16:59:42 -07:00
Anders F Björklund 4c39ffc91f Upgrade kubernetes dashboard to v2.1.0 for 1.20
Now with support for Kubernetes version 1.20 too
2020-12-14 21:20:14 +01:00
Sharif Elgamal cc386aaee2 Merge branch 'master' of github.com:kubernetes/minikube into ingress-none 2020-12-11 11:09:44 -08:00
Sharif Elgamal 9280a047a9
Merge pull request #9894 from sharifelgamal/hyperkit
fix hyperkit tests
2020-12-10 11:26:44 -08:00
Sharif Elgamal 6be118fc29
Merge pull request #9634 from dekkers/saving-extra-config
Fix --extra-config when starting an existing cluster
2020-12-09 11:27:03 -08:00
Sharif Elgamal ad330b21ad Merge branch 'master' of github.com:kubernetes/minikube into ingress-none 2020-12-09 11:12:23 -08:00
Sharif Elgamal 8968e51dd7 fix hyperkit tests 2020-12-09 11:06:17 -08:00
priyawadhwa 83f9bd1df3
Merge pull request #9793 from tharun208/feat/show_scheduled_stop_status
feat(minikube) display scheduledstop status in minikube status
2020-12-08 11:42:06 -08:00
Medya Ghazizadeh 268a9386e7
Merge pull request #9844 from ilya-zuyev/gh_9754_downloadprogress_currentstep
Set 'currentstep' for PullingBaseImage json event
2020-12-08 10:17:07 -08:00
Tharun c6e6f2dc93 added function to check scheduledstop time comparison
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-08 13:09:54 +05:30
Ilya Zuyev 8e8979cac7 integration: check currentstep field in a subtest 2020-12-06 20:31:45 -08:00
Tharun 40cf0dab1c refractored minikube status function
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-05 15:50:24 +05:30
Tharun c51a20401d updated scheduled_stop tests
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-05 14:52:18 +05:30
Tharun 4ca4491124 fixed review feedbacks on clusterstate field and tests
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-05 14:34:14 +05:30
Tharun 35e2ce2dcf added check for timetostop status 2020-12-05 14:33:39 +05:30
Ilya Zuyev 2188e59133 fix linter error 2020-12-04 13:20:31 -08:00
Ilya Zuyev 68a1b54112 set currentstep for DownloadProgress 2020-12-03 17:46:41 -08:00
Priya Wadhwa 37bcf6d521 fix lint 2020-12-03 11:13:19 -08:00
Priya Wadhwa f373155d55 merge conflict 2020-12-03 10:56:41 -08:00
Priya Wadhwa a6a6671175 make integration tests more robust 2020-12-02 13:19:40 -08:00
priyawadhwa d83b868b4f
Merge pull request #9774 from priyawadhwa/cancel-stop
Add --cancel-scheduled flag to cancel all existing scheduled stops
2020-11-30 10:03:48 -08:00
Jeroen Dekkers 1490562c2a Fix --extra-config when starting an existing cluster 2020-11-29 12:44:15 +01:00
Predrag Rogic a60176cf00
fix TestStartStop crio VerifyKubernetesImages serial test 2020-11-25 21:23:30 +00:00
Priya Wadhwa 70cb886a39 shorten flag name to --cancel-scheduled 2020-11-24 17:29:46 -08:00
Priya Wadhwa ad3e4a98d0 Add --cancel-scheduled-stop flag and add to integration test to make sure it works 2020-11-24 11:36:34 -08:00
Medya Ghazizadeh 9fc4b2c11d
Merge pull request #9755 from medyagh/improve_svc_test
integration test: fail service test early if can't deploy example svc
2020-11-20 16:37:22 -08:00
Medya Gh 5d34a5e7e6 add memory limit to all minikube starts in integration test 2020-11-20 14:46:22 -08:00
Medya Ghazizadeh be85445605
Merge pull request #9747 from ilya-zuyev/gh_9774_fix_test_offline
Fix invalid DOCKER_HOST handling in integration tests
2020-11-20 14:28:58 -08:00
Ilya Zuyev 3b5c265264 Remove TestOfflineDownload 2020-11-19 15:36:18 -08:00
Ilya Zuyev 7910f622c3 Fix TestOffline 2020-11-19 14:11:33 -08:00
Medya Gh c237d5d7f1 improve test failure logs for service command 2020-11-19 11:53:04 -08:00
Priya Wadhwa 5a0ab905ed fix merge conflict 2020-11-17 15:11:23 -08:00
Priya Wadhwa 14db0debef review comments 2020-11-17 12:15:42 -08:00
Priya Wadhwa abc3d70a56 Give some more time 2020-11-13 17:10:57 -08:00
Priya Wadhwa 1c682c6449 Merge branch 'master' of https://github.com/kubernetes/minikube into ss-windows 2020-11-13 16:34:45 -08:00
Priya Wadhwa a518220a34 Add timeout to status check 2020-11-13 14:52:31 -08:00
Priya Wadhwa 13476316b5 Now that ISO files are in, scheduled stop works on VM as well so remove restrictions 2020-11-13 10:23:32 -08:00
Sharif Elgamal bef7a2a2b7 Merge branch 'master' of github.com:kubernetes/minikube into ingress-none 2020-11-13 09:55:13 -08:00
Medya Ghazizadeh 6f037f8b7a
Merge pull request #9681 from medyagh/addon_reg_test
fix Test flakes TestAddons/parallel/Registry
2020-11-12 15:50:39 -08:00
Priya Wadhwa 5411b3b2f2 Add code for daemonizing on windows and add integration test 2020-11-12 14:29:59 -08:00
priyawadhwa 518ac7de56
Merge pull request #9503 from priyawadhwa/schedule-stop-unix
Implement schedule stop for unix
2020-11-12 14:20:20 -08:00
Priya Wadhwa 572e22d5a3 Merge branch 'master' of https://github.com/kubernetes/minikube into network-flag 2020-11-12 14:13:26 -08:00
Medya Gh f177131ad1 wait for addons 2020-11-12 13:44:29 -08:00
Medya Gh 72c0b09983 increase memory for addon test 2020-11-11 20:22:12 -08:00
Priya Wadhwa 2eedffdaae include start args so that test passes locally 2020-11-11 14:52:30 -08:00
Priya Wadhwa 9bb9355b50 fix merge conflict 2020-11-11 11:57:27 -08:00
Medya Gh 833e474589 lint 2020-11-10 14:33:59 -08:00
Medya Gh 52ef75121d fix test 2020-11-10 13:21:11 -08:00
Medya Gh d7fe968bde fix verifying kuberentes images test 2020-11-10 10:39:10 -08:00
Priya Wadhwa bcf236f15c don't run scheduled stop test with none driver 2020-11-09 13:56:50 -08:00
Priya Wadhwa 19b2be23bc fix merge conflict 2020-11-05 14:31:39 -08:00
Priya Wadhwa f869ca5e91 fix merge conflict 2020-11-05 09:44:47 -08:00
Sharif Elgamal 492ae13a4a undo yaml change 2020-10-30 11:02:50 -07:00
Sharif Elgamal d52d6e440d run command properly 2020-10-30 10:34:19 -07:00
Priya Wadhwa 3c8d3cad7c Merge branch 'master' of https://github.com/kubernetes/minikube into json-output-stop 2020-10-29 13:44:32 -07:00
Sharif Elgamal a9a1c4a71e syntax 2020-10-28 18:49:08 -07:00
Sharif Elgamal a904da4e26 don't use minikube ssh for none driver 2020-10-28 18:38:30 -07:00
Sharif Elgamal 3a50660544 fix ingress test 2020-10-28 17:35:42 -07:00
Priya Wadhwa 91629c22c9 remove debugging 2020-10-28 14:03:11 -07:00
Priya Wadhwa 35c33c1ac6 Add stop, pause and unpause to integration test 2020-10-28 13:58:53 -07:00
Sharif Elgamal cda2d13d21 Turn on ingress addon on linux baremetal 2020-10-28 12:19:26 -07:00
Sharif Elgamal 4a1c9583bd initial attempt to account for profile in directly kubectl case 2020-10-28 12:16:02 -07:00
Sharif Elgamal ae849a2031 general cleanup 2020-10-27 13:56:13 -07:00
Sharif Elgamal f7baa9c1e9 maybe this will work 2020-10-27 11:56:22 -07:00
Sharif Elgamal 4fc095df77 specify context in kubectl call for test 2020-10-27 10:00:41 -07:00
Priya Wadhwa 865d3a4a34 Merge branch 'master' of https://github.com/kubernetes/minikube into schedule-stop-unix 2020-10-23 18:15:07 -07:00
Priya Wadhwa 9474740fd6 Add integration test 2020-10-23 09:55:48 -07:00
Medya Ghazizadeh 717b738d6d
Merge pull request #9365 from ilya-zuyev/gh_7422-reuse_hyperkit_driver
hyperkit driver should be happy with current minimum verison
2020-10-21 13:42:05 -05:00
Priya Wadhwa 682df5036e fix lint 2020-10-20 14:26:15 -07:00
Priya Wadhwa 202e9c5afd improve integration test 2020-10-20 14:18:20 -07:00
Priya Wadhwa a54ea82e3b Implement schedule stop for unix 2020-10-20 13:45:59 -07:00
Sharif Elgamal a282354419
Merge pull request #9476 from sharifelgamal/restart-worker
make sure worker nodes actually join control plane on restart
2020-10-16 16:39:42 -07:00
Sharif Elgamal fc8110f9c8 remove unnecessary sleep in test 2020-10-15 17:58:50 -07:00
Ilya Zuyev 5fc73c7764 Add a comment 2020-10-15 16:07:39 -07:00
Ilya Zuyev 57a0e402d4 Reuse $MINIKUBE_HOME/cache files;
Cleanup comments
2020-10-15 15:49:24 -07:00
Ilya Zuyev a072e89d99 Merge branch 'master' into gh_7422-reuse_hyperkit_driver 2020-10-15 12:55:44 -07:00
Ilya Zuyev 4c5ac5acdc Integration tests: remove driver_install_or_update_darwin_test.go 2020-10-15 12:53:02 -07:00
Ilya Zuyev 63ca2256f3 Integration tests: fix driver permission 2020-10-15 12:39:19 -07:00
Ilya Zuyev 2b32f6f6b6 Integration tests: add copyright header 2020-10-15 12:26:31 -07:00
Ilya Zuyev 39410181b1 Integration tests: update README in testsdata 2020-10-15 11:57:58 -07:00
Ilya Zuyev 4eb6f9ae0d Integration tests: fix naming 2020-10-15 11:55:23 -07:00
Ilya Zuyev eef3fd83fa Integration tests: add comments to internal functions 2020-10-15 11:46:33 -07:00
Ilya Zuyev 489b59bf97 Integration tests: fix the default test driver perms 2020-10-15 11:40:30 -07:00
Ilya Zuyev bfca3a6c9d Reorganize code - move tests related to hyperkit to driver_install_or_update_darwin_test.go 2020-10-15 11:39:40 -07:00
Priya Wadhwa 17666c2f05 Combine pause status test into existing pause test 2020-10-14 10:42:20 -07:00
Ilya Zuyev 0a9cbbb9f4 Use "--interactive=false" to avoid asking for sudo password 2020-10-13 18:05:38 -07:00
Ilya Zuyev 1381394d8f Fix comments 2020-10-12 20:35:25 -07:00
Ilya Zuyev 786037e1c7 Fix error message in int test 2020-10-12 20:33:23 -07:00
Ilya Zuyev 9b70ec8dda Update integration test:
- skip, if sudo needs a password
- improve temp files processing
- do not preload
2020-10-12 20:27:49 -07:00
Medya Ghazizadeh 88304ef63b
Merge pull request #9408 from sharifelgamal/failure-policy
simplify addon code by fixing gcp-auth failure policy
2020-10-12 18:08:12 -05:00
Medya Gh 070567b4d9 skip docker related test on macos gh runner 2020-10-08 14:24:02 -07:00
Sharif Elgamal def94d1ccc fix lint 2020-10-08 13:36:30 -07:00
Sharif Elgamal 95f5bc6107 add integration test of gcp-auth addon 2020-10-08 13:25:19 -07:00
Thomas Stromberg f8c95ee432 stress test: Minor improvements for running on Cloud Shell 2020-10-08 11:28:18 -07:00
Ilya Zuyev 7322fdd537 Add an integration test for hyperkit driver upgrades 2020-10-05 22:11:28 -07:00
Ilya Zuyev 2641e3d34d Add hyperkit driver v1.11.0 to testdata 2020-10-05 22:09:31 -07:00
Priya Wadhwa 4f7d9006d0 Add integration test 2020-10-02 18:04:46 -04:00
Sharif Elgamal 4226decf84 delete the correct image 2020-09-17 14:12:48 -07:00
Sharif Elgamal 474c9c2ced Fix cache functional test 2020-09-17 13:57:06 -07:00
Medya Ghazizadeh 554bbea7ac
Merge pull request #9218 from medyagh/no_dhub
remove docker hub images from integration tests
2020-09-16 15:02:00 -07:00
Medya Gh f04a7c5c16 spell 2020-09-16 15:01:15 -07:00
Sharif Elgamal 070cbb99ee
Merge pull request #8461 from 11janci/jjanik-enable-volumesnapshots
CSI Hostpath Driver & VolumeSnapshots addons
2020-09-16 11:57:42 -07:00
Medya Gh bc182ce207 remove docker hub images 2020-09-10 12:58:14 -07:00
Thomas Strömberg b3a1b358c9
Merge pull request #9158 from tstromberg/go-container
Add local image integration test for "cache add"
2020-09-08 16:27:10 -07:00
jjanik b696eb614a csi-hostpath-driver & volumesnapshots addons docs and test 2020-09-04 18:54:33 +02:00
Sharif Elgamal cffd317731 Merge branch 'master' of github.com:kubernetes/minikube into add-kubectl 2020-09-02 13:38:11 -07:00
Thomas Stromberg 0aba5b5919 lint err reprise 2020-09-02 08:21:35 -07:00
Thomas Stromberg f0a9d55e3d lint err 2020-09-02 07:55:04 -07:00
Thomas Stromberg 0d4b969e1e Add local image integration test for "cache add" 2020-09-02 07:25:43 -07:00
Thomas Strömberg dc5951451b
Merge pull request #8872 from kadern0/issue-8857
Running internal kubectl command when minikube is called as 'kubectl'
2020-09-01 22:44:44 -07:00
Thomas Stromberg 09cdf602b8 Update TestFunctional/parallel/DryRun and TestJSONOutputError to match new behavior 2020-08-31 11:21:23 -07:00
Thomas Stromberg 2c5e8fdaee Add detailed JSON & status codes for all error paths 2020-08-30 17:25:11 -07:00
Thomas Stromberg c082e5eb98 Fix 'minikube is not in path' error 2020-08-28 11:22:19 -07:00
Thomas Stromberg e137ed2e0e Move PATH setting to occur closer to the exec call 2020-08-24 11:10:07 -07:00
Thomas Stromberg 55768061f0 Merge branch 'master' into test-skaffold 2020-08-24 10:57:49 -07:00
Thomas Strömberg 13ae0c6684
Merge pull request #9065 from tstromberg/context-shortcut
integration testing: Fail fast if the context timer has run out
2020-08-24 10:48:11 -07:00
Thomas Stromberg 8bc83250b0 Shorten diff 2020-08-22 10:21:40 -07:00
Thomas Stromberg 393aa5926f Fail fast if the context timer has run out 2020-08-22 10:18:15 -07:00
Thomas Stromberg f9cc71a3e5 Update TestSkaffold to use unique profile names, more debuggable 2020-08-22 09:20:59 -07:00
Priya Wadhwa a767b64b41 fix merge conflict 2020-08-21 21:40:32 -04:00
Thomas Stromberg 4e56db1874 testing: Remove use of deprecated ComponentStatusList API 2020-08-21 16:07:39 -07:00
Priya Wadhwa 88aece40d2 change name 2020-08-21 15:05:37 -04:00
Priya Wadhwa acd6589c5d Remove debugging 2020-08-21 09:56:03 -04:00
Priya Wadhwa 44b93f4776 Change MemoryCapacity to StorageCapacity to be more accurate 2020-08-21 09:49:48 -04:00
Priya Wadhwa 7eda3a7711 Create new exit code for InsufficientStorage 2020-08-20 15:27:06 -04:00
Priya Wadhwa 83eba00d47 add deubgging 2020-08-20 14:42:55 -04:00
Priya Wadhwa 3cb9026770 validate last event is the correct error 2020-08-20 13:18:15 -04:00
Priya Wadhwa e1ed864708 Merge branch 'master' of https://github.com/kubernetes/minikube into var-status-code 2020-08-19 17:44:51 -04:00
Priya Wadhwa 399dad0884 fix lint 2020-08-19 15:15:39 -04:00
Priya Wadhwa 4d1c1c0dc3 Add integration test for insufficient storage
Make sure that if /var has full storage, the output of `minikube status` is correct regardless of whether events.json is present or not
2020-08-19 14:16:00 -04:00
Pablo Caderno 7f7fd8d57c Updated kubectl args
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 22:18:50 +10:00
Pablo Caderno 07daab51e3 Go fmtd functional tests file
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 21:34:17 +10:00
Pablo Caderno 30b4f202c6 Go fmtd imports
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 21:26:26 +10:00
Pablo Caderno cef2139629 Added integration test
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 20:52:58 +10:00
Kazuki Suda bbf96e7618
Update an integration test 2020-08-16 14:54:57 +09:00
Sharif Elgamal 200400e52c Merge branch 'master' of github.com:kubernetes/minikube into add-kubectl 2020-08-11 15:58:26 -07:00
Priya Wadhwa 6ff308d892 Run download only test with docker daemon unavailable 2020-08-11 14:38:28 -04:00
Medya Ghazizadeh d474cb27cf
Merge pull request #8953 from medyagh/increase_mem_functional
increase memory for functional test
2020-08-10 15:27:50 -07:00
Medya Gh e236c12e43 typo 2020-08-10 14:48:44 -07:00
Medya Gh b94141916c add verbosity 2020-08-10 14:36:10 -07:00
Medya Gh 06841a440d lint 2020-08-10 13:52:28 -07:00
Medya Gh 0afb311c5d don't test ingress addon on none 2020-08-10 13:29:50 -07:00
Medya Gh 5d9193874c adjust waiting for pvc 2020-08-10 13:02:10 -07:00
Medya Gh 65aae5eec7 increase memory for functional test 2020-08-10 11:53:46 -07:00
Sharif Elgamal c1067eb61e remove hardcoding of testdata directory in functional tests 2020-08-04 11:57:10 -07:00
Priya Wadhwa 43de628f81 update comment 2020-08-03 16:18:14 -04:00
Priya Wadhwa 951be82fa9 fix lint 2020-08-03 15:57:52 -04:00
Priya Wadhwa ae7fbaf8f9 make sure files are actually being maintained in PVCs in our integration test 2020-08-03 15:50:42 -04:00
Priya Wadhwa 5e899a81cc Make sure cluster roles are applied to the service account the storage provisioner runs under 2020-08-03 15:23:45 -04:00
Sharif Elgamal 52b66b4b9a sleep longer because I have no idea 2020-07-29 16:30:56 -07:00
Sharif Elgamal 3730a4cca8 move sleep around 2020-07-29 10:54:02 -07:00
Sharif Elgamal 916b795d42 add verbosity to restart multinode test too 2020-07-28 15:51:04 -07:00
Sharif Elgamal 174f90152f add more verbosity 2020-07-28 14:42:08 -07:00
Sharif Elgamal de35861f8b add verbosity to multinode start test 2020-07-28 13:06:23 -07:00
Medya Gh 528519d658 fix test arg 2020-07-27 19:35:19 -07:00
Medya Gh 1e41de57bd fix gopogh 2020-07-27 19:00:51 -07:00
Sharif Elgamal b602ae44bd check kubectl for multinode test 2020-07-27 17:39:32 -07:00
Medya Gh 650d7f3dee start args 2020-07-27 15:59:56 -07:00
Thomas Stromberg 6fa0bd9de6 Skip irrelevent upgrade-tests when --base-image is passed 2020-07-27 13:46:02 -07:00
Medya Gh 47ed4bc23c update lint version 2020-07-24 14:45:15 -07:00
Medya Ghazizadeh 8f404164d0
Merge pull request #8745 from littleroad/error_detect
Add error handling for os.RemoveAll
2020-07-24 14:38:10 -07:00
Medya Ghazizadeh a53f0ffb75
Merge pull request #8779 from priyawadhwa/skaffold
Add integration test to test against latest skaffold release
2020-07-24 12:56:37 -07:00
Thomas Stromberg 760092e9b7 Add boilerplate 2020-07-24 07:11:03 -07:00
Thomas Stromberg 51aea805f9 Make stress test more general 2020-07-23 20:34:06 -07:00
Thomas Stromberg 0b74892b2c Make stress test more general 2020-07-23 15:00:25 -07:00
Thomas Stromberg 6d2ba5b00e Merge branch 'master' into docker-stress-test 2020-07-23 14:45:52 -07:00
Thomas Stromberg 95e9fdc78b Make stress test more general 2020-07-23 14:45:29 -07:00
Thomas Stromberg 8df8e59f7c Make stress test more general 2020-07-23 14:45:24 -07:00
Thomas Stromberg 01a026370c Update 2020-07-23 14:06:46 -07:00
Thomas Stromberg b6eee6bdf8 Add Docker stress test 2020-07-23 13:44:30 -07:00
Medya Ghazizadeh 993504e054
Merge pull request #8800 from priyawadhwa/improve-json
Improve json integration test
2020-07-23 10:23:36 -07:00
Medya Ghazizadeh f9bac2a0aa
Merge pull request #8744 from tstromberg/noisy-spam
TestErrorSpam: Add overlayfs/docker perf issue to stderrAllow
2020-07-23 10:03:01 -07:00
Priya Wadhwa ff899f9e5a improve error message 2020-07-23 00:12:46 -04:00
Priya Wadhwa 22226ffc8f fixed merge conflict 2020-07-22 18:46:57 -04:00
Priya Wadhwa 8cfcea6eb6 fix test skaffold 2020-07-22 17:22:17 -04:00
Priya Wadhwa d5b31d13e6 add current minikube binary to beginning of the path 2020-07-22 16:08:31 -04:00
Priya Wadhwa d4a33b3f98 don't run test on None; make sure docker/minikube are on PATH before running skaffold 2020-07-22 15:17:51 -04:00
Priya Wadhwa efe1ce278a Add docs 2020-07-22 14:20:41 -04:00
Priya Wadhwa 6ee3954336 Add extra validation to json output test 2020-07-22 12:52:15 -04:00
Priya Wadhwa eb95f29361 Add validation for distinct current steps to json output test 2020-07-22 12:45:13 -04:00
Thomas Stromberg b18aa2a57c Apply stderrAllowRe to non-error log statements 2020-07-21 15:47:22 -07:00
Thomas Stromberg 935ea862c6 Merge branch 'master' into noisy-spam 2020-07-21 15:43:22 -07:00
Priya Wadhwa 6a33c03df2 fix unit test 2020-07-21 18:23:22 -04:00
Priya Wadhwa 8bc875d520 Rebased on master; fixed json_output integration test 2020-07-21 18:20:02 -04:00
Priya Wadhwa 5c09250429 Add integration test for error 2020-07-21 17:13:59 -04:00
Priya Wadhwa 1d48d43605 make sure minikube binary is available on PATH for skaffold binary to call 2020-07-21 14:09:43 -04:00
Priya Wadhwa 0941f0f65c update profile name to be 'minikube' 2020-07-20 17:43:31 -04:00
Priya Wadhwa c14e024fa5 Add push:false to skaffold.yaml
Since skaffold only knows you are running a local cluster if that cluster's profile name is 'minikube'
2020-07-20 17:26:55 -04:00
Priya Wadhwa aa51f179bb Add integration test to test against latest skaffold release
This PR:

1. Adds an integration test to test minikube against the latest skaffold release
1. Adds in a sample skaffold app from the skaffold repo to test
1. Adds this test to the addons_certs_docker_ubuntu Github Actions test
2020-07-20 16:45:49 -04:00
Thomas Stromberg 4f22ec9e3c Remove TestMissingContainerUpgrade merge conflict 2020-07-17 11:10:29 -07:00
Thomas Stromberg 9546b1ebc6 Merge branch 'master' into kic-image-upgrade 2020-07-17 09:56:42 -07:00
Thomas Strömberg 46a4377498
Merge pull request #8738 from tstromberg/kic-image-upgrade2
Add KicBaseImage to existing config if missing (fixes v1.9.x upgrade)
2020-07-17 09:56:27 -07:00
Lu Fengqi c219b60b05 Add error handling for os.RemoveAll
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
2020-07-17 15:44:04 +08:00
Thomas Stromberg f29c31502d Add overlayfs/docker perf issue to stderrAllow 2020-07-16 23:06:30 -07:00
Thomas Stromberg d5631ca84c version upgrade test: replace --driver with --vm-driver 2020-07-16 23:03:16 -07:00
Thomas Strömberg efa7f615d7
Merge pull request #8571 from tstromberg/calico
Add support for Calico CNI (--cni=calico)
2020-07-16 21:12:08 -07:00
Thomas Stromberg a14e48a9b7 Rename TestMissingUpgrade to TestMissingContainerUpgrade 2020-07-16 20:19:01 -07:00
Thomas Stromberg a8f2b6e2e2 Improve failure message for TestMissingContainerUpgrade 2020-07-16 20:18:34 -07:00
Thomas Stromberg 0f12f109e4 Add stop/state checks back to TestKubernetesUpgrade 2020-07-16 20:16:29 -07:00
Thomas Stromberg 1d15ddbb74 Wait longer for DNS and etcd to come to an agreement 2020-07-16 19:57:14 -07:00
Thomas Stromberg 94e866affc Merge to master 2020-07-16 19:53:43 -07:00
Thomas Stromberg 5a6a2bca17 Rename binary upgrade prefixes 2020-07-16 19:50:11 -07:00
Thomas Stromberg 89b8a6e545 Separate legacy integration tests, test more cases 2020-07-16 19:37:52 -07:00
Thomas Strömberg bb2fb3ad97
Merge pull request #8573 from tstromberg/cilium
Add support for Cilium CNI (--cni=cilium)
2020-07-16 19:34:44 -07:00
Thomas Stromberg 0bca9bb84e Fix v1.9.x upgrade by populating missing KicBaseImage configuration 2020-07-16 17:37:26 -07:00
Thomas Stromberg ccd3682116 Refactor upgrade tests 2020-07-16 17:34:46 -07:00
Thomas Stromberg fcc15fa353 Merge to master 2020-07-15 21:04:33 -07:00
Thomas Stromberg 14b4a54ba2 Merge to master 2020-07-15 21:03:49 -07:00
Sharif Elgamal b7445a7483 fix lint 2020-07-15 15:14:12 -07:00
Sharif Elgamal 58c501c322 sleeping for 30 seconds works for some reason? 2020-07-15 15:02:54 -07:00
Sharif Elgamal 9f2f604b93 several fixes 2020-07-13 18:54:40 -07:00
Sharif Elgamal bd721de0cf Merge branch 'master' of github.com:kubernetes/minikube into master 2020-07-13 15:00:38 -07:00
Sharif Elgamal ad9e71dcd1 fix up multinode test 2020-07-13 14:56:35 -07:00
Sharif Elgamal 970d954620 add wait to multinode restart test 2020-07-13 10:32:46 -07:00
Priya Wadhwa 3a290606db Merge branch 'master' of https://github.com/kubernetes/minikube into json-output 2020-07-10 19:12:50 -04:00
Sharif Elgamal aa4f7b3b21 update control plane properly on multinode restart 2020-07-10 15:40:21 -07:00
Thomas Stromberg 0b3e2ae79b none CNI: error if portmap plug-in is required but unavailable. Make testable 2020-07-08 14:30:48 -07:00
Priya Wadhwa 6f5fc02b8c Remove distinct steps test until all of JSON output has been implemented 2020-07-08 10:52:57 -04:00
Priya Wadhwa 776e6c4ab3 Skip none and docker driver for now, as we haven't added support for Wanrings yet 2020-07-07 17:16:56 -04:00
Priya Wadhwa 6367f71867 Make sure each step is unique 2020-07-07 15:39:47 -04:00
Priya Wadhwa 8444fb3e3b Add integratio test to check for cloud events compatability 2020-07-07 13:09:04 -04:00
Medya Gh 4fff1a22d0 skip cni test for none driver 2020-06-29 22:06:33 -07:00
Thomas Stromberg ffcb14a6b2 Add support for Cilium CNI (--cni=cilium) 2020-06-26 11:55:30 -07:00
Thomas Stromberg f901e638f2 Add support for Calico CNI (--cni=calico) 2020-06-26 11:21:15 -07:00
Thomas Stromberg 13175944b3 cni testing: Add post-mortem logs, skip DNS tests for weave 2020-06-26 09:54:38 -07:00
Thomas Stromberg 2249d36dc8 Skip flannel if Docker, weave hairpin 2020-06-24 09:18:34 -07:00
Thomas Stromberg 65b63a6e67 Make test timeouts extremely pessimistic 2020-06-23 20:12:19 -07:00
Thomas Stromberg 9e95435e00 Add --cni flag, fix --network-plugin=kubenet 2020-06-23 20:10:25 -07:00
Thomas Stromberg 25001d7715 Add _test.go suffix everywhere to avoid symbol resolution issues 2020-06-23 10:05:29 -07:00
Thomas Stromberg c5f59b1ede Make the calculation easier to understand 2020-06-23 09:51:08 -07:00
Thomas Stromberg 3659fd5203 Use 0.6 CPU count by default 2020-06-23 09:30:24 -07:00
Thomas Stromberg 0fd4f17c0a Automatically limit integration test parallelism 2020-06-23 09:12:00 -07:00
Medya Gh 6c50eac48f add delete test to cache test 2020-06-22 13:29:41 -07:00
Medya Gh 652446b8de fix err spam skip logic 2020-06-16 17:26:27 -07:00
Medya Gh 9ac705d32f skip olm addon 2020-06-12 11:37:48 -07:00
Thomas Strömberg db116c2689
Merge pull request #8428 from tstromberg/minikube-blacklist
Replace whitelist/blacklist with allow/deny
2020-06-11 07:18:02 -07:00
Medya Gh ab9349af1f revert unrelated changes 2020-06-10 14:55:35 -07:00
Medya Gh 151aff9d01
memory functional test 3600 2020-06-09 21:06:47 -07:00
Medya Gh 7f47904c49
bump 4000 2020-06-09 20:32:23 -07:00
Medya Gh 5126210d2b bump functional test memory 2020-06-09 19:53:23 -07:00
Medya Gh b1412d5319 move component health to serial 2020-06-09 19:27:47 -07:00
Medya Gh 5249b6bfc2 goimport 2020-06-09 19:01:50 -07:00
Medya Gh 66d8c671ba skip tests 2020-06-09 18:56:02 -07:00
Medya Gh 08f91d4d2d revert unrelated changes 2020-06-09 18:20:39 -07:00
Medya Gh 2cc0563503 break down the docker-env test 2020-06-09 17:53:44 -07:00
Medya Gh 3263953811 break down docker-env test 2020-06-09 17:45:45 -07:00
Medya Gh e94db2c226 revert unrelated changes 2020-06-09 17:24:46 -07:00
Medya Gh 6c07e70f96 windows dont skip 2020-06-09 16:51:41 -07:00
Medya Gh 33d5dc61ff increase functioanl test memeory 2020-06-09 15:28:50 -07:00
Thomas Stromberg a60c7d3d1d Replace whitelist/blacklist withallow/deny 2020-06-09 13:19:18 -07:00
Medya Gh b4cf6251a4
skip external ip test for hyperv 2020-06-04 23:08:43 -07:00
Medya Gh 2d804f3b91
windows literal 2020-06-04 22:47:08 -07:00
Medya Gh cba331b908
add sub test for external ip 2020-06-04 22:26:36 -07:00
Medya Gh 00e256430b
remove docker desktop's kubectl 2020-06-04 22:04:03 -07:00
Medya Gh 18dd39e5ee
use minikube inner kubectl 2020-06-04 21:53:23 -07:00
Medya Gh 6542c1fcc3
tune time 2020-06-04 21:30:49 -07:00
Medya Gh 4e74893f44
log error 2020-06-04 21:12:47 -07:00
Medya Gh 11aff1c2c8
validate mininum number of passed tests 2020-06-04 20:50:16 -07:00
Medya Gh dbc749160f
remove unrelated changes 2020-06-04 19:30:43 -07:00
Medya Gh 908afb88ba
revert unrelated changes 2020-06-04 19:27:12 -07:00
Medya Gh 1b8fe78ef2 skip mysql test hyperv 2020-06-04 16:35:25 -07:00
Medya Gh ba14ad2916 skip tunnel test hyperv 2020-06-04 16:11:47 -07:00
Medya Gh 8ff7efd879 skip tunnell 2020-06-04 16:10:30 -07:00
Medya Gh 44dbe44f00 skip svc test 2020-06-04 16:07:05 -07:00
Medya Gh 6b29b784f2 address review comments 2020-06-04 11:39:28 -07:00
Medya Gh 9e004d6417 add hwlper to integraiotn test too 2020-06-04 10:37:39 -07:00
Medya Gh bc8c3faf86 add docker hub fall back image 2020-05-29 11:55:21 -07:00
Sharif Elgamal 94c6401952 exit out of the soft start test if we can't find old config 2020-05-28 14:42:00 -07:00
Medya Gh 0a1c1d8597 log test name 2020-05-28 13:13:22 -07:00
Medya Gh b44510c835 skip two always failing test on windows and create issue 2020-05-28 10:57:41 -07:00
Sharif Elgamal 4f0613929f
Merge pull request #7973 from sharifelgamal/restart
Make sure multinode clusters can survive restarts
2020-05-27 17:41:57 -07:00
Sharif Elgamal 12c1d7e249 actually trim 2020-05-27 16:56:54 -07:00
Sharif Elgamal e2ec890c7d Merge branch 'master' of github.com:kubernetes/minikube into native-ssh 2020-05-27 16:55:55 -07:00
Sharif Elgamal ee764c8df4 add comment 2020-05-27 16:54:03 -07:00
Medya Ghazizadeh c77959a0e7
Merge pull request #8265 from medyagh/docker-env-windows
integration tests: fix docker-env test in powershell
2020-05-27 23:51:28 +00:00
Medya Gh c861d4a280 address review 2020-05-27 16:50:37 -07:00
Medya Gh 30a714ad2f address review comment 2020-05-27 16:47:52 -07:00
Medya Gh 9fd88800b9 revert code 2020-05-27 15:59:34 -07:00
Medya Gh 7aa96307e1 remove unneeded code 2020-05-27 15:57:26 -07:00
Sharif Elgamal 96f34ea063 fix tests 2020-05-27 15:54:07 -07:00
Medya Gh 27250f8bbe lint 2020-05-27 15:46:49 -07:00
Medya Gh 76f9a71a18 address review comments 2020-05-27 15:40:43 -07:00
Sharif Elgamal 94ce379443 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-27 15:39:13 -07:00
Medya Gh 70e5b52511 address review comments 2020-05-27 13:56:16 -07:00
Medya Gh f1ab31b61b address review comments 2020-05-27 13:45:27 -07:00
Medya Gh 666f780a31 skip none for olm addon 2020-05-27 12:51:10 -07:00
Medya Gh 331a416754 remove unrelated changes 2020-05-27 12:28:35 -07:00
Medya Gh e935662fcd remove unrelated changes 2020-05-27 12:26:14 -07:00
Medya Gh c7135e0af9 remove unrelated changes 2020-05-27 12:25:10 -07:00
Sharif Elgamal cebba29832 comments 2020-05-27 10:47:31 -07:00
Sharif Elgamal 1945b5f7bb swap test order to make it work in github actions 2020-05-27 10:44:40 -07:00
Sharif Elgamal 606a307d14 skip restart test on github actions 2020-05-27 10:30:14 -07:00
Sharif Elgamal d0753347b5 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-27 09:58:22 -07:00
Sharif Elgamal b5167834d0 it works! and simpler 2020-05-27 09:58:03 -07:00
Medya Gh 1bc374ee63
try one more thing 2020-05-27 00:48:40 -07:00
Medya Gh bfbc39a89d
try sh 2020-05-27 00:23:43 -07:00
Medya Gh 12e911cc1c
try run true for powerhell 2020-05-26 23:52:55 -07:00
Medya Gh d8bbcc03f5
docker-env 2020-05-26 23:30:42 -07:00
Medya Gh bf5aefb61d
put non-interactive back 2020-05-26 23:08:47 -07:00
Medya Gh dd6ab66e19
fix 2020-05-26 22:47:13 -07:00
Medya Gh 83053359f6
fix build 2020-05-26 21:58:31 -07:00
Medya Gh a7bc03ccda
try pwd 2020-05-26 21:53:07 -07:00
Medya Gh 90af6b97a5
try one more time 2020-05-26 21:32:03 -07:00
Medya Gh 126b172ebd
try to skip all failed ones 2020-05-26 21:14:23 -07:00
Medya Gh a0cd034cfd
try with separate 2020-05-26 20:52:03 -07:00
Medya Gh 6370008b19
try without quot 2020-05-26 19:50:39 -07:00
Medya Gh a98bdd5d60
try without %-- 2020-05-26 18:38:14 -07:00
Medya Gh 4fa66132f2
fix all contexts 2020-05-26 18:21:40 -07:00
Medya Gh 88b6720249
log 2020-05-26 18:04:03 -07:00
Medya Gh 122fcf1d6f
revert unrelated changes 2020-05-26 18:03:37 -07:00
Medya Gh 2b37774587
missing comma 2020-05-26 17:25:27 -07:00
Medya Gh 1924599bbe
fix the test for none 2020-05-26 17:16:26 -07:00
Medya Gh f16ed7c650
pass env to run cnmd 2020-05-26 16:52:34 -07:00
Medya Ghazizadeh 1bfdc4b0d1
Merge pull request #8129 from blues-man/master
Addons: add OLM support
2020-05-26 23:26:20 +00:00
Medya Gh 56d11a907e
refactor 2020-05-26 15:31:34 -07:00
Medya Gh 7ab632a040
add qutation mark 2020-05-26 14:47:21 -07:00
Medya Gh a4d9a5bc05
try 2020-05-25 21:51:06 -07:00
Medya Gh fad43627ad
skipping more tests for now 2020-05-25 21:47:54 -07:00
Medya Gh e9e53745de
skipping for now 2020-05-25 21:11:52 -07:00
Medya Gh b773fb4a4b
skip mount test on windows 2020-05-25 21:03:44 -07:00
Medya Gh 8ef8cad40e
fix mount cmd powershell test 2020-05-25 20:16:56 -07:00
Medya Gh 978fceb63b
fix cache_reload test 2020-05-25 19:58:28 -07:00
Medya Gh 502c79be45
fix mount test for powershell 2020-05-25 19:53:41 -07:00
Medya Gh 7109ef5f5b
try again 2020-05-25 17:56:15 -07:00
Medya Gh 73150f9fdf
try all args in one string for powershell 2020-05-25 17:38:33 -07:00
Medya Gh 8a425f85db
try again 2020-05-25 17:33:54 -07:00
Medya Gh 65bc343990
try again 2020-05-25 16:58:50 -07:00
Medya Gh 7d78e01fb8
fix ssh test 2020-05-25 16:40:07 -07:00
Medya Gh 1881032044
fix ssh test 2020-05-25 16:30:04 -07:00
Medya Gh e2d4290800
functional test 2020-05-25 15:55:54 -07:00
Medya Gh 2cf49def09
lower the timeout 2020-05-24 15:20:58 -07:00
Medya Gh d4e4bbb170
add powershell to both commands 2020-05-24 14:55:38 -07:00
Medya Gh ed9950efc5
increase time for docker-env test 2020-05-24 04:52:22 -07:00
Medya Gh 7b81e8068f
add powershell run helper 2020-05-24 04:46:35 -07:00
Sharif Elgamal bde6624365 Merge branch 'postmortem' of github.com:sharifelgamal/minikube into restart 2020-05-21 14:54:21 -07:00
Sharif Elgamal 3fc412bcc2 fix status calls in tests 2020-05-21 14:44:47 -07:00
Sharif Elgamal 70c228c2c3 adding postmortem logs for worker nodes in integration tests 2020-05-21 14:29:33 -07:00
Sharif Elgamal a7c49e47c1 allow minikube status to display for one node 2020-05-21 12:46:13 -07:00
Natale Vinto c9227a080f Add integration test TestOlmAddon
Enable olm and install etcd operator checking successful installation
2020-05-21 12:45:08 +02:00
Sharif Elgamal c4122377c4 add postmortem logs 2020-05-20 18:53:49 -07:00
Sharif Elgamal 023b2dc911 fix test 2020-05-20 16:56:28 -07:00
Sharif Elgamal 95584eac43 skip start/stop on github actions 2020-05-20 16:08:44 -07:00
Sharif Elgamal db186ee7f9 Merge branch 'node-delete-vol' of github.com:sharifelgamal/minikube into restart 2020-05-20 15:30:56 -07:00
Sharif Elgamal 6cd09ffa2b fix test 2020-05-20 15:28:46 -07:00
Sharif Elgamal c3f959c4aa add test to make sure volume is gone 2020-05-20 15:23:46 -07:00
Sharif Elgamal faf11e2f05 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-18 11:55:07 -07:00
Sharif Elgamal 4cbeb18079 stuff 2020-05-15 15:33:03 -07:00
Sharif Elgamal 942821bf48 remove debugging 2020-05-15 15:25:45 -07:00
Sharif Elgamal c1c1d15b96 Merge branch 'create-node' of github.com:sharifelgamal/minikube into create-node 2020-05-15 15:25:20 -07:00
Sharif Elgamal 1cc7404e76 swap to bool 2020-05-15 15:24:33 -07:00
Sharif Elgamal 56898dcd90
override nodes config properly 2020-05-15 14:50:30 -07:00
Sharif Elgamal 6d6bad6217 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-15 13:59:35 -07:00
Sharif Elgamal 9c17c9214d respect kubernetes version passed into parameters even on existing cluster config 2020-05-15 13:11:42 -07:00
Sharif Elgamal 80ae2587a1 more debugging 2020-05-15 09:56:35 -07:00
Sharif Elgamal 9df04324a2 Merge branch 'master' of github.com:kubernetes/minikube into create-node 2020-05-15 09:16:31 -07:00
Sharif Elgamal 21a552942a fixes & debugging 2020-05-14 15:30:04 -07:00
Medya Ghazizadeh 63933c1b68
Merge pull request #8024 from medyagh/breakdown_start_stop
integration test: break-down TestStartStop to sub-tests
2020-05-14 19:58:39 +00:00
Sharif Elgamal a783d08c66 do not delete genereated certs for functional test 2020-05-13 14:38:00 -07:00
Medya Gh 8b630c2cbc pull upstream 2020-05-12 20:37:32 -07:00
Medya Gh 861c99be72 rename 2020-05-12 20:37:32 -07:00
Medya Gh 8948828fc1 dont deploy for cni ones 2020-05-12 20:37:32 -07:00
Medya Gh 7f7e35d7b5 remove extra line 2020-05-12 20:37:32 -07:00
Medya Gh 5055b5b29d lint 2020-05-12 20:37:32 -07:00
Medya Gh fa86c29cea more subtest 2020-05-12 20:37:32 -07:00
Medya Gh beaf6a17fb break down test strat stop to sub tests 2020-05-12 20:37:32 -07:00
Sharif Elgamal 335379dc59 it works 2020-05-11 19:25:53 -07:00
Medya Gh 5104ecabad add to test error white list 2020-05-11 12:38:05 -07:00
Sharif Elgamal d4639c52b9 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-11 11:52:22 -07:00
Thomas Stromberg f7f7ca7fcd Switch back to CleanupWithLogs, make more things fatal so that logs come sooner 2020-05-08 19:03:03 -07:00
Thomas Stromberg 625b316f98 Revert comment removal 2020-05-08 17:19:32 -07:00
Thomas Stromberg 28d0a465e6 Merge to master 2020-05-08 17:17:02 -07:00
Sharif Elgamal 6bb8371459 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-08 13:53:20 -07:00
Thomas Strömberg 4f194d21ba
Merge pull request #8041 from tstromberg/service-cmd-race
TestFunctional/parallel/ServiceCmd: Add logging
2020-05-08 13:32:04 -07:00
Thomas Stromberg 2868c7981b Run 'minikube logs' when sub-tests fail, remove some extraneous logging 2020-05-08 13:12:30 -07:00
Medya Ghazizadeh 34e833511b
Merge pull request #8027 from tstromberg/quiet-ssh2
virtualbox: Quiet initial ssh timeout warning
2020-05-08 00:00:39 +00:00
Thomas Stromberg 03059f135b Make ServiceCmd easier to debug 2020-05-07 16:44:42 -07:00
Sharif Elgamal 5e981137a4 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-07 16:13:25 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Thomas Stromberg 68cd6f96db Merge branch 'master' into quiet-ssh2 2020-05-07 11:30:31 -07:00
Medya Ghazizadeh 269b938945
Merge pull request #8022 from tstromberg/better-restart
restart: validate configs with new hostname, add logging
2020-05-07 18:12:52 +00:00
Thomas Strömberg 9d322942f8
Merge pull request #7997 from aledbf/ingress
Update ingress-nginx addon
2020-05-07 10:08:48 -07:00
Thomas Stromberg 32e4e64bc4 Quiet initial ssh timeout message 2020-05-06 17:58:21 -07:00
Sharif Elgamal 65c5d5725a Merge branch 'better-restart' of github.com:tstromberg/minikube into restart 2020-05-06 17:14:58 -07:00
Thomas Stromberg c66e38f469 Update SecondStartNoReset name 2020-05-06 15:40:42 -07:00
Thomas Stromberg 7de8ae3f54 Log existing configuration files, fix validateStartNoReset test 2020-05-06 15:25:27 -07:00
Medya Ghazizadeh f3d5c576e4
Merge pull request #7956 from govargo/split-integration-tunnelcmd
TestFunctional/parallel/TunnelCmd into serial subtest
2020-05-06 03:49:31 +00:00
Manuel Alejandro de Brito Fontes c3a529f7ea Update ingress-nginx addon 2020-05-05 15:36:03 -04:00
Priya Wadhwa ec74a37e9c Add env variable to configure force-systemd
Also add an integration test for the env variable
2020-05-05 12:10:03 -07:00
Kenta Iso 884f0e2c15 Change TestFunctional/parallel/TunnelCmd into serial subtests 2020-05-05 22:39:09 +09:00
Sharif Elgamal 2ec26658a6 check kubelet status explicitly 2020-05-04 15:58:01 -07:00
Sharif Elgamal e3b7476f32 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-04 15:57:13 -07:00
Thomas Stromberg e467d6dd18 Merge branch 'master' into clearer-ingress 2020-05-04 15:32:09 -07:00
Thomas Stromberg 247a61c45f validateIngressAddon: cleanup output, particularly stderr warnings 2020-05-04 15:31:49 -07:00
Sharif Elgamal bd2c4d8f6c Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-04 14:49:51 -07:00
Medya Gh 4fcd30dd43 add defer 2020-05-04 14:23:42 -07:00
Medya Gh d2a9180edc dont return 2020-05-04 14:19:43 -07:00
Medya Gh d776a22851 add --details 2020-05-04 14:18:13 -07:00
Medya Gh 03540c247e add docker logs to postmortem 2020-05-04 14:15:50 -07:00
Thomas Stromberg 6c24b4351b error spam: add raw stdout/stderr if failed 2020-05-04 12:51:54 -07:00
Sharif Elgamal 258be2cbde re-enable skipped multi node test 2020-05-04 10:43:01 -07:00
Kenta Iso 65b2db2aab add debug for DNS 2020-05-05 02:13:31 +09:00
Kenta Iso 97ca925a8a Use validateStartWithProxy to avoid network access failure 2020-05-03 22:36:35 +09:00
Kenta Iso 2f052eb34a Use kube-dns resolver for http.Client DNS forwarding test 2020-05-03 22:36:35 +09:00
Kenta Iso c5393b02d4 add debug for access direct failure & delete unneccesarry debug 2020-05-03 22:36:35 +09:00
Kenta Iso 3afa4c1428 Serial test for tunnel cmd: moved from TestFunctional 2020-05-03 22:36:35 +09:00
Kenta Iso 035decf6ab Add Test.2-2 DNS resolution by dscacheutil for TestFunctional/parallel/TunnelCmd 2020-05-03 22:36:35 +09:00
Kenta Iso b049bcd403 fix lint 2020-05-03 22:36:35 +09:00
Kenta Iso 7c176be582 Debug DNS configuration for #7809 2020-05-03 22:36:35 +09:00
Kenta Iso 3a72db70b2 Add DNS resolution test for TestFunctional/parallel/TunnelCmd 2020-05-03 22:36:35 +09:00
Kenta Iso cccf150df5 delete debug information for #7809 2020-05-03 22:36:35 +09:00
Thomas Stromberg 6b899a5f8e Merge branch 'master' into int-memory-limits 2020-04-30 11:23:45 -07:00
Thomas Strömberg c65225d2e6
Merge pull request #7896 from tstromberg/download-tests-suck
download: unify handling, refuse while under test
2020-04-30 11:21:32 -07:00
Thomas Stromberg 0ad2b2581c Less verbosity for start_stop 2020-04-29 12:33:47 -07:00
Thomas Stromberg ae39950d7d Fix memory argument 2020-04-29 12:33:26 -07:00
Thomas Stromberg 18563aaf63 Add example 2020-04-29 12:20:27 -07:00
Thomas Stromberg 0eb0648e43 Allow temporary ssh failure through 2020-04-29 11:29:13 -07:00
Thomas Stromberg c63e3162d4 Add memory limits to remaining integration test clusters 2020-04-29 11:17:33 -07:00
Thomas Stromberg 3bcfebf8c9 Don't block on sudo during integration test 2020-04-29 09:46:45 -07:00
Sharif Elgamal 90cd6c36fb don't run multinode tests in parallel 2020-04-28 17:58:12 -07:00
Sharif Elgamal dc0ceeef2c debugging for multinode test 2020-04-28 17:06:24 -07:00
Priya Wadhwa dc14146f8d resolve merge conflict 2020-04-23 14:53:28 -07:00
Thomas Strömberg 6bed90c42f
Merge pull request #7872 from kubernetes/hush-puppies-34
Skip CacheAndLoadImages if no images are specified, silence status errors
2020-04-23 14:35:02 -07:00
Thomas Stromberg a37b8f0a82 TestServiceCmd: use echoserver image instead of hello-node 2020-04-23 12:45:07 -07:00
Thomas Stromberg 5af5098ed6 Silence cache_images state errors 2020-04-23 12:40:04 -07:00
Priya Wadhwa 56fa90fd87 Add integration test 2020-04-22 14:19:26 -07:00
Sharif Elgamal ab548abeb3 Merge branch 'master' of github.com:kubernetes/minikube into multitest 2020-04-21 11:32:27 -07:00
Kenta Iso 4604fa17a7 fix log message and add debug info for flake func 2020-04-21 22:09:17 +09:00
Sharif Elgamal 2b5244a175 Merge branch 'master' of github.com:kubernetes/minikube into multitest 2020-04-21 00:19:14 -07:00
Medya Gh 3d8a391338
lint 2020-04-20 20:53:12 -07:00
Medya Gh 4afc41c722
lint 2020-04-20 20:50:04 -07:00
Medya Gh b639c6112d
fix delete and add integeration test 2020-04-20 20:38:31 -07:00
Sharif Elgamal c81e24ea9f tests pass :) 2020-04-20 16:59:10 -07:00
Sharif Elgamal 7de758d515 add more detailed multinode tests 2020-04-20 15:01:21 -07:00
Medya Gh bc36eb2de9
add todo comment 2020-04-19 21:13:46 -07:00
Medya Ghazizadeh a8c9e7a3cb
Merge pull request #7779 from prasadkatti/doc/integration_testing
Consolidate integration testing guide on the website
2020-04-19 16:19:07 -07:00
Prasad Katti dc526455f0 Move integration testing doc from the readme.md to the website 2020-04-18 20:29:40 -07:00
Medya Gh d7adbe20f4
add more docker tests to github actions 2020-04-18 17:35:56 -07:00
Medya Gh 24dd9861e0
change loglevel for freezer 2020-04-18 14:37:58 -07:00
Kenta Iso d54c6cb45c change t.Errof to t.Logf to avoid docker_ubuntu_16_04 github action fail 2020-04-19 02:30:38 +09:00
Kenta Iso eb0e113e6e Add log for ServiceCmd to make this flake result obvious 2020-04-18 21:34:51 +09:00
Thomas Strömberg e37c705317
Merge pull request #7544 from prasadkatti/certopts_tests
Update TestCertOptions
2020-04-17 20:25:16 -07:00
Medya Ghazizadeh 3276ed4387
Merge pull request #7753 from tstromberg/dns-permissions
tunnel: Fix resolver file permissions, add DNS forwarding test
2020-04-17 19:56:20 -07:00
Sharif Elgamal f8c1f05e9a Merge branch 'master' of github.com:kubernetes/minikube into multi-vm 2020-04-17 15:32:50 -07:00
Sharif Elgamal a06f25b526 update comment 2020-04-17 13:42:46 -07:00
Priya Wadhwa e3b6ba06e1 fix lint 2020-04-17 11:59:27 -07:00
Priya Wadhwa 3d05a43c8b Upgrade oldest supported k8s version to v1.12.0 2020-04-17 11:58:09 -07:00
Thomas Stromberg e7f08ee7a6 Add DNS forwarding to tunnel integration tests, make it work on macOS 2020-04-17 11:44:32 -07:00
Priya Wadhwa 156558c236 Merge branch 'master' of https://github.com/kubernetes/minikube into flake 2020-04-17 11:17:24 -07:00
Medya Ghazizadeh 24606b9a5f
Merge pull request #7732 from tstromberg/hush-docker
TestErrorSpam: Whitelist docker performance suggestion
2020-04-17 02:11:24 -07:00
Sharif Elgamal 0f48e6b6c6 change time format for test profiles 2020-04-16 21:47:35 -07:00
Thomas Stromberg b238f539b5 Add regexp import 2020-04-16 17:42:37 -07:00
Thomas Stromberg f03bfa5390 Whitelist docker performance suggestion 2020-04-16 17:40:57 -07:00
Sharif Elgamal 97a863547a lint 2020-04-16 16:01:21 -07:00
Sharif Elgamal 3e2dfba77a fix multinode test 2020-04-16 15:50:14 -07:00
Sharif Elgamal 29cba3b273 move multinode test to its own file for now 2020-04-16 15:41:45 -07:00
Priya Wadhwa 9319a6a3a2 Move preload tests into preload_test.go for better organization 2020-04-16 12:30:41 -07:00
Priya Wadhwa c722f3b001 reintroduce memory flag 2020-04-16 12:03:00 -07:00
Medya Gh 8deaf69845 wait all 2020-04-16 11:51:09 -07:00
Medya Gh ede79038ba wait true 2020-04-16 11:50:57 -07:00
Priya Wadhwa d0c2b642ab remove mem requirement 2020-04-16 11:39:46 -07:00
Priya Wadhwa 0e3950dff0 Change name of preload test for easier local testing 2020-04-16 11:28:26 -07:00
Medya Gh 528346e26d add test for second start no reset 2020-04-16 11:22:00 -07:00
Sharif Elgamal 2ca3ceadb9 ok that was too verbose 2020-04-16 10:59:39 -07:00
Sharif Elgamal ac792e2bd2 debugging 2020-04-16 10:07:17 -07:00
Sharif Elgamal 278ccaa7e3 small changes to test 2020-04-16 10:03:11 -07:00
Sharif Elgamal 0e221450f9 generate join token on control plane 2020-04-15 17:00:08 -07:00
Medya Gh 1c125e78da address review comments 2020-04-15 10:17:23 -07:00
Medya Gh 36bfdeab7b fix pause start test 2020-04-14 22:55:20 -07:00
Medya Gh 2447837faf dedicate a gitub slave to test pause 2020-04-14 22:43:26 -07:00
Medya Gh d4b48e1e05 clean up after test dirs 2020-04-14 19:33:26 -07:00
Medya Gh 4d4874e7c3 make unique profile name hostname friendly 2020-04-13 16:23:46 -07:00
Medya Gh a5e078074a shorten 2020-04-13 16:13:53 -07:00
Thomas Strömberg a1d8634f6e
Merge pull request #7590 from kubernetes/cert-investigation
cert test flakiness: make write atomic, add log msgs
2020-04-10 14:32:56 -07:00
Thomas Strömberg ab0602915a
Merge pull request #7417 from tstromberg/no-errors-test
Add test for unexpected stderr or errors
2020-04-10 14:32:03 -07:00
Thomas Stromberg 7b8b6b027c cert test flakiness: make write atomic, add log msgs 2020-04-10 08:32:41 -07:00
Medya Gh 10f924df4a increase dashboard more 2020-04-10 03:58:22 -07:00
Medya Gh 204e469eeb increase time out for dashboard 2020-04-10 03:10:06 -07:00
Prasad Katti 492211ffef Update TestCertOptions
Actually verify that the `--apiserver-ips`, `--apiserver-names` and `--apiserver-port` has the desired effect.
2020-04-09 23:02:00 -07:00
Medya Gh de5121c951 use sudo for du 2020-04-09 22:40:23 -07:00
Thomas Strömberg 7fd834e62b
Merge pull request #7523 from tstromberg/int-logs
integration tests: post-mortem disk usage and pod describe
2020-04-09 06:11:23 -07:00
Thomas Stromberg 8733f07e44 Higher vis 2020-04-09 05:21:05 -07:00
Thomas Stromberg 4d24e651a4 Remove field selector 2020-04-09 05:17:28 -07:00
Thomas Stromberg d89142f1e7 Rename test 2020-04-09 05:00:42 -07:00
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