Intermittent Wd | <random> - webdriver.error.JavascriptErrorException: javascript error (500): JavaScriptError: Document was unloaded
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(firefox-esr91 fixed, firefox94 unaffected, firefox95 fixed, firefox96 fixed)
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | fixed |
firefox94 | --- | unaffected |
firefox95 | --- | fixed |
firefox96 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: whimboo)
References
Details
(Keywords: intermittent-failure)
Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=355752141&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Va8mXLMvTm61rQoOuKac_A/runs/0/artifacts/public/logs/live_backing.log
[task 2021-10-22T13:44:30.256Z] 13:44:30 INFO - STDOUT: E webdriver.error.JavascriptErrorException: javascript error (500): JavaScriptError: Document was unloaded
[task 2021-10-22T13:44:30.256Z] 13:44:30 INFO - STDOUT: E
[task 2021-10-22T13:44:30.257Z] 13:44:30 INFO - STDOUT: E Remote-end stacktrace:
[task 2021-10-22T13:44:30.257Z] 13:44:30 INFO - STDOUT: E
[task 2021-10-22T13:44:30.258Z] 13:44:30 INFO - STDOUT: E WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:181:5
[task 2021-10-22T13:44:30.259Z] 13:44:30 INFO - STDOUT: E JavaScriptError@chrome://remote/content/shared/webdriver/Errors.jsm:360:5
[task 2021-10-22T13:44:30.259Z] 13:44:30 INFO - STDOUT: E evaluate.sandbox/promise</unloadHandler<@chrome://remote/content/marionette/evaluate.js:151:20
[task 2021-10-22T13:44:30.260Z] 13:44:30 INFO - STDOUT: body = {'args': ('alert', 'alert'),
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - 'script': '\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' let dialog_type = arguments[0];\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' let text = arguments[1];\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - '\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' setTimeout(function() {\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - " if (dialog_type == 'prompt') {\n"
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' window.dialog_return_value = '
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - "window[dialog_type](text, '');\n"
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' } else {\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' window.dialog_return_value = '
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - 'window[dialog_type](text);\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' }\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' }, 0);\n'
[task 2021-10-22T13:44:30.261Z] 13:44:30 INFO - ' '}
[task 2021-10-22T13:44:30.262Z] 13:44:30 INFO - STDOUT: err = <JavascriptErrorException http_status=500>
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 4•3 years ago
|
||
Only fails on beta. So bug 1736323 should have fixed it. Uplifts will happen soon.
Assignee | ||
Comment 5•3 years ago
•
|
||
The fix from bug 1736323 got uplifted to beta as:
https://hg.mozilla.org/releases/mozilla-beta/rev/d76cabaec0c1
Assignee | ||
Comment 6•3 years ago
|
||
The number of failures on esr91 is pretty low (I will dupe two newly filed bugs soon), so I would consider it a wontfix for this branch. Happy to revisit if number of failures increase.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 19•3 years ago
|
||
Henrik, what should we do about the ongoing failures on ESR91? It's got ~8mo left before EOL.
Assignee | ||
Comment 22•3 years ago
|
||
Lets discuss in next weeks meeting if we have to uplift the various patches for the initial page loaded.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 26•3 years ago
|
||
I'm going to have a look at this if uplifting can be done without major pain.
Assignee | ||
Comment 27•3 years ago
|
||
I put up a patch for esr91 on bug 1736323 which might be enough to at least reduce the intermittent failure rate a lot. Hopefully that will be enough. Otherwise I would have to put quite some work into getting the other patches backported.
Note that pushing to try doesn't work since yesterday evening (bug 1757511). So I will try later today how that patch works.
Assignee | ||
Comment 28•3 years ago
|
||
The patch for uplift on bug 1736323 seems to work pretty fine on esr91. Once the most recent try build has been finished I'm going to request uplift.
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 29•3 years ago
|
||
uplift |
Comment 30•3 years ago
|
||
This is still happening: https://treeherder.mozilla.org/logviewer?job_id=370001743&repo=mozilla-esr91&lineNumber=33269
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 32•3 years ago
|
||
We might also need the uplift from bug 1739008. Lets see if that helps here.
Comment 33•3 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #32)
We might also need the uplift from bug 1739008. Lets see if that helps here.
Still occurs on the uplift push https://treeherder.mozilla.org/logviewer?job_id=370331690&repo=mozilla-esr91&lineNumber=33104
Comment hidden (Intermittent Failures Robot) |
Comment 36•3 years ago
|
||
Henrik will investigate the remaining spike
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 38•3 years ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #36)
Henrik will investigate the remaining spike
There are actually no more failures happening on esr91 since March 14 and there were a couple of landings. I'll wait a bit longer and re-check next week. If it's still green we might consider this fixed. Right now I'm not sure why there have been still some failures after the latest uplifts to esr91. Also I don't want to spend more time on investigations for this bug.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 47•2 years ago
|
||
@Henrik, this failure is still happening on esr91
Assignee | ||
Comment 48•2 years ago
|
||
(In reply to Sandor Molnar from comment #47)
@Henrik, this failure is still happening on esr91
Thanks. I missed that when duplicating bugs. I filed bug 1768125 for the failures on esr91.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 54•2 years ago
|
||
Description
•