Files
kata-containers/tests
Fabiano Fidêncio fc662daf0f tests/k8s: exercise the devkit debug console
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>
2026-07-23 20:14:34 +02:00
..
2026-07-09 13:40:17 +01:00
2026-06-03 09:56:54 +01: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. Functional

GitHub Actions

Kata Containers uses GitHub Actions in the Kata Containers repository.