Files
kata-containers/tests
Fabiano Fidêncio 7205fd8579 tests: add integration tests for termination log via GetDiagnosticData
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>
2026-04-17 13:16:25 +02:00
..
2026-04-09 08:59:40 +01:00
2026-04-16 09:21:04 +01:00
2025-12-05 11:12:04 +00:00
2025-03-04 09:35:46 +00:00
2026-04-09 08:59:40 +01:00
2025-12-05 11:12:04 +00:00
2025-06-12 10:46:43 +02:00
2025-09-29 09:48:32 +02:00
2026-01-19 14:43:53 +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. Metrics
  4. Functional

GitHub Actions

Kata Containers uses GitHub Actions in the Kata Containers repository.