Commit Graph

81 Commits (c76fac7d74236f892fa2aa8288aed63f3833193b)

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