Medya Gh
ea1c273987
clean up inaccessible virtualbox
2019-10-07 13:40:40 -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
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
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
Priya Wadhwa
94638de7fd
Remove error in gvisor image since it works now
2019-08-08 12:52:40 -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
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
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
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
Thomas Stromberg
22a9dbb69b
Increase test timeouts
2019-03-25 19:10:01 -07: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 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
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
d56dc5dbfe
Avoid confusing log messages by moving TEST_HOME creation to after cleanup
2018-12-03 14:54:32 -08:00
Thomas Stromberg
e3d97e6a71
Show any running minikube and e2e processes
2018-12-03 12:46:25 -08:00
Thomas Stromberg
0e69c14b93
fix invalid OS_ARCH check, and list kubectl processes
2018-11-30 06:45:50 -08:00
Thomas Stromberg
a571aa7fb7
|| true everything
2018-11-29 21:44:20 -08:00
Thomas Stromberg
3b46d1cd00
Less output spam
2018-11-29 16:22:07 -08:00
Thomas Stromberg
d8d727bd8d
Add trailing newline
2018-11-29 15:51:41 -08:00
Thomas Stromberg
45ebebb125
Fix missing }
2018-11-29 15:50:45 -08:00
Thomas Stromberg
3f1b8a0c02
Merge branch 'master' into corresponding
2018-11-29 15:50:29 -08:00
Thomas Stromberg
81cdbae8d5
Refactor test harness to isolate test outputs
2018-11-29 15:43:40 -08:00
Balint Pato
6715122998
adding continuous build logic ( #3340 )
...
to reuse the same jenkins jobs, I just added extra logic into the
current scripts, namely: for cases when `$ghprbPullId` equals "master",
we ignore setting the github statuses.
2018-11-15 16:25:04 -08:00
Balint Pato
64e1853910
small fixes to boilerplate and integration test scripts ( #3212 )
...
Introduces hack/boilerplate/fix.sh that automatically fixes the copyright header in files.
2018-10-17 14:22:26 -07:00
Thomas Stromberg
abf6b5e5b6
Install gsutil if not already in PATH.
...
Also, some minor readability whitespace changes.
2018-09-26 15:37:17 -07:00
dlorenc
2998411912
Makefile fix.
2018-07-24 12:36:42 -07:00
dlorenc
7277fb358c
Fix vboxmanage cleanup
2018-06-08 10:22:43 -07:00
dlorenc
cc356e63c4
Miscellaneous none driver fixes.
2018-04-04 13:58:50 -07:00
Matt Rickard
7aa3af174e
Merge pull request #2419 from r2d4/int-test-fix
...
Integration test fixes
2018-01-11 15:25:39 -08:00
Matt Rickard
eb598c67c2
Stop vm before unregistering in integration test cleanup
2018-01-11 11:19:05 -08:00
dlorenc
e278d62eb5
Set permissions before cleanup.
...
Signed-off-by: dlorenc <dlorenc@google.com>
2018-01-10 13:48:51 -08:00
dlorenc
3d13450846
Make rbac creation idempotent.
...
Also cleanup the etcd data dir in jenkins.
2018-01-02 12:01:37 -08:00
dlorenc
dfc38a5942
Add a kubeadm reset command to the integration test cleanup.
...
This should fix some of the none driver issues with kubeadm.
2017-12-27 11:02:38 -08:00
kairen
745645b929
Use yaml file to create nginx pod and service
2017-12-02 03:28:47 +08:00
kairen
1fded4e97e
Copy nginx-ing.yaml to testdata directory on Jenkins
2017-12-02 02:46:52 +08:00
Matt Rickard
3fceab3b51
Download localkube in e2e test
2017-10-31 09:40:26 -07:00
Matt Rickard
c20ebde431
Bypass version check for localkube file URI
2017-10-30 09:22:33 -07:00
Matt Rickard
f966c8cf31
Add NewMinikubeRunner, separate start args
...
* Separate start args from args passed to every command. This is so
that we can call `minikube logs` and `minikube status` with the proper
flags (for the bootstrapper)
* Add a NewMinikubeRunner function to make getting a minikube runner
easier.
2017-09-08 20:14:21 -07:00
Matt Rickard
ac65b58363
Review feedback
2017-09-06 10:22:09 -07:00
Matt Rickard
967ac2c754
Keep ~/.minikube/cache directory
...
We shouldn't blow away the cache on every integration test.
keep .minikube for tests
hack/jenkins: Delete VM before manual cleanup
2017-08-30 22:36:21 -07:00
Matt Rickard
81f12caa87
Merge pull request #1828 from r2d4/in-tree-kvm
...
Bring KVM driver in-tree
2017-08-30 10:46:29 -07:00
Matt Rickard
48b165808c
Bring KVM driver in-tree
...
Add boilerplate
Review feedback
2017-08-28 11:52:35 -07:00
Matt Rickard
afc8b52fd8
Change cleanup command to accomodate swap disk
...
Hyperkit was mounting swap disks, which we can't detach with the
hdiutil util like we're using. Its sufficient to just hdiutil detach
/dev/disk1
```
/dev/disk1 FDisk_partition_scheme
/dev/disk1s1 Linux
/dev/disk1s2 Linux_Swap
```
2017-08-28 10:43:32 -07:00
dlorenc
a05a4fe35a
Code review feedback.
2017-08-24 11:54:59 -07:00
dlorenc
e3d239929b
Jenkins/Makefile targets.
2017-08-24 11:54:59 -07:00
dlorenc
8837045970
Stop using insecure serving.
2017-07-26 14:38:57 -07:00
Matt Rickard
0aa9c3b860
Add some debugging output when the tests fail
2017-07-24 13:17:59 -07:00
Matt Rickard
f1f0dd26e8
Add some cleanup commands to the integration tests
...
Bad tests that panic won't clean themselves up properly. By putting
these cleanup commands before we run the minikube integration tests, we
ensure that minikube will have a clean environment to run.
These all run in common.sh to make sure that even hypervisors that they
arent testing don't interfere with their own test. OS specific
commands will fail silently.
2017-06-12 13:55:04 -07:00
Aaron Prindle
f4a8ece0ae
Additional none driver changes
2017-05-26 13:33:26 -07:00
Aaron Prindle
847b52d50f
Fixed mount daemon to be off by default and to use different directories than the current mounts until they are turned off.
2017-05-19 14:00:18 -07:00
Aaron Prindle
c9767886f6
Added mount daemon process that is starts/stops w/ minikube start/stop
2017-05-17 11:50:24 -07:00
dlorenc
4e23392c03
Add some extra cleanup to common.sh ( #1495 )
...
* Add some extra cleanup to common.sh
* Sudo more commands.
2017-05-15 11:19:11 -07:00
Matt Rickard
01f7216af1
Run integration tests with default args
...
We should run all the integration tests with the default minikube
values.
2017-05-08 13:47:00 -07:00
Aaron Prindle
8e801e3975
Update mount implementation, add mount integration tests, and check that path exists.
2017-04-06 13:39:25 -07:00
Dan Lorenc
8fd8564acd
Add an integration test for pvcs.
2017-02-27 13:43:19 -08:00
Matt Rickard
a125157f44
Detect and test against ISO changes
...
When changes are made to the ISO folder, rebuild and upload the newly
modified image. Use this uploaded image as the default in the e2e test
binaries, so that the e2e test suite runs against the PR's changes.
TODO: Subsequent PRs (no changes to ISO) will still run against the
default version in the makefile. We should figure out if we want to
always run tests against the "latest" image.
2017-02-14 13:42:20 -08:00
Matt Rickard
d8bc509561
Parameterize jenkins jobs
2017-01-09 15:17:17 -08:00
Xinbo Weng
c76ad1cf81
fix some typos
...
Signed-off-by: Xinbo Weng <xihuanbo_0521@zju.edu.cn>
fix my errors
Signed-off-by: Xinbo Weng <xihuanbo_0521@zju.edu.cn>
2016-12-24 13:20:18 +08:00
Matt Rickard
5316802f8a
Only copy over the files we need from test bucket
...
Sometimes gsutil cp -r can miss files. We also don't need to copy over
every file. Additionally, I started to abstract the OS_ARCH away so
that we can more easily template the jenkins OS tests.
2016-11-28 13:50:04 -08:00