Commit Graph

2084 Commits (7b54cf55dc47b57ccf07f9bdb482aabc9df8d37e)

Author SHA1 Message Date
Om Saran e8625a3ba0 Add test to ensure no two tunnels can run simultaneously.
Add new error reason to disallow simultaneously running two tunnel processes
When tunnel fails to acquire lock due to contention, exit gracefully
2023-03-07 11:11:40 -08:00
Steven Powell cd9509644a increase timeout for Windows 2023-03-03 13:15:55 -08:00
Steven Powell ed78682de9 fix ServiceCmd/Format test 2023-03-03 10:01:30 -08:00
Steven Powell 3dd2006de7 typo in comment 2023-03-03 07:50:05 -08:00
Steven Powell f98fd5d636 fix ServiceCmd test failing on Windows 2023-03-03 07:39:17 -08:00
Steven Powell 2895fc1b4a tests: Split up ServiceCmd test into sub-tests 2023-03-02 13:10:38 -08:00
Medya Ghazizadeh 7e38a61ac9
Update test/integration/multinode_test.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-02-24 13:34:23 -08:00
Medya Ghazizadeh 0cd84d8ff7
Update test/integration/multinode_test.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-02-24 13:30:08 -08:00
Medya Ghazizadeh c3ced9e44b
Update test/integration/multinode_test.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-02-23 16:13:05 -08:00
Medya Gh 468919b2fc add more 2023-02-23 13:36:51 -08:00
Medya Gh ae91a3e2ec test log when it hostip is nil 2023-02-22 13:32:30 -08:00
Medya Gh 57a8bb706b add more verbose failure for DeployApp2Nodes 2023-02-22 13:26:18 -08:00
Om Saran 00d5b2acc5 Update test name, logging and generate docs 2023-02-20 09:52:03 -06:00
Om Saran 2057e1d3ad Fix service cmd functional test to give by passing correct profile 2023-02-15 21:18:26 -06:00
Om Saran e33b5af7b7 Add integration test and fix behvaior on wrong output format for service list 2023-02-15 15:44:48 -06:00
Steven Powell 554df1d6b7 tests: fix setting bad DOCKER_HOST for TestDownloadOnlyKic 2023-02-08 11:55:24 -08:00
Predrag Rogic 15bb620ca1
Merge branch 'master' into fix-TestNetworkPlugins-Linux_Docker 2023-01-18 02:43:47 +00:00
Predrag Rogic 4c18f9d264
fix cri-o: work with selected cni and detected cgroup driver 2023-01-18 02:41:24 +00:00
Steven Powell a8ea194809
Merge pull request #15450 from AkihiroSuda/ci-rootless
CI: add functional_docker_rootless_containerd_ubuntu
2023-01-17 10:05:58 -08:00
Steven Powell 0d0a51d76a
Merge pull request #15163 from ComradeProgrammer/issue_12436
test: add integration test cases for minikube image build
2023-01-17 09:45:05 -08:00
Akihiro Suda 6ab61b7a75
CI: add functional_docker_rootless_containerd_ubuntu
Fix issue 12456

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-01-12 08:13:58 +09:00
Predrag Rogic 24226c5f5a
Merge branch 'master' into fix-TestNetworkPlugins-Linux_Docker 2023-01-10 22:44:50 +00:00
Predrag Rogic fbe2c19a65
Update test/integration/main_test.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-01-10 22:15:17 +00:00
Predrag Rogic f1b1724128
address comments 2023-01-10 05:37:25 +00:00
Predrag Rogic 6c98afcdbd
cleanup and containerd systemd cgroup issue workaround 2023-01-09 02:23:07 +00:00
Predrag Rogic f040f00199
tweak tests 2023-01-05 00:52:57 +00:00
Predrag Rogic 818a7d9b33
fix remaining tests and ready for k8s-1.26.0 2023-01-04 21:02:48 +00:00
Steven Powell e6d95b8230 implement --static-ip flag 2023-01-04 10:27:00 -08:00
Predrag Rogic 1274f31179
fix TestBinaryUpgrade on Docker_Linux_containerd and skip GCPAuth on GCE 2022-12-28 19:47:34 +00:00
Predrag Rogic fd549f396d
fix default cni selection for cri-docker(d) 2022-12-28 00:51:45 +00:00
Predrag Rogic f3b3d4e07c
try to fix couple of more things 2022-12-27 04:27:48 +00:00
Predrag Rogic e59d6217a8
autoconfigure cni and cri with proper cgroup driver 2022-12-26 06:06:31 +00:00
Predrag Rogic 735ac02aac
get container logs 2022-12-19 20:32:23 +00:00
Predrag Rogic 167d90f548
improve log collection and update flannel manifest 2022-12-18 04:35:22 +00:00
Predrag Rogic 4e0994c43e
Merge remote-tracking branch 'upstream/master' into fix-TestNetworkPlugins-Linux_Docker 2022-12-17 17:57:34 +00:00
Predrag Rogic e51fef3118
prevent overlapping network segments 2022-12-14 23:38:45 +00:00
Predrag Rogic d3bdac0379
fix containerd when bound to docker 2022-12-13 21:16:25 +00:00
Predrag Rogic 7e20c16886
collect debug logs 2022-12-13 14:41:30 +00:00
Predrag Rogic 788a9d6bd7
wait and log 2022-12-12 11:45:52 +00:00
Predrag Rogic 4cd9a94637
use systemd 2022-12-12 00:49:23 +00:00
Predrag Rogic 0fa75ce152
use systemd 2022-12-11 18:12:41 +00:00
Predrag Rogic 19812b0cc1
debug 2022-12-11 06:06:11 +00:00
Predrag Rogic 670c294153
debug 2022-12-11 00:02:36 +00:00
Predrag Rogic 9ac814ae8d
test cri-dockerd v0.2.6 2022-12-10 02:42:16 +00:00
Ian Stewart a6bfa55152 Using t.Setenv instead of os.Setenv 2022-12-09 14:12:13 -05:00
Ian Stewart b76d247f12 added MOCK_GOOGLE_TOKEN env var 2022-12-07 18:05:31 -05:00
Predrag Rogic 1a972459fa
increase wait timeout to mitigate ImagePullBackOff errors 2022-12-07 17:45:10 +00:00
Predrag Rogic bd7efa03f9
fix additional issues found 2022-12-07 12:34:31 +00:00
Predrag Rogic 5d0ac9d446
cleanup 2022-12-07 12:34:31 +00:00
Predrag Rogic 11a8dbf830
fix TestNetworkPlugins tests for Linux with Docker driver 2022-12-07 12:34:14 +00:00
Ian Stewart a2ba24f1d6 returning gcp-auth container logs if namespace test fails to help debugging 2022-12-05 11:34:40 -05:00
Ian Stewart 2c3ab40370 increased wait time for getting namespace secret 2022-12-02 12:09:23 -05:00
Ian Stewart d2a94988ee retry getting the gcp-auth secret for 10 seconds 2022-12-01 17:42:38 -05:00
Ian Stewart 2b93c08c5a wrapped gcp-auth namespaces test as a subtest 2022-12-01 17:24:41 -05:00
Ian Stewart bec22f0e12 added integration test to ensure new namespaces include the image pull secret 2022-11-30 18:50:32 -05:00
Товарищ программист 85c4d8837f test: add integration test cases for minikube image build 2022-11-19 20:19:55 +08:00
Steven Powell f19b19803b remove license file after test 2022-11-18 09:14:33 -08:00
Eng Zer Jun 9d85be1a99
test: use `T.Setenv` to set env vars in tests
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-11-08 10:30:29 +08:00
Steven Powell 074e681975
Merge pull request #15160 from agarwalnit/master
Added cloud-spanner emulator add-on.
2022-10-28 13:58:41 -07:00
Steven Powell e4b7598fd8 fix linting 2022-10-26 10:33:15 -07:00
Steven Powell 3536f0fb39 add integration test for cloud-spanner addon 2022-10-26 10:27:47 -07:00
Steven Powell 2898064443 fix licenses test on Windows 2022-10-25 16:41:37 -07:00
Steven Powell 6573cedd11 remove duplicate t.Parallel() 2022-10-24 10:02:02 -07:00
Steven Powell 15746e1a4f add test for licenses command 2022-10-21 17:08:29 -07:00
Steven Powell e8190a6236 tests: shorten qmp path 2022-10-10 12:56:36 -07:00
Steven Powell 113d61471a enable TestPreload for arm64 2022-10-04 09:59:38 -07:00
Steven Powell bde2b52371 add another line to TestErrorSpam 2022-09-14 11:16:19 -07:00
Steven Powell 9df393a9f5 fix TestErrorSpam failing on warning 2022-09-14 11:16:19 -07:00
Steven Powell eda5a9a2c4 change expected image 2022-09-14 11:15:18 -07:00
Steven Powell 89d3ddd6df remove deprecated PodSecurityPolicy from test yaml 2022-09-14 11:15:18 -07:00
Steven Powell d88fbb1f99 fix VerifyKubernetesImages test for k8s 1.25+ 2022-08-31 14:16:51 -07:00
Steven Powell 744187868d fix linting 2022-08-08 09:29:19 -07:00
Steven Powell 00ac406420 fix linting 2022-07-25 09:59:13 -07:00
Paul S. Schweigert a1c7198794
fix
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-30 14:20:56 -04:00
Paul S. Schweigert 08b3c8d4d6
add quotes
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-30 08:16:25 -04:00
Paul S. Schweigert 50f8f9da1e
update docker linux crio test
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-29 20:14:21 -04:00
Steven Powell 912226e73f
Merge branch 'master' into k8s1.24 2022-06-22 10:24:15 -07:00
Sharif Elgamal 4bc3d98bb6 use MustCompile for lint 2022-06-21 13:53:02 -07:00
Sharif Elgamal 2ee63b4b1e add a test for image pull secrets for gcp-auth 2022-06-21 13:39:50 -07:00
Steven Powell 353f9fb0eb remove old flag 2022-06-16 12:23:00 -07:00
Santhosh Nagaraj S 26afc8f85c Addon: add headlamp
Signed-off-by: Santhosh Nagaraj S <santhosh@kinvolk.io>
2022-06-16 10:34:18 +05:30
Steven Powell 5c32a54a9f
Merge pull request #13512 from kianmeng/fix-typos
Fix typos
2022-06-10 16:05:18 -07:00
Kian-Meng Ang bc03821826 Fix typos 2022-06-10 15:26:35 -07:00
Sharif Elgamal d36ed5aa78 remove inaccel addons test 2022-06-10 12:06:57 -07:00
Sharif Elgamal 1f763354ca
Merge pull request #12995 from eliaskoromilas/fpga-operator
InAccel FPGA Operator addon
2022-06-07 15:32:44 -07:00
Pablo Caderno f6d639182d fix: minikube delete exclude networks from other profiles
Fixes: 12635
2022-06-06 16:59:41 +10:00
ziyi-xie ab7bb61b31 modified the version of dashboard in test/integration/start_stop_delete_test.go file 2022-06-02 09:11:43 +00:00
Harsh Vardhan 798c4e8fed add the StartArgs() suffix as supplied by test suite
Signed-off-by: Harsh Vardhan <harsh.vardhan@mayadata.io>
2022-06-01 15:28:50 +05:30
Harsh Vardhan 3d7380b704 fix error logging
Signed-off-by: Harsh Vardhan <harsh.vardhan@mayadata.io>
2022-06-01 15:28:50 +05:30
Harsh Vardhan b77ecbe887 reduce test timeout & fix lint issues
Signed-off-by: Harsh Vardhan <harsh.vardhan@mayadata.io>
2022-06-01 15:28:50 +05:30
Harsh Vardhan d88a925751 add integration test for json format profile list
Signed-off-by: Harsh Vardhan <harsh.vardhan@mayadata.io>
2022-06-01 15:28:50 +05:30
Steven Powell cbb189558a skip for all of Windows 2022-05-26 16:19:26 -07:00
Steven Powell e57dff657b skip TestSkaffold on Hyper-V 2022-05-26 16:07:40 -07:00
Elias Koromilas 6364518066 Add inaccel/fpga-operator addon
Signed-off-by: Elias Koromilas <elias.koromilas@gmail.com>
2022-05-26 10:52:08 +03:00
Steven Powell bc968683e6 use custom flannel 2022-05-25 14:54:45 -07:00
minikube-bot d628748116 use antrea CNI 2022-05-25 18:15:35 +00:00
minikube-bot 2288dd2f6b fix NetCatPod test 2022-05-24 23:34:18 +00:00
Steven Powell c290515129 fix not passing any args to test 2022-05-19 09:44:22 -07:00
Steven Powell 53fdfb286c implement lint fixes 2022-05-16 12:48:41 -07:00
Medya Ghazizadeh 2857186c28
Merge pull request #14038 from Sea-n/fix-github
Use GitHub instead of Github in documents and code comments
2022-04-28 14:12:02 -07:00
Sean Wei 6dee7b7edb Fix GitHub word for code comments 2022-04-25 15:57:45 +08:00
Anders F Björklund 18e5256065 Don't add kubelet network-plugin flag in test 2022-04-23 16:00:07 +02:00
Anders F Björklund 504076fd41 Don't use kubelet network-plugin with k8s 1.24
This flag has been removed, and moved to the runtimes.

Only docker supports it, the others only support CNI.
2022-04-20 17:40:25 +02:00
Medya Ghazizadeh 1b366615d3
Merge pull request #13901 from spowelljr/removeIoutil
remove uses of ioutil & use t.TempDir for tests
2022-04-05 14:41:22 -07:00
Steven Powell 69417f0944
Merge pull request #13741 from ziyi-xie/upgrade-dashboard
Upgrade kubernetes dashboard from v2.3.1 to v2.5.1
2022-04-04 10:50:29 -07:00
Steven Powell 2e4ea3c259 replace MkdirTemp with t.TempDir in tests 2022-04-01 19:18:20 -07:00
Steven Powell 3325dd31cb remove uses of ioutil 2022-04-01 10:39:14 -07:00
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00
Sharif Elgamal 31d1fdae3b
Merge pull request #13730 from presztak/subnet_flag
Add 'subnet' flag for docker/podman driver
2022-03-30 16:02:54 -07:00
Steven Powell 37e026b149 stop testing olm and warn users about the addon 2022-03-30 10:53:11 -07:00
Steven Powell 76d97af2a0 add disable-metrics flag 2022-03-16 11:00:20 -07:00
ziyi-xie b9fcc58d24 upgrade kubernetes dashboard from v2.5.0 to v2.5.1 2022-03-16 00:34:51 +00:00
Piotr Resztak eb19396baa add test for 'subnet' flag 2022-03-15 21:43:48 +01:00
Steven Powell 58c4142ab9
Merge pull request #13630 from F1ko/master
Add sanity check to disk space check
2022-03-14 18:19:18 -07:00
ckannon 701b4be842 Fix flow to support docker driver properly for mac, for issue #13746 2022-03-09 14:30:49 -05:00
ziyi-xie 771d71911c upgrade kubernetes dashboard from v2.3.1 to v2.5.0 2022-03-02 05:17:31 +00:00
Filip Nikolic a2f2efea69 fix insufficient storage test 2022-02-27 20:50:26 +01:00
Medya Ghazizadeh d11e45aa86
Merge pull request #13539 from sharifelgamal/arch-binary
add arch to binary and image cache paths
2022-02-10 12:06:23 -08:00
Medya Ghazizadeh d6120f131e
Merge pull request #13367 from ckannon/master
Adds 'minikube service --all' feature to allow forwarding all services in a namespace
2022-02-09 12:24:54 -08:00
ckannon c8d846d6c1 minikube #13075 adds --all feature for service 2022-02-09 10:12:01 -05:00
Sharif Elgamal a1e273e1ee Merge branch 'master' of github.com:kubernetes/minikube into arch-binary 2022-02-07 15:35:33 -08:00
Sharif Elgamal 6189742a25
Merge pull request #13439 from prezha/fix-ingress-multinode
fix ingress (also for multinode clusters)
2022-02-07 14:04:13 -08:00
Sharif Elgamal f74ea169b2 add arch to iso cache path, fix download only tests 2022-02-03 10:29:13 -08:00
Sharif Elgamal 423b816311
Merge pull request #13251 from afbjorklund/default-runtime
Make the default container runtime dynamic
2022-02-02 18:02:05 -08:00
Steven Powell 89795d1946
Merge pull request #13297 from spowelljr/extendWindowsTimeouts
Increase test timeout for Docker Windows
2022-02-01 14:07:53 -08:00
Sharif Elgamal cce8d19112 default test runtime to docker 2022-02-01 12:59:42 -08:00
Steven Powell 43f832d111 remove unused import 2022-01-31 13:36:59 -08:00
Steven Powell e922055714 revert "Delete and init kubeadm on subsequent starts" 2022-01-27 14:02:53 -08:00
Steven Powell 76172fdae0 added timeout to second test 2022-01-25 14:12:57 -08:00
Steven Powell fa5f67cc95
Merge pull request #13340 from spowelljr/addDisableOptimization
Add `--disable-optimizations` flag
2022-01-24 18:51:42 -08:00
Predrag Rogic 422b43ece4
fix ingress for multinode 2022-01-22 23:23:58 +00:00
Steven Powell e17f569cda reduce duplication further 2022-01-19 09:54:05 -08:00
Steven Powell daf6a28006 cleanup image expectation to reduce duplication 2022-01-18 16:33:03 -08:00
Steven Powell c29c530c1b use image that is available immediately 2022-01-18 16:15:05 -08:00
Steven Powell 7d1912bc71 moved test out of functional into integration 2022-01-18 13:46:43 -08:00
Sharif Elgamal 2d488adce1 fix binary mirror test for none driver 2022-01-13 12:23:18 -08:00
Steven Powell 9908a1614e fix lint 2022-01-12 13:58:26 -08:00
Steven Powell 4cd3abfcde add disable-optimizations flag 2022-01-12 13:50:38 -08:00
Piotr Resztak 20d3c760bc add integration test for '--binary-mirror' flag 2022-01-12 17:43:33 +01:00
Steven Powell d77f182dfd increase timeout for DryRun to 20 seconds 2022-01-10 15:55:20 -08:00
Nikhil Sharma d2b87aa6fd Improved the output in minikube github action 2022-01-06 23:26:54 +05:30
Steven Powell c61a34b38f increase test timeout for Docker Windows 2022-01-04 16:53:13 -08:00
Medya Gh b91619c6c8 skip olm test 2021-12-23 12:57:02 -08:00
Medya Gh 8d57ad87a2 skip olm test 2021-12-23 12:54:33 -08:00
Steven Powell b6e2ee2128
Merge pull request #12996 from presztak/listimages_formats
Add format flag to the `image ls` command
2021-12-23 12:31:59 -08:00
Medya Ghazizadeh bc1ec710a4
Merge pull request #13226 from spowelljr/addTimeout
Add small timeout to give time for mount to come up
2021-12-22 15:32:17 -08:00
Steven Powell 4c24c61ef9 add small timeout to give time for mount to come up 2021-12-22 11:40:01 -08:00
Sharif Elgamal 4f4eca8fd7
Merge pull request #13205 from sharifelgamal/olm
Fix OLM addon by pinning to correct versions of images
2021-12-22 11:25:38 -08:00
Medya Ghazizadeh d52158dcd1
Merge pull request #13144 from spowelljr/noK8sMount
Support mounting with the --no-kubernetes flag
2021-12-21 21:38:36 -08:00
Piotr Resztak 43e81cfbca add 'image ls' with format integration test 2021-12-22 00:57:41 +01:00