52db2d8279
`handlers.py` treats the `psutil` package as optional and quietly prints a message to stdout if it is not present, but it is actually a hard requirement for the base `Handler` class. This try/except block is bad as it hides the requirement until a timeout occurs and the handler attempts to use `psutil` in the terminate method, which will crash if the module happens to be missing. This PR removes the try/except guard so missing `psutil` will cause twister to immediately fail. `psutil` is already specified in the `requirements.txt` file, so this should only affect users who unwittingly have an outdated/incorrect environment. Also update the Github Action for twister tests to install from requirements files. Signed-off-by: Tristan Honscheid <honscheid@google.com> |
||
---|---|---|
.. | ||
ISSUE_TEMPLATE | ||
workflows | ||
SECURITY.md | ||
license_config.yml |