-
Notifications
You must be signed in to change notification settings - Fork 196
ci: Add virtio-fs support #1537
ci: Add virtio-fs support #1537
Conversation
Should we add the command to enable on the system too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
5d6a1ba
to
d62837a
Compare
@ganeshmaharaj addressed your comment |
d62837a
to
04a0319
Compare
/test-nemu |
Seems like we have memory issues when running with virtiofs, maybe because of hugepages? |
@ganeshmaharaj is already aware that hugepages are actually not needed, which is why he has a patch in flight I think. If the issue comes from hugepages, this will be solved by not using them because they're not needed per se. |
04a0319
to
d83ba86
Compare
/test-nemu |
@chavafg hi, any update? |
d83ba86
to
ac7ab85
Compare
/test-nemu |
ac7ab85
to
203d0f8
Compare
/test |
Restarted Nemu test which failed with:
Restarted the initrd CI failed with this rather weird set of messages:
|
seems like docker memory tests with nemu (which use virtiofs in this PR) are getting hanged. need to check furtherly |
203d0f8
to
ee458d2
Compare
ee458d2
to
7e15010
Compare
/test-nemu |
7e15010
to
acad792
Compare
.ci/install_runtime.sh
Outdated
# currently we use nemu for virtiofs testing | ||
if [ "$VIRTIO_FS" = true ] && [ "$KATA_HYPERVISOR" = "nemu" ]; then | ||
echo "Configure virtio-fs on kata-runtime config file" | ||
sudo crudini --set "$runtime_config_path" hypervisor.qemu virtio_fs_daemon "\"/usr/local/bin/virtiofsd-${arch}\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After #1595, maybe we can remove the hardcoding of the virtiofsd binary and use ${KATA_NEMU_DESTDIR}
.ci/install_runtime.sh
Outdated
echo "Configure virtio-fs on kata-runtime config file" | ||
sudo crudini --set "$runtime_config_path" hypervisor.qemu virtio_fs_daemon "\"/usr/local/bin/virtiofsd-${arch}\"" | ||
sudo crudini --set "$runtime_config_path" hypervisor.qemu shared_fs "\"virtio-fs\"" | ||
sudo crudini --set "$runtime_config_path" hypervisor.qemu enable_hugepages "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not longer need this. File based backend patch landed today and that should automatically take care of this part.
7bb389a
to
203786d
Compare
/test-nemu |
@ganeshmaharaj now the tests are getting hanged on the cri-o tests when trying to create a container inside a pod. I just see timeout error on the kata logs, but the lasts messages are from I tried to reproduce locally, these are the logs:
any idea? |
@chavafg can we just use the nemu hypervisor with its default toml now? Is this PR still needed? |
I need to change the PR to now use the |
I seem to have missed it. is this still an issue? I just tested and it seems to be working fine. and we have fixed the hotplug issue. Once the patch lands in runtime, we can turn that test back on as well. |
203786d
to
8e860f6
Compare
/test-nemu |
The kata-containers configuration file for nemu already uses virtiofs as default. Use this config file to run the CI with nemu and virtiofs. In addition, this change also skips memory related tests as kata-containers/runtime#1745 is still open. Fixes: kata-containers#1536. Signed-off-by: Salvador Fuentes <[email protected]>
we still have some issues running memory hotplug using virtiofs, so many of the cri-o and k8s tests do not run as expected. This should be resolved on kata-containers/runtime#1810, but in the meantime run only docker related tests. Signed-off-by: Salvador Fuentes <[email protected]>
bb57290
to
ae8f8f1
Compare
/test |
Greeeeeeeeeen! |
Add configuration option to use virtio-fs.
We will currently use nemu for testing the
virtio-fs support.
Depends-on: github.com/kata-containers/runtime#1639
Fixes: #1536.
Signed-off-by: Salvador Fuentes [email protected]