Commit Graph

222 Commits (c90a00a05ef7536b50cfdd2bc4ba176cb32c76c5)

Author SHA1 Message Date
Medya Ghazizadeh 38ed70aa32
Merge pull request #10798 from govargo/csi-hostpath-v1.6.0
Upgrade csi-hostpath-driver addon to v1.6.0
2021-03-23 00:01:29 -07:00
Kent Iso fb216ddc93 Upgrade ingress addon files according to upstream(ingress-nginx v0.44.0) 2021-03-20 04:07:21 +09:00
Kent Iso 788e910073 Upgrade csi-hostpath addon to v1.6.0 2021-03-19 21:48:48 +09:00
Sharif Elgamal cfd9556468 Merge branch 'master' of github.com:kubernetes/minikube into gcr-auth 2021-03-16 15:15:09 -07:00
Sharif Elgamal 294f044821 add creds for docker pull to gcp-auth 2021-03-15 11:39:06 -07:00
Medya Gh 2709a0b856 skip 2021-03-11 10:23:16 -08:00
Medya Gh ee74d42eba merge conflict 2021-03-11 01:14:06 -08:00
Sharif Elgamal 86080e50b6 fix gcp-auth test 2021-03-10 13:57:24 -08:00
Sharif Elgamal db79518adc fix gcp auth test 2021-03-10 09:09:04 -08:00
Sharif Elgamal a3544ae90a create detect package 2021-03-09 15:11:54 -08:00
Sharif Elgamal a2b737b8db fix startup 2021-03-09 14:41:19 -08:00
Sharif Elgamal eb1ee1f931 account for GCE in addons test 2021-03-09 14:32:02 -08:00
Sharif Elgamal 5a5abedb3e support force in addons enable command 2021-03-08 08:47: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
Sharif Elgamal 7c009c136d re-enable addons tests for amd64 arch 2021-01-21 12:18:42 -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
Ilya Zuyev 05bc271ef8 Fix arch related checks 2020-12-16 18:13:13 -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
Sharif Elgamal d52d6e440d run command properly 2020-10-30 10:34:19 -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
Sharif Elgamal cda2d13d21 Turn on ingress addon on linux baremetal 2020-10-28 12:19:26 -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
jjanik b696eb614a csi-hostpath-driver & volumesnapshots addons docs and test 2020-09-04 18:54:33 +02:00
Thomas Stromberg 393aa5926f Fail fast if the context timer has run out 2020-08-22 10:18:15 -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 9ac705d32f skip olm addon 2020-06-12 11:37:48 -07:00
Medya Gh 666f780a31 skip none for olm addon 2020-05-27 12:51:10 -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
Natale Vinto c9227a080f Add integration test TestOlmAddon
Enable olm and install etcd operator checking successful installation
2020-05-21 12:45:08 +02: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 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Manuel Alejandro de Brito Fontes c3a529f7ea Update ingress-nginx addon 2020-05-05 15:36:03 -04:00
Thomas Stromberg 247a61c45f validateIngressAddon: cleanup output, particularly stderr warnings 2020-05-04 15:31:49 -07:00
Thomas Stromberg b7f3f045c6 Update integration tests 2020-04-01 13:01:12 -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 cc0262ef55 improve logging and fix some not logged errors 2020-03-25 19:58:38 -07:00
Thomas Stromberg a8d63f7fa5 none: Skip checkHelmTiller if socat is not installed 2020-03-25 10:24:57 -07:00
Medya Gh 0478f2d204 adjuts the retry times 2020-03-24 06:37:16 -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
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
Thomas Stromberg e5fd7a6a81 Replace integration-test specific hacks with actual protection against racey events 2020-01-09 12:58:10 -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 1126f26197 Parallelize test again, running locally with virtualbox on macOS was successful 2019-12-30 14:21:23 -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
Priya Wadhwa 2f50957418 increase wait times for pods, virtualbox integration test was timing out 2019-12-19 16:57:06 -08: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
Thomas Stromberg e338ac0cc9 Double pod test waits 2019-11-13 06:42:07 -08: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 3cf2830705 Add test to ensure addon state is mutable for stopped clusters 2019-10-17 14:48:41 -07:00
Kenta Iso 1e11576c9a Add addons flag to 'minikube start' in order to enable specified addons 2019-10-10 11:29:13 +09:00
Thomas Stromberg fff8f5cbec Offset integration tests which start clusters by 5s 2019-09-17 07:08:57 -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 6097f758df Arbitrarily extend addon timeouts 2019-09-13 07:45:17 -07:00
Thomas Stromberg 05a3279929 Add more logging for solving tricky bugs 2019-09-12 22:06:18 -07:00
Thomas Stromberg 340fe232df Increase context timeouts for poorly behaved hosts 2019-09-12 17:06:59 -07:00
Thomas Stromberg 7c2801f565 Double context.WithTimeout durations for slower test machines 2019-09-11 15:20:19 -07:00
Thomas Stromberg 4b484bdbff Add renamed and refactored integration tests 2019-09-11 10:16:16 -07:00
Medya Gh ab28a3ced1 # This is a combination of 5 commits.
# This is the 1st commit message:

organize integration tests files by type

# This is the commit message #2:

Adding separate profile for each kind of test

# This is the commit message #3:

Adding clean up to delete newly added TestVms

# This is the commit message #4:

goimport

# This is the commit message #5:

making them run in parallel
2019-07-30 10:40:38 -07:00
Medya Gh d47d51d8ab Adding optional set kubecontext 2019-07-30 10:40:25 -07:00
Medya Gh d1a41e0015 Added default profile 2019-07-30 10:40:11 -07:00
Jose Donizetti fe00076341
Revert "Fix flag.Parse error logging" 2019-07-25 23:03:04 -03:00
josedonizetti 6ccf62096e Add initflag to test binary 2019-07-25 14:37:37 -03:00
Thomas Stromberg caa2719b86 Reduce log noise in TestRegistry 2019-07-19 10:38:33 -07:00
Thomas Stromberg 56ae84b921 Refactor TestRegistry for new label configuration 2019-07-19 10:35:41 -07:00
tstromberg 146b87158a Merge branch 'master' into faster-kubelet 2019-07-17 11:35:47 -07:00
tstromberg 9f2590752b Set --wait=false to more tests where appropriate 2019-07-12 17:03:41 -07:00
tstromberg 44c8dd52a8 Add --wait flag to allow users to skip pod health checks 2019-07-12 14:18:43 -07:00
Ben Ebsworth 39a136fdb9 fix raising fatal error on retryablehttp 2019-07-06 19:03:14 +10:00
Ben Ebsworth 8b2d1ec2e6 fixed registryEndpoint string 2019-07-06 18:52:40 +10:00
Ben Ebsworth 05683a0d01 moved to using retryablehttp 2019-07-01 06:31:52 +10:00
Ben Ebsworth 6fa12ea036 fixed linting 2019-06-29 21:33:19 +10:00
Jose Donizetti ad97983d9e # This is a combination of 8 commits.
# This is the 1st commit message:

Fix doc comment version.gitCommitID doc


# This is the commit message #2:

Add hyperkit doc


# This is the commit message #3:

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


# This is the commit message #4:

removed label selector for registry-proxy daemonset

# This is the commit message #5:

Add support to custom qemu uri on kvm2 driver


# This is the commit message #6:

Improve hyperkit vm stop


# This is the commit message #7:

Make virtualbox DNS settings configurable 


# This is the commit message #8:

added integration tests for registry addon
2019-06-29 18:27:47 +10:00
Medya Gh 657469310c Use retryable http to avoid connection flakes 2019-06-13 22:58:14 -07:00
Medya Gh c58a3b63db Fixing filepath to be os agnostic 2019-06-05 19:31:50 -07:00
priyawadhwa 1514511b7a Change restart policy on gvisor pod (#3445)
* Change restart policy on gvisor pod

Change the restart policy on the gvisor pod to Always. This way, if a
user runs

minikube addons enable gvisor
minikube stop
minikube start

when the addon manager tries to restart the gvisor pod, it will be
restarted and gvisor will start running automatically. This PR also adds an
integration test for this functionality.

* Test stop and start

* Revert test to delete

Revert test to delete for now, for some reason "stop" and then "start"
is failing both locally and in Jenkins for VirtualBox with a "panic test
timed out after 30 min" error
2018-12-11 18:39:57 -08:00
priyawadhwa 8f128a7d10 Enable gvisor addon in minikube (#3399)
This PR adds the code for enabling gvisor in minikube. It adds the pod
that will run when the addon is enabled, and the code for the image
which will run when this happens.

When gvisor is enabled, the pod will download runsc and the
gvisor-containerd-shim. It will replace the containerd config.toml and
restart containerd.

When gvisor is disabled, the pod will be deleted by the addon manager.
This will trigger a pre-stop hook which will revert the config.toml to
it's original state and restart containerd.
2018-12-07 15:27:22 -08:00
Thomas Stromberg f0b358f2b4 Remove extra log statements 2018-11-13 12:42:00 -08:00
Thomas Stromberg 8771eae0ae testDashboard: add timeout around reading URL from stdout.
This test typically takes <30s to execute, so 180s should leave plenty
of margin for error.
2018-11-07 16:40:45 -08:00
Thomas Stromberg 57054acfb6 Add missing reference to cmd. 2018-10-03 15:12:40 -07:00
Thomas Stromberg c079bb1934 Update integration tests to handle newly persistant dashboard. 2018-10-03 15:06:30 -07:00
Thomas Stromberg df54c6a5b4 Use "kubectl proxy" instead of a NodePort to expose the dashboard.
This provides an additional level of security, by enforcing host checking, applying port randomization, and requiring explicit user intent to expose the service to the host.
2018-10-02 22:25:45 -07:00
Thomas Stromberg 8540e3a038 Consistently use %v for formatting error messages. 2018-09-28 16:18:22 -07:00
Thomas Stromberg af61bf790c Remove lint issues from integration tests, mostly by adding error
handlers.
2018-09-28 11:57:48 -07:00
dlorenc 80e934b845 Fix e2e test compilation.
Signed-off-by: dlorenc <dlorenc@google.com>
2018-06-13 14:13:38 -07:00
dlorenc a2218d2e7e Add two more kubeadm preflight ignores to make e2e tests pass. 2018-06-12 13:48:29 -07:00
kairen 797925f183 Update ingress controller, and fix integration test 2017-12-12 21:43:39 -08:00
kairen 745645b929 Use yaml file to create nginx pod and service 2017-12-02 03:28:47 +08:00
kairen 06f52cfe3e Add integration test for ingress addon 2017-12-01 18:40:30 +08:00
Matt Rickard 9747484e9e Move k8s utils to pkg/util 2017-09-08 20:14:28 -07:00
Matt Rickard f966c8cf31 Add NewMinikubeRunner, separate start args
* Separate start args from args passed to every command.  This is so
that we can call `minikube logs` and `minikube status` with the proper
flags (for the bootstrapper)

* Add a NewMinikubeRunner function to make getting a minikube runner
easier.
2017-09-08 20:14:21 -07:00
Matt Rickard 211ebb8a69 Use kubernetes client in integration tests 2017-08-23 13:09:30 -07:00
dlorenc 0b5bd79d50 Refactor of retries in integration tests. 2017-08-23 10:19:11 -07:00
Matt Rickard 3b46c27b16 Minikube changes for v1.6.0-alpha.1 2017-03-31 13:23:59 -07:00
Matt Rickard cee7653285 Retry error for addons kubectl cmd 2017-02-13 12:55:28 -08:00
Dan Lorenc 35acd21cb1 Move some integration tests to the subtest framework, and run them in parallel. 2016-12-05 18:36:03 -08:00
Dan Lorenc ee2bfd3056 Add an integration test for service list. 2016-12-03 13:02:06 -08:00
Aaron Prindle 0e3a3749a7 Fixing windows integration tests 2016-11-10 13:00:25 -08:00
Matt Rickard ec0acbb6ca Increase waiting time for integration tests
There have been flakes on the integration tests where the dashboard pod has been getting ready but the test does not wait long enough and fails.
2016-11-03 12:25:33 -07:00
Jimmi Dyson 09a28e16cc
Update dashboard integration test wrong port error message 2016-10-29 09:34:00 +01:00
Jimmi Dyson b64ad5c457
Add dashboard command integration test 2016-10-29 09:33:59 +01:00
Jimmi Dyson a8a22c0212
Fix vet printf errors 2016-10-29 09:29:45 +01:00
Matt Rickard 4cfca59c5c Add RetryableError for the Retry util
This way we can selectively retry the errors that are caused by some
temporary or ephemeral condition such as the pods not being up yet.
2016-10-13 13:53:38 -07:00
Dan Lorenc 80ad525d39 Fix bad merge conflict. 2016-07-09 12:44:28 -07:00
dlorenc 735e8da305 Add an integration test for cluster persistence. 2016-07-09 11:08:47 -07:00
dlorenc 1b446b896a Fix the addons_test to work with xhyve.
When you run with the xhyve driver, the addon-manager has a different
name.
2016-07-07 14:32:26 -07:00
dlorenc 9428c5a7a4 Increase the timeout on the addon manager pod. 2016-07-06 14:33:29 -07:00
dlorenc 7885c385d7 Fix addons integration test. 2016-07-06 09:24:48 -07:00
dlorenc 37ea2f0eea Add a "--minikube-args" flag to the integration tests.
This flag lets you pass arbitrary flags to minikube start. For now,
this is useful for testing different iso URLs and VM drivers.
2016-06-30 14:11:37 -07:00
Subhas Dandapani a0d610df79 Fixed nodePort for dashboard #185 2016-06-21 19:20:33 +02:00
dlorenc 89c5d10b11 Switch more tests to EnsureRunning. 2016-06-06 11:41:27 -07:00
aprindle 9821f71ca4 Added dns integration test 2016-06-03 09:40:43 -07:00
dlorenc 7102d75eb7 Add an integration test for the addon manager and dashboard. 2016-06-02 10:49:40 -07:00