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.