Bug: Perma TV tier 2 browser/components/search/test/browser/browser_searchTelemetry.js | bandwidth logged - 0 != 0 - JS frame :: chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchTelemetry.js :: test_simple_search_page_vi
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-02-28 04:18:00+00:00
Resolved: 2020-03-02 06:33:19+00:00

**Filed by:** rmaries [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=290882152&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IbMa5ql6TTiEFvAZOIqulQ/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IbMa5ql6TTiEFvAZOIqulQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---

[task 2020-02-28T01:34:10.356Z] 01:34:10     INFO - TEST-START | browser/components/search/test/browser/browser_searchTelemetry.js
[task 2020-02-28T01:34:10.552Z] 01:34:10     INFO - GECKO(1649) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x10ae42800 == 2 [pid = 1653] [id = {a9a3b16c-eed4-3a40-b629-914474862d4a}]
[task 2020-02-28T01:34:10.552Z] 01:34:10     INFO - GECKO(1649) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x14771f520) [pid = 1653] [serial = 4] [outer = 0x0]
[task 2020-02-28T01:34:10.552Z] 01:34:10     INFO - GECKO(1649) | [Child 1653, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 848
[task 2020-02-28T01:34:10.553Z] 01:34:10     INFO - GECKO(1649) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x11e1f3000) [pid = 1653] [serial = 5] [outer = 0x14771f520]
[task 2020-02-28T01:34:10.698Z] 01:34:10     INFO - GECKO(1649) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x14777a000) [pid = 1653] [serial = 6] [outer = 0x14771f520]
[task 2020-02-28T01:34:10.751Z] 01:34:10     INFO - GECKO(1649) | *** SearchTelemetry: example.in-content:sap:ff for http://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetry.html?s=test&abc=ff
[task 2020-02-28T01:34:10.806Z] 01:34:10     INFO - GECKO(1649) | [Child 1660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x10bfee000) [pid = 1660] [serial = 2] [outer = 0x0] [url = about:blank]
[task 2020-02-28T01:34:10.806Z] 01:34:10     INFO - GECKO(1649) | [Child 1660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x10355a000) [pid = 1660] [serial = 3] [outer = 0x0] [url = about:blank]
[task 2020-02-28T01:34:10.851Z] 01:34:10     INFO - GECKO(1649) | [Child 1660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x10340b8c0) [pid = 1660] [serial = 1] [outer = 0x0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetryAd.html?s=test&abc=ff]
[task 2020-02-28T01:34:11.096Z] 01:34:11     INFO - GECKO(1649) | [Child 1657: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x11800d000 == 3 [pid = 1657] [id = {e535efc9-fdd3-6946-8d94-edece2d8c02f}]
[task 2020-02-28T01:34:11.096Z] 01:34:11     INFO - GECKO(1649) | [Child 1657: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (0x13d9e3a90) [pid = 1657] [serial = 12] [outer = 0x0]
[task 2020-02-28T01:34:11.097Z] 01:34:11     INFO - GECKO(1649) | [Child 1657, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 848
[task 2020-02-28T01:34:11.097Z] 01:34:11     INFO - GECKO(1649) | [Child 1657: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (0x1180cac00) [pid = 1657] [serial = 13] [outer = 0x13d9e3a90]
[task 2020-02-28T01:34:11.247Z] 01:34:11     INFO - GECKO(1649) | [Child 1657: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (0x14c1d2c00) [pid = 1657] [serial = 14] [outer = 0x13d9e3a90]
[task 2020-02-28T01:34:11.296Z] 01:34:11     INFO - GECKO(1649) | *** SearchTelemetry: example.in-content:sap:ff for http://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetryAd.html?s=test&abc=ff
[task 2020-02-28T01:34:11.643Z] 01:34:11     INFO - TEST-INFO | started process screencapture
[task 2020-02-28T01:34:11.783Z] 01:34:11     INFO - TEST-INFO | screencapture: exit 0
[task 2020-02-28T01:34:11.783Z] 01:34:11     INFO - Buffered messages logged at 01:34:10
[task 2020-02-28T01:34:11.784Z] 01:34:11     INFO - Entering test bound setup
[task 2020-02-28T01:34:11.784Z] 01:34:11     INFO - Leaving test bound setup
[task 2020-02-28T01:34:11.784Z] 01:34:11     INFO - Entering test bound test_simple_search_page_visit
[task 2020-02-28T01:34:11.784Z] 01:34:11     INFO - Console message: example.in-content:sap:ff for http://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetry.html?s=test&abc=ff
[task 2020-02-28T01:34:11.784Z] 01:34:11     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://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetry.html?s=test&abc=ff" line: 0}]
[task 2020-02-28T01:34:11.785Z] 01:34:11     INFO - Buffered messages logged at 01:34:11
[task 2020-02-28T01:34:11.785Z] 01:34:11     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchTelemetry.js | Should only have one key - 1 == 1 - 
[task 2020-02-28T01:34:11.785Z] 01:34:11     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchTelemetry.js | Histogram should have the expected key: example.in-content:sap:ff - true == true - 
[task 2020-02-28T01:34:11.785Z] 01:34:11     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchTelemetry.js | Should have counted the correct number of visits for example.in-content:sap:ff - 1 == 1 - 
[task 2020-02-28T01:34:11.785Z] 01:34:11     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchTelemetry.js | Should have matched browser.search.with_ads in scalars and expectedScalars - false == false - 
[task 2020-02-28T01:34:11.786Z] 01:34:11     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchTelemetry.js | Should have matched browser.search.ad_clicks in scalars and expectedScalars - false == false - 
[task 2020-02-28T01:34:11.786Z] 01:34:11     INFO - Leaving test bound test_simple_search_page_visit
[task 2020-02-28T01:34:11.786Z] 01:34:11     INFO - Entering test bound test_simple_search_page_visit_telemetry
[task 2020-02-28T01:34:11.786Z] 01:34:11     INFO - Console message: example.in-content:sap:ff for http://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetryAd.html?s=test&abc=ff
[task 2020-02-28T01:34:11.786Z] 01:34:11     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://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetryAd.html?s=test&abc=ff" line: 0}]
[task 2020-02-28T01:34:11.787Z] 01:34:11     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchTelemetry.js | correct telemetry category - true == true - 
[task 2020-02-28T01:34:11.787Z] 01:34:11     INFO - Buffered messages finished
[task 2020-02-28T01:34:11.787Z] 01:34:11     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchTelemetry.js | bandwidth logged - 0 != 0 - JS frame :: chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchTelemetry.js :: test_simple_search_page_visit_telemetry/< :: line 170
[task 2020-02-28T01:34:11.787Z] 01:34:11     INFO - Stack trace:
[task 2020-02-28T01:34:11.787Z] 01:34:11     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchTelemetry.js:test_simple_search_page_visit_telemetry/<:170
[task 2020-02-28T01:34:11.787Z] 01:34:11     INFO - resource://testing-common/BrowserTestUtils.jsm:withNewTab:150
[task 2020-02-28T01:34:11.788Z] 01:34:11     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchTelemetry.js:test_simple_search_page_visit_telemetry:151
[task 2020-02-28T01:34:11.788Z] 01:34:11     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-02-28T01:34:11.788Z] 01:34:11     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-02-28T01:34:11.788Z] 01:34:11     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:919
[task 2020-02-28T01:34:11.788Z] 01:34:11     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:914
[task 2020-02-28T01:34:11.793Z] 01:34:11     INFO - GECKO(1649) | [Child 1658: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x10a572800) [pid = 1658] [serial = 3] [outer = 0x0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetry.html?s=test&abc=ff&a=foo]
[task 2020-02-28T01:34:11.793Z] 01:34:11     INFO - GECKO(1649) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x10ae42800 == 1 [pid = 1653] [id = {a9a3b16c-eed4-3a40-b629-914474862d4a}] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/searchTelemetry.html?s=test&abc=ff]
[task 2020-02-28T01:34:11.793Z] 01:34:11     INFO - GECKO(1649) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x10c09b000 == 0 [pid = 1653] [id = {f525c882-ccec-704b-820b-f5791cd4ff7f}] [url = about:blank]
[task 2020-02-28T01:34:11.793Z] 01:34:11     INFO - Leaving test bound test_simple_search_page_visit_telemetry
[task 2020-02-28T01:34:11.794Z] 01:34:11     INFO - Entering test bound test_follow_on_visit