Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Port kata-monitor tests from Jenkins to GHA #8075

Merged

Conversation

fidencio
Copy link
Member

This PR brings in the kata-monitor tests.

The tests I've performed locally can be seen here:

I've performed the tests on an ubuntu 22.04 VM, matching the "smaller" garm VM, and I've used the kata-static tarball generated from Yesterday's nightly run.

Let's ensure we have runc running with `SystemdCgroups = false`,
otherwise we'll face failures when running tests depending on runc on
Ubuntu 22.04, woth LTS containerd.

Signed-off-by: Fabiano Fidêncio <[email protected]>
This will become handy when doing tests with CRI-O, as CRI-O doesn't
install the CNI plugins for us.

Signed-off-by: Fabiano Fidêncio <[email protected]>
This will serve us quite will in the upcoming tests addition, which will
also have to be executed using CRi-O.

Signed-off-by: Fabiano Fidêncio <[email protected]>
This will help us when running tests using CRI-O.

Signed-off-by: Fabiano Fidêncio <[email protected]>
The kata-monitor tests is currently running as part of the Jenkins CI
with the following setups:
* Container Engines: CRI-O | containerd
* VMMs: QEMU

When using containerd, we're testing it with:
* Snapshotter: overlayfs | devmapper

We will stop running those tests on devmapper / overlayfs as that hardly
would get us a functionality issue.

Also, we're restricting this to run with the LTS version of containerd,
when containerd is used.

As it's known due to our GHA limitation, this is just a placeholder and
the tests will actually be added in the next iterations.

Signed-off-by: Fabiano Fidêncio <[email protected]>
Let's move, adapt, and use the kata-monitor tests from the tests repo.
In this PR I'm keeping the SoB from every single contributor from who
touched those tests in the past.

Fixes: kata-containers#8074

Signed-off-by: Fabiano Fidêncio <[email protected]>
Signed-off-by: yaoyinnan <[email protected]>
Signed-off-by: Gabriela Cervantes <[email protected]>
Signed-off-by: James O. D. Hunt <[email protected]>
@katacontainersbot katacontainersbot added the size/huge Largest and most complex task (probably needs breaking into small pieces) label Sep 27, 2023
@fidencio fidencio added force-skip-ci Stop the CI running for a PR (remember: if you break it, you fix it!) ok-to-test labels Sep 27, 2023
Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@fidencio
Copy link
Member Author

/test

@fidencio fidencio merged commit 8b25e90 into kata-containers:main Sep 27, 2023
133 of 151 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
force-skip-ci Stop the CI running for a PR (remember: if you break it, you fix it!) ok-to-test size/huge Largest and most complex task (probably needs breaking into small pieces)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants