Commit Graph

336 Commits (f22a8ce4f24fa0400e480b40fb02022ea8379f27)

Author SHA1 Message Date
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 Björklund fccc77cacb
Merge pull request #4556 from afbjorklund/kvm2-packages
Add linux packaging for the kvm2 driver binary
2019-07-16 10:05:37 +02:00
Priya Wadhwa 6f65e3f822 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-07-15 17:01:24 -07:00
cclauss a23169c25e
Undefined name 'test' in run_tests.py
This issue was hidden by the syntax error in #4741

$ __time flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
./hack/prow/run_tests.py:28:32: F821 undefined name 'test'
  classname = os.path.basename(test).split('.')[0]
                               ^
1     F821 undefined name 'test'
1
```
2019-07-15 19:15:40 +02: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
cclauss 610419df04 Use print() function in both Python 2 and Python 3
Signed-off-by: cclauss <cclauss@me.com>
2019-07-12 00:32:38 +02: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
fang duan 0900b2b73b Reduce direct dependency by using glog 2019-06-26 10:35:48 -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 159e69fa10 Return err 2019-05-14 20:20:53 -07:00
Thomas Stromberg 6e693d22ee lint-a-geddon is here 2019-05-13 21:43:52 -07:00
tstromberg 9a9f9edf5f First pass at lint-ageddon 2019-05-13 18:31:55 -07:00
Tiago Ilieve 8b17e6070c Add Go modules, remove Go dep 2019-05-13 20:39:31 +02:00
Sharif Elgamal 02cf642a7d
Add script to update kubernetes version 2019-05-01 15:06:21 -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
Sharif Elgamal a415ffef07
fix boilerplate 2019-04-03 11:12:08 -07:00
Sharif Elgamal 9565c9303a
adding boilerplate 2019-04-02 15:59:47 -07:00
Sharif Elgamal 15614bf1bc
Add conformance test script 2019-04-02 15:50:54 -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
Thomas Strömberg 44372fa0ac
Merge pull request #3815 from tstromberg/v0.35.0
Add script to automate tag creation.
2019-03-11 09:37:44 -07: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
Thomas Stromberg d62b982c56 Add script to automate tag creation. 2019-03-06 17:57:17 -08:00
Anders F Björklund 3becc78d5e Build rpm package as part of the release process 2019-02-26 19:58:12 +01:00
Anders Björklund dc39b13972
Merge pull request #3745 from afbjorklund/deb
Improve building of deb package (versioning and permissions)
2019-02-26 19:56:41 +01:00
Thomas Strömberg afced6ccb1
Merge pull request #3653 from donmccasland/prow-results-script
Prow results script
2019-02-25 11:25:07 -08:00
Anders F Björklund 2acf369bae Fix versioning of the deb package, remove revision
Closes #3741
2019-02-24 20:36:10 +01:00
Don McCasland ffc834c3fe
out-dir for consistency 2019-02-21 16:44:21 -08:00
Don McCasland cbc1b08af9
Adding classname parser and clarifying test_script parameter 2019-02-20 11:12:35 -08:00
Don McCasland 0445c31939
differentiating build_log and build_log_file 2019-02-20 11:08:01 -08:00
Thomas Stromberg 8b93331ff3 none tests: Cleanup /var/lib/minikube 2019-02-14 20:20:49 -08:00
Don McCasland 63ff0b3d0b
args list can be simpelr 2019-02-14 13:30:54 -08:00
Don McCasland 565a9c8559
Addressing review comments 2019-02-12 15:26:17 -08:00
Don McCasland 3226fa8aa2
Addressing review comments 2019-02-12 15:17:46 -08:00
Don McCasland 4c515e616c
Correcting boilerplate 2019-02-12 09:37:21 -08:00
Don McCasland 20064156c2 Adding boilerplate to run_tests.py 2019-02-12 08:23:14 -08:00
Don McCasland 6247ce0632
Adding a script that will run platform tests, parse results and write them out in format that prow can understand, then upload those results into a bucket that prow can read. 2019-02-11 15:27:39 -08:00
Thomas Stromberg e98e789923 Make date regexp more flexible so that we don't have to update it yearly 2019-02-07 10:20:05 -08:00
Thomas Strömberg f09ad240fc
Use minikube-bin AUR instead of minikube
Resolves #2640
2019-01-23 20:39:10 -08:00
Thomas Strömberg de7df46130
Merge pull request #3456 from tstromberg/kubeadm-reset
First try "kubeadm reset" without -f, primarily for older versions.
2018-12-18 11:03:05 -08:00
Thomas Stromberg 5e2dc6948e Extend Jenkins integration test timeout from 30m to 50m.
We've recently added TestFunctionalContainerd, which can take 10-15
minutes, pushing us over the edge in many cases.
2018-12-17 11:46:21 -08:00
Thomas Stromberg 382bfabf0c First try "kubeadm reset" without -f, primarily for older versions.
For newer versions, it seems more pleasant anyways. This approach is at
least less ugly than parsing JSON from a shell script to version sniff.
2018-12-14 14:10:39 -08:00
Thomas Strömberg e90390d307
Merge pull request #3415 from tstromberg/routes
Report and clean up stale tunnel routes
2018-12-06 08:20:24 -08:00
Thomas Stromberg 41fd26a063 Use ip route commands on Linux, as they show the subnet which may be required for deletion 2018-12-05 17:31:16 -08:00
Thomas Stromberg 198c1724c7 none cleanup: force kubeadm, clear /etc/kubernetes, and use sudo for kubectl kill 2018-12-05 17:31:16 -08:00
Thomas Stromberg 468182238c Revert "Use ip route commands on Linux, as they show the subnet which may be required for deletion"
This reverts commit fc5256b21e.
2018-12-05 17:28:19 -08:00
Thomas Stromberg fc5256b21e Use ip route commands on Linux, as they show the subnet which may be required for deletion 2018-12-05 17:27:39 -08:00
Thomas Strömberg 21288ad283
Merge branch 'master' into dead-mount 2018-12-05 17:21:11 -08:00
Thomas Stromberg cd5d5b33a3 Redirect output on delete, leave it on cleanup 2018-12-05 15:24:01 -08:00
Thomas Stromberg 8192620c3f tunnel --clean should be tunnel --cleanup 2018-12-05 15:20:13 -08:00
Thomas Stromberg eaf6c9248d Explicitly call tunnel --cleanup, use ip route on Linux 2018-12-05 15:13:48 -08:00
Thomas Stromberg b5707d56e6 add or-trues 2018-12-05 13:49:56 -08:00
Thomas Stromberg 1b155d9952 add or-trues 2018-12-05 13:48:31 -08:00
Thomas Stromberg 0a40801421 kill hung test commands and improve hung process output 2018-12-05 13:18:00 -08:00
Thomas Stromberg d7cc1a2938 Cleanup stale minikube routes instead of just outputting a route table 2018-12-05 12:02:15 -08:00
Thomas Stromberg a93866e4e0 Merge branch 'master' into routes 2018-12-05 10:49:24 -08:00
Thomas Stromberg 82668a7c0d Fix variable expansion to avoid confusing error message 2018-12-05 10:49:17 -08:00
Thomas Stromberg 4b33fd2dc4 Add missing } 2018-12-05 10:18:33 -08:00
Balint Pato 28bfc5ec53
Update hack/jenkins/print-debug-info.sh
Co-Authored-By: tstromberg <tstromberg@google.com>
2018-12-04 15:16:05 -08:00
Balint Pato 568c4ef889
Add -f inet
Co-Authored-By: tstromberg <tstromberg@google.com>
2018-12-04 15:15:54 -08:00
Thomas Stromberg 2a67d65bf5 Add tunnels.json and netstat -rn (before & after) to debug output 2018-12-04 14:11:15 -08:00
Thomas Stromberg f18e05a8d4 none cleanup: force kubeadm, clear /etc/kubernetes, and use sudo for kubectl kill 2018-12-04 13:37:31 -08:00
Thomas Stromberg 5a4b316e3e Merge branch 'master' into none_cleanup 2018-12-03 14:55:15 -08:00
Thomas Stromberg d56dc5dbfe Avoid confusing log messages by moving TEST_HOME creation to after cleanup 2018-12-03 14:54:32 -08:00
Thomas Strömberg 8388503b4d
Merge pull request #3395 from tstromberg/none_cleanup
Disable running kubelets and show any minikube/e2e processes that are running
2018-12-03 14:23:58 -08:00
Thomas Stromberg 961199a7fa Stop active kubelets 2018-12-03 12:46:58 -08:00
Thomas Stromberg e3d97e6a71 Show any running minikube and e2e processes 2018-12-03 12:46:25 -08:00
Thomas Stromberg c518e31d89 Fix incomplete ssh line, add useful debugging commands 2018-12-03 10:29:37 -08:00
Thomas Stromberg 0e69c14b93 fix invalid OS_ARCH check, and list kubectl processes 2018-11-30 06:45:50 -08:00
Thomas Stromberg 48e6f2c6cf Remove ps output, make status independent of rest of minikube debug chain to avoid dependencies 2018-11-30 06:44:32 -08:00
Thomas Stromberg a571aa7fb7 || true everything 2018-11-29 21:44:20 -08:00