Closed Bug 1426485 Opened 8 years ago Closed 5 years ago

Intermittent toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have custom content. - "" == "Article title" -

Categories

(Toolkit :: Printing, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=195485610&repo=mozilla-central&lineNumber=5099 TEST-START | toolkit/components/printing/tests/browser_preview_switch_print_selected.js [task 2018-08-23T11:31:55.615Z] 11:31:55 INFO - GECKO(7463) | Waiting for browser load [task 2018-08-23T11:31:55.636Z] 11:31:55 INFO - GECKO(7463) | Saw state f0001 and status 0 [task 2018-08-23T11:31:55.677Z] 11:31:55 INFO - GECKO(7463) | JavaScript error: resource:///modules/ContentMetaHandler.jsm, line 156: NS_ERROR_ILLEGAL_VALUE: [task 2018-08-23T11:31:55.721Z] 11:31:55 INFO - GECKO(7463) | Saw state c0010 and status 0 [task 2018-08-23T11:31:55.723Z] 11:31:55 INFO - GECKO(7463) | Browser loaded http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html [task 2018-08-23T11:31:57.036Z] 11:31:57 INFO - TEST-INFO | started process screentopng [task 2018-08-23T11:31:57.541Z] 11:31:57 INFO - TEST-INFO | screentopng: exit 0 [task 2018-08-23T11:31:57.542Z] 11:31:57 INFO - Buffered messages logged at 11:31:55 [task 2018-08-23T11:31:57.543Z] 11:31:57 INFO - Entering test bound set_simplify_and_reader_pref [task 2018-08-23T11:31:57.544Z] 11:31:57 INFO - Leaving test bound set_simplify_and_reader_pref [task 2018-08-23T11:31:57.545Z] 11:31:57 INFO - Entering test bound switch_print_preview_browsers [task 2018-08-23T11:31:57.546Z] 11:31:57 INFO - Console message: [JavaScript Error: "NS_ERROR_ILLEGAL_VALUE: " {file: "resource:///modules/ContentMetaHandler.jsm" line: 156}] [task 2018-08-23T11:31:57.547Z] 11:31:57 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: "http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html" line: 0}] [task 2018-08-23T11:31:57.549Z] 11:31:57 INFO - Buffered messages logged at 11:31:56 [task 2018-08-23T11:31:57.550Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have initial content. - "Article title" == "Article title" - [task 2018-08-23T11:31:57.551Z] 11:31:57 INFO - Buffered messages logged at 11:31:57 [task 2018-08-23T11:31:57.553Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have simplify page option checked - [task 2018-08-23T11:31:57.554Z] 11:31:57 INFO - Buffered messages finished [task 2018-08-23T11:31:57.558Z] 11:31:57 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have custom content. - "" == "Article title" - [task 2018-08-23T11:31:57.559Z] 11:31:57 INFO - Stack trace: [task 2018-08-23T11:31:57.560Z] 11:31:57 INFO - resource://testing-common/content-task.js line 59 > eval:null:4 [task 2018-08-23T11:31:57.561Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have simplified print preview browser selected - [task 2018-08-23T11:31:57.562Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have default print preview browser selected - [task 2018-08-23T11:31:57.563Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have simplify page option checked - [task 2018-08-23T11:31:57.565Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have initial content. - "Article title" == "Article title" - [task 2018-08-23T11:31:57.567Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have default print preview browser selected - [task 2018-08-23T11:31:57.569Z] 11:31:57 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have simplified print preview browser selected - [task 2018-08-23T11:31:57.569Z] 11:31:57 INFO - Leaving test bound switch_print_preview_browsers [task 2018-08-23T11:31:57.571Z] 11:31:57 INFO - GECKO(7463) | MEMORY STAT | vsize 570MB | residentFast 251MB | heapAllocated 106MB [task 2018-08-23T11:31:57.572Z] 11:31:57 INFO - TEST-OK | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | took 1951ms [task 2018-08-23T11:31:57.594Z] 11:31:57 INFO - checking window state [task 2018-08-23T11:31:58.284Z] 11:31:58 INFO - GECKO(7463) | JavaScript error: resource:///modules/ContentMetaHandler.jsm, line 156: NS_ERROR_ILLEGAL_VALUE: [task 2018-08-23T11:31:58.752Z] 11:31:58 INFO - Console message: [JavaScript Error: "NS_ERROR_ILLEGAL_VALUE: " {file: "resource:///modules/ContentMetaHandler.jsm" line: 156}] [task 2018-08-23T11:31:59.498Z] 11:31:59 INFO - GECKO(7463) | Completed ShutdownLeaks collections in process 7670 [task 2018-08-23T11:31:59.519Z] 11:31:59 INFO - GECKO(7463) | Completed ShutdownLeaks collections in process 7537 [task 2018-08-23T11:31:59.547Z] 11:31:59 INFO - GECKO(7463) | Completed ShutdownLeaks collections in process 7608 [task 2018-08-23T11:31:59.564Z] 11:31:59 INFO - GECKO(7463) | Completed ShutdownLeaks collections in process 7641 [task 2018-08-23T11:31:59.600Z] 11:31:59 INFO - GECKO(7463) | Completed ShutdownLeaks collections in process 7558 [task 2018-08-23T11:31:59.921Z] 11:31:59 INFO - GECKO(7463) | Completed ShutdownLeaks collections in process 7463
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE

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

[task 2019-04-05T17:07:15.218Z] 17:07:15 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have simplify page option checked -
[task 2019-04-05T17:07:15.219Z] 17:07:15 INFO - Buffered messages finished
[task 2019-04-05T17:07:15.221Z] 17:07:15 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have custom content. - "" == "Article title" -
[task 2019-04-05T17:07:15.222Z] 17:07:15 INFO - Stack trace:
[task 2019-04-05T17:07:15.223Z] 17:07:15 INFO - resource://testing-common/content-task.js line 59 > eval:null:4
[task 2019-04-05T17:07:15.225Z] 17:07:15 INFO - resource://testing-common/content-task.js:null:60
[task 2019-04-05T17:07:15.226Z] 17:07:15 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have simplified print preview browser selected -
[task 2019-04-05T17:07:15.227Z] 17:07:15 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have default print preview browser selected -
[task 2019-04-05T17:07:15.231Z] 17:07:15 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have simplify page option checked -
[task 2019-04-05T17:07:15.232Z] 17:07:15 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have initial content. - "Article title" == "Article title" -
[task 2019-04-05T17:07:15.233Z] 17:07:15 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have default print preview browser selected -
[task 2019-04-05T17:07:15.239Z] 17:07:15 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have simplified print preview browser selected -
[task 2019-04-05T17:07:15.240Z] 17:07:15 INFO - Leaving test bound switch_print_preview_browsers
[task 2019-04-05T17:07:15.242Z] 17:07:15 INFO - GECKO(9361) | MEMORY STAT | vsize 635MB | residentFast 284MB | heapAllocated 105MB
[task 2019-04-05T17:07:15.244Z] 17:07:15 INFO - TEST-OK | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | took 2375ms
[task 2019-04-05T17:07:15.245Z] 17:07:15 INFO - checking window state
[task 2019-04-05T17:07:15.247Z] 17:07:15 INFO - GECKO(9361) | must wait for focus
[task 2019-04-05T17:07:15.923Z] 17:07:15 INFO - GECKO(9361) | JavaScript error: resource:///modules/ContentMetaHandler.jsm, line 156: NS_ERROR_ILLEGAL_VALUE:
[task 2019-04-05T17:07:16.474Z] 17:07:16 INFO - Console message: [JavaScript Error: "NS_ERROR_ILLEGAL_VALUE: " {file: "resource:///modules/ContentMetaHandler.jsm" line: 156}]
[task 2019-04-05T17:07:17.128Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9630
[task 2019-04-05T17:07:17.148Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9547
[task 2019-04-05T17:07:17.176Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9679
[task 2019-04-05T17:07:17.192Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9600
[task 2019-04-05T17:07:17.222Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9577
[task 2019-04-05T17:07:17.222Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9488
[task 2019-04-05T17:07:17.226Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9652
[task 2019-04-05T17:07:17.235Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9438
[task 2019-04-05T17:07:17.276Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9415
[task 2019-04-05T17:07:17.316Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9513
[task 2019-04-05T17:07:17.682Z] 17:07:17 INFO - GECKO(9361) | Completed ShutdownLeaks collections in process 9361

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → INCOMPLETE

New failure here: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=297681795&repo=mozilla-central&lineNumber=6410

[task 2020-04-15T06:04:05.969Z] 06:04:05 INFO - TEST-START | toolkit/components/printing/tests/browser_preview_print_simplify_non_article.js
[task 2020-04-15T06:04:05.969Z] 06:04:05 INFO - GECKO(7048) | JavaScript error: resource://gre/modules/URIFixup.jsm, line 199: NS_ERROR_FAILURE: Should pass a non-null uri
[task 2020-04-15T06:04:06.008Z] 06:04:06 INFO - GECKO(7048) | Waiting for browser load
[task 2020-04-15T06:04:06.132Z] 06:04:06 INFO - GECKO(7048) | Saw state f0001 and status 0
[task 2020-04-15T06:04:06.192Z] 06:04:06 INFO - GECKO(7048) | Saw state c0010 and status 0
[task 2020-04-15T06:04:06.192Z] 06:04:06 INFO - GECKO(7048) | Browser loaded http://example.com/browser/toolkit/components/printing/tests/simplifyNonArticleSample.html
[task 2020-04-15T06:04:07.382Z] 06:04:07 INFO - GECKO(7048) | MEMORY STAT | vsize 2104234MB | vsizeMaxContiguous 67027634MB | residentFast 292MB | heapAllocated 118MB
[task 2020-04-15T06:04:07.382Z] 06:04:07 INFO - TEST-OK | toolkit/components/printing/tests/browser_preview_print_simplify_non_article.js | took 1412ms
[task 2020-04-15T06:04:07.401Z] 06:04:07 INFO - checking window state
[task 2020-04-15T06:04:07.411Z] 06:04:07 INFO - TEST-START | toolkit/components/printing/tests/browser_preview_switch_print_selected.js
[task 2020-04-15T06:04:07.451Z] 06:04:07 INFO - GECKO(7048) | Waiting for browser load
[task 2020-04-15T06:04:07.590Z] 06:04:07 INFO - GECKO(7048) | Saw state f0001 and status 0
[task 2020-04-15T06:04:07.632Z] 06:04:07 INFO - GECKO(7048) | Saw state c0010 and status 0
[task 2020-04-15T06:04:07.632Z] 06:04:07 INFO - GECKO(7048) | Browser loaded http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2020-04-15T06:04:08.633Z] 06:04:08 INFO - GECKO(7048) | JavaScript error: resource://gre/actors/PrintingChild.jsm, line 206: TypeError: can't access property "innerHTML", content.document.head is null
[task 2020-04-15T06:04:09.026Z] 06:04:09 INFO - TEST-INFO | started process screenshot
[task 2020-04-15T06:04:09.126Z] 06:04:09 INFO - TEST-INFO | screenshot: exit 0
[task 2020-04-15T06:04:09.126Z] 06:04:09 INFO - Buffered messages logged at 06:04:07
[task 2020-04-15T06:04:09.126Z] 06:04:09 INFO - Entering test bound set_simplify_and_reader_pref
[task 2020-04-15T06:04:09.126Z] 06:04:09 INFO - Leaving test bound set_simplify_and_reader_pref
[task 2020-04-15T06:04:09.126Z] 06:04:09 INFO - Entering test bound switch_print_preview_browsers
[task 2020-04-15T06:04:09.127Z] 06:04:09 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: "http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html" line: 0}]
[task 2020-04-15T06:04:09.127Z] 06:04:09 INFO - Buffered messages logged at 06:04:08
[task 2020-04-15T06:04:09.127Z] 06:04:09 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have initial content. - "Article title" == "Article title" -
[task 2020-04-15T06:04:09.127Z] 06:04:09 INFO - Console message: [JavaScript Error: "TypeError: can't access property "innerHTML", content.document.head is null" {file: "resource://gre/actors/PrintingChild.jsm" line: 206}]
[task 2020-04-15T06:04:09.127Z] 06:04:09 INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have simplify page option checked -
[task 2020-04-15T06:04:09.127Z] 06:04:09 INFO - Buffered messages finished
[task 2020-04-15T06:04:09.128Z] 06:04:09 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have custom content. - "" == "Article title" - got "", expected "Article title" (operator ==)
[task 2020-04-15T06:04:09.128Z] 06:04:09 INFO - Stack trace:
[task 2020-04-15T06:04:09.128Z] 06:04:09 INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:89:21
[task 2020-04-15T06:04:09.128Z] 06:04:09 INFO - @chrome://mochitests/content/browser/toolkit/components/printing/tests/browser_preview_switch_print_selected.js:83:7
[task 2020-04-15T06:04:09.128Z] 06:04:09 INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:140:12
[task 2020-04-15T06:04:09.128Z] 06:04:09 INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1729:15
[task 2020-04-15T06:04:09.128Z] 06:04:09 INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:281:21

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