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

The onerror handler in CI kickstart reboots the VM without returning failure

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 260

      Description of problem:

      The onerror handler in kickstart reboots the VM without returning failure and this effectively cancels VM creation retries in CI

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

      4.18, 4.17

      How reproducible:

      100% when the VM creation fails

      Actual results:

      VM creation is not retried by scenario.sh script

      Expected results:

      VM creation must be retried by scenario.sh script

      Additional info:

      https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_microshift/3921/pull-ci-openshift-microshift-main-e2e-aws-tests-bootc-arm/1837723939992768512/artifacts/e2e-aws-tests-bootc-arm/openshift-microshift-e2e-metal-tests/artifacts/scenario-info/el94-src@downgrade-block/boot_and_run.log

      Finished diplaying log files on installation failure
               Stopping System Logging Service...
      
      [  OK  ] Stopped Authorization Manager.
      ...
      ...
      dracut Warning: Killing all remaining processes
      [  242.990942] dracut Warning: Killing all remaining processes
      dracut Warning: Unmounted /oldroot.
      [  243.035793] dracut Warning: Unmounted /oldroot.
      Rebooting.
      [  243.152610] reboot: Restarting system
      
      Domain has shutdown. Continuing.
      Domain creation completed.
      You can restart your domain by running:
        virsh --connect qemu:///system start el94-src-downgrade-block-host1
      + 06:03:13.479514315 ./bin/scenario.sh:627 	vm_created=true
      + 06:03:13.480633525 ./bin/scenario.sh:628 	break 

              ggiguash@redhat.com Gregory Giguashvili
              ggiguash@redhat.com Gregory Giguashvili
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: