mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-08 08:27:24 +00:00
Retry "kubectl exec" a few times if it unexpectedly produced an empty output string. This is an attempt to work around test failures similar to: https://github.com/kata-containers/kata-containers/actions/runs/13840930994/job/38730153687?pr=10983 not ok 1 Environment variables (from function `grep_pod_exec_output' in file tests_common.sh, line 394, in test file k8s-env.bats, line 36) `grep_pod_exec_output "${pod_name}" "HOST_IP=\([0-9]\+\(\.\|$\)\)\{4\}" "${exec_command[@]}"' failed That test obtained correct ouput from "sh -c printenv" one time, but the second execution of the same command returned an empty output string. Signed-off-by: Dan Mihai <dmihai@microsoft.com> |
||
---|---|---|
.. | ||
cmd | ||
functional | ||
integration | ||
metrics | ||
stability | ||
.gitignore | ||
.golangci.yml | ||
cleanup_resources.py | ||
common.bash | ||
error.sh | ||
gha-adjust-to-use-prebuilt-components.sh | ||
gha-run-k8s-common.sh | ||
git-helper.sh | ||
go.mod | ||
go.sum | ||
install_go.sh | ||
install_rust.sh | ||
kata-arch.sh | ||
kata-doc-to-script.sh | ||
README.md | ||
static-checks.sh |
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.