yongwww commented on code in PR #15991:
URL: https://github.com/apache/tvm/pull/15991#discussion_r1377944496
##########
tests/scripts/task_python_adreno.sh:
##########
@@ -54,18 +54,33 @@ adb forward tcp:5002 tcp:5002
env adb shell "cd ${TARGET_FOLDER}; killall -9 tvm_rpc-${USER}; sleep 2;
LD_LIBRARY_PATH=${TARGET_FOLDER}/ ./tvm_rpc-${USER} server --host=0.0.0.0
--port=5000 --port-end=5010 --tracker=127.0.0.1:${TVM_TRACKER_PORT}
--key=${RPC_DEVICE_KEY}" &
DEVICE_PID=$!
sleep 5 # Wait for the device connections
-trap "{ kill ${TRACKER_PID}; kill ${DEVICE_PID}; }" 0
+trap "{ kill ${TRACKER_PID}; kill ${DEVICE_PID}; cleanup; }" 0
# cleanup pycache
find . -type f -path "*.pyc" | xargs rm -f
# Test TVM
make cython3
+# The RPC to remote Android device has issue of hang after few tests with in
CI environments.
Review Comment:
Thanks for looking into this! This workaround should be good if it does not
significantly increase the overall CI time. It would be great to identify the
root cause of the hang issue as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]