diff options
author | Colin Cross <ccross@android.com> | 2021-04-30 14:01:14 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-04-30 14:14:46 -0700 |
commit | 29c294b2cfb778b77a1556511ba53414254ddbab (patch) | |
tree | 59e625bc633fb0d187d597ec3b9d99f434a92344 /java/java.go | |
parent | 9b6bcc6bff4bbae076f8d9f2407e10203cd02432 (diff) |
Time out and dump stacks from R8 processes after 30 minutes
R8 processes are sometimes hanging on the build servers. Wrap R8 with
run_with_timeout to dump the stacks with jstack and kill the process
after 30 minutes. Switch from running with the r8-compat-proguard
shell script to running the jar directly so that jstack gets the pid
of the java process.
Bug: 181095653
Test: m checkbuild
Test: m NetworkStackNextIntegrationTests
Test: m USE_RBE=true RBE_R8=true RBE_R8_EXEC_STRATEGY=remote NetworkStackNextIntegrationTests
Change-Id: If6996bd8eb39c7a8453d79e825004339c009ade2
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions