Commit Graph

2053 Commits (5dbd2e1390ea4651a080d9aee6e45d649348f489)

Author SHA1 Message Date
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
Steven Powell 645d9f38dc give small timeout to allow mount to come up 2021-12-21 13:31:01 -08:00
Steven Powell 0482478665 use minikube's own busybox image 2021-12-21 11:58:24 -08:00
Sharif Elgamal 070a8c5434 pin to correct community operator image 2021-12-21 11:19:35 -08:00
Steven Powell 2f29154ac1 run --no-kubernetes in mount start test 2021-12-20 11:28:03 -08:00
Steven Powell de38e0e42b fix mount test failing due to duplicate port 2021-12-16 14:44:10 -08:00
Steven Powell e91dc218fd addressed comments 2021-12-14 11:16:25 -08:00
Medya Ghazizadeh 0fa8747da5
Merge pull request #13160 from spowelljr/stopSerialTestsOnFailure
Stop dependent test from continuing after failure
2021-12-14 10:29:49 -08:00
Steven Powell c3f5295ba1
Merge pull request #13154 from spowelljr/fixCopyFileWindows
Fix multinode file copying test on Windows
2021-12-14 09:55:41 -08:00
Steven Powell 54c615bd36 remove --mode flag from mount 2021-12-13 15:32:20 -08:00
Steven Powell 4234241bcf stop dependent test from continuing after failure 2021-12-13 14:59:20 -08:00
Steven Powell b1f82cc5f1 change to path.Join 2021-12-13 14:19:50 -08:00
Steven Powell 7351b5618d fix multinode file copying test on Windows 2021-12-13 11:47:41 -08:00
Steven Powell bab9c6fc8c
Merge pull request #12930 from spowelljr/addMountFlags
Add all mount flags to start command
2021-12-10 15:17:10 -08:00
Steven Powell 3ad2f8d851 skip checking mode on macOS 2021-12-10 15:12:00 -08:00
Steven Powell f8028bcb72 added const 2021-12-10 12:16:16 -08:00
Steven Powell 874a1d965a fixed test error message 2021-12-10 11:54:16 -08:00
Steven Powell 7b3377e95b format 2021-12-10 11:43:50 -08:00
Steven Powell 331034f9ee skip Hyper-V mount details check 2021-12-10 11:43:50 -08:00
Steven Powell 2910ecf8cd added missing import 2021-12-10 11:43:50 -08:00
Steven Powell 8927e2e647 give timeout for 9P mount check 2021-12-10 11:43:50 -08:00
Steven Powell 7a015687e1 skip checking mounting flags with Docker 2021-12-10 11:43:50 -08:00
Steven Powell ed14104f91 use octal 2021-12-10 11:43:50 -08:00
Steven Powell 0d33b6f173 fix ssh 2021-12-10 11:43:50 -08:00
Steven Powell 4369ccc2ca add tests for new start mount flags 2021-12-10 11:43:50 -08:00
Steven Powell 28fddeb9a5 removed one off sudo command from test 2021-12-10 10:54:56 -08:00
klaases 1bae4f12b5 Add test documentation. 2021-12-03 15:57:24 -08:00
klaases 31a0b6d513 remove 123 dev comment 2021-12-02 14:49:08 -08:00
klaases 5b4e429d09 fix spacing 2021-12-02 14:46:42 -08:00
klaases e468a42e15
Merge branch 'master' into kstop1 2021-12-02 14:43:33 -08:00
klaases 3074132aeb Stop K8s if running, when --no-kubernetes. 2021-12-02 14:35:38 -08:00
Steven Powell 2d20e0ac80 add test skips back 2021-11-23 08:52:58 -08:00