Commit Graph

423 Commits (ba84f942bd1f872644fe1af5b071c22964b67abc)

Author SHA1 Message Date
Thomas Strömberg ba8aeaae71
Merge pull request #5784 from tstromberg/podwait-none2
Improve reliability of TestStartStop with none driver
2019-10-30 06:08:53 -07:00
Thomas Stromberg 042d509085 kill VboxHeadless processes, move load warning until after processes are killed 2019-10-29 22:57:14 -07:00
Thomas Stromberg 3238542390 Fix awkward typo in macOS script 2019-10-29 22:51:22 -07:00
Thomas Stromberg ce8e7e1510 Merge and fix LOAD calculation 2019-10-29 22:12:23 -07:00
Thomas Stromberg 9a8c26c2fe Call sudo to install cleanup script on Linux 2019-10-29 22:05:39 -07:00
Thomas Stromberg 970fc60403 Remove old kubeadm reset hack, also forcibly kill docker processes 2019-10-29 21:50:02 -07:00
Thomas Stromberg 0b65bbf1d9 Use underscores for script names, clear dhcpd leases 2019-10-29 21:33:39 -07:00
Thomas Stromberg f8a114ada9 t fetch
Merge branch 'cleanup-scripts' of github.com:tstromberg/minikube into cleanup-scripts
2019-10-29 21:29:17 -07:00
Thomas Stromberg af6468f5a4 Move gvisor testing to live behind a flag, double timeout 2019-10-29 20:20:33 -07:00
Thomas Stromberg 2c960a1435 Remove PARALLEL_COUNT 2019-10-29 20:15:35 -07:00
Thomas Stromberg df2dff532a Increase timeout to 90m, unset PARALLEL_COUNT 2019-10-29 20:03:39 -07:00
tstromberg f8f38f917b Fix issues with crontab installation 2019-10-29 16:10:13 -07:00
Thomas Strömberg d32431efba
Merge pull request #5735 from tstromberg/gvisor-yiso
gvisor: Use chroot instead of LD_LIBRARY_PATH
2019-10-25 15:41:28 -07:00
tstromberg 30614d1fbe Mention GVISOR_IMAGE_VERSION 2019-10-25 15:08:46 -07:00
tstromberg 416f132ebb Pass --expected-default-driver to the test rather than minikube
Improve VBoxManage detection on Windows

Add missing install_test
2019-10-25 10:43:30 -07:00
Thomas Stromberg 4d84ac2561 Merge branch 'master' into cleanup-scripts 2019-10-24 15:46:33 -07:00
Thomas Stromberg 33ef4e1103 Add comment explaining why EXPECTED_DEFAULT_DRIVER=hyperkit 2019-10-24 15:26:34 -07:00
Thomas Stromberg c2fd3c6504 Move expected driver check to its own subtest 2019-10-24 15:23:39 -07:00
Thomas Stromberg 32c3ccd486 Use print instead of printf to preserve whitespace 2019-10-24 13:01:52 -07:00
Thomas Stromberg bdd937d360 Adjust -expected-default-driver invocation 2019-10-23 22:06:48 -07:00
Thomas Stromberg dcdac36e98 Add integration tests 2019-10-23 21:45:23 -07:00
tstromberg 255e755622 Merge branch 'master' into cleanup-scripts 2019-10-21 11:37:39 -07:00
tstromberg fb6295823f rsync cron directory 2019-10-21 11:37:32 -07:00
Thomas Stromberg 0ce8ab0524 Add boilerplate 2019-10-17 13:11:31 -07:00
Thomas Stromberg 0c77885329 Add boilerplate 2019-10-17 13:11:04 -07:00
Thomas Stromberg b5f071d67f Fix 'grep: invalid character range' error on macOS 2019-10-17 13:09:05 -07:00
Thomas Stromberg c3e20bac5e Add boilerplate 2019-10-17 12:42:14 -07:00
Thomas Stromberg 305209e869 Automatically install periodic cleanup script on macOS and Linux 2019-10-17 12:19:43 -07:00
Thomas Stromberg 554f553c9e Include top output with load warning 2019-10-17 11:54:52 -07:00
Thomas Stromberg 23e94a3257 Use full paths consistently in cleanup 2019-10-17 11:37:14 -07:00
Thomas Stromberg 53136c8bb6 Add load warning, fix profile deletion, make vbox iface cleanup less noisy 2019-10-17 11:23:55 -07:00
Thomas Strömberg 7a7689bef3
Merge pull request #4780 from marekschwarz/DELETE_ALL_PROFILES
Added option to delete all profiles
2019-10-16 13:06:25 -07:00
Medya Ghazizadeh 89bc5922d9
Merge pull request #5622 from tstromberg/jenkins-mystery
jenkins: rsync needs -R, add version output
2019-10-14 15:08:52 -07:00
Thomas Stromberg a4e8b63de9 Calculate OS_ARCH, as the variable doesn't exist in this context 2019-10-14 14:37:03 -07:00
tstromberg 2a5174ad41 rsync needs -R, add version output 2019-10-14 12:12:48 -07:00
Thomas Strömberg 72698efd5f
Merge pull request #5620 from tstromberg/jenkins-mystery
gsutil: Remove trailing slashes, rsync instead of cp
2019-10-14 10:28:25 -07:00
tstromberg 47d558123d gsutil: Remove trailing slashes, rsync instead of cp 2019-10-14 09:06:31 -07:00
Marek Schwarz 09ce93faf0 Added delete --all to common.sh
Run delete --all after start_stop_delete_test
2019-10-10 21:32:27 +02:00
tstromberg 34b6f6d4fb Include hostonlyifs cleanup 2019-10-09 15:55:30 -07:00
tstromberg 96b230ecf2 Fix wildcard deletion 2019-10-09 15:37:12 -07:00
tstromberg c389944391 Make virtualbox cleanup less repetitive and log statements 2019-10-09 14:15:33 -07:00
tstromberg fac45f54a4 Split vbox cleanup across two commands so that failures in one does not prevent further cleanup 2019-10-09 13:59:50 -07:00
Sharif Elgamal 35dd5db0de
Revert "clean up inaccessible virtualbox" 2019-10-09 13:55:01 -07:00
Medya Ghazizadeh c5111ef3f5
Merge pull request #5559 from medyagh/cleanup_inaccessible
clean up inaccessible virtualbox
2019-10-07 22:33:24 -07:00
Sharif Elgamal c7c7201757
Fix Jenkins Cross script to copy testdata properly
`gsutil` changed its cp behavior starting with version 4.46, we need to change how we call it in order to preserve the directory structure our tests are expecting.
2019-10-07 14:53:19 -07:00
Medya Gh 008e4c9fcb dont fail on clean up dir 2019-10-07 14:32:32 -07:00
Medya Gh ea1c273987 clean up inaccessible virtualbox 2019-10-07 13:40:40 -07:00
chentanjun 9852c29ab2 fix-up typo 2019-09-22 10:10:37 +08:00
tstromberg 86617fb248 Fix RELEASE_FLAGS undefined bug, add survey callout 2019-09-19 10:58:08 -07:00
Thomas Stromberg 0651116ed1 Address lint issues 2019-09-18 06:38:50 -07:00
Thomas Stromberg 8b83c64d4a Remove trailing space 2019-09-18 06:37:03 -07:00
Thomas Stromberg 145208875d Copy ISO to github, improve release note parsing 2019-09-18 06:34:36 -07:00
Thomas Stromberg 5174ec6297 Fix markdown typo on release page 2019-09-18 06:17:02 -07:00
Thomas Stromberg e426d885d7 Remove all files in %stale_dir, to handle tests which add new files 2019-09-16 22:17:09 -07:00
Thomas Stromberg 9fb91ad4ab Remove test files sitting in stale_dir 2019-09-16 21:21:31 -07:00
Thomas Stromberg 9daa982244 Remove awk cut, not necessary for uuids 2019-09-16 21:02:51 -07:00
Thomas Stromberg 6a0ec545a6 Use uuids for deletion 2019-09-16 21:02:31 -07:00
Thomas Stromberg 3f38e63d5c integration tests: Revise leftover VM cleanup 2019-09-16 20:22:41 -07:00
Thomas Stromberg dd2725a870 Remove obsolete --minikube-args flag 2019-09-11 13:08:01 -07:00
Thomas Stromberg 7a5042793b Merge branch 'master' into norunner2 2019-09-11 11:54:24 -07:00
Thomas Stromberg bd915826b3 Decrease log spam, remove unused env vars 2019-09-11 09:57:29 -07:00
josedonizetti f22a8ce4f2 Add recursive copy to test/integration/testdata 2019-09-11 11:34:29 -03:00
tstromberg 0cac1eb4e4 Mark alpha/beta releases as a pre-release on GitHub 2019-09-05 15:39:40 -07:00
tstromberg c6cfd64ec2 Add - for ~ replacement in release_build_and_upload 2019-09-05 15:03:35 -07:00
tstromberg b14adecbe8 Substitute dashes for tildes when generating Linux packages 2019-09-05 14:35:35 -07:00
tstromberg e3ad0bb20e Set GOPATH, add diagnostics 2019-09-05 10:23:37 -07:00
Thomas Stromberg 3fe41c6cf3 skip json and brew update if this is a non-standard release 2019-09-04 15:02:34 -07:00
Thomas Stromberg fe6527f8d5 Only call gsutil for non-alpha/beta releases, remove invalid GOPATH 2019-09-04 11:37:04 -07:00
Thomas Stromberg 964f11b85e Inline release notes into GitHub release page 2019-09-04 11:25:11 -07:00
Sharif Elgamal 830be73615
adding proper cleanup scripts for windows CI 2019-08-26 17:41:10 -07:00
Medya Ghazizadeh d49fe88921
skip gvisor test setup on mac (#5136)
* skip gvisor setup on mac
2019-08-20 02:39: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 6a2883ca98 clean vbox procs before start test 2019-08-19 19:18:52 -07:00
Medya Gh 165a811d0c remove extra C 2019-08-19 18:36:19 -07:00
Medya Gh def1b91089 fix name 2019-08-19 17:43:12 -07:00
Medya Gh 05d81ffc5d clean up zombie procs before starting integration tests 2019-08-19 17:41:46 -07:00
Medya Gh dd94e15f7b move the gvisor test setup before the minikube start 2019-08-19 16:23:40 -07:00
Medya Gh af16d336da Fixed givsor test setup and added time out to integration test 2019-08-18 01:39:42 -07:00
Medya Ghazizadeh 434ca47c72
Merge pull request #5095 from medyagh/update_golang_ver
Ensure specific golang version everywhere in CI based on Makefile
2019-08-17 19:28:33 -07:00
Medya Gh 3599e8fd7a Fix boilerplate 2019-08-16 17:02:38 -07:00
Medya Gh fda017d7b3 remove default, fix indent, set pipefail 2019-08-16 10:21:08 -07:00
Medya Ghazizadeh 8b7b06f8ca
Update release_build_and_upload.sh 2019-08-15 17:42:15 -07:00
Medya Ghazizadeh be0dc2d26c
update boilerplate year 2019-08-15 17:00:40 -07:00
Medya Ghazizadeh c02ea8eb40
Update release_build_and_upload.sh 2019-08-15 15:56:19 -07:00
Medya Gh 51dcf9243e Added comment 2019-08-15 15:44:22 -07:00
Medya Gh b6c8346df1 Fix string compare whitespace 2019-08-15 15:12:16 -07:00
Medya Gh f63208ba41 added chown 2019-08-15 15:07:28 -07:00
Medya Gh 6ace05d38b add go install to both release and cross build 2019-08-15 15:07:15 -07:00
Priya Wadhwa 198d6397f9 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-08-15 13:56:37 -07:00
Medya Gh dba55201b0 Ensure specific golang version is installed on build agents 2019-08-15 13:46:25 -07:00
Sharif Elgamal 294f880106
Localization support for help text (#4814)
* Translating help text

* explicity set usage template so we can localize it

* cleaning up extract and translation files

* Add extraction for flags help text

* some comments for extract

* refactor to account for new behavior

* Make usage template translations more palatable.

* remove commented code

* fix go mod

* pin to proper version in go.mod

* translate command grouping headers
2019-08-12 11:16:20 -07:00
Priya Wadhwa bd17652481 Merge branch 'master' of https://github.com/kubernetes/minikube into gvisor-image 2019-08-08 13:10:04 -07:00
Priya Wadhwa 94638de7fd Remove error in gvisor image since it works now 2019-08-08 12:52:40 -07:00
tstromberg bbe9e8a228 OS<->driver 2019-08-06 16:37:10 -07:00
tstromberg c8a24b3629 Delete old code 2019-08-06 16:33:25 -07:00
tstromberg eb4fdaab66 Consistently use <driver>_<OS> for test targets 2019-08-06 16:33:17 -07:00
tstromberg cfdc944e74 Consistently use <driver>_<OS> for test targets 2019-08-06 16:33:04 -07:00
Priya Wadhwa 24a2748af8 rebased, fixed merge conflicts 2019-08-05 13:53:23 -07:00
Medya Gh 6b495f8cdb move download logic to TestDownloadOnly 2019-08-01 10:58:00 -07:00
Medya Gh 59e6dc8f46 add more tear down and clean up 2019-08-01 00:31:38 -07:00
Medya Ghazizadeh 7ed6710eda
Update osx_integration_tests_hyperkit.sh 2019-07-30 22:46:23 -07:00
Medya Ghazizadeh 09b8d4d2b0
Update osx_integration_tests_virtualbox.sh 2019-07-30 22:45:59 -07:00
Medya Ghazizadeh 83ad8ef6c5
Update linux_integration_tests_virtualbox.sh 2019-07-30 22:45:44 -07:00
Medya Ghazizadeh 911f0e7ecf
Update linux_integration_tests_kvm.sh 2019-07-30 22:45:29 -07:00
Medya Gh ea2278ec76 Trying 4 2019-07-30 21:21:33 -07:00
Medya Gh 1e189815fd trying 6 2019-07-30 19:30:11 -07:00
Medya Gh 0c1796e202 Trying settings parallel 2 2019-07-30 18:18:48 -07:00
Medya Gh ca7bee4936 tweak parallel setting 2019-07-30 13:21:53 -07:00
Medya Gh ce27dba276 Added timeout for start 2019-07-30 10:45:52 -07:00
Medya Gh 4c8ea939ab defer delete minikube in all tests 2019-07-30 10:45:31 -07:00
Medya Gh eee34071fe Added new config var for test script PARALLEL_COUNT 2019-07-30 10:45:05 -07:00
Medya Gh 050c7aedb3 add new helper for minikube runner fix proxy test
merge upstream commons
2019-07-30 10:44:21 -07:00
Medya Gh e3db9a41ba decouple isNoneDriver from minikube driver for more reusability 2019-07-30 10:43:47 -07:00
Medya Gh 25bc27e170 move file download logic to common.sh 2019-07-30 10:43:20 -07:00
Medya Gh 9b3f72024a list vms after clean up 2019-07-30 10:42:55 -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
Sharif Elgamal e86969d4fc
Adding cleanup CI scripts to source control (#4916)
* Adding cleanup CI scripts to source control

* cleanup

* spelling

* small fixes
2019-07-29 17:48:12 -07:00
Medya Gh 64cced0538 exclude bash hyperkit from being cleanup 2019-07-28 00:06:10 -07:00
Medya Gh b6ea8d8e6b increase timeout 2019-07-27 20:08:12 -07:00
Medya Gh 9852ebbb68 CI: list vms after clean up 2019-07-27 18:13:03 -07:00
Medya Gh fb1b6ebbef remove inaccessible stale vbox vms 2019-07-27 15:57:17 -07:00
Medya Gh 32257a9418 Add -E to sudo for preserving env 2019-07-27 15:46:10 -07:00
Medya Gh 5f31c85231 CI: clean up stale none process 2019-07-27 15:16:23 -07:00
Medya Ghazizadeh de8dddf094
Update common.sh 2019-07-26 17:45:27 -07:00
Medya Ghazizadeh 546eb8e05c
Update common.sh 2019-07-26 16:49:12 -07:00
Medya Ghazizadeh 7bc2eac7f3
Update common.sh 2019-07-26 16:43:22 -07:00
Medya Ghazizadeh 9db0757690 kill hung procc with sudo and release port (#4882) 2019-07-26 13:23:15 -07:00
Priya Wadhwa 9eef647769 save file in MINIKUBE_HOME 2019-07-16 10:32:10 -07:00
Anders F Björklund a1e1090422 Add linux packaging for the kvm2 driver binary 2019-07-14 09:28:27 +02:00
Priya Wadhwa f55b38ec21 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-07-11 16:21:39 -07:00
Priya Wadhwa 065045e02a Save gvisor-image.tar in /files 2019-07-11 15:18:56 -07:00
Priya Wadhwa d68e054dfd Attempt to copy gvisor tar and load with ctr 2019-07-11 11:58:57 -07:00
Priya Wadhwa 3ffe2af1e4 Point docker daemon to minikube and rebuild docker image 2019-07-10 16:14:46 -07:00
Priya Wadhwa e6653b78eb Build and push the gvisor image, setting an environment variable
which can be picked up during integration testing.

I opted to do it this way because the locally built gvisor image wasn't
being picked up by minikube, because the docker daemon wasn't
configured, since minikube isn't up and running yet. Even if the docker daemon was configured to point to
minikube, we wouldn't be able to build the gvisor-image from the test
itself.
2019-07-10 14:13:17 -07:00
Priya Wadhwa 6086259696 fix destination in common.sh 2019-07-10 13:01:08 -07:00
Priya Wadhwa 1a49eecaf7 Upload gvisor-addon to integration tests bucket; build gvisor image from common.sh 2019-07-09 17:08:36 -07:00
Thomas Stromberg 5f4c0e2bbb Increase Jenkins test time from 75 to 90 minutes 2019-06-20 16:21:36 +08:00
Medya Gh bb8ab6d3e3 adding hyperv integration script 2019-06-05 15:21:55 -07:00
tstromberg 3b9b5e5e75 Document required env variables 2019-04-29 16:06:13 -07:00
tstromberg 198d794ba5 Remove unused ArchLinux releaser, raise errors if Brew push fails.
Also renames release_update_installers.sh to release_update_brew.sh.
It's preferable for each package script to run in its own process space.
2019-04-29 16:03:05 -07:00
Anders F Björklund f7a8294126 The GitHub release notes were missing a version 2019-03-27 18:24:44 +01:00
Thomas Stromberg 22a9dbb69b Increase test timeouts 2019-03-25 19:10:01 -07:00
Anders F Björklund bedcd7bf98 Include checksum for the docker-machine drivers 2019-03-24 16:31:53 +01:00
Anders Björklund 844a3ee1e9
Merge pull request #3838 from afbjorklund/dos
Fix exe suffix and missing checksum for windows binary
2019-03-13 20:19:24 +01:00
Anders F Björklund 1fd7c0ddf6 Fix exe suffix and missing checksum for win bin
Windows needs that DOS suffix, so we make a copy
2019-03-10 10:46:47 +01:00
Anders F Björklund f1179da0ae Add missing variable and upload of rpm to github 2019-03-07 07:18:27 +01:00
Anders F Björklund 3becc78d5e Build rpm package as part of the release process 2019-02-26 19:58:12 +01:00
Anders F Björklund 2acf369bae Fix versioning of the deb package, remove revision
Closes #3741
2019-02-24 20:36:10 +01:00
Thomas Stromberg 8b93331ff3 none tests: Cleanup /var/lib/minikube 2019-02-14 20:20:49 -08:00
Thomas Strömberg f09ad240fc
Use minikube-bin AUR instead of minikube
Resolves #2640
2019-01-23 20:39:10 -08:00