mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-26 18:43:06 +00:00
Add BATS tests for the GetDiagnosticData termination log feature on CoCo platforms where shared_fs=none. Three test cases cover: - Successful exit (exit 0): termination message is propagated when GetDiagnosticDataRequest is allowed by policy. - Failed exit (exit 1): termination message is propagated when GetDiagnosticDataRequest is allowed by policy. - Policy denied: with default CoCo policy (GetDiagnosticDataRequest is false), the container stops cleanly but no termination message is propagated (best-effort behavior). Tests are skipped on non-CoCo platforms where shared_fs is not "none". Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.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
- Metrics
- Functional
GitHub Actions
Kata Containers uses GitHub Actions in the Kata Containers repository.