Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-3323

Merge VM boot and test run steps in CI for main branch

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.18
    • None
    • None
    • None
    • None
    • uShift Sprint 258, uShift Sprint 259

      Merge VM boot and test run steps in CI to improve the overall turnaround of VM creation and test runtime. The idea is to have a test running as soon as the VM is created.

      If this works out well, we can also elliminate a separate test step in openshift-release repo.

      Additional advantage in merging two steps is: currently if booting of single VM fails, we don't run any tests. If we merge them, this single failure won't interrupt the testing.

       

      Proposed approach separated into several phases:

      openshift/microshift repository:

      • Create a new argument for scenario.sh: "create-and-run" that creates and boots the VM, and then proceeds with testing (similar to currently existing rerun, but without the cleanup part)
      • Edit ci_phase_iso_boot.sh to be a no-op (don't create any VMs)
      • Edit ci_phase_test.sh:
        • create VMs and run the tests: `create-and-run` instead of `run`
        • Merge logic of of test and iso_boot, so the messaging and other things make sense

      openshift/release repository:

      • Edit `finalize()` in the tests step, to include boot.log link

              rh-ee-thalenar Timotej Halenar
              ggiguash@redhat.com Gregory Giguashvili
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: