1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-09 00:47:30 +00:00
kata-containers/tests
Fabiano Fidêncio 734ef71cf7 tests: k8s: confidential: Cleanup $HOME/.ssh/known_hosts
I've noticed the following error when running the tests with SEV:
```
2025-01-21T17:10:28.7999896Z # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2025-01-21T17:10:28.8000614Z # @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
2025-01-21T17:10:28.8001217Z # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2025-01-21T17:10:28.8001857Z # IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
2025-01-21T17:10:28.8003009Z # Someone could be eavesdropping on you right now (man-in-the-middle attack)!
2025-01-21T17:10:28.8003348Z # It is also possible that a host key has just been changed.
2025-01-21T17:10:28.8004422Z # The fingerprint for the ED25519 key sent by the remote host is
2025-01-21T17:10:28.8005019Z # SHA256:x7wF8zI+LLyiwphzmUhqY12lrGY4gs5qNCD81f1Cn1E.
2025-01-21T17:10:28.8005459Z # Please contact your system administrator.
2025-01-21T17:10:28.8006734Z # Add correct host key in /home/kata/.ssh/known_hosts to get rid of this message.
2025-01-21T17:10:28.8007031Z # Offending ED25519 key in /home/kata/.ssh/known_hosts:178
2025-01-21T17:10:28.8007254Z #   remove with:
2025-01-21T17:10:28.8008172Z #   ssh-keygen -f "/home/kata/.ssh/known_hosts" -R "10.244.0.71"
```

And this was causing a failure to ssh into the confidential pod.

Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
2025-01-23 12:04:13 +01:00
..
cmd static-checks: Add words to dictionary 2024-12-20 14:16:52 +00:00
functional CI: change the containerd tarball name to containerd 2025-01-07 17:39:05 +08:00
integration tests: k8s: confidential: Cleanup $HOME/.ssh/known_hosts 2025-01-23 12:04:13 +01:00
metrics metrics: clh: Increase network-iperf3 range 2025-01-09 11:25:57 +00:00
stability gha: Get artifacts when installing kata tools in stability workflow 2024-11-07 16:20:41 +00:00
.gitignore tests: move static checks and dependencies from tests 2023-11-28 11:13:55 -08:00
.golangci.yml build: Update golang version to 1.22.2 2024-04-26 15:50:29 +02:00
cleanup_resources.py ci: cleanup: Ignore nonexisting resources 2024-07-02 22:23:54 +00:00
common.bash CI: change the containerd tarball name to containerd 2025-01-07 17:39:05 +08:00
error.sh scripts: Add error script 2024-02-20 18:30:03 +00:00
gha-adjust-to-use-prebuilt-components.sh tests: Add a helper script to use prebuild components 2024-10-28 12:43:52 +01:00
gha-run-k8s-common.sh tests/gha-run-k8s-common: shorten AKS cluster name 2025-01-08 16:39:07 -03:00
git-helper.sh GHA: remove GITHUB_WORKSPACE when workflow fails due to merge conflict 2023-12-07 10:25:57 +01:00
go.mod build(deps): bump the go_modules group across 5 directories with 8 updates 2024-04-30 09:46:13 +01:00
go.sum build(deps): bump the go_modules group across 5 directories with 8 updates 2024-04-30 09:46:13 +01:00
install_go.sh deps: bumping yq to v4.40.7 2024-05-31 13:28:34 -04:00
install_rust.sh deps: bumping yq to v4.40.7 2024-05-31 13:28:34 -04:00
kata-arch.sh ci: Do not take cross-build into consideration for kata-arch.sh 2023-07-21 16:54:27 +02:00
kata-doc-to-script.sh Revert "tests: Add trap statement in kata doc script" 2024-10-29 09:57:18 +00:00
README.md docs: Add general tests documentation in main README 2024-03-04 21:53:01 +00:00
static-checks.sh mem-agent: Add to src 2024-12-06 10:00:02 +08: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.