Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(run): Send finish signal after removing from store #796

Merged

Conversation

craciunoiuc
Copy link
Member

@craciunoiuc craciunoiuc commented Sep 12, 2023

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

If the signal is sent before, the process stops before it has a chance to signal the fact that the machine must be stopped/removed.

Tested on 3 different machines and the fix worked.
The situation before can't always be replicated because it's a race condition

@craciunoiuc craciunoiuc added cmd/kraft/run Issue or PR related to the ukrun CLI program kind/fix This PR fixes an issue or bug labels Sep 12, 2023
Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
@craciunoiuc craciunoiuc force-pushed the craciunoiuc/fix-kraft-rm-not-working branch from b864d2f to 2b5f3f8 Compare September 15, 2023 15:07
@jake-ciolek jake-ciolek merged commit 8b03fd5 into unikraft:staging Sep 15, 2023
4 checks passed
@craciunoiuc craciunoiuc deleted the craciunoiuc/fix-kraft-rm-not-working branch October 17, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/kraft/run Issue or PR related to the ukrun CLI program kind/fix This PR fixes an issue or bug
Projects
Status: 🚀 Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants