Closed Bug 1590381 Opened 6 years ago Closed 6 years ago

Intermittent browser/base/content/test/general/browser_printpreview.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -

Categories

(Firefox :: General, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: btara [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=272371876&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/cAtSKm9ETU-KD5PnyaF_yA/runs/0/artifacts/public/logs/live_backing.log


[task 2019-10-22T12:22:19.770Z] 12:22:19 INFO - TEST-START | browser/base/content/test/general/browser_printpreview.js
[task 2019-10-22T12:22:50.469Z] 12:22:50 INFO - GECKO(1766) | getPrintSettings: [Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIPrintSettingsService.defaultPrinterName]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://global/content/printUtils.js :: _setPrinterDefaultsForSelectedPrinter :: line 383" data: no]
[task 2019-10-22T12:23:06.461Z] 12:23:06 INFO - GECKO(1766) | getPrintSettings: [Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIPrintSettingsService.defaultPrinterName]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://global/content/printUtils.js :: _setPrinterDefaultsForSelectedPrinter :: line 383" data: no]
[task 2019-10-22T12:23:06.789Z] 12:23:06 INFO - GECKO(1766) | getPrintSettings: [Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIPrintSettingsService.defaultPrinterName]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://global/content/printUtils.js :: _setPrinterDefaultsForSelectedPrinter :: line 383" data: no]
[task 2019-10-22T12:23:06.895Z] 12:23:06 INFO - GECKO(1766) | getPrintSettings: [Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIPrintSettingsService.defaultPrinterName]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://global/content/printUtils.js :: _setPrinterDefaultsForSelectedPrinter :: line 383" data: no]
[task 2019-10-22T12:23:07.131Z] 12:23:07 INFO - TEST-INFO | started process screencapture
[task 2019-10-22T12:23:07.360Z] 12:23:07 INFO - TEST-INFO | screencapture: exit 0
[task 2019-10-22T12:23:07.360Z] 12:23:07 INFO - Buffered messages logged at 12:22:20
[task 2019-10-22T12:23:07.360Z] 12:23:07 INFO - TEST-PASS | browser/base/content/test/general/browser_printpreview.js | Should NOT be in print preview mode at starting this tests -
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - Global property added while loading chrome://global/content/printUtils.js: gPrintSettingsAreGlobal
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - Global property added while loading chrome://global/content/printUtils.js: gSavePrintSettings
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - Global property added while loading chrome://global/content/printUtils.js: gFocusedElement
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - Buffered messages logged at 12:22:50
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIPrintSettingsService.defaultPrinterName]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://global/content/printUtils.js :: _getDefaultPrinterName :: line 118" data: no]"]
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - _getDefaultPrinterName@chrome://global/content/printUtils.js:118:7
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - _enterPrintPreview@chrome://global/content/printUtils.js:488:35
[task 2019-10-22T12:23:07.361Z] 12:23:07 INFO - printPreview@chrome://global/content/printUtils.js:249:12
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - oncommand@chrome://browser/content/browser.xhtml:1:12
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - openPrintPreview@chrome://mochitests/content/browser/browser/base/content/test/general/browser_printpreview.js:60:47
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - test/<@chrome://mochitests/content/browser/browser/base/content/test/general/browser_printpreview.js:15:25
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - promise callback*test@chrome://mochitests/content/browser/browser/base/content/test/general/browser_printpreview.js:6:71
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1104:15
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:930:14
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:805:67
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO -
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - Buffered messages logged at 12:23:06
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - TEST-PASS | browser/base/content/test/general/browser_printpreview.js | print preview mode should be finished by Esc key press -
[task 2019-10-22T12:23:07.362Z] 12:23:07 INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIPrintSettingsService.defaultPrinterName]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: chrome://global/content/printUtils.js :: _getDefaultPrinterName :: line 118" data: no]"]
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - _getDefaultPrinterName@chrome://global/content/printUtils.js:118:7
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - _enterPrintPreview@chrome://global/content/printUtils.js:488:35
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - printPreview@chrome://global/content/printUtils.js:249:12
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - oncommand@chrome://browser/content/browser.xhtml:1:12
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - openPrintPreview@chrome://mochitests/content/browser/browser/base/content/test/general/browser_printpreview.js:60:47
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - testClosePrintPreviewWithEscKey/<@chrome://mochitests/content/browser/browser/base/content/test/general/browser_printpreview.js:44:21
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - checkPrintPreviewClosed/waitForPrintPreviewClosed/<@chrome://mochitests/content/browser/browser/base/content/test/general/browser_printpreview.js:75:18
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - run@chrome://mochikit/content/browser-test.js:1364:9
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO -
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - Buffered messages logged at 12:23:07
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - TEST-PASS | browser/base/content/test/general/browser_printpreview.js | print preview mode should be finished by closing window shortcut key -
[task 2019-10-22T12:23:07.363Z] 12:23:07 INFO - Buffered messages finished
[task 2019-10-22T12:23:07.364Z] 12:23:07 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_printpreview.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
[task 2019-10-22T12:23:07.364Z] 12:23:07 INFO - GECKO(1766) | MEMORY STAT | vsize 8184MB | residentFast 742MB | heapAllocated 319MB
[task 2019-10-22T12:23:07.364Z] 12:23:07 INFO - TEST-OK | browser/base/content/test/general/browser_printpreview.js | took 47401ms

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.