Commit Graph

99 Commits (33584026c1bbe92310c66926abfe3afe39381dd7)

Author SHA1 Message Date
Matt Rickard cae751ad38 Disable busybox cache for windows 2017-10-03 08:53:41 -07:00
Matt Rickard 5ba262d1ce Disable provisioning test for kubeadm for now.
Until we get caching and can run an external storage provisioner.
2017-09-14 13:51:37 -07:00
Matt Rickard 3180e2e897 Merge pull request #1938 from r2d4/integration-test-cleanup-
Integration test cleanup
2017-09-12 14:28:28 -07:00
Matt Rickard 53341aa30d golint, go vet, etc. changes 2017-09-11 14:17:58 -07:00
Matt Rickard 9747484e9e Move k8s utils to pkg/util 2017-09-08 20:14:28 -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 86ecc90fe2 Run busybox integration test in default namespace
If we choose a random namespace, the test will fail since RBAC
permissions will not be set up correctly.

This also chooses a randomly generated name, so that if we are running
an integration test while another busybox pod is still cleaning up,
there are no errors
2017-09-08 20:14:21 -07:00
Matt Rickard ac65b58363 Review feedback 2017-09-06 10:22:09 -07:00
Matt Rickard eb73bad9c5 Cache busybox in integration test 2017-08-30 22:36:21 -07:00
Matt Rickard 6ac177fd7a Make MinikubeRunner implement CommandRunner
It is useful to be able to have a command runner to call directly in the
integration tests
2017-08-30 22:36:21 -07:00
Matt Rickard 6c73183cea Add target for none driver integration
Theres currently no good way to run the integration tests for the none
driver locally.  Now that we've added the e2e target, we can depend on
that.  Running the e2e test binary locally requires the testdata folder
to be in a different path, since it is relative to where the code is
being ran.  I added a testdata-dir flag to the integration tests so we
can set it appropriately for when we want to run the e2e binary by
itself.

I also made the e2e test binary a PHONY target, so we rebuild it each
time.  I had trouble collecting the dependencies on the integration
test packages
2017-08-28 11:56:30 -07:00
Matt Rickard 211ebb8a69 Use kubernetes client in integration tests 2017-08-23 13:09:30 -07:00
dlorenc 0b5bd79d50 Refactor of retries in integration tests. 2017-08-23 10:19:11 -07:00
Matt Rickard c7247b9b17 Remove 30 second wait from start stop
I removed this awhile ago, but I'm not sure how it snuck back in.
The original issue was that the VM was getting a new IP, but the driver
was parsing the leases file and still picking the old IP.  So the only
way to fix it was to wait for the old lease to expire.
2017-08-21 21:39:55 -07:00
Matt Rickard 4e9c1c8a17 Remove systemd integration test
It didn't really do much, and we don't require systemd anymore.
2017-06-20 14:17:19 -07:00
Nick Kubala cf911b82c0 change build rule to be logical AND instead of OR 2017-06-13 10:28:19 -07:00
Nick Kubala 99ebdf0977 remove log entry and rename file 2017-06-13 10:28:19 -07:00
Nick Kubala 5d66ac22f0 use go build tag over make flag 2017-06-13 10:28:19 -07:00
Nick Kubala 13395a067d add integration-versioned make rule to run certain integration tests on all supported k8s versions 2017-06-13 10:28:19 -07:00
Aaron Prindle a7c2ff3e84 Merge pull request #1173 from aaron-prindle/minikube-no-vm
None driver
2017-05-26 15:22:01 -07:00
Aaron Prindle f4a8ece0ae Additional none driver changes 2017-05-26 13:33:26 -07:00
dlorenc 99be45d40c Update kubedns to 1.14.2. (#1526)
* Update kubedns to 1.14.2.

* Also change integration test to cover the naked "kubernetes" domain.
2017-05-26 10:15:38 -07:00
Aaron Prindle 88613090a9 Added none driver 2017-05-19 14:51:19 -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
dlorenc fa118e1a94 Increase the status timeout. (#1429) 2017-04-28 13:30:02 -07:00
dlorenc dd5b303a35 Minor e2e cleanups. (#1425) 2017-04-28 10:38:55 -07:00
dlorenc 4b7a59425b Temporarily disable the mount test. (#1424) 2017-04-28 09:51:45 -07:00
dlorenc 56b45d6488 Move the pod setup outside of the mount test loop. (#1423)
Deleting pods with HVs takes some time, so let's do that separately.
2017-04-27 12:50:04 -07:00
dlorenc c9bb006283 Add retries to GetPod calls. (#1420) 2017-04-26 16:53:41 -07:00
Aaron Prindle 41c5ba7663 Merge pull request #1350 from aaron-prindle/mount-vm-path
Changed mount syntax to be host-path:vm-path
2017-04-19 12:03:22 -07:00
Aaron Prindle b3ad7539b1 Changed mount syntax to be host-path:vm-path 2017-04-19 10:15:04 -07:00
Aaron Prindle 715ee87dc9 Merge pull request #1298 from aaron-prindle/no-network-wait
Removed dependency on localkube to wait for the network to be up
2017-04-12 09:10:49 -07:00
Aaron Prindle a11b47160f Removed dependency on localkube to wait for the network to be up 2017-04-12 08:38:14 -07:00
Matt Rickard 2e94d88e77 Use normal kubectl for integration tests
We were using an alpha v1.6 kubectl to run 1.5 and 1.6 branches of
minikube at the same time.  Since we've merged in 1.6, we will always
use 1.6 kubectl.  I've updated the slaves to have it.
2017-04-11 11:15:51 -07:00
Mike Grass 82f6713cef Tell systemctl not to try to page output
This integration test was hanging on Windows because systemctl was paging the
(one line) output and waiting for stdin. Specify the `--no-pager` cmd to systemctl
to avoid this.
2017-04-07 12:39:21 -07:00
Mike Grass 11c2dbc8d2 Dump docker systemd config using systemctl
The TestDocker integration test shouldn't hard code the path to the systemd config for docker.service -- instead, it can use `systemctl show` to dump the configuration for the docker service.
2017-04-07 12:39:21 -07:00
Matt Rickard 09e8cce24d Merge pull request #1314 from r2d4/k8s-v1.6-rebase-1
Upgrade to k8s v1.6 as default version
2017-04-06 14:37:51 -07:00
Aaron Prindle 4b94b14459 Merge pull request #1293 from aaron-prindle/switch-mount
Update mount implementation, add mount integration tests, and check t…
2017-04-06 14:33:22 -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
Matt Rickard 3b46c27b16 Minikube changes for v1.6.0-alpha.1 2017-03-31 13:23:59 -07:00
Aaron Prindle 6ca6a8993b Removed B2D start commands and also a reference of B2D in docker_test 2017-03-29 13:57:46 -07:00
Max Lavrenov ae153c6348 add --docker-opt parameter which passes flags to docker daemon 2017-03-20 23:39:55 +01:00
dlorenc b17a097c01 Add logging of the storageclass list. 2017-02-27 13:56:57 -08:00
Dan Lorenc 8fd8564acd Add an integration test for pvcs. 2017-02-27 13:43:19 -08:00
dlorenc fb910496a3 Add a test that the right directories are persisted. 2017-02-16 09:41:25 -08:00
Matt Rickard cee7653285 Retry error for addons kubectl cmd 2017-02-13 12:55:28 -08:00
Dongsu Park c58e5dd10f test: check stopped status repeatedly
In TestStartStop(), check for stopped status once in 5 seconds,
up to 30 seconds, instead of always sleeping for 30 seconds
before stopping it. That way we can reduce duration of the test.

To do that, we need to split out MinikubeRunner.CheckStatus() into
CheckStatusNoFail() that doesn't lead to T.Fatalf(). Other call sites
of CheckStatus() would not be then affected.
2017-02-10 20:27:54 +01:00
dlorenc 220a5ad840 Add a test for required packages. 2017-02-01 16:06:05 -08:00
dlorenc e57170061a Merge pull request #1057 from dlorenc/isoperms
Add a starter test for ISO permissions.
2017-02-01 12:09:20 -08:00
dlorenc 22dcd7a7c9 Add a starter test for ISO permissions.
We can continue to add other tests to this file.
2017-01-31 08:31:53 -08:00