Closed Bug 1277270 Opened 5 years ago Closed 5 years ago

Intermittent browser_947914_button_print.js | Uncaught exception - Condition timed out: () => gInPrintPreviewMode | Found an unexpected at the end of test run

Categories

(Firefox :: Toolbars and Customization, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox48 --- fixed
firefox49 --- fixed
firefox50 --- fixed

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Attached image screenshot
Seeing this pretty frequently on Windows debug since the mochitest-cl manifest changes landed for that directory. I'm guessing the test depends on state which was disrupted by some of the earlier tests no longer running before it.

https://treeherder.mozilla.org/logviewer.html#?job_id=186210&repo=ash#L8312

10:33:37     INFO -  TEST-INFO | started process screenshot
10:33:37     INFO -  TEST-INFO | screenshot: exit 0
10:33:37     INFO -  175 INFO checking window state
10:33:37     INFO -  176 INFO Entering test bound
10:33:37     INFO -  177 INFO Check print button existence and functionality
10:33:37     INFO -  178 INFO Menu panel was opened
10:33:37     INFO -  179 INFO TEST-PASS | browser/components/customizableui/test/browser_947914_button_print.js | Print button exists in Panel Menu -
10:33:37     INFO -  180 INFO Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebBrowserPrint.printPreview]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://global/content/browser-content.js :: enterPrintPreview :: line 485"  data: no]"]
10:33:37     INFO -  181 INFO TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_947914_button_print.js | Uncaught exception - Condition timed out: () => gInPrintPreviewMode
10:33:37     INFO -  182 INFO Leaving test bound
10:33:37     INFO -  183 INFO Entering test bound asyncCleanup
10:33:37     INFO -  184 INFO Leaving test bound asyncCleanup
10:33:37     INFO -  MEMORY STAT | vsize 1169MB | vsizeMaxContiguous 4169873MB | residentFast 465MB | heapAllocated 142MB
10:33:37     INFO -  185 INFO TEST-OK | browser/components/customizableui/test/browser_947914_button_print.js | took 6773ms
10:33:37     INFO -  ++DOCSHELL 000000374CD34000 == 8 [pid = 4592] [id = 8]
10:33:37     INFO -  ++DOMWINDOW == 16 (0000003751848400) [pid = 4592] [serial = 16] [outer = 0000000000000000]
10:33:37     INFO -  ++DOMWINDOW == 17 (0000003751004000) [pid = 4592] [serial = 17] [outer = 0000003751848400]
10:33:37     INFO -  Not taking screenshot here: see the one that was previously logged
10:33:37     INFO -  186 INFO checking window state
10:33:37     INFO -  187 INFO TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_947914_button_print.js | Found an unexpected  at the end of test run -
Mihaela, any ideas what is going on here?  This is currently one of our top intermittents.

Thanks.
Flags: needinfo?(moz.mihaelav)
Flags: needinfo?(gijskruitbosch+bugs)
The log says:

17:37:40 INFO - 138 INFO Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebBrowserPrint.printPreview]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://global/content/browser-content.js :: enterPrintPreview :: line 621" data: no]"] 

Mike, any idea what's causing that?
Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(mconley)
Fixed by my patch in bug 1235695, which I also just uplifted.
Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: 1235695
Flags: needinfo?(moz.mihaelav)
Flags: needinfo?(mconley)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.