Commit Graph

1856 Commits (0c435b050b2d2e5ce2f4d84855cb61b0839b1164)

Author SHA1 Message Date
Marcin Niemira 0a060b4160
Merge branch 'master' of https://github.com/kubernetes/minikube into improve-storageclass-test-coverage 2019-09-17 19:42:48 +10:00
Marcin Niemira ea6c10f112
Add license to new test file 2019-09-17 19:42:18 +10:00
Thomas Stromberg 5ce4ca0a1b Merge branch 'driver-dl' of github.com:tstromberg/minikube into driver-dl 2019-09-16 20:20:42 -07:00
Thomas Stromberg 6142969467 Add version argument to download to prevent v0.0.0 download error 2019-09-16 20:20:16 -07:00
Thomas Strömberg f97b2c5462
Merge branch 'master' into driver-dl 2019-09-16 19:15:41 -07:00
Thomas Strömberg 062c472737
Merge pull request #5371 from tstromberg/nicer-download
Minor improvement to driver download display
2019-09-16 19:14:42 -07:00
Thomas Stromberg ae500729fc Include URL in log message 2019-09-16 19:10:23 -07:00
Thomas Stromberg c4a4f53b45 Download version appropriate driver, add sha256 checksum check 2019-09-16 15:38:58 -07:00
Thomas Stromberg 8fb4ed5a5a Re-use last driver by default, clarify driver conflict message, move it to occur before driver download 2019-09-16 15:04:17 -07:00
Thomas Stromberg 2aacc68549 Add colon, more appropriate emoji selection to driver download 2019-09-16 14:55:56 -07:00
Thomas Strömberg 28a1472203
Merge pull request #5354 from josedonizetti/install-or-update-hyperkit
Automatically install docker-machine-driver-hyperkit if missing or incompatible
2019-09-16 14:29:14 -07:00
tstromberg 027e2ea39b Add more logging for test failures 2019-09-16 13:25:20 -07:00
Pranav Jituri bb2d0a05d9
Fix merge conflict 2019-09-15 19:27:38 +05:30
Marcin Niemira 0af8e241a9
Merge branch 'master' of https://github.com/kubernetes/minikube into improve-storageclass-test-coverage 2019-09-15 12:37:22 +10:00
Marcin Niemira c62576b73c
Refactor soome storageclass.go and add new tests 2019-09-15 11:41:08 +10:00
Marcin Niemira 9b5640cd33
Add tests to storageclass pkg 2019-09-14 22:25:06 +10:00
Jose Donizetti fb43666d7d Add installOrUpdate hyperkit support 2019-09-14 00:37:08 -03:00
Thomas Strömberg f9b8039697
Merge pull request #5348 from tstromberg/ncontext
Integration de-flake: expand lock scopes, sync clock at creation
2019-09-13 15:14:42 -07:00
Thomas Stromberg 1d346a01e6 Double the apiserver timeout for slow CI runs 2019-09-13 14:24:07 -07:00
Thomas Stromberg a075afac1b Only sync time during create for non-local Drivers 2019-09-13 13:35:10 -07:00
Thomas Strömberg df9d811e8f
Merge pull request #5320 from tstromberg/v1.16.rc
Update default Kubernetes release to v1.16.0-rc.2
2019-09-13 12:01:21 -07:00
Thomas Stromberg 773cfb7f28 Expand lock scope for kubeconfig and certificate update ops 2019-09-13 11:51:22 -07:00
Thomas Strömberg c376994b78
Merge pull request #5344 from tstromberg/outspam2
Move update notification out of PersistentPreRun, improve update UI
2019-09-13 10:20:09 -07:00
Thomas Stromberg a8d243972d Update Kubernetes default version to v1.16.0-rc.2 2019-09-13 10:18:24 -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 b6d878c417 Move update notification out of PersistentPreRun, improve update UI 2019-09-13 09:53:04 -07:00
Thomas Stromberg 357880a134 Retire Kubernetes v1.10 support, update OldestKubernetesVersion to v1.11 2019-09-13 09:06:04 -07:00
Thomas Stromberg 625a4f8c05 Minor tuning of test log verbosity 2019-09-13 07:42:30 -07:00
Thomas Stromberg 046391db69 Reduce log noise 2019-09-13 07:14:13 -07:00
Thomas Stromberg 55a3b9f8a2 kubeadm does not support --alsologtostderr after all 2019-09-13 06:18:08 -07:00
Thomas Stromberg 05a3279929 Add more logging for solving tricky bugs 2019-09-12 22:06:18 -07:00
Thomas Strömberg f5c232f461
Merge pull request #5324 from RA489/constupdate
Sync default service versions for kubeadm v1.16
2019-09-12 22:01:24 -07:00
tstromberg 46387d35ec ClientConfig requires context/cluster name, not node name 2019-09-12 15:19:47 -07:00
tstromberg 70ea1ff22a Fix ineff error 2019-09-12 10:35:32 -07:00
Thomas Stromberg 221eaa74ec Merge branch 'master' into norunner2 2019-09-12 09:45:37 -07:00
Thomas Stromberg e3d23d89f1 kube-proxy/WaitCluster fix: don't bootstrap from a stale context 2019-09-12 09:43:34 -07:00
RA489 b9333e6fa4 Sync default service versions for kubeadm v1.16 2019-09-12 10:52:36 +05:30
Thomas Strömberg 38123cd49d
Merge pull request #5016 from RA489/ignorevmdriver
Remove "Ignoring --vm-driver" warning
2019-09-11 22:05:47 -07:00
Thomas Stromberg 71f0ae9bc2 Revert OldestKubernetesVersion back to v1.10.13 now that the kube-proxy issue is sorted out 2019-09-11 21:58:58 -07:00
Thomas Stromberg 40b89a1052 kube-proxy/WaitCluster fix: kapi could point to the incorrect context 2019-09-11 21:36:37 -07:00
Thomas Stromberg 2362025efd Merge branch 'master' into norunner2 2019-09-11 20:28:17 -07:00
Thomas Stromberg 722cdea602 TestVersionUpgrade reliability: bump OldestKubernetesVersion, retry release startup 2019-09-11 20:28:13 -07:00
Thomas Strömberg d4a620372b
Merge pull request #5300 from n0npax/improve-problem-test-coverage
improve problem test coverage
2019-09-11 16:11:00 -07:00
Thomas Stromberg c3c13b5e6e Update default Kubernetes release to v1.16.0-rc.1 2019-09-11 15:42:45 -07:00
Thomas Stromberg 3b394df815 Add mutex around generateCerts to avoid TOCTOU race 2019-09-11 13:10:21 -07:00
Thomas Stromberg 7a5042793b Merge branch 'master' into norunner2 2019-09-11 11:54:24 -07:00
Thomas Stromberg 3e2d91ca17 Always force unmount on exit so that mountpoint can be re-used 2019-09-11 09:59:10 -07:00
Thomas Stromberg d26d96e051 Remove pre-flag init log spam 2019-09-11 09:58:26 -07:00
josedonizetti c434797f59 Remove debug logs 2019-09-11 11:34:29 -03:00
josedonizetti 219109c98e Add log lines to debug test 2019-09-11 11:34:29 -03:00
josedonizetti 85778d36a4 Remove deggubing information 2019-09-11 11:34:29 -03:00
josedonizetti e30fe10737 Add debugging information 2019-09-11 11:34:29 -03:00
josedonizetti 0cf4921c14 Add drivers.InstallOrUpdate acceptance tests 2019-09-11 11:34:29 -03:00
josedonizetti 30e75c3c39 Download kvm2 driver 2019-09-11 11:34:29 -03:00
Marcin Niemira bd8946f316
Fix api passing to test 2019-09-11 21:07:10 +10:00
Marcin Niemira dde5777543
Merge branch 'master' of https://github.com/kubernetes/minikube into improve-service-test-coverage 2019-09-11 20:36:59 +10:00
Marcin Niemira 64569b9c11
Refactor tests due to CR hints 2019-09-10 18:58:18 +10:00
Marcin Niemira 2e8de954d1
CR fixes 2019-09-10 18:42:02 +10:00
RA489 1972f1c428 Remove "Ignoring --vm-driver" warning 2019-09-09 19:05:09 +05:30
Marcin Niemira bb5f1e167c
improve problem test coverage 2019-09-09 20:07:41 +10:00
Jan Janik 9d16f7ef0d Include port names in the service cmd's output 2019-09-07 23:17:44 +12:00
Marcin Niemira aac8b37c26
improve test coverage fot sshutil package 2019-09-06 22:35:49 +10:00
Marcin Niemira 7d46c96dac
typofix 2019-09-06 17:27:38 +10:00
Marcin Niemira 1c967c519c
fix TestGetCoreClient in CI 2019-09-06 17:16:57 +10:00
Sharif Elgamal 8a92d78285
Merge pull request #5232 from n0npax/improve-registry-test-coverage
improve test coverage for registry package
2019-09-05 11:52:32 -07:00
Sharif Elgamal ba2f93106f
Merge pull request #5086 from MaxKam/checkCPUCount
Minimum CPUs check
2019-09-05 11:49:54 -07:00
Sharif Elgamal cb5ebed001
Merge pull request #4494 from ianlewis/gvisor-containerd-shim_v0.0.2
Update gvisor runsc version
2019-09-05 11:26:37 -07:00
Marcin Niemira e644d154bd
fix linting issue 2019-09-05 18:05:51 +10:00
Marcin Niemira c2366dcb91
improve test coverage in service pkg
fix some potential panics
2019-09-04 23:17:12 +10:00
Thomas Strömberg c74a59e6d6
Merge pull request #5228 from n0npax/improve-proxy-test-coverage
Improve test coverage for proxy package
2019-09-03 22:17:22 -07:00
Ian Lewis d8c380da85
Merge branch 'master' into gvisor-containerd-shim_v0.0.2 2019-09-03 22:20:12 -04:00
Thomas Strömberg 9cf158d2a1
Merge pull request #5250 from tstromberg/v1.16.beta-default
Upgrade default Kubernetes version to v1.16.0-beta1
2019-09-03 16:17:03 -07:00
Thomas Strömberg 2635734849
Merge pull request #5249 from tstromberg/mologs
More logs: exited containers, controller manager, double line count
2019-09-03 16:16:38 -07:00
tstromberg cbf443c467 Upgrade default to v1.16.0-beta1 for more test coverage 2019-09-03 10:41:35 -07:00
tstromberg c32cb098b0 More logs: exited containers, controller manager, double line count 2019-09-03 10:34:44 -07:00
Max K 5ec324e2d2 Added check to exit app and show error message if number of cpus
is less than the minimum required.
2019-09-02 13:04:27 -07:00
bpopovschi 8b17253d22 Moved warning to minikube start command and print it to stderr 2019-09-02 11:39:38 +03:00
Marcin Niemira 1a105f8995
additional refactor 2019-08-30 23:00:15 +10:00
Marcin Niemira 6aaa5d243f
refactor to use subtests 2019-08-30 22:18:41 +10:00
Marcin Niemira aa79d39625
improve test coverage for registry package 2019-08-30 22:11:02 +10:00
Thomas Strömberg b0204cd315
Merge pull request #5224 from tstromberg/filepath
Windows: Use path.Join for VM paths, fall-back to anon image downloads
2019-08-29 16:49:29 -07:00
Marcin Niemira fa9ddcd7f1
typofix in comment 2019-08-30 07:54:32 +10:00
Marcin Niemira 6dac0467c7
improve function comment and move env var restoration to main test 2019-08-30 00:07:13 +10:00
Marcin Niemira 8a02235668
Improve subtests names 2019-08-30 00:02:23 +10:00
Marcin Niemira d4ac66eac5
fix variable name 2019-08-29 23:57:20 +10:00
AllenZMC a08e295d9f
cleanup: fix mis-spelling in kapi.go 2019-08-29 21:51:38 +08:00
Marcin Niemira ef912eaec3
Improve test coverage for proxy package 2019-08-29 23:27:16 +10:00
tstromberg cbbba12b6a Fix comparison 2019-08-28 14:56:48 -07:00
tstromberg 73d7526800 Add retrieveImage logging 2019-08-28 14:46:24 -07:00
tstromberg 79d7f8a737 Log caching errors 2019-08-28 14:17:03 -07:00
tstromberg 3b198d19d6 More logging to debug path issues 2019-08-28 13:47:26 -07:00
tstromberg 50f132be0a Remove path/filepath call 2019-08-28 13:16:12 -07:00
tstromberg b08de8e0f5 More filepath -> path 2019-08-28 13:13:52 -07:00
tstromberg f4db16ff6e Fix confusing log message which used the wrong filepath.Join 2019-08-28 13:03:59 -07:00
tstromberg 001c4fc7b0 Use path.Join instead of filepath.Join to avoid generating bad paths in Windows 2019-08-28 12:35:43 -07:00
AllenZMC e2e8d74205
cleanup: fix mis-spelling in profile.go 2019-08-27 20:50:06 +08:00
Sharif Elgamal 14f3aa9244
Merge pull request #5165 from sharifelgamal/cfg
Replace file lock with mutex
2019-08-26 15:25:47 -07:00
Thomas Strömberg b59a8b8e44
Merge pull request #5133 from afbjorklund/tmpfs
Move root filesystem from rootfs to tmpfs
2019-08-26 07:17:58 -07:00
AllenZMC b73c8505b4
cleanup: fix mis-spelling in retry.go 2019-08-26 20:26:35 +08:00
Ian Lewis d14bdbced7 Update gvisor runsc version
- Updates the gvisor addon to use containerd shim v2
- Updates the version of runsc
- Auto-installs a gvisor RuntimeClass

Issue #4482
2019-08-26 05:02:22 +00:00
Anders F Björklund eec1a06921 Add warning that using --no-pivot is not secure
It is only intended for compatibility with the old
rootfs ISO, and not needed with the new tmpfs ISO.
2019-08-24 16:18:48 +02:00
Anders F Björklund edea8f93a5 Only use DOCKER_RAMDISK on fstype rootfs
The docker configuration is determined at runtime,
so make it work with both old rootfs and new tmpfs.
2019-08-24 16:12:52 +02:00
Sharif Elgamal 172d5933f1 Merge branch 'master' of github.com:kubernetes/minikube into cfg 2019-08-22 16:29:25 -07:00
Sharif Elgamal 4733ebd1c3 formatting 2019-08-22 13:19:56 -07:00
Sharif Elgamal 534b2e9ec4 add test for getMutexName 2019-08-22 12:45:04 -07:00
Thomas Stromberg 48d2ace5cc Remove broken default disk size test that didn't make sense 2019-08-22 11:41:41 -07:00
Thomas Strömberg 695f8beb89
Merge pull request #5172 from ethan-daocloud/typo-terminator
Cleanup: fix some typos in code comment
2019-08-22 09:54:17 -07:00
Medya Ghazizadeh 73c0d9c386
Merge pull request #5150 from medyagh/intg_avoid_retry_start
Remove retry start from integration tests
2019-08-22 09:41:33 -07:00
AllenZMC b22f59f320 fix mis-spelling in ssh_runner.go (#5171) 2019-08-22 07:54:58 -07:00
Guangming Wang 206522dee8 Cleanup: fix some typos in code comment
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-22 22:54:23 +08:00
Sharif Elgamal 8b4365e51d change confusing variable name 2019-08-21 18:55:35 -07:00
Thomas Stromberg a7af253eaa Merge in v1.16 test updates 2019-08-21 18:49:25 -07:00
Thomas Stromberg 864aef157d Merge branch 'master' into persistent 2019-08-21 18:45:37 -07:00
Thomas Stromberg 4e9d4bd00f Remove unused constant function brought in by a bad merge 2019-08-21 17:41:58 -07:00
Thomas Stromberg 45c3219470 none reliability: --force does not work in v1.10, allow failed kubelet 2019-08-21 17:31:39 -07:00
Thomas Stromberg 5d325c745c Create symlink for legacy etcd directory, make apiserver check more robust 2019-08-21 17:20:47 -07:00
Medya Gh fc7c904642 add back test data from master 2019-08-21 16:02:03 -07:00
Medya Gh 9d0654f59e remove mistake file checked in 2019-08-21 15:58:57 -07:00
Medya Gh 5f0b0c1b90 Added duration metric for elevate priv 2019-08-21 15:56:46 -07:00
Sharif Elgamal 0cd49b8a32 more massaging around mutex name 2019-08-21 15:42:57 -07:00
Sharif Elgamal 020167617a add comments for clarity 2019-08-21 15:21:10 -07:00
Sharif Elgamal f02b698ae5 Merge branch 'master' of github.com:kubernetes/minikube into cfg 2019-08-21 15:17:42 -07:00
Sharif Elgamal 43e39618a2 Replace file lock with mutex 2019-08-21 15:17:32 -07:00
Thomas Strömberg 97dd433702
Merge pull request #5069 from tstromberg/v1.16.beta
Set NewestKubernetesVersion to v1.16.0-beta.1
2019-08-21 12:21:16 -07:00
Thomas Stromberg 72d9b80334 Merge branch 'master' into persistent 2019-08-21 11:45:00 -07:00
Thomas Stromberg 1c7a281d47 Run gofmt -w -s 2019-08-21 11:35:59 -07:00
Thomas Stromberg 580ffd6462 v1.16.0-beta.1 2019-08-21 10:33:37 -07:00
Thomas Stromberg 62a452edab Merge master 2019-08-21 10:26:10 -07:00
Thomas Strömberg 1d57563a86
Merge pull request #5103 from afbjorklund/buildroot-provisioner
Only provision buildroot with BuildrootProvisioner
2019-08-21 10:16:36 -07:00
Thomas Strömberg b9a88eb52b
Merge pull request #5116 from josedonizetti/refactor-read-config
Refactor config.ReadConfig to accept a file
2019-08-21 10:16:08 -07:00
AllenZMC 03615ab411 fix wrong spells in kapi.go (#5160) 2019-08-21 06:46:50 -07:00
Sharif Elgamal 404d0ff255 remove duplicate import 2019-08-20 12:00:30 -07:00
AllenZMC a96b6438e8 fix wrong spells in containerd.go (#5143) 2019-08-20 09:32:35 -07:00
Medya Ghazizadeh c3cfedff79
Merge pull request #5121 from medyagh/refactor_util_kube
Add wait-timeout flag to start command and refactor util/kubernetes
2019-08-19 22:11:36 -07:00
Medya Gh f75b558ac2 rename kube pkg to kapi 2019-08-19 16:11:38 -07:00
Medya Ghazizadeh 86e158e2cf
Merge pull request #5104 from afbjorklund/engine-install
Provide default InstallURL in EngineOptions for libmachine
2019-08-18 01:55:08 -07:00
Medya Gh 5464a7c9e2 adding a new flag wait-timeout and reduce default wait from 5 to 3 2019-08-18 01:14:02 -07:00
Medya Gh a85db2ddb4 use kubeadm consts and add duration metrics logs 2019-08-17 23:18:13 -07:00
Medya Gh 5811610697 refactor util/kuberentes and ExtraOptions 2019-08-17 19:05:54 -07:00
josedonizetti 4738d1a80f Refactor config.ReadConfig to accept a file 2019-08-17 12:08:38 -04:00
Guangming Wang 8fb12d3a61
cleanup: lock.go error message typo fix
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-17 23:29:21 +08:00
Thomas Strömberg 3eaec49499
Merge pull request #5109 from tstromberg/wrongurl
Update URL should be concatenated without a /
2019-08-17 07:56:07 -07:00
Thomas Strömberg 96fcb917f8
Merge pull request #5106 from tstromberg/just-delete
delete: Clean up machine directory if DeleteHost fails to
2019-08-16 16:46:53 -07:00
Thomas Stromberg d11804e83f Fix certs_test merge conflict 2019-08-16 16:45:59 -07:00
Thomas Stromberg 282dcc9503 Merge branch 'master' into persistent 2019-08-16 16:38:56 -07:00
Thomas Stromberg 95173decc6 Update URL should be concatenated without a / 2019-08-16 16:18:22 -07:00
Thomas Stromberg e654eebf67 Merge branch 'master' into v1.16.beta 2019-08-16 15:31:43 -07:00
Thomas Stromberg fcd665fe11 Add kubeadm tests for v1.16 2019-08-16 15:31:21 -07:00
Thomas Stromberg b17d377d68 Detect when the addon-manager isn't able to process 2019-08-16 15:22:27 -07:00
Thomas Stromberg 1d6699f0da kubeconfig needs to live persistently 2019-08-16 15:21:58 -07:00