-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Device is busy or blocked" how can I get around this error? #1441
Comments
@tking16 In the given logs I cannot find the error, this generally happens when the requested device is not free based on the filter. |
@saikrishna321 It occurs twice in the logs, here's a snippet:
That's very strange, is there any command I can run to "free up" the devices or anything, can't imagine why they'd be blocked as only one instance of the tests run at a time... |
@tking16 This is very weird.
|
From checking the logs, the UDID is just the phone's IP address, is that expected?
|
@tking16 UDID is just what is returned by the adb devices. Now in the screenshot I see UDID is different from the one in the logs |
@saikrishna321 Okay so this is interesting, I managed to grab the exact device from the office today and set up local device-farm session and see if I could reproduce, all the tests failed immediately and the device became marked as "busy", but a more obvious error became noticeable:
I need to look into this |
Update: I managed to resolve the issue by deleting the device-farm APK that was on the broken phone. I assume that was the 9.0.1 version and device farm was getting confused |
Can you also update the device farm plugin to the latest version? |
@sudharsan-selvaraj I'm on v9.4.5 |
Describe the bug
I have setup of two physical Android Samsung devices, recently I've been getting tests fail whereby the app won't even start on one of the devices. The other device is running the tests as normal, not sure if this is a device-farm issue or uiAutomator2 issue either. The error message advised to increase
androidTimeoutInstall
which made no difference.Link to Appium logs
appium.log
Environment
I had similar issues on device-farm v9.0.1 but that had a slightly different error, about being unable to install the APK
The text was updated successfully, but these errors were encountered: