-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Testing Firefox on Samsung phones results in a "Failed to decode response from Marionette" error #2157
Copy link
Copy link
Open
Description
System
- Version: 0.34.0
- Platform: macOS and Debian Raspberry running tests on an Android Samsung A51
- Firefox: 122.0
- Selenium: 4.17.0
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
1706802889404 geckodriver::android DEBUG Deleted GeckoView configuration file
1706802889404 mozdevice DEBUG Deleting /sdcard/Android/data/org.mozilla.firefox/files/test_root
1706802889644 mozdevice TRACE execute_host_command: >> "host:transport:R58N604Y0DW"
1706802889764 mozdevice TRACE execute_host_command: << []
1706802889764 mozdevice TRACE execute_host_command: >> "shell:su -c 'rm -rf /sdcard/Android/data/org.mozilla.firefox/files/test_root'"
1706802889950 mozdevice TRACE execute_host_command: << ""
1706802889950 geckodriver::android DEBUG Deleted test root folder: /sdcard/Android/data/org.mozilla.firefox/files/test_root
1706802890190 mozdevice TRACE execute_host_command: >> "host:transport:R58N604Y0DW"
1706802890310 mozdevice TRACE execute_host_command: << []
1706802890310 mozdevice TRACE execute_host_command: >> "host-serial:R58N604Y0DW:killforward:tcp:42681"
1706802890430 mozdevice TRACE execute_host_command: << ""
1706802890430 geckodriver::android DEBUG Marionette port forward (42681 -> 2829) stopped
1706802890671 mozdevice TRACE execute_host_command: >> "host:transport:R58N604Y0DW"
1706802890791 mozdevice TRACE execute_host_command: << []
1706802890791 mozdevice TRACE execute_host_command: >> "host-serial:R58N604Y0DW:killforward:tcp:9222"
1706802890911 mozdevice TRACE execute_host_command: << ""
1706802890911 geckodriver::android DEBUG WebSocket port forward (9222 -> 9222) stopped
1706802890911 webdriver::server DEBUG <- 500 Internal Server Error {"value":{"error":"unknown error","message":"Failed to decode response from marionette","stacktrace":""}}
[2024-02-01 15:54:50] ERROR: [browsertime] WebDriverError: Failed to decode response from marionette
Reactions are currently unavailable