Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: RFC: Rework vmcheck to use STI qcow2 inventory #1362

Closed
wants to merge 1 commit into from

Commits on Jul 31, 2018

  1. Rework vmcheck to use STI qcow2 inventory

    While we're having reboot+ansible issues in ostree related
    to this, I really like the ability to pass it a qcow2 rather
    than the "BYO ssh-config" model.  Further, the vmcheck code
    was full of workarounds for trying to reuse VMs between tests.
    
    The high level of this code is you can now do locally in development:
    `export TEST_SUBJECTS=/srv/libvirt/images-gold/Fedora-Atomic-27-20180326.1.x86_64.qcow2`
    or whatever.  Then:
    `make && make vmcheck TESTS="misc-1 misc-2 layering-relayer"`
    will spawn those tests, each in a clean VM.  A much bigger benefit
    is that I reworked the tests to use `parallel` like the others,
    and now if you set `VMCHECK_PARALLEL=4` you'll get 4 parallel VMs.
    Since each VM has 1024MB of RAM today I have it set to 8 locally.
    
    Requires: https://pagure.io/standard-test-roles/pull-request/188
    cgwalters committed Jul 31, 2018
    Configuration menu
    Copy the full SHA
    40262f5 View commit details
    Browse the repository at this point in the history