Debugging gitlab job issues (was: Transition to VM based CI)
Thomas Friedrichsmeier <[email protected]> Fri, 5 Sep 2025 15:50:31 +0200
| Newsgroups | gmane.comp.kde.devel.core |
|---|---|
| Message-ID | <20250905155012.5ab96cdb@booklife> |
On Tue, 8 Jul 2025 06:49:29 +1200 Ben Cooksley <[email protected]> wrote: [...] > The VM images themselves are built using some rather simplistic > scripting at invent.kde.org/sysadmin/ci-images. > Once built they're published to storage.kde.org/vm-images/ - so yes > you could definitely just download a CI VM image and start hacking > right away. > > There is tooling in sysadmin/ci-images (vm-runner folder) which > automates the process of downloading an image, setting up the VM, etc > and makes running a new one as easy as: > vm-runner run --cpu 4 --ram 4G --disk 100G --image > storage.kde.org/vm-images/alpine-qt68 --mount ~/shared/ --ssh-keys > ~/.ssh/id_rsa.pub mynewvm Trying to debug this build failure (while building vlc for appimage, using craft): https://invent.kde.org/education/rkward/-/jobs/3323793 . A similar job still running in a docker container succeeds (https://invent.kde.org/packaging/craft-blueprints-kde/-/jobs/3317222), so it seems to depend on some specifics of the system, and I was hoping to diagnose the problem by downloading the VM image. I started the "craft-appimage" image using the vm-runner script, as shown, entered it as "user" via ssh, and bootstrapped craft inside of it. To my surprise, building vlc in that setup does not show the same error, however (it still fails, but at a slightly later point, and with a different error that I do understand, and will be able to fix). So I wonder: 1) What do I need to do to replicate an environment identical to the one used on gitlab. Also, while not at that point, yet: 2) Can I modify the image, interactively, specifically, by installing some stuff with root privileges? Or will I have to rebuild the image from scratch, for that? Thanks!
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEby3AwIMM6jiQ/yLPORWR3xhYy7YFAmi66qcACgkQORWR3xhY y7Zekg//aZF4l4gf2yP0+Wf9BjlVTLPIBUmYbbW7Dta+4Aw2va192xgGiP2CUhKi 8rzlZNmkBaUuT3J3JrvycDmeF+df7Y6nxvdOHZFt3zblg/aHqQucaIcPjb3rngv2 vKbvMUMGoiv0mkyiTmEg1YUbBtRHZyOvuwZbGPUJJ3IEy8yTP8hTeT8/gY958FmJ Q9iaBwGiblZ3/j2X5Bxmf41/dmpm2hdr18smY0v/IPC1OrNgbudvehHg4LSF8+OD K63bZlBJAFOp+lEka9OAAcfo9CRQvvSKryoqO38Q709/ex+yzoThbrI3DowqPHaC v8yr4rLrnHXLdGyD5L2aglzWBKTKtZisFqi1y2kewLekg3DADy+NZAgwelmBAzsk v5xzSSoPv7Zvzwdf7EizSmFozJQj8AdipYWjXV07+F4OcYPi4A57rWpIhQAsa+5l 5sxKATBja/iBXDJMEhQ6fWpjWu0Jkmq21yAJiTNiXsdO8IjGENYSDwHaW75LsQJb 06p/V21t8GcB8JzIarT6cXoGh6RVAIheENbluLe71NYtzlL4p5x4nd7xeLJs/Tlc F+R8J50qBQoI0zKqN3L8IjUJ2eg2/JW4XZyFygLm4mpk0sE+kWRjBV+nyYkH6TWK XiyG4tWzEHh1fe3kAFV12Ro0PfZWo8gb4b5G0lHYlP4FSLPigCo= =iMfC -----END PGP SIGNATURE-----