Bug: execution doesn't stop in case of a critical error
Fresh install on MacOS, I have
..../nancy/nancy_run.sh: line 623: docker-machine: command not found
-- which is OK since docker is not installed.
But then execution continues. I've got ERROR: Docker machine nancy-20190513-113218N-EDT is NOT running.
, then According to '--keep-alive', the spot instance with the container will be up for additional 600 seconds.
, and after keep-alive amount of seconds, finally I have ..../nancy/nancy_run.sh: line 980: CONTAINER_HASH: unbound variable
.
And Spot requests remains open, EC2 instance alive in AWS. Which is not normal as excepted at all.
TODO
In case of critical error, do not continue, perform cleanup.
Acceptance criteria
In case of critical error, I see:
- that execution is interrupted,
- EC2 instance destroyed.
Example of error: docker is not installed on the machine.
Edited by Anna