Commit Graph

1505 Commits (9c0917d983b206d43a15d83ad759f01c33ee90d9)

Author SHA1 Message Date
Ilya Zuyev e064fc60de fix formatting 2021-02-12 16:17:43 -08:00
Ilya Zuyev 19b1d82255 Fix the test 2021-02-12 16:16:22 -08:00
Ilya Zuyev 64201731e0 Run goimports 2021-02-12 16:11:30 -08:00
Ilya Zuyev cd0f31caea Add copyright header 2021-02-12 15:56:37 -08:00
Ilya Zuyev 4001c0a267 Fix TestErrorJSONOutput test 2021-02-12 15:07:11 -08:00
Ilya Zuyev 8a651ba6bd Add .deb installation tests 2021-02-12 15:01:53 -08:00
Predrag Rogic ec97f1db4b
fix integration.validateExtraConfig test adding --wait=all 2021-02-12 02:13:06 +00:00
Predrag Rogic 3c7d2e0351
fix WaitForPod by waiting for component Ready instead of pod Running status 2021-02-12 00:46:44 +00:00
Priya Wadhwa 5fc0b5ecb8 skip LoadImage test on darwin/github actions as it requires a running docker daemon 2021-02-11 10:32:04 -08:00
Medya Ghazizadeh a3609d3778
Merge pull request #10380 from daehyeok/profile_list_light
Add -l/--light option for profile list command.
2021-02-10 17:04:39 -08:00
Sharif Elgamal adf6f91ee3 Merge branch 'master' of github.com:kubernetes/minikube into ingress-none 2021-02-10 11:42:21 -08:00
priyawadhwa 859ec2a44b
Merge pull request #10428 from priyawadhwa/auto-network-plugin
Fix TestNetworkPlugins/group/auto/KubeletFlags on containerd/crio
2021-02-10 10:36:24 -08:00
Daehyeok Mun f457bde02d Add -l/--light option for profile list command.
If option is true, Doens't try to get profiles from container and read
current status.
2021-02-09 16:06:09 -08:00
priyawadhwa 51ec098b05
Merge pull request #10366 from priyawadhwa/mk-image-load
Implement minikube image load command
2021-02-09 14:42:31 -08:00
Priya Wadhwa 840b3a2bf0 Fix cyclomatic complexity lint error 2021-02-09 14:20:25 -08:00
Priya Wadhwa 5364222fc8 We set the network plugin to cni with containerd runtime 2021-02-09 14:13:32 -08:00
Priya Wadhwa 74161d674b Fix TestPreload on containerd 2021-02-09 11:20:21 -08:00
Priya Wadhwa 53887f407c skip load image on none driver 2021-02-08 10:30:17 -08:00
Priya Wadhwa 97c58bf839 Fix test 2021-02-05 15:29:43 -08:00
Priya Wadhwa 9a9c160b3f Move load test into functional test 2021-02-05 14:28:25 -08:00
Priya Wadhwa 0061d72be6 Merge branch 'master' of https://github.com/kubernetes/minikube into mk-image-load 2021-02-05 10:24:23 -08:00
Priya Wadhwa d257ff2a94 remove debugging comments 2021-02-04 16:22:27 -08:00
Priya Wadhwa f365fcc692 Add integration test to ensure works correctly 2021-02-04 16:21:40 -08:00
Medya Ghazizadeh ce8a7e8014
Merge pull request #9996 from daehyeok/profile_list_error
Fix profile list when there are multi node clusters
2021-02-02 15:18:31 -08:00
Medya Ghazizadeh d97418828d
Merge pull request #10119 from daehyeok/profile_name
Don't allow profile names that conflict with a multi-node name
2021-02-02 15:12:57 -08:00
priyawadhwa 946d5f5de4
Merge pull request #10271 from priyawadhwa/containerd-pause-tests
Turn on TestPause for containerd
2021-02-01 11:28:22 -08:00
Medya Ghazizadeh 91c604131c
Merge pull request #10279 from azhao155/yzhao/fix/healthFlakinessTests
wip:test: make componentHealth test not parallel
2021-02-01 10:32:08 -08:00
Priya Wadhwa 1d6a1d44b2 Half pause test time 2021-01-31 22:18:18 -08:00
Priya Wadhwa fa9b3dc9b6 Switch back to 30m 2021-01-29 16:16:27 -08:00
Priya Wadhwa 590376760e Add timeouts to cleaning up 2021-01-29 15:10:40 -08:00
Priya Wadhwa 49210bd8b5 Revert timings back to how they are at HEAD 2021-01-29 15:07:03 -08:00
Priya Wadhwa 8b858290e0 Add timeout to cleaning up tests 2021-01-29 13:52:05 -08:00
Yanshu Zhao 6fdffc860c Move componentHealth test to sequential 2021-01-29 21:03:02 +00:00
Sharif Elgamal b5f35cc18a Merge branch 'master' of github.com:kubernetes/minikube into stress 2021-01-29 12:10:21 -08:00
Sharif Elgamal 170294e132 general cleanup 2021-01-29 12:10:05 -08:00
Yanshu Zhao dbb7857e76 Commit all tests but one 2021-01-29 18:44:53 +00:00
Yanshu Zhao c74250b471 Commentout dashboard 2021-01-29 18:22:56 +00:00
Yanshu Zhao 76d2d4d41d Remove mysql to see if fix the issue 2021-01-29 17:45:47 +00:00
Yanshu Zhao 7f5ee030b7 Change back 2021-01-29 16:15:45 +00:00
Yanshu Zhao 78e5b4d03b change memory limit 2021-01-29 15:52:21 +00:00
Yanshu Zhao d27313d50c Add cpu limit 2021-01-29 15:35:44 +00:00
Daehyeok Mun 5ddaf5f545 Remove cluster's subnode from ListProfiles result.
Fix prolbem which ListProfiles return subnodes in Mult-Node clusters as
a part of inValidPs.
2021-01-28 14:43:55 -08:00
Daehyeok Mun a00d632930 Check profile, node name to prevent duplication
Check profile and node name before add to prevent conflict with
machine name on multinode cluster.
2021-01-28 14:42:40 -08:00
Yanshu Zhao 7348b89d39 Add memory config 2021-01-28 07:28:11 +00:00
Priya Wadhwa 10d5d0915f Increase timeout 2021-01-27 20:32:41 -08:00
Yanshu Zhao fa019d3448 Increase limit 2021-01-28 04:31:57 +00:00
Yanshu Zhao 1e5b138994 Increase memory 2021-01-27 22:39:15 +00:00
Priya Wadhwa 843ae89396 Add --wait-timeout to TestStartStop 2021-01-27 11:12:12 -08:00
Yanshu Zhao b4ee446e47 Add wait=true for the second start of minikube 2021-01-27 16:58:29 +00:00
Priya Wadhwa 77fa8ab397 reduce retry to 1 minute, when this test passes it takes <1s 2021-01-26 23:01:47 -08:00
Priya Wadhwa b1a6808b7a Reintroduce parallelization, add wait-timeout to start 2021-01-26 19:32:58 -08:00
Priya Wadhwa 1530eea959 Merge branch 'master' of https://github.com/kubernetes/minikube into containerd-pause-tests 2021-01-26 19:22:55 -08:00
Priya Wadhwa 3e59bf74ae don't run pause test in parallel 2021-01-26 17:39:56 -08:00
Priya Wadhwa 6d1c03c6aa Give less time to TestNetworkPlugins 2021-01-26 16:08:55 -08:00
Medya Ghazizadeh 597091d84b
Merge pull request #10106 from spowelljr/userFlag
Add new flag --user and to log executed commands
2021-01-26 15:44:58 -08:00
Priya Wadhwa 2f78eb7771 Docker_Linux_containerd is timing out when this test is run, give the test 10 minutes to run. It completes in under 5 on Docker_linux so this should be enough time 2021-01-26 14:26:56 -08:00
Priya Wadhwa 2f4117f696 Only run disable-driver-mounts test with virtualbox 2021-01-26 13:10:18 -08:00
Priya Wadhwa 574e81d9bb Turn on TestPause for containerd 2021-01-26 12:07:49 -08:00
priyawadhwa 9a3bac712a
Merge pull request #10261 from priyawadhwa/cni-on-containerd
Run CNI tests on containerd
2021-01-26 11:10:07 -08:00
Priya Wadhwa 48be26ba96 Run CNI tests on containerd 2021-01-25 14:51:35 -08:00
Sharif Elgamal afa9aafcd2 Merge branch 'master' of github.com:kubernetes/minikube into fix-download-test 2021-01-25 14:37:47 -08:00
Sharif Elgamal b694e0e627 shorten subtest names 2021-01-25 14:37:35 -08:00
priyawadhwa a4ee1e0791
Merge pull request #10232 from priyawadhwa/fix-json-output
Add JSON step for CNI to fix failing TestJSONOutput test
2021-01-25 13:42:44 -08:00
priyawadhwa 6e5a36f17a
Merge pull request #10193 from priyawadhwa/refactor-start-stop
Split up TestStartStop by container runtime
2021-01-25 12:38:59 -08:00
Sharif Elgamal e0143edad6 Merge branch 'master' of github.com:kubernetes/minikube into fix-download-test 2021-01-25 12:23:15 -08:00
priyawadhwa a3225d7dbf
Merge pull request #10230 from priyawadhwa/fix-test-functional
Fix TestFunctional subtests to run for all three runtimes
2021-01-25 12:19:33 -08:00
Priya Wadhwa ff72cb81b6 Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-start-stop 2021-01-25 11:18:32 -08:00
Priya Wadhwa 37dd783dd8 Fix position of Configuring CNI 2021-01-25 11:03:24 -08:00
Sharif Elgamal 3e7a72129f Merge branch 'master' of github.com:kubernetes/minikube into fix-download-test 2021-01-25 09:48:13 -08:00
Sharif Elgamal 04ed63c1eb
Merge pull request #10196 from priyawadhwa/refactor-test-offline
Only run TestOffline/TestDownloadOnly for specified container runtime
2021-01-25 09:35:17 -08:00
Medya Ghazizadeh 07ce06e523
Merge pull request #10235 from BLasan/issue-10185
Add resource requests & limits for mysql test
2021-01-25 09:23:26 -08:00
Sharif Elgamal e36f848902 Merge branch 'master' of github.com:kubernetes/minikube into fix-download-test 2021-01-25 09:23:03 -08:00
BLasan ba32668192 Add resource requests & limits for mysql test 2021-01-25 02:49:11 +05:30
Medya Ghazizadeh b1ccf54f83
Merge pull request #10227 from priyawadhwa/functional-docker-env
Only run integration tests that depend on docker-env with docker container runtime
2021-01-23 09:59:30 -08:00
Medya Ghazizadeh d4f8664dce
Merge pull request #10226 from priyawadhwa/test-docker-flags
Only run TestDockerFlags with docker container runtime
2021-01-23 09:56:20 -08:00
priyawadhwa 452d8db91e
Merge pull request #10225 from priyawadhwa/force-systemd-fix
Fix TestForceSystemdFlag tests on containerd
2021-01-22 16:49:07 -08:00
Priya Wadhwa 9bd1528dbe Add TODO 2021-01-22 15:56:21 -08:00
Priya Wadhwa 7b9ec8ad4d Fix TestFunctional/Logs for all runtimes 2021-01-22 15:48:02 -08:00
Priya Wadhwa 6eaf2fd9d1 fix cache reload to take container runtime into account 2021-01-22 15:30:26 -08:00
Medya Ghazizadeh 8d1c938baa
Merge pull request #10221 from jiefenghe/master
configure the crictl yaml file to avoid the warning
2021-01-22 15:20:21 -08:00
Priya Wadhwa cc4d2d450e Also skip skaffold test because it also requires docker-env 2021-01-22 15:05:06 -08:00
Priya Wadhwa 62479fb16a only run TestFunctional/DockerEnv with docker container runtime 2021-01-22 15:03:18 -08:00
Priya Wadhwa aeb45368d7 Only run TestDockerFlags with docker container runtime
This test is failing for contaienrd tests, but it doesn't make sense to run it with anything but docker.
Adding in a skip.
2021-01-22 15:00:28 -08:00
Priya Wadhwa edee1223e2 fix merge conflict 2021-01-22 14:55:00 -08:00
Priya Wadhwa cdc4f3cfab Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-test-offline 2021-01-22 14:54:44 -08:00
Priya Wadhwa f656caf3f9 fix merge conflict 2021-01-22 14:54:18 -08:00
Priya Wadhwa 1c26fc0e27 Fix lint 2021-01-22 14:51:57 -08:00
Steven Powell 14bcd9ddec added user flag validation and improved some test messages 2021-01-22 15:39:15 -07:00
Priya Wadhwa df93c7ca2b fix function 2021-01-22 14:29:41 -08:00
Priya Wadhwa 5b1876deb4 Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-test-offline 2021-01-22 14:24:56 -08:00
Priya Wadhwa 35ba15b082 Fix TestForceSystemdFlag on containerd 2021-01-22 14:13:33 -08:00
Priya Wadhwa eb8208d0fd fix function 2021-01-22 14:02:34 -08:00
Priya Wadhwa b2623d4d4e make a default container runtime constant so that it is easy to change in the future 2021-01-22 14:00:47 -08:00
Priya Wadhwa 81d637cd01 Return default container runtime 2021-01-22 13:58:35 -08:00
Priya Wadhwa afd758d01c Fix TestDownloadOnlyKic so it takes container runtime into account 2021-01-22 13:49:36 -08:00
Priya Wadhwa 7290095872 test no preload with newest k8s version 2021-01-22 13:08:18 -08:00
Priya Wadhwa fcf84b6f39 add no preload 2021-01-22 12:03:17 -08:00
Jiefeng He f520c9d9e9 configure the crictl yaml file to avoid the warning 2021-01-22 11:41:13 -08:00
Priya Wadhwa 90cfe8331a fix test 2021-01-22 11:40:25 -08:00
Priya Wadhwa 7c2dfef1fe Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-start-stop 2021-01-22 11:39:11 -08:00
priyawadhwa 7de5bf7b19
Merge pull request #10206 from priyawadhwa/verify-k8s-images
Fix failing TestStartStop/serial/VerifyKubernetesImages test
2021-01-22 10:32:08 -08:00
Sharif Elgamal 4972e6b52a refactor download only test for better visibility 2021-01-22 10:31:37 -08:00
Priya Wadhwa 30e07138bd Merge branch 'master' of https://github.com/kubernetes/minikube into verify-k8s-images 2021-01-21 18:12:25 -08:00
Medya Gh 25900704cd add the trick for both tests 2021-01-21 17:28:13 -08:00
Medya Gh 809b2bcf72 add the trick for both tests 2021-01-21 17:25:47 -08:00
Medya Gh 01c6ce889a better comments 2021-01-21 17:21:23 -08:00
Medya Gh 1b93e9df2c fix test for stop upgrade 2021-01-21 17:10:37 -08:00
Priya Wadhwa 4b6b39ac05 Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-test-offline 2021-01-21 16:24:20 -08:00
Priya Wadhwa 073d31ff23 replace underscores with dashes because minikube profile names can't have underscores 2021-01-21 16:23:22 -08:00
Priya Wadhwa 64effabceb Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-start-stop 2021-01-21 14:40:38 -08:00
Priya Wadhwa 71855d6061 only run disable mounts with virtualbox driver 2021-01-21 14:40:08 -08:00
Priya Wadhwa f2801ded10 Point to issue where warning will be fixed 2021-01-21 13:56:11 -08:00
Priya Wadhwa 8a06745f2e include warning in comment 2021-01-21 13:45:43 -08:00
Priya Wadhwa d8a0041907 Parse out warnings to STDOUT before parsing JSON for verify k8s images test 2021-01-21 13:44:02 -08:00
Priya Wadhwa d6350c28d3 add debugging 2021-01-21 13:15:00 -08:00
Sharif Elgamal 7c009c136d re-enable addons tests for amd64 arch 2021-01-21 12:18:42 -08:00
Priya Wadhwa 0591fbd557 Remove container runtime info from tests 2021-01-21 12:13:03 -08:00
Priya Wadhwa d6ce7c4997 remove unused function 2021-01-21 12:03:11 -08:00
Priya Wadhwa e308d72fc2 Run all start/stop tests against all runtimes 2021-01-21 12:02:28 -08:00
Priya Wadhwa dd6d845dcc Fix var 2021-01-21 10:56:28 -08:00
Priya Wadhwa 9ef4a32599 Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-test-offline 2021-01-21 10:29:32 -08:00
Priya Wadhwa 21b07146c1 Merge branch 'master' of https://github.com/kubernetes/minikube into refactor-start-stop 2021-01-21 10:29:07 -08:00
Priya Wadhwa 2d5ca1e8aa Skip pause test as well, timing out 2021-01-20 23:39:46 -08:00
Priya Wadhwa f2786c8069 skip net_test with containerd since it's timing out 2021-01-20 17:22:02 -08:00
Priya Wadhwa 8214b3849f Include TestDownloadOnly 2021-01-20 16:55:23 -08:00
Priya Wadhwa 0bdd034c90 update container runtime 2021-01-20 16:51:59 -08:00
Priya Wadhwa e2359569e4 Only run TestOffline for specified container runtime 2021-01-20 16:50:03 -08:00
Steven Powell 82f7df5b56 Add user flag and log executed commands 2021-01-20 17:30:48 -07:00
Priya Wadhwa b50dfe1c06 Split up TestStartStop by container runtime 2021-01-20 16:23:19 -08:00
Priya Wadhwa ec382e56bf test is still timing out here 2021-01-20 13:04:45 -08:00
Sharif Elgamal ea7de4badf Merge branch 'master' of github.com:kubernetes/minikube into stress 2021-01-20 12:52:53 -08:00
Sharif Elgamal e74ea8082a make stress tests look more like integration tests 2021-01-20 12:49:03 -08:00
Priya Wadhwa c04fda956e reduce wait time for minikube start to 10 min because docker_linux_containerd test is timing out 2021-01-20 10:45:54 -08:00
Sharif Elgamal 84c9de898a lint 2021-01-19 15:53:12 -08:00
Sharif Elgamal 1183f28d3b let's make it pretty now 2021-01-19 15:38:42 -08:00
Sharif Elgamal 0a0a47c2ba initial stress test go implementation 2021-01-19 13:19:06 -08:00
Ilya Zuyev 227a6af18e Merge branch 'master' into ilyaz/arm64-fixes 2021-01-14 22:06:10 -08:00
Ilya Zuyev d67a57101b simplify validateServiceCmd(..) logic 2021-01-14 15:13:03 -08:00
Ilya Zuyev dacb0b33e2 use k8s.gcr.io/echoserver[-arm]:1.8 for tests 2021-01-14 15:02:09 -08:00
Ilya Zuyev e62aba44c6 revert changes for '--memroy' adjustment in `validateDryRun` 2021-01-14 15:01:24 -08:00
Thomas Stromberg c6a27bd9ea Merge to master 2021-01-14 14:22:55 -08:00
Ilya Zuyev 0a75e7ead3 comment '--memory' handling in validateDryRun(..) 2021-01-14 12:42:27 -08:00
Ilya Zuyev e318f721e6 comment imageID(..) 2021-01-14 12:34:46 -08:00
Ilya Zuyev 7750f709ce Add t.Skip(..) for TestDownloadOnlyKic test case 2021-01-14 12:30:28 -08:00
Ilya Zuyev 5cc965921a Remove redundant return after t.Skip(..) 2021-01-14 11:51:56 -08:00
Ilya Zuyev 61157c0e56 Add GH issue link to output if a test is skipped on arm64 2021-01-14 11:50:56 -08:00
Ilya Zuyev d11149d7f6 make Arm64Platform private 2021-01-14 10:51:57 -08:00
Ling Samuel 85eca7d7b7
Increase functional test DockerEnv timeout
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-14 14:31:32 +08:00
Ilya Zuyev 5905834c7e tests: enable skaffold test 2021-01-13 13:59:06 -08:00
Ilya Zuyev f50c2bf617 tests: extract an utility method for image ids 2021-01-13 13:58:55 -08:00