While trying to run Emulator with Jenkins on a CentOS machine I repeatedly encounter the following message:
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Screen did not unlock successfully, retrying (WARNING: The server did not provide any stacktrace information)
Strangely this error is encountered only when I try to launch Android 5.1.1 on Emulator. Android 4.4 works just fine.
Could someone provide suggestions on how I can overcome this error?
Environment Details:
Jenkins ver. 2.32.1
Emulator configuration in Jenkins as
Android OS: android-22
Screen density: xxhdpi
Screen resolution: 1080x1920
Device locale: en_US
Target ABI: google_apis/armeabi-v7a
Emulator name suffix: Android_5
Hardware: Property: vm.heapSize , Value: 64
Property: hw.ramSize, Value: 1024