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