-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
5
-
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
- links to