Intermittent browser_463206.js | A promise chain failed to handle a rejection: - undefined | Test timed out | Found a tab

RESOLVED FIXED in Firefox 38

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: RyanVM, Assigned: ttaubert)

Tracking

({intermittent-failure})

unspecified
Firefox 39
x86_64
Mac OS X
intermittent-failure
Points:
1
Bug Flags:
firefox-backlog +
in-testsuite +
qe-verify -

Firefox Tracking Flags

(firefox37 unaffected, firefox38 fixed, firefox39 fixed, firefox-esr31 unaffected)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
09:37:21 INFO - 1172 INFO TEST-START | browser/components/sessionstore/test/browser_463206.js
09:37:22 INFO - JavaScript error: , line 0: Error: operation not possible on dead CPOW
09:37:23 INFO - 1173 INFO checking window state
09:37:23 INFO - 1174 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "resource://app/modules/sessionstore/TabState.jsm" line: 96}]
09:37:23 INFO - 1175 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "resource://app/modules/sessionstore/TabState.jsm" line: 96}]
09:37:23 INFO - 1176 INFO TEST-PASS | browser/components/sessionstore/test/browser_463206.js | text isn't reused for frames
09:37:23 INFO - 1177 INFO TEST-PASS | browser/components/sessionstore/test/browser_463206.js | text containing | and # is correctly restored
09:37:23 INFO - 1178 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://global/content/bindings/remote-browser.xml" line: 162}]
09:37:23 INFO - 1179 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 38}]
09:37:23 INFO - 1180 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 38}]
09:37:23 INFO - 1181 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 38}]
09:37:23 INFO - 1182 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 39}]
09:37:23 INFO - 1183 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 39}]
09:37:23 INFO - 1184 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 39}]
09:37:23 INFO - 1185 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 39}]
09:37:23 INFO - 1186 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 39}]
09:37:23 INFO - 1187 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 39}]
09:37:23 INFO - 1188 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 41}]
09:37:23 INFO - 1189 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 41}]
09:37:23 INFO - 1190 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 41}]
09:37:23 INFO - 1191 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 41}]
09:37:23 INFO - 1192 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 43}]
09:37:23 INFO - 1193 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 43}]
09:37:23 INFO - 1194 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 43}]
09:37:23 INFO - 1195 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 43}]
09:37:23 INFO - 1196 INFO Console message: [JavaScript Warning: "unsafe CPOW usage" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_463206.js" line: 43}]
09:37:23 INFO - 1197 INFO Console message: [JavaScript Error: "Error: operation not possible on dead CPOW"]
09:37:23 INFO - 1198 INFO TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_463206.js | A promise chain failed to handle a rejection: - undefined
09:37:23 INFO - Stack trace:
09:37:23 INFO - JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: PendingErrors.register :: line 162
09:37:23 INFO - JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.completePromise :: line 675
09:37:23 INFO - JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: Handler.prototype.process :: line 903
09:37:23 INFO - JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.walkerLoop :: line 746
09:37:23 INFO - JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.scheduleWalkerLoop/< :: line 688
09:37:23 INFO - native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
09:37:30 INFO - 1423244250089 Browser.Experiments.Experiments TRACE Experiments #0::enabled=true, true
09:37:30 INFO - 1423244250091 Browser.Experiments.Experiments TRACE Experiments #0::Registering instance with Addon Manager.
09:37:30 INFO - 1423244250091 Browser.Experiments.Experiments TRACE Experiments #0::Registering previous experiment add-on provider.
09:37:30 INFO - 1423244250092 Browser.Experiments.Experiments TRACE PreviousExperimentProvider #0::startup()
09:37:30 INFO - 1423244250094 Browser.Experiments.Experiments TRACE Experiments #0::_loadFromCache
09:37:30 INFO - 1199 INFO Console message: 1423244250089 Browser.Experiments.Experiments TRACE Experiments #0::enabled=true, true
09:37:30 INFO - 1200 INFO Console message: 1423244250091 Browser.Experiments.Experiments TRACE Experiments #0::Registering instance with Addon Manager.
09:37:30 INFO - 1201 INFO Console message: 1423244250091 Browser.Experiments.Experiments TRACE Experiments #0::Registering previous experiment add-on provider.
09:37:30 INFO - 1202 INFO Console message: 1423244250092 Browser.Experiments.Experiments TRACE PreviousExperimentProvider #0::startup()
09:37:30 INFO - 1203 INFO Console message: 1423244250094 Browser.Experiments.Experiments TRACE Experiments #0::_loadFromCache
09:37:30 INFO - 1423244250102 Browser.Experiments.Experiments TRACE Experiments #0::_loadTask finished ok
09:37:30 INFO - 1423244250103 Browser.Experiments.Experiments TRACE Experiments #0::_run
09:37:30 INFO - 1423244250103 Browser.Experiments.Experiments TRACE Experiments #0::_main iteration
09:37:30 INFO - 1423244250103 Browser.Experiments.Experiments TRACE Experiments #0::_evaluateExperiments
09:37:30 INFO - 1423244250107 Browser.Experiments.Experiments TRACE Experiments #0::_main finished, scheduling next run
09:37:30 INFO - 1204 INFO Console message: 1423244250102 Browser.Experiments.Experiments TRACE Experiments #0::_loadTask finished ok
09:37:30 INFO - 1205 INFO Console message: 1423244250103 Browser.Experiments.Experiments TRACE Experiments #0::_run
09:37:30 INFO - 1206 INFO Console message: 1423244250103 Browser.Experiments.Experiments TRACE Experiments #0::_main iteration
09:37:30 INFO - 1207 INFO Console message: 1423244250103 Browser.Experiments.Experiments TRACE Experiments #0::_evaluateExperiments
09:37:30 INFO - 1208 INFO Console message: 1423244250107 Browser.Experiments.Experiments TRACE Experiments #0::_main finished, scheduling next run
09:38:00 INFO - 1209 INFO Console message: 1423244280993 Services.HealthReport.HealthReporter WARN Saved state file does not exist.
09:38:52 INFO - TEST-INFO | screencapture: exit 0
09:38:52 INFO - 1210 INFO TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_463206.js | Test timed out - expected PASS
09:38:52 INFO - 1211 INFO MEMORY STAT vsize after test: 4117651456
09:38:52 INFO - 1212 INFO MEMORY STAT residentFast after test: 565313536
09:38:52 INFO - 1213 INFO MEMORY STAT heapAllocated after test: 76260208
09:38:52 INFO - 1214 INFO TEST-OK | browser/components/sessionstore/test/browser_463206.js | took 90036ms
09:38:52 INFO - 1215 INFO TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_463206.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/browser/components/sessionstore/test/browser_463206_sample.html - expected PASS
09:38:52 INFO - 1216 INFO TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_463206.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/browser/components/sessionstore/test/browser_463206_sample.html - expected PASS
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 11

4 years ago
Created attachment 8575958 [details] [diff] [review]
0001-Bug-1130560-Fix-intermittent-browser_463206.js-failu.patch

Looks like the test fails intermittently due to some CPOWs being gone? Guess we can fix that by just making it properly run in e10s without relying on CPOWs and using ContentTasks instead.
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Attachment #8575958 - Flags: review?(smacleod)
(Assignee)

Updated

4 years ago
Iteration: --- → 39.2 - 23 Mar
Points: --- → 1
Flags: qe-verify-
Flags: firefox-backlog+
Comment on attachment 8575958 [details] [diff] [review]
0001-Bug-1130560-Fix-intermittent-browser_463206.js-failu.patch

Review of attachment 8575958 [details] [diff] [review]:
-----------------------------------------------------------------

I wonder if it's worth migrating tests to BrowserTestUtils.browserLoaded if you're touching it?
Attachment #8575958 - Flags: review?(smacleod) → review+
(Assignee)

Comment 13

4 years ago
(In reply to Steven MacLeod [:smacleod] from comment #12)
> I wonder if it's worth migrating tests to BrowserTestUtils.browserLoaded if
> you're touching it?

Yeah, good idea.
(Reporter)

Comment 15

4 years ago
https://hg.mozilla.org/mozilla-central/rev/d8c4f1ecfe14
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
status-firefox39: --- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
(Reporter)

Updated

4 years ago
status-firefox37: --- → unaffected
status-firefox38: --- → affected
status-firefox-esr31: --- → unaffected
You need to log in before you can comment on or make changes to this bug.