Commit Graph

2073 Commits (3d95b37fdff0e21323873560baa9838d694a0f7a)

Author SHA1 Message Date
Товарищ программист 508adea11f feat: direct image build on containerd via docker-env 2023-07-02 02:08:27 +08:00
Fabricio Voznika 0b041f573b Simplify containerd runtime configuration for gVisor
The previous code had a copy of `config.toml` which is easy to get out of
sync. Instead, append the necessary configuration to the existing file
to retain the rest of the configuration.

Also changed the location where `runsc` is downloaded to use the latest
release instead of hardcondig to a release which gets old quickly.
2023-06-15 14:01:41 -07:00
Medya Gh 0610a1f81e use legacy func in test 2023-06-14 11:57:47 -07:00
Anders F Björklund 257642245b The CNI warnings are not given for Docker
You can still use other network plugins, with it.

Just that cni is now used by default, for 1.24 up.
2023-06-13 20:33:26 -07:00
Anders F Björklund 425f129978 Replace hardcoded docker check with cni check 2023-06-13 20:33:26 -07:00
Steven Powell 64df06f08a
Merge pull request #15079 from ComradeProgrammer/fix_14592
fix: quit minikube service when there is no available pods
2023-06-12 10:42:08 -07:00
Товарищ программист ec9c259df3
Update test/integration/functional_test.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-06-10 21:43:54 +08:00
Steven Powell f78b0cbe6a TestPreload: Fix image list with cri-o CRI 2023-06-08 12:31:13 -07:00
Товарищ программист dbbed77623
Update test/integration/functional_test.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2023-06-07 23:09:30 +08:00
Товарищ программист 55868b1736 fix: quit minikube service when there is no available pods 2023-06-05 16:16:02 -07:00
Steven Powell 3631db33a2
Merge pull request #16069 from spowelljr/updateUbuntu22
Kicbase: Update base image to Ubuntu 22.04
2023-05-17 11:13:06 -07:00
Medya Ghazizadeh dca5e634c5
Merge pull request #16489 from spowelljr/useGCRRegistry
testing: Use GCR image to prevent Docker Hub rate limits
2023-05-16 10:31:39 -07:00
Medya Ghazizadeh 642583ef60
Merge pull request #16492 from spowelljr/addSetupSubtest
testing: added Setup subtest for ImageBuild
2023-05-16 10:30:51 -07:00
Steven Powell 5b63431c6d fix ImageLoadFromFile reporting false failures 2023-05-15 12:22:11 -07:00
Steven Powell 9a4aed37ca add --alsologtostderr to functional images tests 2023-05-15 10:54:37 -07:00
Medya Ghazizadeh 2f2eeea723
Merge pull request #16491 from spowelljr/updateSkaffoldTest
test: Updated skaffold test to help prevent Docker Hub pull limit
2023-05-12 14:45:10 -07:00
Steven Powell 2dff834f92 added docker.io to all Docker Hub images that didn't have it 2023-05-12 09:44:24 -07:00
Steven Powell d6c37ee3ba
Merge pull request #15869 from yolossn/addon_inspektor_gadget
Addon: add inspektor-gadget
2023-05-11 18:20:45 -07:00
Steven Powell b0541241d7 testing: added Setup subtest for ImageBuild 2023-05-11 14:56:03 -07:00
Steven Powell c2840f0d66 test: Updated skaffold test to help prevent Docker Hub pull limit 2023-05-11 13:35:54 -07:00
Steven Powell 1b783fc952 testing: Use GCR image to prevent Docker Hub rate limits 2023-05-11 12:44:27 -07:00
yolossn c6878c4733 Addon: add inspektor-gadget
Signed-off-by: yolossn <sannagaraj@microsoft.com>
2023-05-11 15:24:34 +05:30
Marcell Martini c6393b84fb Add on expectedLabels a missing label. 2023-05-09 14:40:39 -04:00
Marcell Martini 38d59318b0 Add test to MultiNodeLabels. 2023-05-09 14:40:39 -04:00
Steven Powell 66ea3c6634 fix none tests relying on sudo 2023-05-02 10:23:58 -07:00
x7upLime 8931619b01 Applied suggestions 2023-04-25 15:11:41 +03:00
x7upLime 3d3e6a14e7 added stuff to reflect suggestions 2023-04-22 00:49:30 +03:00
x7upLime 3b3d2905a1 Changes variable name in integrataion test 2023-04-22 00:49:30 +03:00
x7upLime ee22b47795 Apply suggestions from code review 2023-04-22 00:49:30 +03:00
x7upLime b5d5bbe38c Removes external lib dependency
Since the test is failing on architectures/platform I can't reproduce
on.. I'm readapting the test in such a way to minimize the amount of
code that can be responsible for the error.

We're not looking for all system processes in order to find our
mount processes(ps -ef); we're looking directly at the mount
processes that have been spawned by our test instead.

To say that a process is no longer alive:
We try to wait for conclusion to get the processState.
If the wait results in an *ExitError, it means that either
the proc has failed to run, or it exited failing(see doc);
in both cases we're happy.. since we previously made a check
to know that those same processes were alive.
2023-04-22 00:48:58 +03:00
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