Commit Graph

865 Commits (271ca3a7f06d2b6e6ca4762bb65ea0e255abdae9)

Author SHA1 Message Date
Thomas Strömberg 7fd834e62b
Merge pull request #7523 from tstromberg/int-logs
integration tests: post-mortem disk usage and pod describe
2020-04-09 06:11:23 -07:00
Thomas Stromberg 8733f07e44 Higher vis 2020-04-09 05:21:05 -07:00
Thomas Stromberg 4d24e651a4 Remove field selector 2020-04-09 05:17:28 -07:00
Thomas Stromberg d89142f1e7 Rename test 2020-04-09 05:00:42 -07:00
Thomas Stromberg 89b28c482e Filter describe for non-running pods 2020-04-08 20:14:55 -07:00
Thomas Stromberg 93060d17d1 keep header 2020-04-08 15:35:09 -07:00
Thomas Stromberg 194b8cd7d8 Modify post-mortem logs so I don't need to count dashes 2020-04-08 15:34:16 -07:00
Thomas Stromberg 546c8daa13 cert sync: ignore 0-byte certs, test for them explicitly 2020-04-08 15:04:12 -07:00
Thomas Stromberg 688a0b2a9f Merge upstream 2020-04-08 13:01:23 -07:00
Thomas Stromberg 3a9bdd5328 Add df and desc po to post-mortem out 2020-04-08 11:35:36 -07:00
Medya Ghazizadeh e098a3c4ca
Merge pull request #7449 from medyagh/fix_soft_start_nondocker
Behavior change: start with no arguments uses existing cluster config
2020-04-07 17:12:52 -07:00
Medya Gh c11e642b2a put apiPort in a variable 2020-04-07 13:14:30 -07:00
Medya Ghazizadeh 0a2bc95ad7
Merge pull request #7486 from medyagh/cni_wait
CI: change wait for  cni
2020-04-07 12:48:29 -07:00
Medya Gh 2d6b8c531c fix negated if 2020-04-07 12:04:26 -07:00
Medya Gh b748766c24 wait cni 2020-04-07 11:06:12 -07:00
Medya Gh e120758639 same tabs 2020-04-07 10:49:06 -07:00
Medya Gh 4464b84820 make post mortem logs easier on the eye 2020-04-07 10:43:05 -07:00
Medya Gh e4abe73a25 lint 2020-04-06 21:26:45 -07:00
Medya Gh d9fa543951 fix comment 2020-04-06 21:08:09 -07:00
Medya Gh 2a66c8cdc5 add log for how long soft start took 2020-04-06 21:06:27 -07:00
Medya Gh 67f1276c9c add soft start integeration test 2020-04-06 21:03:12 -07:00
Medya Gh 52fee5056d add soft start test 2020-04-06 20:14:20 -07:00
Thomas Stromberg 3a32ce6710 Improve test 2020-04-04 13:24:31 -07:00
Thomas Stromberg c922c16b97 Make this single-node for now 2020-04-04 12:50:44 -07:00
Thomas Stromberg 2419cb72c7 Add test for multi-node without errors 2020-04-04 12:41:54 -07:00
Medya Gh 62e3b74652 adjust github actions 2020-04-03 20:52:53 -07:00
Medya Ghazizadeh a86fd2aa8b
Merge pull request #7374 from medyagh/improve_test_msg
fix validate test output for TestFunctional/parallel/NodeLabels
2020-04-02 17:51:35 -07:00
Thomas Strömberg 37a98106c4
Merge pull request #7382 from tstromberg/stderr-fix3
Move errors and warnings to output to stderr
2020-04-02 14:36:16 -07:00
Thomas Strömberg 78ecf53d40
Merge pull request #7360 from tstromberg/wrong-url
Correct assumptions for forwarded hostname & IP handling
2020-04-02 14:33:48 -07:00
Thomas Stromberg 5b3834ec63 Merge to master 2020-04-02 12:39:32 -07:00
Thomas Stromberg ae52a11692 Swap stdout/stderr in test 2020-04-02 12:27:19 -07:00
Thomas Strömberg 4b0d33ad62
Merge pull request #7384 from tstromberg/cp-umask2
Run sudo for file display due to umask
2020-04-02 11:47:00 -07:00
Thomas Stromberg 5266b69dbe Add response to get error, disable service check on macOS/Windows 2020-04-02 10:51:15 -07:00
tstromberg a855f4ed05 Run sudo for file display due to umask 2020-04-02 10:37:23 -07:00
Thomas Stromberg a71edc3920 Merge branch 'master' into wrong-url 2020-04-02 08:32:54 -07:00
Medya Gh 9b04d2afbb change all q to s for rr.Output 2020-04-01 21:40:09 -07:00
Medya Gh c74604e806 fix validate node test output 2020-04-01 21:34:37 -07:00
Thomas Stromberg ba84f942bd Apply a memory limit 2020-04-01 15:47:35 -07:00
Thomas Stromberg 1dcd5cd310 Pick a more universal hostname, add comment about docker 2020-04-01 14:38:46 -07:00
Thomas Stromberg 0432095115 Update IP check message 2020-04-01 13:53:47 -07:00
Thomas Stromberg b7f3f045c6 Update integration tests 2020-04-01 13:01:12 -07:00
Vincent Link 5bb0c580a0 Add simple embed-certs integration test 2020-03-29 15:12:37 +02:00
Anders F Björklund d2f3e18d3a Fix misspelling of existence in integration test 2020-03-27 09:33:21 +01:00
Priya Wadhwa 721a57c25a Rebased 2020-03-26 11:01:28 -07:00
Sharif Elgamal 974d45dfd3 make http error test fatal to avoid nil pointer 2020-03-26 10:01:55 -07:00
Thomas Stromberg d2c71b5363 Fix testing regression which broke stdout reads 2020-03-26 08:11:39 -07:00
Thomas Strömberg e5843bfbdc
Merge pull request #7248 from medyagh/improve_test_logs
Improve test logs formatting
2020-03-26 06:27:34 -07:00
Medya Gh 2ced39c745 add \n for stdout too 2020-03-25 22:54:43 -07:00
Medya Gh fffac25262 indent test outputs 2020-03-25 22:45:29 -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 acc951033b improve test logs for start_stop_delete 2020-03-25 22:10:32 -07:00
Medya Gh 73a9653c80 improve logging for gvisor test 2020-03-25 21:52:00 -07:00
Medya Gh 90cac63b85 improve formatting for TestGuestEnvironment 2020-03-25 21:48:36 -07:00
Medya Gh 362254cfc5 improve test log formatting for functional_test 2020-03-25 21:43:32 -07:00
Medya Gh b63f048854 improve logs for fn_tunnel_cmd 2020-03-25 20:26:10 -07:00
Medya Gh 2ac46e8ba9 improve logs for fn_pvc 2020-03-25 20:22:02 -07:00
Medya Gh a30ec2574c improve logs for fn_mount_cmd tests' 2020-03-25 20:18:05 -07:00
Medya Gh cc0262ef55 improve logging and fix some not logged errors 2020-03-25 19:58:38 -07:00
Thomas Stromberg 9089296f2e validateMinikubeKubectl: Add -p to minikube call to get Kubernetes version 2020-03-25 14:57:27 -07:00
Thomas Stromberg 9597fcc134 validateMinikubeKubectl: Add --context to kubectl call to pass profile name 2020-03-25 14:52:51 -07:00
Thomas Stromberg a8d63f7fa5 none: Skip checkHelmTiller if socat is not installed 2020-03-25 10:24:57 -07:00
Priya Wadhwa 9d75c7c35a Rebased, resolved merge conflicts 2020-03-25 10:07:58 -07:00
Priya Wadhwa 455ebeac01 update test, don't need to rerun v1.17.0 since those images exist anyway 2020-03-24 17:28:57 -07:00
Priya Wadhwa 744f76e3b6 fix lint 2020-03-24 17:25:27 -07:00
Priya Wadhwa d2171be291 rebased' 2020-03-24 16:39:54 -07:00
Priya Wadhwa 8d9e26d994 Test restart with preloaded tarball and without 2020-03-24 11:58:41 -07:00
Priya Wadhwa 4a7f59f8a8 remove preload flag 2020-03-24 10:59:25 -07:00
Priya Wadhwa 5ef83f35e2 Add --preload flag to optionally turn off preload 2020-03-24 10:53:02 -07:00
Medya Gh 0478f2d204 adjuts the retry times 2020-03-24 06:37:16 -07:00
Medya Gh 42980d609b remove not needed retry 2020-03-24 06:29:35 -07:00
Medya Gh 407637b4a2 download only for both docker and podman 2020-03-24 06:07:51 -07:00
Medya Gh 653fac46ec skip preload test for none 2020-03-24 00:46:48 -07:00
Medya Ghazizadeh 7bff52ef0a
Merge pull request #7180 from sharifelgamal/conntrack
install conntrack for github action integration tests
2020-03-23 17:50:19 -07:00
Sharif Elgamal 0ff8becc63 install conntrack everywhere, check for vm-driver in tests 2020-03-23 17:09:12 -07:00
Priya Wadhwa 74380b0eda Fix output of ssh command test
The /r isn't actually returned.
2020-03-23 14:40:02 -07:00
Priya Wadhwa 72c4bef5ca update integration test 2020-03-23 12:32:36 -07:00
Thomas Strömberg 8e9d8a221c
Merge pull request #7134 from tstromberg/test-download-only
download_only_test: Fix non-docker runtimes, remove expected-driver test
2020-03-21 14:48:01 -07:00
Thomas Strömberg 9f851f7886
Merge pull request #7136 from tstromberg/crio-mismatch
Fix TestStartStop/group/crio: images mismatch
2020-03-21 14:41:55 -07:00
Thomas Stromberg 17e6d84c3f Remove unused code 2020-03-21 10:47:58 -07:00
Thomas Stromberg e6948b90b4 Trim crio prefix, dedup results 2020-03-21 10:47:08 -07:00
Thomas Strömberg 0c7bddab2b
Merge pull request #7130 from govargo/feature/helm-tiller-2.16.3
bumpup helm-tiller v2.16.1 → v2.16.3
2020-03-21 10:36:56 -07:00
Thomas Strömberg 3022e9a773
Merge pull request #6773 from sayboras/bugfix/non-test
Fix none-test integration test
2020-03-21 10:28:11 -07:00
Thomas Stromberg d75dc6a229 Remove broken ExpectedDefaultDriver test, fix call to PreloadExists 2020-03-21 10:22:45 -07:00
Thomas Stromberg c42ecf95e0 Download dependencies for non-Docker runtimes 2020-03-21 07:53:03 -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
Priya Wadhwa 3dfb0ae98d check if preloaded tarball was downloaded if preload exists 2020-03-18 13:50:24 -07:00
Priya Wadhwa 2a38c7395e fix lint 2020-03-18 11:49:09 -07:00
Priya Wadhwa 17a30cdd7a Change download test to use unsupported preload version
So that we can still make sure that images are being pulled properly.

Also, remove the check for the kic base image. Right now, it isn't working, and I'm working on a fix in another PR.
2020-03-18 11:03:30 -07:00
sayboras 63dc938504 Update KUBECONFIG for change non user test
Install lz4 in ubuntu
2020-03-12 08:13:48 +11:00
Priya Wadhwa 3462c4ce94 Update integration test 2020-03-11 14:06:32 -07:00
Priya Wadhwa 68f236654f Add integration test 2020-03-10 19:32:22 -07:00
Thomas Stromberg 318f9f2b75 Flip boolean logic 2020-03-06 12:48:54 -08:00
Thomas Stromberg b5f1cf80a5 Fix nil pointer dereference on error 2020-03-06 12:32:30 -08:00
tstromberg 1f61f39bae Merge conflict 2020-03-05 15:33:46 -08:00
tstromberg 39631edec7 Remove hardcoded version number 2020-03-05 13:58:49 -08:00
tstromberg b6c96eef30 Skip ISO checksum validation if custom URL is specified 2020-03-05 13:49:48 -08:00
tstromberg de1d2639da Set explicit memory defaults in integration tests 2020-03-05 13:03:57 -08:00
Thomas Stromberg 3e772d0048 Merge master 2020-03-04 20:18:16 -08:00
Medya Ghazizadeh d5bc3fdc65
Merge pull request #6888 from sharifelgamal/driver
Switch --vm-driver paramter to --driver
2020-03-04 19:04:43 -08:00
Thomas Stromberg 27cca764b5 Fix integration test 2020-03-04 18:57:12 -08:00
Thomas Stromberg a1ebcbd031 Merge conflicts 2020-03-04 18:01:41 -08:00
Medya Ghazizadeh 9c1dbe745c
Merge pull request #6889 from tstromberg/symlink-inversion
Fix inverted certificate symlink creation logic
2020-03-04 16:29:18 -08:00
Thomas Stromberg d45471ca8d Add certificate sync integration test 2020-03-04 14:48:40 -08:00
Sharif Elgamal ac0c1bad42 missing files 2020-03-04 13:48:21 -08:00
Priya Wadhwa 26de14676d Add integration test for docker download only 2020-03-02 16:54:05 -08:00
Tam Mach 37f572befa Use existing function to check for none driver 2020-02-23 15:56:27 +11:00
sayboras 470a8dd39b Use command result arguments 2020-02-23 15:32:32 +11:00
sayboras 76cd0e49a1 Fix TestDownloadOnly for --vm-driver=none 2020-02-23 15:30:03 +11:00
sayboras 19d39800dd Add StartArguments in the command 2020-02-23 13:34:34 +11:00
Medya Gh c745cc46b2 add sudo to systemctl commands 2020-02-22 11:12:18 -08:00
Medya Ghazizadeh 44e7cb20ac
Merge pull request #6717 from medyagh/annotate_node
label minikube nodes
2020-02-21 17:00:07 -08:00
Medya Gh e6535896b4 integration test for show labels 2020-02-21 16:01:47 -08:00
Medya Gh a100eaef89 new flag for integration tests timeout-multiplier 2020-02-21 10:43:01 -08:00
Medya Gh 4c14c48304 lint 2020-02-21 09:46:37 -08:00
Medya Gh 2da158a1a0 typo 2020-02-20 17:01:28 -08: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
Medya Gh ef43e63e9b add miniutes 2020-02-20 15:58:05 -08:00
Medya Gh 7c831eb2de lint 2020-02-20 14:24:37 -08:00
Medya Gh c85fe4955d Add integration tests for node labels 2020-02-20 13:57:09 -08:00
Medya Gh 7ada4f5c7f lint 2020-02-19 22:41:23 -08:00
Medya Gh 97627cd131 lint functional test 2020-02-19 22:30:47 -08:00
Medya Gh 3165f5e441 goimports lint 2020-02-19 22:17:37 -08:00
Medya Ghazizadeh a5c76f894c
Merge pull request #6672 from aallbrig/profile-command-improvement
Profile command should not create non existent profiles
2020-02-19 21:20:51 -08:00
aallbright 020c0f3d93 Use JSON output to determine desired behavior 2020-02-19 22:56:32 -05:00
aallbright addb2e623e word -> line 2020-02-18 19:00:57 -05:00
aallbright ff873d2728 Add tests around nonexistent profiles 2020-02-18 07:10:27 -05:00
sayboras 6e20661da8 Add start cluster with latest version after failed downgrade 2020-02-16 21:33:04 +11:00
Medya Ghazizadeh dba9ce14ad
Merge pull request #6588 from priyawadhwa/minikube-kubectl-test
Add integration test for minikube kubectl command
2020-02-15 00:48:22 -07:00
tstromberg ccec3babb0 Merge conflict 2020-02-13 16:54:25 -08:00
Sharif Elgamal 6d8a112abe don\'t return that the machine doesn\'t exist if the k8s is stopped 2020-02-13 14:20:58 -08:00
Priya Wadhwa 3340e9bc2f fix test 2020-02-13 13:34:05 -08:00
Sharif Elgamal 2785d292f5 Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-13 10:15:04 -08:00
Tam Mach b911e8f038
Bump go-containerregistry to latest (#6073)
* Bump go-containerregistry to latest

Signed-off-by: sayboras <sayboras@yahoo.com>

* Fix integration for cache image
2020-02-13 02:20:32 -07:00
Medya Ghazizadeh 25167e1b75
Fix docker-env and add unit and integration tests (#6604)
* Fix docker cert env in docker-env for docker driver

* add unit tests

* add integration tests for docker-env cmd

* lint

* fix lint

* merge conflict

* improve docker-env integraiton test

* linting
2020-02-13 02:17:11 -07:00
Medya Ghazizadeh 398c7ef00b
Add podman driver (#6515) 2020-02-12 19:11:44 -07:00
tstromberg 2313b72a7d sync: Fix path confusion and directory creation bugs 2020-02-12 14:26:38 -08:00
Priya Wadhwa df8faad4bf Rebased on master, moved integration test to functional test 2020-02-12 09:54:17 -08:00
priyawadhwa af353314e0
Separate cached kubernetes binaries by OS on host machine (#6586)
* Separate cached kubernetes binaries by OS on host machine

This way, all kubernetes binaries stored in ~/.minikube/cache/linux will be copied over to the VM and used for `minikube kubectl` on linux machines. kubectl will be stored in `~/.minikube/cache/{windows or darwin}` on windows/darwin so that `minikube kubectl` still works.

* Review comment

* Update integration test

* Make sure --download-only includes OS specific kubectl

Update integration test to make sure we download
OS specific kubectl on darwin/windows when using --download-only flag
2020-02-11 23:23:37 -07:00
Sharif Elgamal adc1a56903 search and replace cleanup 2020-02-11 17:11:23 -08:00
Sharif Elgamal 744efaa330 REFACTOR COMPLETE? 2020-02-11 17:06:59 -08:00
Priya Wadhwa 1b196a6cbd Add integration test for minikube kubectl command 2020-02-11 14:05:06 -08:00
Priya Wadhwa 996f4e7ede Update integration test 2020-02-11 13:22:08 -08:00
anencore94 6540cfaf31
Update delete-config-context test (#6567)
update the test to use exitcode as as assertion
and to print stdout for debugging easily in error
case

Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
2020-02-10 13:44:53 -07:00
Thomas Strömberg 8762c48921
Merge pull request #6541 from anencore94/deleteContext
Fix to delete context when delete minikube
2020-02-07 16:15:56 -08:00
anencore94 460f8d0187 Fix bug to delete context when delete minikube
- when `minikube delete`, minikube must delete its config which
  are set when `minikube start`.
- But, there was some mistakes in the function that does this
  logic

Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
2020-02-07 20:00:08 +09:00
Thomas Stromberg caf4c62943 Move --install-addons toggle to tests that do not use addons 2020-02-06 17:35:52 -08:00
Thomas Stromberg 4ba0f52f57 Add flag to toggle installation of addons 2020-02-06 17:29:19 -08:00
tstromberg 4ed5b4838e Add integration test to ensure that we addons enabled while the cluster was stopped come up successfully 2020-02-03 10:50:06 -08:00