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

Enable kvm-unit-tests #1660

Closed
wants to merge 4 commits into from
Closed

Enable kvm-unit-tests #1660

wants to merge 4 commits into from

Conversation

broonie
Copy link
Member

@broonie broonie commented Jan 19, 2023

The kvm-unit-tests provide low level coverage of KVM functionality, as the name suggests being very simple low level guests which exercise functionality in a much more focused fashion than running a full guest OS would.

This series depends on the very latest test definitions upstream, specifically Linaro/test-definitions@755466a - otherwise the only option is to build the testsuite at runtime.

@broonie
Copy link
Member Author

broonie commented Feb 21, 2023

This doesn't seem to be taking on staging - I'm assuming it's conflicting with something but any ideas what or how likely that is to progress?

Copy link
Member

@nuclearcat nuclearcat left a comment

Choose a reason for hiding this comment

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

Please check #1753 , i am not sure if this particular PR have issue or PR 1753.

@broonie broonie force-pushed the kvm-unit-tests branch 4 times, most recently from f8629da to 3e70f99 Compare February 23, 2023 17:26
@broonie
Copy link
Member Author

broonie commented Feb 24, 2023

We need Linaro/test-definitions#430

@broonie
Copy link
Member Author

broonie commented Feb 27, 2023

That's merged now, we just need a sync with upstream.

@broonie broonie force-pushed the kvm-unit-tests branch 2 times, most recently from 7ec17ca to 9c6c501 Compare March 14, 2023 13:46
Copy link
Contributor

@gctucker gctucker left a comment

Choose a reason for hiding this comment

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

No results on staging:
https://staging.kernelci.org/test/job/next/branch/master/kernel/next-20230331/

I've no idea why that is. @broonie Could you please take a look? It seems something is broken somewhere. I guess Jenkins logs on staging could provide additional information, and checking locally with kci_test that the jobs are getting generated.

@broonie
Copy link
Member Author

broonie commented Apr 6, 2023

This is the thing I keep on raising where the rootfs builds have started constantly failing due to what appears to be some sort of infra issue with running out of space in the target image during debos processing of Debian packages.

We're using this in production internally FWIW.

@gctucker
Copy link
Contributor

gctucker commented Apr 6, 2023

Ah OK so the problem is that the rootfs image is missing.

@mgalka Could you please take a look? I think this might be related to the debos configuration thing with the rootfs image size.

@gctucker
Copy link
Contributor

gctucker commented Apr 6, 2023

I believe it's not an infrastructure error but a limitation of how debos creates images, it has a fixed maximum size for the rootfs which can be configured so we might just need to add a parameter in rootfs.yaml to extend it.

@broonie
Copy link
Member Author

broonie commented Apr 6, 2023

From a user point of view it's infra - it's something I can't change (and something which started failing after I pushed the PR). @nuclearcat did mention making this configurable but I've no idea what the status is on that.

@gctucker
Copy link
Contributor

gctucker commented Jul 5, 2023

Adding skip label because of #1994

@gctucker gctucker added the staging-skip Don't test automatically on staging.kernelci.org label Jul 5, 2023
These job templates allow the generation of LAVA test jobs for
kvm-unit-tests using the existing LAVA integration in
test-definitions.

Signed-off-by: Mark Brown <[email protected]>
@broonie broonie removed the staging-skip Don't test automatically on staging.kernelci.org label Jan 24, 2024
These filesystems support running kvm-unit-tests using the latest LAVA test
definitions. These can work with prebuilt tests in /opt/kvm-unit-tests so
build the tests there and install a copy of qemu so that we can run them.

Signed-off-by: Mark Brown <[email protected]>
Provide the base definition for kvm-unit-tests, allowing it to be
enabled for boards.

Signed-off-by: Mark Brown <[email protected]>
The Le Potato and Raspberry Pi 4 boards in my lab should have some
capacity to run kvm-unit-tests.

Signed-off-by: Mark Brown <[email protected]>
@nuclearcat
Copy link
Member

Closing, as we are deprecating the legacy system. If this is still an issue or relevant, please re-open it under the Maestro system. Thank you for your contribution, and sorry for the inconvenience.

@nuclearcat nuclearcat closed this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants