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

[release-4.15] CI does not exit when a VM boot fails

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 250

      Description of problem:

      CI needs to stop and exit with errors when one of the VMs fail to boot successfully.

      Version-Release number of selected component (if applicable):

      4.16 and below

      How reproducible:

      In CI

      Additional info:

      https://github.com/openshift/microshift/blob/main/test/bin/scenario.sh#L884-L889 is faulty.

      launch_vm returned with 1, but the rc is not checked in scenario_create_vms(), so it proceeded to configure_vm_firewall host1 which had a lot of fails (like reading ip file) but none of them was caught, probably because of if ! func which disables set e and also this seemed to fail  it exits with 0 but it should exit with 1 from return 1

            ggiguash@redhat.com Gregory Giguashvili
            dhellman@redhat.com Doug Hellmann
            Patryk Matuszak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: