commit | ef8187bd7e6c3fcf9edc435dc15b19ceca60d82c | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@pigweed.infra.roller.google.com> | Mon Aug 22 19:59:47 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 22 19:59:47 2022 +0000 |
tree | cc70ce71282c8ed7f8503fc2997fb480a8d04d4c | |
parent | bfe22144180201f5a1912dfa1ffb398640ffbe05 [diff] |
[roll pigweed] pw_unit_test: Cleanup test processes properly on timeout When processes launched were killed due to timeout, their child processes were orphaned and left running. Add a trap to the test runner script to cleanup the test processes when terminated. Switch to using SIGTERM instead of SIGKILL to allow the script to catch and handle it. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107777 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: 57456a4254640a7..963e9bd4d97ba22 Roller-URL: https://ci.chromium.org/b/8805101222798058017 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I69b91bee4d4cf43b28945dd3042e2f780073d3cf Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107851 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>