rpm-ostree/tests/vmcheck
Jonathan Lebon c7a9c3b1dd Rework vmcheck to use kola spawn, move off of PAPR
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`).
2019-12-13 19:18:30 +01:00
..
install.sh Rebase to latest libdnf 2019-03-19 14:29:15 +00:00
overlay.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
runtest.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
sync.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
test-autoupdate-check.sh Print CVEs fixed in available updates 2018-12-05 18:56:49 +00:00
test-autoupdate-stage.sh Stabilize stage automatic update policy 2018-08-21 01:01:45 +00:00
test-cached-rpm-diffs.sh tests/vmcheck: Fully drop python 3 requirement 2019-06-10 15:36:06 +00:00
test-db.sh app/db-diff: Add --format=json output 2019-05-23 20:24:11 +00:00
test-download-only.sh app/deploy: Gate 77 exit behind --unchanged-exit-77 2019-09-24 08:07:04 +00:00
test-history.sh Add new ex history command 2019-09-24 14:17:12 +00:00
test-initramfs.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-kernel-args.sh daemon: Use MountFlags=slave and opt-in to OSTree read-only /sysroot 2019-12-13 01:44:56 +01:00
test-layering-basic-1.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-layering-basic-2.sh core: Tweak "Importing" messages 2018-11-21 13:54:35 +00:00
test-layering-gpg.sh tests/libvm: use rsync and add yumrepo mode 2017-10-06 18:20:59 +00:00
test-layering-local.sh vmcheck: Store temporary files in /var/tmp instead 2018-09-07 14:20:01 +00:00
test-layering-non-root-caps.sh tests: Don't make system user with differently-named group 2019-02-25 14:21:28 +00:00
test-layering-relabel.sh core: Change relabeling to use libostree's SELinux support 2017-12-08 15:01:32 +00:00
test-layering-relayer.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-layering-rpmdb.sh core: handle shared files and multilib 2018-02-08 21:58:55 +00:00
test-layering-scripts.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
test-layering-unified.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-livefs.sh tests/vmcheck: Fully drop python 3 requirement 2019-06-10 15:36:06 +00:00
test-misc-1.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
test-misc-2.sh app/deploy: Gate 77 exit behind --unchanged-exit-77 2019-09-24 08:07:04 +00:00
test-override-kernel.sh Rework vmcheck to use kola spawn, move off of PAPR 2019-12-13 19:18:30 +01:00
test-override-local-replace.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-override-remove.sh app/status: Group EVRs for RemovedBasePackages if possible 2019-06-18 14:34:13 +00:00
test-override-replace-2.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-pinned-commit.sh Handle "pinned commits" specifically 2018-06-11 20:37:58 +00:00
test-reset.sh Copy used command-line and set as transaction title 2019-05-08 21:09:08 +00:00
test-rojig-client.sh vmcheck/test-rojig-client.sh: Don't check full rojig NEVRA 2019-03-19 12:19:38 +00:00
test-upgrades.sh app/deploy: Add --disallow-downgrade switch 2019-08-21 16:43:37 -04:00