Commit Graph

419 Commits (d0328e7672ece5dfbebce5ee4fc5200ada51546c)

Author SHA1 Message Date
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
Yanshu Zhao 6fdffc860c Move componentHealth test to sequential 2021-01-29 21:03:02 +00: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
Yanshu Zhao 7348b89d39 Add memory config 2021-01-28 07:28:11 +00: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
Yanshu Zhao b4ee446e47 Add wait=true for the second start of minikube 2021-01-27 16:58:29 +00: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
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 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
Priya Wadhwa 62479fb16a only run TestFunctional/DockerEnv with docker container runtime 2021-01-22 15:03:18 -08:00
Steven Powell 14bcd9ddec added user flag validation and improved some test messages 2021-01-22 15:39:15 -07:00
Steven Powell 82f7df5b56 Add user flag and log executed commands 2021-01-20 17:30:48 -07: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
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 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 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
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
Sharif Elgamal 9280a047a9
Merge pull request #9894 from sharifelgamal/hyperkit
fix hyperkit tests
2020-12-10 11:26:44 -08:00
Sharif Elgamal 8968e51dd7 fix hyperkit tests 2020-12-09 11:06:17 -08:00
Jeroen Dekkers 1490562c2a Fix --extra-config when starting an existing cluster 2020-11-29 12:44:15 +01:00
Medya Gh 5d34a5e7e6 add memory limit to all minikube starts in integration test 2020-11-20 14:46:22 -08:00
Medya Gh c237d5d7f1 improve test failure logs for service command 2020-11-19 11:53:04 -08: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
Medya Gh 070567b4d9 skip docker related test on macos gh runner 2020-10-08 14:24:02 -07: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 Gh f04a7c5c16 spell 2020-09-16 15:01:15 -07:00
Medya Gh bc182ce207 remove docker hub images 2020-09-10 12:58:14 -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 393aa5926f Fail fast if the context timer has run out 2020-08-22 10:18:15 -07:00
Thomas Stromberg 4e56db1874 testing: Remove use of deprecated ComponentStatusList API 2020-08-21 16:07:39 -07: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
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 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
Thomas Stromberg 9e95435e00 Add --cni flag, fix --network-plugin=kubenet 2020-06-23 20:10:25 -07:00
Medya Gh 6c50eac48f add delete test to cache test 2020-06-22 13:29:41 -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
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
Sharif Elgamal 96f34ea063 fix tests 2020-05-27 15:54:07 -07:00
Medya Gh 76f9a71a18 address review comments 2020-05-27 15:40:43 -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 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
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 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 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 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 a783d08c66 do not delete genereated certs for functional test 2020-05-13 14:38:00 -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
Thomas Stromberg 2868c7981b Run 'minikube logs' when sub-tests fail, remove some extraneous logging 2020-05-08 13:12:30 -07:00
Thomas Stromberg 03059f135b Make ServiceCmd easier to debug 2020-05-07 16:44:42 -07:00
Thomas Stromberg c63e3162d4 Add memory limits to remaining integration test clusters 2020-04-29 11:17:33 -07:00
Thomas Stromberg a37b8f0a82 TestServiceCmd: use echoserver image instead of hello-node 2020-04-23 12:45:07 -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 Stromberg 7b8b6b027c cert test flakiness: make write atomic, add log msgs 2020-04-10 08:32:41 -07:00
Thomas Stromberg 546c8daa13 cert sync: ignore 0-byte certs, test for them explicitly 2020-04-08 15:04:12 -07:00
Medya Gh c11e642b2a put apiPort in a variable 2020-04-07 13:14:30 -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 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 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
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 0432095115 Update IP check message 2020-04-01 13:53:47 -07:00
Sharif Elgamal 974d45dfd3 make http error test fatal to avoid nil pointer 2020-03-26 10:01:55 -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 362254cfc5 improve test log formatting for functional_test 2020-03-25 21:43:32 -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
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
Priya Wadhwa 74380b0eda Fix output of ssh command test
The /r isn't actually returned.
2020-03-23 14:40:02 -07: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
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 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 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
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
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
Priya Wadhwa 3340e9bc2f fix test 2020-02-13 13:34:05 -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
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 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
Thomas Stromberg 9611d7e7e2 Merge branch 'master' into int-ughs-local 2020-01-09 15:09:46 -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
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
tstromberg 3ea6147624 Merge branch 'master' into int-ughs 2019-12-19 16:16:43 -08:00
tstromberg e9ee73ba17 Double timeouts, filter image list further 2019-12-18 15:14:10 -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
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
Medya Gh b49425d768 fix integration test logic for cache 2019-12-10 12:15:20 -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
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
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 885f4c2653 Pre-cache hello-node, wait longer for mysql password 2019-11-11 08:18:01 -08:00