Closed Bug 1377729 Opened 7 years ago Closed 6 years ago

Intermittent browser/components/translation/test/browser_translation_exceptions.js | Unexpected Exception: TypeError: PopupNotifications.getNotification(...) is null -

Categories

(Firefox :: Translations, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell needswork])

https://wiki.mozilla.org/Bugmasters#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Bug reappeared on inbound

Log: https://treeherder.mozilla.org/logviewer.html#?job_id=164082369&repo=mozilla-inbound&lineNumber=11508
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → INCOMPLETE
Recent log failure:

https://treeherder.mozilla.org/logviewer.html#?job_id=186346867&repo=autoland&lineNumber=9411

[task 2018-07-04T02:59:54.903Z]     INFO - TEST-START | browser/components/translation/test/browser_translation_exceptions.js
[task 2018-07-04T02:59:54.910Z]     INFO - GECKO(3054) | Chrome file doesn't exist: /builds/worker/workspace/build/tests/mochitest/browser/browser/components/translation/test/head.js
[task 2018-07-04T02:59:54.948Z]     INFO - GECKO(3054) | ++DOCSHELL 0xeabc4c00 == 2 [pid = 3208] [id = {635e3572-30e2-4c79-b969-c628600b232a}]
[task 2018-07-04T02:59:54.948Z]     INFO - GECKO(3054) | ++DOMWINDOW == 4 (0xf714df60) [pid = 3208] [serial = 4] [outer = (nil)]
[task 2018-07-04T02:59:55.004Z]     INFO - GECKO(3054) | ++DOMWINDOW == 5 (0xeabc8400) [pid = 3208] [serial = 5] [outer = 0xf714df60]
[task 2018-07-04T02:59:55.142Z]     INFO - GECKO(3054) | ++DOMWINDOW == 6 (0xe80c7c00) [pid = 3208] [serial = 6] [outer = 0xf714df60]
[task 2018-07-04T02:59:55.482Z]     INFO - GECKO(3054) | [Parent 3054, Main Thread] WARNING: We should have hit the document element...: file /builds/worker/workspace/build/src/layout/xul/BoxObject.cpp, line 165
[task 2018-07-04T02:59:56.248Z]     INFO - GECKO(3054) | ++DOMWINDOW == 7 (0xeabba400) [pid = 3208] [serial = 7] [outer = 0xf714df60]
[task 2018-07-04T02:59:56.856Z]     INFO - GECKO(3054) | --DOMWINDOW == 6 (0xe8dc1800) [pid = 3104] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2018-07-04T02:59:56.858Z]     INFO - GECKO(3054) | --DOMWINDOW == 5 (0xe83c3400) [pid = 3104] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2018-07-04T02:59:56.940Z]     INFO - TEST-INFO | started process screentopng
[task 2018-07-04T02:59:57.707Z]     INFO - TEST-INFO | screentopng: exit 0
[task 2018-07-04T02:59:57.709Z]     INFO - Buffered messages logged at 02:59:55
[task 2018-07-04T02:59:57.710Z]     INFO - clean exception lists at startup
[task 2018-07-04T02:59:57.711Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | we start with an empty list of languages to never translate - 
[task 2018-07-04T02:59:57.712Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | we start with an empty list of sites to never translate - 
[task 2018-07-04T02:59:57.714Z]     INFO - never for language
[task 2018-07-04T02:59:57.715Z]     INFO - Buffered messages logged at 02:59:56
[task 2018-07-04T02:59:57.716Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | the infobar is visible - 
[task 2018-07-04T02:59:57.718Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | check shouldShowInfoBar initially returns true - 
[task 2018-07-04T02:59:57.719Z]     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 946}]
[task 2018-07-04T02:59:57.720Z]     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 946}]
[task 2018-07-04T02:59:57.721Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | the options menu is open - 
[task 2018-07-04T02:59:57.723Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | The 'Never translate <language>' item isn't disabled - 
[task 2018-07-04T02:59:57.724Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | infobar hidden - 
[task 2018-07-04T02:59:57.725Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | one language in the exception list - 
[task 2018-07-04T02:59:57.727Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | correct language in the exception list - 
[task 2018-07-04T02:59:57.728Z]     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | the infobar wouldn't be shown anymore - 
[task 2018-07-04T02:59:57.729Z]     INFO - Buffered messages finished
[task 2018-07-04T02:59:57.730Z]     INFO - TEST-UNEXPECTED-FAIL | browser/components/translation/test/browser_translation_exceptions.js | Unexpected Exception: TypeError: PopupNotifications.getNotification(...) is null -
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
There is a total of 63 failures in the last 7 days, on both linux32 and linux64. 

Felipe can you take a look?
Flags: needinfo?(felipc)
There have been 32 failures within the last 7 days:
- 7 failures on OS X 10.10 debug
- 14 failures on linux x64 debug
- 11 failures on linux x32 debug

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=194776244&repo=mozilla-central&lineNumber=15089

[task 2018-08-19T22:52:20.558Z] 22:52:20     INFO - TEST-START | browser/components/translation/test/browser_translation_exceptions.js
[task 2018-08-19T22:52:20.560Z] 22:52:20     INFO - GECKO(2605) | Chrome file doesn't exist: /builds/worker/workspace/build/tests/mochitest/browser/browser/components/translation/test/head.js
[task 2018-08-19T22:52:20.583Z] 22:52:20     INFO - GECKO(2605) | ++DOCSHELL 0xea777000 == 2 [pid = 2783] [id = {4d01d4bd-203d-4d55-b7a2-fdf7084bf8b9}]
[task 2018-08-19T22:52:20.583Z] 22:52:20     INFO - GECKO(2605) | ++DOMWINDOW == 4 (0xf71d3700) [pid = 2783] [serial = 4] [outer = (nil)]
[task 2018-08-19T22:52:20.626Z] 22:52:20     INFO - GECKO(2605) | ++DOMWINDOW == 5 (0xea77a400) [pid = 2783] [serial = 5] [outer = 0xf71d3700]
[task 2018-08-19T22:52:20.663Z] 22:52:20     INFO - GECKO(2605) | ++DOMWINDOW == 6 (0xe9e12400) [pid = 2783] [serial = 6] [outer = 0xf71d3700]
[task 2018-08-19T22:52:20.943Z] 22:52:20     INFO - GECKO(2605) | [Parent 2605, Main Thread] WARNING: We should have hit the document element...: file /builds/worker/workspace/build/src/layout/xul/BoxObject.cpp, line 165
[task 2018-08-19T22:52:21.531Z] 22:52:21     INFO - GECKO(2605) | ++DOMWINDOW == 7 (0xe9e15400) [pid = 2783] [serial = 7] [outer = 0xf71d3700]
[task 2018-08-19T22:52:22.179Z] 22:52:22     INFO - TEST-INFO | started process screentopng
[task 2018-08-19T22:52:22.791Z] 22:52:22     INFO - TEST-INFO | screentopng: exit 0
[task 2018-08-19T22:52:22.792Z] 22:52:22     INFO - Buffered messages logged at 22:52:20
[task 2018-08-19T22:52:22.792Z] 22:52:22     INFO - clean exception lists at startup
[task 2018-08-19T22:52:22.792Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | we start with an empty list of languages to never translate - 
[task 2018-08-19T22:52:22.792Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | we start with an empty list of sites to never translate - 
[task 2018-08-19T22:52:22.792Z] 22:52:22     INFO - never for language
[task 2018-08-19T22:52:22.792Z] 22:52:22     INFO - Buffered messages logged at 22:52:21
[task 2018-08-19T22:52:22.793Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | the infobar is visible - 
[task 2018-08-19T22:52:22.793Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | check shouldShowInfoBar initially returns true - 
[task 2018-08-19T22:52:22.793Z] 22:52:22     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 946}]
[task 2018-08-19T22:52:22.794Z] 22:52:22     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 946}]
[task 2018-08-19T22:52:22.797Z] 22:52:22     INFO - Buffered messages logged at 22:52:22
[task 2018-08-19T22:52:22.799Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | the options menu is open - 
[task 2018-08-19T22:52:22.802Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | The 'Never translate <language>' item isn't disabled - 
[task 2018-08-19T22:52:22.803Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | infobar hidden - 
[task 2018-08-19T22:52:22.805Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | one language in the exception list - 
[task 2018-08-19T22:52:22.807Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | correct language in the exception list - 
[task 2018-08-19T22:52:22.809Z] 22:52:22     INFO - TEST-PASS | browser/components/translation/test/browser_translation_exceptions.js | the infobar wouldn't be shown anymore - 
[task 2018-08-19T22:52:22.811Z] 22:52:22     INFO - Buffered messages finished
[task 2018-08-19T22:52:22.813Z] 22:52:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/translation/test/browser_translation_exceptions.js | Unexpected Exception: TypeError: PopupNotifications.getNotification(...) is null - 
[task 2018-08-19T22:52:22.815Z] 22:52:22     INFO - Stack trace:
[task 2018-08-19T22:52:22.816Z] 22:52:22     INFO - chrome://mochitests/content/browser/browser/components/translation/test/browser_translation_exceptions.js:test/</<:31
[task 2018-08-19T22:52:22.818Z] 22:52:22     INFO - GECKO(2605) | MEMORY STAT | vsize 569MB | residentFast 277MB | heapAllocated 98MB
[task 2018-08-19T22:52:22.820Z] 22:52:22     INFO - TEST-OK | browser/components/translation/test/browser_translation_exceptions.js | took 1985ms
Whiteboard: [stockwell needswork]
The error here is "Unexpected Exception: TypeError: PopupNotifications.getNotification(...) is null -", which is related to the infobar. According to treeherder, all failures were on debug builds.

Bug 1316953 disabled the test browser_translation_infobar.js, which ran just before that, and the landing of that bug coincides with when reports for this one disappeared. So I think it's fair to say that it was that other test running that would also cause this one to fail.
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Flags: needinfo?(felipc)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.