Closed Bug 1711537 Opened 1 year ago Closed 15 days ago

Intermittent toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have custom content. - "" == "Article title" - got "", expected "Article title" (operator ==)

Categories

(Toolkit :: Printing, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: apavel [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=339906699&repo=mozilla-esr78
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Tw_s0RPFTCCjxHYRD9E3BQ/runs/0/artifacts/public/logs/live_backing.log


[task 2021-05-17T14:55:28.858Z] 14:55:28     INFO - TEST-START | toolkit/components/printing/tests/browser_preview_switch_print_selected.js
[task 2021-05-17T14:55:29.061Z] 14:55:29     INFO - GECKO(13467) | Waiting for browser load
[task 2021-05-17T14:55:29.218Z] 14:55:29     INFO - GECKO(13467) | Saw state f0001 and status 0
[task 2021-05-17T14:55:29.274Z] 14:55:29     INFO - GECKO(13467) | Saw state c0010 and status 0
[task 2021-05-17T14:55:29.274Z] 14:55:29     INFO - GECKO(13467) | Browser loaded http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-05-17T14:55:30.216Z] 14:55:30     INFO - GECKO(13467) | JavaScript error: resource://gre/actors/PrintingChild.jsm, line 206: TypeError: content.document.head is null
[task 2021-05-17T14:55:30.453Z] 14:55:30     INFO - TEST-INFO | started process screentopng
[task 2021-05-17T14:55:31.158Z] 14:55:31     INFO - TEST-INFO | screentopng: exit 0
[task 2021-05-17T14:55:31.158Z] 14:55:31     INFO - Buffered messages logged at 14:55:28
[task 2021-05-17T14:55:31.158Z] 14:55:31     INFO - Entering test bound set_simplify_and_reader_pref
[task 2021-05-17T14:55:31.158Z] 14:55:31     INFO - Leaving test bound set_simplify_and_reader_pref
[task 2021-05-17T14:55:31.158Z] 14:55:31     INFO - Entering test bound switch_print_preview_browsers
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - Buffered messages logged at 14:55:29
[task 2021-05-17T14:55:31.159Z] 14:55:31     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 2021-05-17T14:55:31.159Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have initial content. - "Article title" == "Article title" - 
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - Buffered messages logged at 14:55:30
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - Console message: [JavaScript Error: "TypeError: content.document.head is null" {file: "resource://gre/actors/PrintingChild.jsm" line: 206}]
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have simplify page option checked - 
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - Buffered messages finished
[task 2021-05-17T14:55:31.159Z] 14:55:31     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 2021-05-17T14:55:31.159Z] 14:55:31     INFO - Stack trace:
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - @chrome://mochitests/content/browser/toolkit/components/printing/tests/browser_preview_switch_print_selected.js:83:7
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1812:15
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:318:21
[task 2021-05-17T14:55:31.159Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have simplified print preview browser selected - 
[task 2021-05-17T14:55:31.160Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have default print preview browser selected - 
[task 2021-05-17T14:55:31.160Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have simplify page option checked - 
[task 2021-05-17T14:55:31.160Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have initial content. - "Article title" == "Article title" - 
[task 2021-05-17T14:55:31.161Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should have default print preview browser selected - 
[task 2021-05-17T14:55:31.161Z] 14:55:31     INFO - TEST-PASS | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | Should not have simplified print preview browser selected - 
[task 2021-05-17T14:55:31.162Z] 14:55:31     INFO - Leaving test bound switch_print_preview_browsers
[task 2021-05-17T14:55:31.163Z] 14:55:31     INFO - GECKO(13467) | MEMORY STAT | vsize 2929MB | residentFast 309MB | heapAllocated 125MB
[task 2021-05-17T14:55:31.163Z] 14:55:31     INFO - TEST-OK | toolkit/components/printing/tests/browser_preview_switch_print_selected.js | took 1941ms
[task 2021-05-17T14:55:31.163Z] 14:55:31     INFO - checking window state
[task 2021-05-17T14:55:32.451Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13613
[task 2021-05-17T14:55:32.453Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13759
[task 2021-05-17T14:55:32.461Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13525
[task 2021-05-17T14:55:32.462Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13818
[task 2021-05-17T14:55:32.462Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13668
[task 2021-05-17T14:55:32.477Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13538
[task 2021-05-17T14:55:32.492Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13705
[task 2021-05-17T14:55:32.494Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13716
[task 2021-05-17T14:55:32.509Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13775
[task 2021-05-17T14:55:32.525Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13638
[task 2021-05-17T14:55:32.827Z] 14:55:32     INFO - GECKO(13467) | Completed ShutdownLeaks collections in process 13467
[task 2021-05-17T14:55:32.827Z] 14:55:32     INFO - TEST-START | Shutdown```
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago3 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 months ago15 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.