Closed Bug 1817831 Opened 2 years ago Closed 6 months ago

[meta] Make Marionette Fission compatible on Android

Categories

(Remote Protocol :: Marionette, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: meta, Whiteboard: [fission:android][fxdroid])

This bug will track the work that needs to be done to make Marionette Fission compatible on Android.

Depends on: 1786639
Depends on: 1804027
Depends on: 1816061
Depends on: 1840019
Blocks: gv-fission
Blocks: 1825501
No longer blocks: 1825501
Depends on: 1825501
Whiteboard: [fission:android][fxdroid]
Whiteboard: [fission:android][fxdroid] → [fission:android][fxdroid][foundation]
Whiteboard: [fission:android][fxdroid][foundation] → [fission:android][fxdroid]
Whiteboard: [fission:android][fxdroid] → [fission:android]
Whiteboard: [fission:android] → [fission:android][fxdroid]
Depends on: 1891008

Bug 1825501 is not only affecting Fission on Android so we can remove it here.

We also don't seem to have any other known Android Fission related test failure. That means we are basically done on this meta bug. To be fully safe I've pushed a try build to verify that:

https://treeherder.mozilla.org/jobs?repo=try&revision=100bd0d40ba46973bd38268511f317fce4bfa67b

No longer depends on: 1825501

The reftests seem to work fine but for a lot of generic web-platform tests the TestRunner hit external timeout (this may indicate a hang) failure can be seen. I've pushed another try build with Marionette trace logs enabled to see why it's hanging. Maybe it's the same underlying issue as I can see on bug 1664165 which affects loading the initial test page.

https://treeherder.mozilla.org/jobs?repo=try&revision=279471392d64a27125cc07dc52075d76fe37f074

This seems to actually be a crash issue and not related to Marionette. Here a failing test:

https://treeherder.mozilla.org/logviewer?job_id=457062630&repo=try&lineNumber=1834

An excerpt from the adb logcat:

05-06 07:06:00.122  3467  3482 I Gecko   : 1714979160122	Marionette	DEBUG	2 -> [0,148,"WebDriver:Navigate",{"url":"http://web-platform.test:8000/FileAPI/url/url-format.any.html"}]
05-06 07:06:00.159  3467  3482 W GeckoEventDispatcher: No listener for GeckoView:StateUpdated
05-06 07:06:00.162  3467  3482 W GeckoEventDispatcher: No listener for GeckoView:StateUpdated
05-06 07:06:00.175  3540  3573 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
05-06 07:06:00.242  3540  3573 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
05-06 07:06:00.263  3467  3482 I Gecko   : 1714979160263	Marionette	TRACE	[4294967313] Received event beforeunload for about:blank
05-06 07:06:00.272  3467  3482 I Gecko   : 1714979160272	Marionette	TRACE	[4294967313] Received event pagehide for about:blank
05-06 07:06:00.405  3467  3467 D GeckoSession: handleMessage GeckoView:LocationChange uri=http://web-platform.test:8000/FileAPI/url/url-format.any.html
05-06 07:06:00.831  3540  3573 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
05-06 07:06:09.855  3467  3467 W GeckoSession: No history entries found.
05-06 07:06:09.870  3467  3482 I Gecko   : 1714979169869	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
05-06 07:06:10.991  3467  3467 W GeckoSession: No history entries found.
05-06 07:06:15.140  3624  3639 I Gecko   : 1714979175139	Marionette	TRACE	[4294967313] MarionetteCommands actor destroyed for window id 4294967358
05-06 07:06:15.159  3540  3573 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
05-06 07:06:29.372  3467  3482 I Gecko   : console.error: (new NotFoundError("Could not get children of `/data/user/0/org.mozilla.geckoview.test_runner/files/mozilla/Crash Reports/events': directory does not exist (NS_ERROR_FILE_NOT_FOUND)", (void 0)))
05-06 07:06:29.372  3467  3482 E GeckoConsole: [JavaScript Error: "NotFoundError: Could not get children of `/data/user/0/org.mozilla.geckoview.test_runner/files/mozilla/Crash Reports/events': directory does not exist (NS_ERROR_FILE_NOT_FOUND)"]
05-06 07:10:14.031  3781  3781 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
05-06 07:10:14.033  3781  3781 D AndroidRuntime: CheckJNI is OFF
05-06 07:10:14.057  3781  3781 W art     : Unexpected CPU variant for X86 using defaults: x86_64
05-06 07:10:14.060  3781  3781 D ICU     : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
05-06 07:10:14.079  3781  3781 E memtrack: Couldn't load memtrack module (No such file or directory)
05-06 07:10:14.079  3781  3781 E android.os.Debug: failed to load memtrack module: -2
05-06 07:10:14.079  3781  3781 I Radio-JNI: register_android_hardware_Radio DONE
05-06 07:10:14.085  3781  3781 D AndroidRuntime: Calling main entry com.android.commands.am.Am
05-06 07:10:14.091  1658  1916 I ActivityManager: Force stopping org.mozilla.geckoview.test_runner appid=10062 user=0: from pid 3781
05-06 07:10:14.091  1658  1916 I ActivityManager: Killing 3540:org.mozilla.geckoview.test_runner:gpu/u0a62 (adj 0): stop org.mozilla.geckoview.test_runner
05-06 07:10:14.092  1658  1916 D ActivityManager: cleanUpApplicationRecord -- 3540
05-06 07:10:14.092  1658  1916 W ActivityManager: Scheduling restart of crashed service org.mozilla.geckoview.test_runner/org.mozilla.gecko.process.GeckoChildProcessServices$gpu in 1000ms
05-06 07:10:14.092  1658  1916 I ActivityManager: Killing 3501:org.mozilla.geckoview.test_runner:tab11/u0a62 (adj 900): stop org.mozilla.geckoview.test_runner
05-06 07:10:14.093  1658  1916 D ActivityManager: cleanUpApplicationRecord -- 3501
05-06 07:10:14.093  1658  1916 W ActivityManager: Scheduling restart of crashed service org.mozilla.geckoview.test_runner/org.mozilla.gecko.process.GeckoChildProcessServices$tab11 in 10999ms
05-06 07:10:14.093  1658  1916 I ActivityManager: Killing 3624:org.mozilla.geckoview.test_runner:tab23/u0a62 (adj 0): stop org.mozilla.geckoview.test_runner
05-06 07:10:14.094  1658  1916 D ActivityManager: cleanUpApplicationRecord -- 3624
05-06 07:10:14.094  1658  1916 W ActivityManager: Scheduling restart of crashed service org.mozilla.geckoview.test_runner/org.mozilla.gecko.process.GeckoChildProcessServices$tab23 in 20998ms
05-06 07:10:14.095  1658  1916 I ActivityManager: Killing 3467:org.mozilla.geckoview.test_runner/u0a62 (adj 0): stop org.mozilla.geckoview.test_runner
05-06 07:10:14.095  1658  1916 D ActivityManager: cleanUpApplicationRecord -- 3467
05-06 07:10:14.095  1658  1916 W ActivityManager: Force removing ActivityRecord{cb8d277 u0 org.mozilla.geckoview.test_runner/.TestRunnerActivity t2}: app died, no saved state
05-06 07:10:14.098  1658  1916 I WindowManager: Destroying surface Surface(name=SurfaceView - org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.TestRunnerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowManagerService.removeWindowLocked:2305 com.android.server.wm.AppWindowToken.removeAllWindows:530 com.android.server.wm.AppWindowToken.removeAppFromTaskLocked:326 
05-06 07:10:14.100  1658  1916 I WindowManager: Destroying surface Surface(name=org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.TestRunnerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowManagerService.removeWindowLocked:2305 com.android.server.wm.AppWindowToken.removeAllWindows:530 com.android.server.wm.AppWindowToken.removeAppFromTaskLocked:326 
05-06 07:10:14.105  1337  1337 W SurfaceFlinger: couldn't log to binary event log: overflow.
05-06 07:10:14.105  1337  1337 W SurfaceFlinger: couldn't log to binary event log: overflow.
05-06 07:10:14.117  1658  1669 D GraphicsStats: Buffer count: 3
05-06 07:10:14.118  3781  3781 D AndroidRuntime: Shutting down VM
05-06 07:10:14.126  1877  1877 D CarrierSvcBindHelper: No carrier app for: 0
05-06 07:10:14.204  2112  2194 D EGL_emulation: eglMakeCurrent: 0x7ea39fc7f8a0: ver 3 0 (tinfo 0x7ea39fc96a20)
05-06 07:10:14.705  2112  2194 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
05-06 07:10:17.105  1658  1733 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
[..]

Owlish, I assume that this is something we can track outside of this bug? Is that issue maybe already known, or should I file a new bug for it? Sadly we do not have any crash report to get further details of the crash.

Flags: needinfo?(bugzeeeeee)

Given a missing reply so far I assume that this is a platform / GeckoView specific crash and that it's not something that we have to fix.

That means that I'm going to close this meta bug as fixed. If there is something still left please let us know. Thanks!

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.