## Summary
- add timeout-aware execution for the PyTorch external-process
end-to-end test
- include bounded captured process output and labeled simulator log
tails in timeout failures
- terminate the timed-out wrapper and its known descendants to avoid
contaminating later tests
## Motivation
The slow PyTorch external-process test previously surfaced only
subprocess.TimeoutExpired. Its useful simulator and client logs remained
under the temporary pytest workspace and were lost when the CI worker
was removed, leaving the hang without actionable diagnostics.
## Validation
- targeted PyTorch external-process end-to-end test: 1 passed
- forced-timeout diagnostic exercise confirmed process output and
simulator log tails are included
- full project style check: ./runtest.sh -s
- git diff --check
---------
Co-authored-by: Chester Chen <512707+chesterxgchen@users.noreply.github.com>