Closed Bug 1671347 Opened 4 years ago Closed 4 years ago

UnknownException: AbortError: Actor 'MarionetteFrame' destroyed before query 'MarionetteFrameParent:*' was resolved

Categories

(Remote Protocol :: Marionette, defect, P1)

defect

Tracking

(Fission Milestone:M7, firefox84 fixed)

RESOLVED FIXED
84 Branch
Fission Milestone M7
Tracking Status
firefox84 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

(Whiteboard: [marionette-fission-mvp][complex])

Attachments

(2 files)

Here the failure details:

[task 2020-10-15T08:47:25.303Z] 08:47:25     INFO -  1602751645294	Marionette	DEBUG	18 -> [0,17,"WebDriver:ExecuteScript",{"script":"window.location.href = arguments[0];","newSandbox":true,"args":["http://127.0.0.1: ... "],"filename":"tests/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py","sandbox":null,"line":125}]
[task 2020-10-15T08:47:25.319Z] 08:47:25     INFO -  1602751645311	Marionette	DEBUG	18 <- [1,17,null,{"value":null}]
[task 2020-10-15T08:47:25.319Z] 08:47:25     INFO -  1602751645314	Marionette	DEBUG	18 -> [0,18,"WebDriver:GetTimeouts",{}]
[task 2020-10-15T08:47:25.321Z] 08:47:25     INFO -  1602751645315	Marionette	DEBUG	18 <- [1,18,null,{"implicit":0,"pageLoad":300000,"script":30000}]
[task 2020-10-15T08:47:25.339Z] 08:47:25     INFO -  1602751645337	Marionette	DEBUG	18 -> [0,19,"WebDriver:FindElement",{"using":"id","value":"testh1"}]
[task 2020-10-15T08:47:25.355Z] 08:47:25     INFO -  1602751645352	Marionette	DEBUG	18 <- [1,19,{"error":"unknown error","message":"AbortError: Actor 'MarionetteFrame' destroyed before query 'MarionetteFrameParent:findElement' was resolved","stacktrace":""},null]
[task 2020-10-15T08:47:25.355Z] 08:47:25     INFO -  Marionette threw an error: AbortError: Actor 'MarionetteFrame' destroyed before query 'MarionetteFrameParent:findElement' was resolved

Note that WebDriver:ExecuteScript triggers a navigation and directly returns. Each following command can run into the AbortError situation and as such would have to be changed to retry calling the actor method for the new actor pair. For some methods we may can't do that, eg. execute_script maybe.

Priority: P5 → P2
Summary: Intermittent Mn | UnknownException: AbortError: Actor 'MarionetteFrame' destroyed before query 'MarionetteFrameParent:findElement' was resolved → UnknownException: AbortError: Actor 'MarionetteFrame' destroyed before query 'MarionetteFrameParent:*' was resolved
Whiteboard: [marionette-fission-mvp][complex]

Tracking marionette-fission-mvp bugs for Fission Beta milestone (M7)

Fission Milestone: --- → M7

I expect to handle a few of those in Bug 1662808, blocking this bug on it.

Depends on: 1662808
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Blocks: 1662808
No longer depends on: 1662808
Priority: P2 → P1
Blocks: 1673345
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/85ac2adfd5a1
[marionette] Add proxy for MarionetteFrameActor to retry queries after an AbortError r=marionette-reviewers,whimboo,maja_zf
https://hg.mozilla.org/integration/autoland/rev/2edff29babe9
[marionette] Limit the MarionetteFrameActor proxy to 10 retry attempts r=marionette-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Blocks: 1673884
See Also: → 1764314
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: