Skip to content

When qemu fails, the retry action only partially reruns commands #30

@npf

Description

@npf

When qemu fails, the retry action only partially reruns commands

Branch: refactor
Step: bootstrap/start_qemu.yaml

Only

  - exec_local: |
        qemu-system-$${qemu_arch} $ENABLE_KVM \

is re-executed, with neither ENABLE_KVM nor BOOT_TIMEOUT defined.

Indeed, the former local exec

  - exec_local: |
      if [ "$${qemu_enable_kvm}" = "true" ]; then
        ENABLE_KVM="-enable-kvm -cpu host"
        BOOT_TIMEOUT=$${boot_timeout}
      else
        BOOT_TIMEOUT=$(($${boot_timeout}*2))
      fi

is not re-executed and for some reason, the bash_env file is reset as well, so ENABLE_KVM and BOOT_TIMEOUT are not defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions