-
Notifications
You must be signed in to change notification settings - Fork 307
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
[v1.33.1] Exception in thread "pool-4-thread-1" java.io.IOException: Command failed (host:transport:emulator-5554): device 'emulator-5554' not found/device offline #1525
Comments
Update: The error now appears to display as:
It appears that now in v1.34.0 after this issue occurs, the flows continue to run with the "Android driver unreachable" message as the reason (this I feel is better). I can't think of any reason why the device would go offline mid-execution. Possibly the related to the issue what I've raised here #1570 |
Hi @DavidREntwistle, I am also facing the same issue. Did you find any workaround for this issue? |
@sanyar123 Sadly not yet. I did add some logging and handling at the start of the flows to check if an ANR/Crash occurred in my test app on the previous flow. But this doesn't seem to be the cause of the issue. |
I have been able to simulate this issue consistently, here are some steps to reproduce:
See the error in the mastro test log:
|
@sanyar123 are you able to reproduce this issue with these steps above? |
@DavidREntwistle I haven't replicated the same steps but I am getting the same error that you have shared |
@axelniklasson Also hitting this issue on v1.35.0
|
A temporary fix that worked for me on #1573 (comment). TL;DR: I set the emulator API level to 32. |
I found the |
As of 15th July 2024, this remains an issue. |
I believe this PR could resolve this issue. |
Still seeing this error with Android API 31 on 22nd Sep 2024 |
Issue still exists in 2024/11 |
Issue still exists 21st Jan 2025 |
Has anyone found a viable workaround other than retrying the tests 10 times? |
I've looked into this a lot more, so in advance for the long comment... What have I tried so far: What more have I found out:
Steps to reproduce manually:
What do I think? What I'm trying next:
|
Describe the bug
Whilst running our android test folder containing 70~ flows taking around 40mins on CI, the below
Exception in thread "pool-4-thread-1"
occurs. This then causes an execution timeout, stopping the build on agent.To Reproduce
Exception in thread "pool-4-thread-1" java.io.IOException: Command failed (host:transport:emulator-5554): device 'emulator-5554' not found
Expected behaviour
The adb server to continue running after lengthy execution times.
Environment information:
The text was updated successfully, but these errors were encountered: