kata-containers/tests
Xynnn007 b1c72c7094 test: add integration test for initdata
This test we will test initdata in the following logic
1. Enable image signature verification via kernel commandline
2. Set Trustee address via initdata
3. Pull an image from a banned registry
4. Check if the pulling fails with log `image security validation
failed` the initdata works.

Note that if initdata does not work, the pod still fails to launch. But
the error information is `[CDH] [ERROR]: Get Resource failed` which
internally means that the KBS URL has not been set correctly.

This test now only runs on qemu-coco-dev+x86_64 and qemu-tdx

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
2025-04-23 15:55:04 +08:00
..
cmd docs: Add how-to-use-memory-agent.md to howto 2025-04-02 17:45:59 +08:00
functional kata-deploy: Create runtimeclasses by default 2025-03-31 11:29:44 +01:00
integration test: add integration test for initdata 2025-04-23 15:55:04 +08:00
metrics metrics: Update range for clh tests 2025-03-14 14:54:30 +00:00
stability shellcheck: Fix shellcheck SC2071 2025-03-04 09:39:10 +00:00
vendor tests: Run go mod vendor 2025-03-14 18:00:36 +00:00
.gitignore tests: move static checks and dependencies from tests 2023-11-28 11:13:55 -08:00
.golangci.yml build: Update golang version to 1.22.2 2024-04-26 15:50:29 +02:00
cleanup_resources.py ci: cleanup: Ignore nonexisting resources 2024-07-02 22:23:54 +00:00
common.bash tests: Make sure /etc/containerd before writing config 2025-03-26 18:19:45 +01:00
error.sh shellcheck: Fix shellcheck SC2148 2025-03-04 09:35:46 +00:00
gha-adjust-to-use-prebuilt-components.sh tests: Add a helper script to use prebuild components 2024-10-28 12:43:52 +01:00
gha-run-k8s-common.sh tests: Create a helm_helper() common function 2025-03-26 13:30:11 +01:00
git-helper.sh gha: fix git-helper issues reported by shellcheck 2025-03-06 20:28:41 +00:00
go.mod tests: Remove replace directives in go.mod 2025-03-14 18:00:36 +00:00
go.sum build(deps): bump the go_modules group across 5 directories with 8 updates 2024-04-30 09:46:13 +01:00
install_go.sh deps: bumping yq to v4.40.7 2024-05-31 13:28:34 -04:00
install_rust.sh build: Reorganize target selection 2025-02-26 00:56:54 +08:00
kata-arch.sh ci: Do not take cross-build into consideration for kata-arch.sh 2023-07-21 16:54:27 +02:00
kata-doc-to-script.sh Revert "tests: Add trap statement in kata doc script" 2024-10-29 09:57:18 +00:00
README.md docs: Add general tests documentation in main README 2024-03-04 21:53:01 +00:00
static-checks.sh header_check: Check header for changed text files 2025-02-18 22:39:53 +08:00

Kata Containers Tests

This directory contains various types of tests for testing the Kata Containers repository.

Test Content

We provide several tests to ensure Kata-Containers run on different scenarios and with different container managers.

  1. Integration tests to ensure compatibility with:
  2. Stability tests
  3. Metrics
  4. Functional

GitHub Actions

Kata Containers uses GitHub Actions in the Kata Containers repository.