Skip to content

Distinguish between sources of death by SIGKILL#2171

Merged
sporksmith merged 3 commits intoshadow:mainfrom
sporksmith:sigkill
May 20, 2022
Merged

Distinguish between sources of death by SIGKILL#2171
sporksmith merged 3 commits intoshadow:mainfrom
sporksmith:sigkill

Conversation

@sporksmith
Copy link
Copy Markdown
Contributor

Fixes #2151

@github-actions github-actions bot added Component: Build Build/install tools and dependencies Component: Libraries Support functions like LD_PRELOAD and logging Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks labels May 18, 2022
@sporksmith sporksmith marked this pull request as ready for review May 18, 2022 22:22
@sporksmith sporksmith requested a review from stevenengler May 18, 2022 22:22
Copy link
Copy Markdown
Contributor

@stevenengler stevenengler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, meant to approve.

* Treat death by signal 9 as an error if Shadow didn't
  intentionally use it to stop the process.

* Write an empty exitcode file when Shadow does kill the process (via
  signal 9), which is a more intuitive result for a process that didn't
  exit within the simulation itself.
@sporksmith sporksmith enabled auto-merge May 20, 2022 16:29
@sporksmith sporksmith merged commit 0d48c6f into shadow:main May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Build Build/install tools and dependencies Component: Libraries Support functions like LD_PRELOAD and logging Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shadow will return success even when plugins are killed by Linux OOM killer

2 participants