Commit Graph

2111 Commits (master)

Author SHA1 Message Date
x7upLime 70a0ed2aac Modifies integration test label
yeah.. perhaps that's a better name
2023-04-22 00:47:06 +03:00
x7upLime 849de9086b Adds documentation for validateMountCmd test
working towards #11571 :)
2023-04-22 00:47:06 +03:00
x7upLime 07f3f440ff Fixes lint error
The message from the linter makes a good point..
we're storing a reference for the mount processes, but we're not
using them.. Thus the committed lines.
2023-04-22 00:47:06 +03:00
x7upLime 47981b75d9 Add integration test for mount-clean mechanism
I copied as much code as I could from the previous tests
that seemed more alike to the one I was trying to build.

I put it inside the functional mount tests,
with the other mount-command related tests,
as I thought (as per comments on "TestFunctional()") it
could safely share a profile in parallel..
2023-04-22 00:47:06 +03:00
Steven Powell c30c183dac remove deprecated functions 2023-04-12 15:03:13 -07:00
Steven Powell 180b020bde
Merge pull request #16252 from spowelljr/updateDockerBuild
Kicbase: Resolve docker build deprecation
2023-04-11 13:10:47 -07:00
Steven Powell d1465d9af7 fix TestImageBuild/serial/BuildWithBuildArg 2023-04-11 10:42:07 -07:00
Steven Powell c0c35b8217 fix TestImageBuild/serial/BuildWithBuildArg for VM 2023-04-10 09:40:12 -07:00
Steven Powell 41be18992e fix TestImageBuild/serial/BuildWithBuildArg 2023-04-07 12:26:13 -07:00
Steven Powell 5dd0f26cd7 cleanup: Check for scanner errors 2023-03-31 11:15:34 -07:00
Steven Powell 9e661c8cf9
Merge pull request #16200 from spowelljr/removeOldRegistry
Remove remaining references to k8s.gcr.io
2023-03-30 13:36:17 -07:00
Steven Powell 8f47b1d25b update pause image 2023-03-30 10:35:53 -07:00
Steven Powell 44c4657e4f remove remaining references to k8s.gcr.io 2023-03-30 09:45:52 -07:00
Steven Powell 2010622039 remove duplicate test cases 2023-03-29 10:02:46 -07:00
Steven Powell 77f207e01b small clean and fix tests with old k8s versions 2023-03-29 09:58:47 -07:00
Steven Powell b296ae8c47
Merge pull request #16139 from kadern0/issue-15432
Fix: check if addon is enabled before doing validation
2023-03-27 14:42:07 -07:00
Predrag Rogic 082943b5e3
don't panic on pre-release k8s version 2023-03-26 00:13:11 +00:00
Steven Powell 10145a2381
Merge pull request #15834 from OmSaran/tunnel
Ensure only one instance of tunnel process runs
2023-03-24 10:03:15 -07:00
Pablo Caderno 5c261e80e9 Fix: check if addon is enabled before doing validation
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2023-03-24 09:15:30 +11:00
Medya Ghazizadeh c025dfc9b5
Merge pull request #16001 from prezha/fix-TestMultiNode-deploy-wait
wait for pods to get IPs
2023-03-22 11:17:06 -07:00
Om Saran 48cee328da Log stdout and stderr upon unexpected failure in RunSecondTunnel test 2023-03-20 20:34:15 -05:00
Steven Powell 50e9147e4e fix lint errors 2023-03-20 12:43:07 -07:00
Predrag Rogic 4650a3e83c
wait for pods to get IPs 2023-03-08 20:56:44 +00:00
Steven Powell 1c0bc567dd fixup error messaging 2023-03-07 11:40:30 -08:00
Om Saran 5d7e5846ec Make error more verbose
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-03-07 11:11:40 -08:00
Om Saran 4df0bb2ace Fix error checking and error message 2023-03-07 11:11:40 -08:00
Om Saran d8a920fd39 Rename function, update comment and update error message 2023-03-07 11:11:40 -08:00
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