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

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
3 years ago
3 years ago

People

(Reporter: RyanVM, Unassigned)

Tracking

({intermittent-failure})

Trunk
Unspecified
Windows
intermittent-failure
Points:
---

Firefox Tracking Flags

(firefox48 fixed, firefox49 fixed, firefox50 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8758755 [details]
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 -
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Mihaela, any ideas what is going on here?  This is currently one of our top intermittents.

Thanks.
Flags: needinfo?(moz.mihaelav)
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)

Updated

3 years ago
Flags: needinfo?(gijskruitbosch+bugs)
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)

Comment 12

3 years ago
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)
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
Fixed by my patch in bug 1235695, which I also just uplifted.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox48: --- → fixed
status-firefox49: affected → fixed
status-firefox50: --- → fixed
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.