mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-25 22:49:59 +00:00
Add k8s-devkit-debug-console.bats, which launches a pod with the kata-<shim>-devkit RuntimeClass, resolves its sandbox id from the node, and reaches the agent debug console via `kata-ctl exec`. The console is an interactive PTY, so it is driven with `script` (util-linux) fed through a FIFO, and it asserts we land in the devkit shell (a working apk, plus an Alpine guest id) rather than the base guest shell. The test targets the two non-confidential runtime-rs classes it is validated on (qemu-runtime-rs, qemu-nvidia-cpu-runtime-rs) and skips elsewhere or when the kata-<shim>-devkit RuntimeClass is absent (devkit not deployed). Register it in the small-host suite, add a HELM_DEVKIT knob to the Helm test helper, and turn it on for those two hypervisors in the k8s CI (which already runs with debug). Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com> Assisted-by: Cursor <cursoragent@cursor.com>
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.
- Integration tests to ensure compatibility with:
- Stability tests
- Functional
GitHub Actions
Kata Containers uses GitHub Actions in the Kata Containers repository.