Commit Graph

1241 Commits (31aa5c1bad7abba30c5e47c9a478b3270b8d82c7)

Author SHA1 Message Date
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