Fetch jobs resume despite "terminate" option on CTRL-C
Summary
When first attempting to terminate buildstream mid fetch, buildstream appears to continue/restart the fetch operation.
Steps to reproduce
- cd into
doc/examples/flatpak-autotools - Ensure your
~/.cache/buildstream/artifactsis cleared - Run
bst build hello.bst - Wait for
fetch:base/sdk.bstto start - Press
CTRL-Cfollowed bytto terminate- Observe as the
STATUSmessages begin to start coming in again
- Observe as the
- Repeating the previous step will terminate the session as expected.
What is the current bug behavior?
BuildStream fails to terminate during a fetch job on the first attempt.
What is the expected correct behavior?
BuildStream should terminate any ongoing jobs and exit as specified.
Relevant logs and/or screenshots
Possible fixes
Other relevant information
- BuildStream version affected: master
