Intermittent browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - Got 1, expected 0

RESOLVED FIXED in Firefox 67

Status

defect
P5
normal
RESOLVED FIXED
11 months ago
4 months ago

People

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

Tracking

({intermittent-failure})

unspecified
mozilla67
Bug Flags:
qe-verify -

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: [stockwell unknown])

Attachments

(1 attachment)

Filed by: toros [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=197721289&repo=mozilla-central

https://queue.taskcluster.net/v1/task/HjOPOgwHQKmemG3G9rPU0Q/runs/0/artifacts/public/logs/live_backing.log

[task 2018-09-05T23:22:51.717Z] 23:22:51     INFO - TEST-START | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js
[task 2018-09-05T23:22:53.868Z] 23:22:53     INFO - TEST-INFO | started process screentopng
[task 2018-09-05T23:22:54.397Z] 23:22:54     INFO - TEST-INFO | screentopng: exit 0
[task 2018-09-05T23:22:54.397Z] 23:22:54     INFO - <snipped 2 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2018-09-05T23:22:54.398Z] 23:22:54     INFO - Buffered messages logged at 23:22:52
[task 2018-09-05T23:22:54.399Z] 23:22:54     INFO - Console message: Warning: attempting to write 10740 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes.
[task 2018-09-05T23:22:54.400Z] 23:22:54     INFO - Console message: Warning: attempting to write 6984 bytes to preference browser.uiCustomization.state. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes.
[task 2018-09-05T23:22:54.401Z] 23:22:54     INFO - started
[task 2018-09-05T23:22:54.402Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.403Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.404Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.404Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.405Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.408Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.409Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.409Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"windowId":-1} correct - 
[task 2018-09-05T23:22:54.410Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"tabId":-1} correct - 
[task 2018-09-05T23:22:54.411Z] 23:22:54     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "moz-extension://cc76a170-0b86-4df1-9155-08af93df8f72/tab.html" line: 0}]
[task 2018-09-05T23:22:54.412Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.414Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.416Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.418Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.420Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.422Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.424Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.427Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.429Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.431Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.433Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.436Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.438Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.440Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.442Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.444Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.444Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"windowId":765} correct - 
[task 2018-09-05T23:22:54.446Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"tabId":127} correct - 
[task 2018-09-05T23:22:54.447Z] 23:22:54     INFO - Buffered messages logged at 23:22:53
[task 2018-09-05T23:22:54.448Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.450Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.452Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.453Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.454Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.455Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.456Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.458Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.459Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.460Z] 23:22:54     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "moz-extension://cc76a170-0b86-4df1-9155-08af93df8f72/tab.html" line: 0}]
[task 2018-09-05T23:22:54.464Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"windowId":771} correct - 
[task 2018-09-05T23:22:54.464Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"tabId":128} correct - 
[task 2018-09-05T23:22:54.465Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | Expect widget not to be overflowed - 
[task 2018-09-05T23:22:54.466Z] 23:22:54     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "moz-extension://cc76a170-0b86-4df1-9155-08af93df8f72/popup.html" line: 0}]
[task 2018-09-05T23:22:54.467Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.469Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.470Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.471Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.472Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.474Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.476Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.477Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.478Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.479Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.481Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.482Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.483Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.485Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.486Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.488Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.490Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.491Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.492Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.495Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.495Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"windowId":765} correct - 
[task 2018-09-05T23:22:54.497Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"type":"popup","tabId":-1} correct - 
[task 2018-09-05T23:22:54.499Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | Expect widget not to be overflowed - 
[task 2018-09-05T23:22:54.500Z] 23:22:54     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "moz-extension://cc76a170-0b86-4df1-9155-08af93df8f72/popup.html" line: 0}]
[task 2018-09-05T23:22:54.501Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.502Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.503Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.505Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.506Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.507Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.508Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.508Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.510Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.511Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.511Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.512Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.513Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.514Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.515Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.516Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.516Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.517Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.518Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - 
[task 2018-09-05T23:22:54.519Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.520Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"windowId":771} correct - 
[task 2018-09-05T23:22:54.520Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"type":"popup","tabId":-1} correct - 
[task 2018-09-05T23:22:54.521Z] 23:22:54     INFO - checking counts after popups
[task 2018-09-05T23:22:54.522Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.523Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct - 
[task 2018-09-05T23:22:54.523Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.524Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.525Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid - 
[task 2018-09-05T23:22:54.527Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] - 
[task 2018-09-05T23:22:54.527Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct - 
[task 2018-09-05T23:22:54.528Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct - 
[task 2018-09-05T23:22:54.529Z] 23:22:54     INFO - Buffered messages finished
[task 2018-09-05T23:22:54.530Z] 23:22:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - Got 1, expected 0
[task 2018-09-05T23:22:54.530Z] 23:22:54     INFO - Stack trace:
[task 2018-09-05T23:22:54.531Z] 23:22:54     INFO - chrome://mochikit/content/browser-test.js:test_is:1304
[task 2018-09-05T23:22:54.532Z] 23:22:54     INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js:checkViews:146
[task 2018-09-05T23:22:54.532Z] 23:22:54     INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js:null:204
[task 2018-09-05T23:22:54.533Z] 23:22:54     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1102
[task 2018-09-05T23:22:54.533Z] 23:22:54     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1093
[task 2018-09-05T23:22:54.534Z] 23:22:54     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
[task 2018-09-05T23:22:54.535Z] 23:22:54     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:795
[task 2018-09-05T23:22:54.539Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct - 
[task 2018-09-05T23:22:54.545Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"windowId":765} correct - 
[task 2018-09-05T23:22:54.548Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for {"tabId":-1} correct - 
[task 2018-09-05T23:22:54.550Z] 23:22:54     INFO - closing one tab
[task 2018-09-05T23:22:54.552Z] 23:22:54     INFO - one tab closed, one remains
[task 2018-09-05T23:22:54.553Z] 23:22:54     INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid
Duplicate of this bug: 1488985
Duplicate of this bug: 1490174

There are 24 total failures in the last 7 day and 35 total failures in the last 30.

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=227413931&repo=autoland&lineNumber=1973

[task 2019-02-09T13:57:35.862Z] 13:57:35 INFO - TEST-START | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js
[task 2019-02-09T13:57:40.574Z] 13:57:40 INFO - GECKO(1085) | JavaScript error: resource://gre/modules/WebProgressChild.jsm, line 58: NS_ERROR_UNEXPECTED:
[task 2019-02-09T13:57:41.469Z] 13:57:41 INFO - TEST-INFO | started process screentopng
[task 2019-02-09T13:57:42.229Z] 13:57:42 INFO - TEST-INFO | screentopng: exit 0
[task 2019-02-09T13:57:42.230Z] 13:57:42 INFO - <snipped 3 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2019-02-09T13:57:42.230Z] 13:57:42 INFO - Buffered messages logged at 13:57:37
[task 2019-02-09T13:57:42.230Z] 13:57:42 INFO - Console message: Warning: attempting to write 7102 bytes to preference browser.uiCustomization.state. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes.
[task 2019-02-09T13:57:42.230Z] 13:57:42 INFO - started
[task 2019-02-09T13:57:42.230Z] 13:57:42 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | view type is valid -
[task 2019-02-09T13:57:42.231Z] 13:57:42 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background page is correct -
[task 2019-02-09T13:57:42.233Z] 13:57:42 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | runtime.getBackgroundPage() is correct - Expected: [object Window], Actual: [object Window] -
[task 2019-02-09T13:57:42.236Z] 13:57:42 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | background count correct -

[task 2019-02-09T13:57:42.491Z] 13:57:42 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | tab count correct -
[task 2019-02-09T13:57:42.492Z] 13:57:42 INFO - Buffered messages finished
[task 2019-02-09T13:57:42.493Z] 13:57:42 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | popup count correct - Got 1, expected 0
[task 2019-02-09T13:57:42.493Z] 13:57:42 INFO - Stack trace:
[task 2019-02-09T13:57:42.495Z] 13:57:42 INFO - chrome://mochikit/content/browser-test.js:test_is:1315
[task 2019-02-09T13:57:42.497Z] 13:57:42 INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js:checkViews:146
[task 2019-02-09T13:57:42.497Z] 13:57:42 INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js:null:204
[task 2019-02-09T13:57:42.498Z] 13:57:42 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
[task 2019-02-09T13:57:42.498Z] 13:57:42 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2019-02-09T13:57:42.499Z] 13:57:42 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
[task 2019-02-09T13:57:42.500Z] 13:57:42 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
[task 2019-02-09T13:57:42.500Z] 13:57:42 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_getViews.js | count for type correct -

David can you assign someone to take a look at this?

Flags: needinfo?(ddurst)
Whiteboard: [stockwell needswork:owner]

This test was failing intermittently in opt and pgo builds because there was a slightly chance that
the test extension may be calling browser.extension.getViews while the popup context was unloading
but it wasn't still destroyed and so it wasn't yet removed from the set of the extension views.

This patch fixes this intermittency by changing the promiseBrowserContentUnloaded test helper to
ensure that the unloadPromise is resolved when the "inner-window-destroyed" message for the
extension window is being notified to the "observer service" listeners, as it is what
the ExtensionPageChild is listening to decide when the ExtensionPageContextChild should be
unloaded and removed from the set of the extension views.

Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Flags: needinfo?(ddurst)
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/ce6cff27290e
Fix browser_ext_getViews.js popup count failure when getViews is called before inner-window-destroyed. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

From my understanding this issue is related to the addon tests. Is there any need of manual QA here? If not can you please mark it as "qe-verify- "

Flags: needinfo?(lgreco)
Flags: needinfo?(lgreco) → qe-verify-
You need to log in before you can comment on or make changes to this bug.