summaryrefslogtreecommitdiff
path: root/tools/buildbot-setup-device.sh
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2021-05-05 16:00:37 +0100
committer David Srbecky <dsrbecky@google.com> 2021-05-05 20:21:37 +0000
commit06884debcd3d4b627cbd256fffd5d6c35919d31e (patch)
treed865be92255a9e112b3b297051aead89655f9b76 /tools/buildbot-setup-device.sh
parent3cafbac6f2c57ee0cd209163cb29b648863cad2b (diff)
Disable live-lock kill daemon for tests.
I think this might be causing "no devices/emulators found" issues in our long running gcstress tests if adbd gets killed. Bug: 187295147 Bug: 142039427 Test: art/tools/buildbot-sync.sh Change-Id: I0b5de3cd13cfde35f031f632760aa1dd679baf0d
Diffstat (limited to 'tools/buildbot-setup-device.sh')
-rwxr-xr-xtools/buildbot-setup-device.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/buildbot-setup-device.sh b/tools/buildbot-setup-device.sh
index 2176f47988..5c6ddcdd31 100755
--- a/tools/buildbot-setup-device.sh
+++ b/tools/buildbot-setup-device.sh
@@ -51,6 +51,13 @@ fi
seconds_per_hour=3600
+# b/187295147 : Disable live-lock kill daemon.
+# It can confuse long running processes for issues and kill them.
+# This usually manifests as temporarily lost adb connection.
+echo -e "${green}Killing llkd, seen killing adb${nc}"
+adb shell setprop ctl.stop llkd-0
+adb shell setprop ctl.stop llkd-1
+
# Kill logd first, so that when we set the adb buffer size later in this file,
# it is brought up again.
echo -e "${green}Killing logd, seen leaking on fugu/N${nc}"