Sam Thursfield created an issue: 
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/623



As part of https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/206 (Test 
OS and apps keep working in the VM image) we need a Gitlab CI runner that is 
able to run a virtual machine using KVM.

In the list of available runners, I see only one tagged 'kvm' and it is offline 
since 5 months ago:

![image](/uploads/132af83b8711c8fe0c4d3c87bd7bf48c/image.png)


The pipeline we are trying to run is in gnome-build-meta branch 
[sthursfield/james/openqa-gnome-40](https://gitlab.gnome.org/GNOME/gnome-build-meta/-/commits/sthursfield/james/openqa-gnome-40).
 On the regular gnome-build-meta runner, it successfully talks to 
openqa.gnome.org but fails with this [error](http://openqa.gnome.org/tests/2):

```
[2021-07-29T12:44:43.210 UTC] [debug] QEMU: QEMU emulator version 4.2.1 
(openSUSE Leap 15.2)
[2021-07-29T12:44:43.210 UTC] [debug] QEMU: Copyright (c) 2003-2019 Fabrice 
Bellard and the QEMU Project developers
[2021-07-29T12:44:43.210 UTC] [debug] QEMU: Could not access KVM kernel module: 
Permission denied
[2021-07-29T12:44:43.211 UTC] [warn] !!! : qemu-system-x86_64: failed to 
initialize KVM: Permission denied
```

This is presumably because the gnome-build-meta runner doesn't give Docker the 
necessary permissions to run KVM.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/623
You're receiving this email because of your account on gitlab.gnome.org.


_______________________________________________
gnome-infrastructure mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-infrastructure

Reply via email to