[zorg] r223221 - Sanitizer bot: wait longer for the emulator to initialize.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Dec 3 02:19:16 PST 2014


Author: eugenis
Date: Wed Dec  3 04:19:16 2014
New Revision: 223221

URL: http://llvm.org/viewvc/llvm-project?rev=223221&view=rev
Log:
Sanitizer bot: wait longer for the emulator to initialize.

Seems to help with the bot stability.

Modified:
    zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh

Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh?rev=223221&r1=223220&r2=223221&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh Wed Dec  3 04:19:16 2014
@@ -80,7 +80,11 @@ function test_android { # ARCH AVD STEP_
 
     $ADB devices # should be empty
     $ANDROID_SDK/tools/emulator -avd $_avd -no-window -noaudio -no-boot-anim -accel off &
-    sleep 10
+    # 30s is generally enough for the emulator to initialize.
+    # wait-for-device does not wait long enough, as it seems.
+    # Otherwise, /system sometimes mysteriously reverts to read-only right in
+    # the middle of asan_device_setup.
+    sleep 30
     $ADB wait-for-device
 
     echo "Device is up"





More information about the llvm-commits mailing list