mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
Previously we were mounting a rw overlay on top of /usr using `mount -t overlay -olowerdir=/usr,workdir=...,upperdir=... overlay /usr` which caused the kernel to throw `overlayfs: maximum fs stacking depth exceeded` possibly because the mountpoint was the same as the lowerdir Also, move the overlay mount BEFORE we mask off `/sysroot/ostree` else bootc throws `error: Read only filesystem` Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
Run integration test locally
In the bootc CI, integration tests are executed via Packit on the Testing Farm. In addition, the integration tests can also be run locally on a developer's machine, which is especially valuable for debugging purposes.
To run integration tests locally, you need to install tmt and provision-virtual plugin in this case. Be ready with dnf install -y tmt+provision-virtual. Then, use tmt run -vvvvv plans -n integration command to run the all integration tests.
To run integration tests on different distros, just change image: fedora-rawhide in 9d15eedea0/tmt/plans/integration.fmf (L6).
The available images value can be found from https://tmt.readthedocs.io/en/stable/plugins/provision.html#images.
Enjoy integration test local running!