c7a9c3b1dd
There's a lot going on here, but essentially: 1. We change the `vmcheck` model so that it always operates on an immutable base image. It takes that image and dynamically launches a separate VM for each test using `kola spawn`. This means we can drop a lot of hacks around re-using the same VMs. 2. Following from 1., `vmoverlay` now takes as input a base image, overlays the built rpm-ostree bits, then creates a new base image. Of course, we don't have to do this in CI, because we build FCOS with the freshly built RPMs (so it uses `SKIP_VMOVERLAY=1`). `vmoverlay` then will be more for the developer case where one doesn't want to iterate via `cosa build` to test rpm-ostree changes. I say "will" because the functionality doesn't exist yet; I'd like to enhance `cosa dev-overlay` to do this. (Note `vmsync` should still works just as before too.) 3. `vmcheck` can be run without building the tree first, as `tests/vmcheck.sh`. The `make vmcheck` target still exists though for finger compatibility and better meshing with `vmoverlay` in the developer case. What's really nice about using kola spawn is that it takes care of a lot of things for us, such as the qemu command, journal and console gathering, and SSH. Similarly to the compose testsuites, we're using parallel here to run multiple vmcheck tests at once. (On developer laptops, we cap parallelism at `$(nproc) - 1`). |
||
---|---|---|
.. | ||
install.sh | ||
overlay.sh | ||
runtest.sh | ||
sync.sh | ||
test-autoupdate-check.sh | ||
test-autoupdate-stage.sh | ||
test-cached-rpm-diffs.sh | ||
test-db.sh | ||
test-download-only.sh | ||
test-history.sh | ||
test-initramfs.sh | ||
test-kernel-args.sh | ||
test-layering-basic-1.sh | ||
test-layering-basic-2.sh | ||
test-layering-gpg.sh | ||
test-layering-local.sh | ||
test-layering-non-root-caps.sh | ||
test-layering-relabel.sh | ||
test-layering-relayer.sh | ||
test-layering-rpmdb.sh | ||
test-layering-scripts.sh | ||
test-layering-unified.sh | ||
test-livefs.sh | ||
test-misc-1.sh | ||
test-misc-2.sh | ||
test-override-kernel.sh | ||
test-override-local-replace.sh | ||
test-override-remove.sh | ||
test-override-replace-2.sh | ||
test-pinned-commit.sh | ||
test-reset.sh | ||
test-rojig-client.sh | ||
test-upgrades.sh |