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> |
||
---|---|---|
.. | ||
assigner.yml | ||
backport.yml | ||
backport_issue_check.yml | ||
bluetooth-tests-publish.yaml | ||
bluetooth-tests.yaml | ||
bug_snapshot.yaml | ||
clang.yaml | ||
codecov.yaml | ||
coding_guidelines.yml | ||
compliance.yml | ||
daily_test_version.yml | ||
devicetree_checks.yml | ||
do_not_merge.yml | ||
doc-build.yml | ||
doc-publish-pr.yml | ||
doc-publish.yml | ||
errno.yml | ||
footprint-tracking.yml | ||
footprint.yml | ||
issue_count.yml | ||
issues-report-config.json | ||
license_check.yml | ||
manifest.yml | ||
release.yml | ||
stale_issue.yml | ||
twister.yaml | ||
twister_tests.yml | ||
west_cmds.yml |