-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Testing Firefox on Samsung phones results in a "Failed to decode response from Marionette" error #2157
Comments
This is most likely a crash of Firefox. Would you mind checking the adb logcat for further information? Getting the crash minidump would be helpful. See our documentation for the necessary steps. |
I'll try to see if I can get the crash minidump tomorrow. From logcat I get this:
|
Would you mind adding more lines that are coming before the above ones? When got Firefox started? After some amount of time we are shutting down Firefox if no connection can be made to Marionette. |
Ok, hope I got it better this time: https://gist.github.com/soulgalore/c3af64b71215ab5e4fee6e9163a624c5 About the crash log, is it Firefox that stores it (so I should point out a directory on the phone) or is it Geckodriver? |
This is interesting given that it doesn't really show that a process crashed. So some details after my quick investigation:
Peter, I assume that you did not enable trace logs yet? It would be important to see further details from the |
Ok here is a new batch, first from Geckodriver: https://gist.github.com/soulgalore/10024f558d71106ea1837aa970718be7 And then logcat: https://gist.github.com/soulgalore/73d571435a985f424718290745fc91fc Hope that gives some extra information! |
This adb logcat looks all fine. The WebDriver session is created and a couple of commands are run until There is a |
Not sure how I add more logging? I've been using |
It would require you to touch geckodriver code and compile it. It's not hard and I'm happy to help with that. |
Thanks, ok, I can do that early next week. I've compiled it for ARM already, can you show me what I need to do to turn on the extra logging before I compile? |
Thanks! So first it would be good to get the stack at these two locations:
Then you can always add |
I am getting same issue i am using selenium 4.17.0, geckodriver : 0.33.0 , firefox-102.0.1 when i am trying to execute tests in firefox inside container facing above error , any solution ?? |
I haven't got around to around to add tracing and rebuild geckordriver. I still have that problem on latest Geckodriver and running from a Raspberry and from my Mac. For me this is reproducible every time if I do 11 runs after each on my A51. I'll check if I get the same on other phones too. |
One interesting thing is that this only happens for Samsung A51 but when I run my tests on a Moto G5 I can not get the same error. |
@soulgalore do both have the same Android release? I assume as well that these phones are not rooted? Maybe there are some special restrictions that Samsung applies which can cause this issue? |
System
Testcase
I've started to run performance test using Browsertime targeting Android phone Samsung A51 and when I try to do 11 test runs one or more runs always get
Failed to decode response from marionette
. I get the same running the tests from MacOS and from a Raspberry Pi. There was a couple years I tried the last so I wonder how do I actually get some useful logs? I've attached the ones I get running in verbose mode.Stacktrace
The text was updated successfully, but these errors were encountered: