Bug: Intermittent TV [tier 2] browser/components/search/test/browser/browser_trending_suggestions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-03-28 16:33:16+00:00
Resolved: 2023-07-25 16:15:16+00:00

**Filed by:** mlaza [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=410519570&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WprR1PkpS12oCFH65JGNpg/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/WprR1PkpS12oCFH65JGNpg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-03-28T14:56:08.379Z] 14:56:08     INFO - TEST-START | browser/components/search/test/browser/browser_trending_suggestions.js
[task 2023-03-28T14:56:08.442Z] 14:56:08     INFO - GECKO(8160) | [Child 9400: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1d307078000 == 0 [pid = 9400] [id = 0] [url = https://mochi.test:8888/browser/browser/components/search/test/browser/?search=0&foo=1]
[task 2023-03-28T14:56:08.489Z] 14:56:08     INFO - GECKO(8160) | [Child 9400: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1d301e81180) [pid = 9400] [serial = 1] [outer = 0] [url = about:neterror?e=dnsNotFound&u=https%3A//mochi.test%3A8888/browser/browser/components/search/test/browser/%3Fsearch%3D0%26foo%3D1&c=UTF-8&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20mochi.test.]
[task 2023-03-28T14:56:08.492Z] 14:56:08     INFO - GECKO(8160) | [Child 9400: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1d30707bc00) [pid = 9400] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-03-28T14:56:08.493Z] 14:56:08     INFO - GECKO(8160) | [Child 9400: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1d30707e400) [pid = 9400] [serial = 3] [outer = 0] [url = about:neterror?e=dnsNotFound&u=https%3A//mochi.test%3A8888/browser/browser/components/search/test/browser/%3Fsearch%3D0%26foo%3D1&c=UTF-8&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20mochi.test.]
[task 2023-03-28T14:56:08.494Z] 14:56:08     INFO - GECKO(8160) | [Child 9400, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3396
[task 2023-03-28T14:56:08.496Z] 14:56:08     INFO - GECKO(8160) | [Child 9400, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-03-28T14:56:08.508Z] 14:56:08     INFO - GECKO(8160) | [Child 9400, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4689
[task 2023-03-28T14:56:08.838Z] 14:56:08     INFO - TEST-INFO | started process screenshot
[task 2023-03-28T14:56:08.990Z] 14:56:08     INFO - TEST-INFO | screenshot: exit 0
[task 2023-03-28T14:56:08.994Z] 14:56:08     INFO - Buffered messages logged at 14:56:08
[task 2023-03-28T14:56:08.994Z] 14:56:08     INFO - Entering setup bound 
[task 2023-03-28T14:56:08.995Z] 14:56:08     INFO - Leaving setup bound 
[task 2023-03-28T14:56:08.995Z] 14:56:08     INFO - Entering test bound test_trending_results
[task 2023-03-28T14:56:08.996Z] 14:56:08     INFO - Awaiting for the urlbar panel to open
[task 2023-03-28T14:56:08.996Z] 14:56:08     INFO - Urlbar panel opened
[task 2023-03-28T14:56:08.996Z] 14:56:08     INFO - Buffered messages finished
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_trending_suggestions.js | We matched the expected number of results - 1 == 2 - {"filename":"chrome://mochitests/content/browser/browser/components/search/test/browser/browser_trending_suggestions.js","name":"check_results","sourceId":585,"lineNumber":172,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/search/test/browser/browser_trending_suggestions.js","name":"test_trending_results","sourceId":585,"lineNumber":56,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":529,"lineNumber":1039,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":529,"lineNumber":1111,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":529,"lineNumber":1253,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":529,"lineNumber":1022,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":557,"lineNumber":1053,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"async*test_trending_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_trending_suggestions.js:56:9\nhandleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"check_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_trending_suggestions.js:172:10\nasync*test_trending_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_trending_suggestions.js:56:9\nhandleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}}
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - Stack trace:
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_trending_suggestions.js:check_results:172
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_trending_suggestions.js:test_trending_results:56
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - chrome://mochikit/content/browser-test.js:handleTask:1039
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1111
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1253
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1022
[task 2023-03-28T14:56:09.005Z] 14:56:09     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1053
[task 2023-03-28T14:56:09.006Z] 14:56:09     INFO - Not taking screenshot here: see the one that was previously logged
```