Support¶
Getting help¶
In case you need help, do not hesitate to reach out to us:
If you work at Canonical, you can also visit the ~Launchpad channel on Mattermost.
Bugs and feature requests¶
If you encounter a bug or you would like to have a new feature implemented, please report them at https://bugs.launchpad.net/lpci.
Known issues¶
Apart from the currently open bug reports, there are the following known issues for which there is no known solution:
In order to keep the source tree clean, lpci mirrors the contents of the project into the lxd container (
/build/lpci/project/).This may have unexpected side effects when your current work tree is not clean.
This may also be a reason that the result you get when you run
lpcion your machine and on CI may diverge.In order to ensure that you can use
lpcito test code that has not yet been committed, we do not currently intend to change this behaviour. However, you can simulate the behaviour of a CI run by making a fresh clone of your branch and runninglpcithere.Strictly-confined snaps may fail with “Permission denied” errors when invoked by their command name in lpci jobs. This issue only occurs when running jobs through Launchpad CI.
This occurs because lpci runs jobs in
/build/lpci/project/, which is not accessible to strictly-confined snaps due to AppArmor restrictions. Snaps can typically only access home directories and removable media.Workaround: Invoke the snap using its full path instead of the command name. For example, use
/snap/ruff/current/bin/ruffinstead ofruff. This bypasses the snap launcher and its confinement restrictions.See bug #2139277 for more details.