Bug: Intermittent TV browser/base/content/test/favicons/browser_favicon_empty_data.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-11-27 16:13:07+00:00
Resolved: 2024-01-24 20:51:32+00:00

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

---
```
[task 2023-11-27T15:09:26.060Z] 15:09:26     INFO - TEST-START | browser/base/content/test/favicons/browser_favicon_empty_data.js
[task 2023-11-27T15:09:26.082Z] 15:09:26     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1376cfc00 == 1 [pid = 2452] [id = 0]
[task 2023-11-27T15:09:26.082Z] 15:09:26     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (110244b60) [pid = 2452] [serial = 1] [outer = 0]
[task 2023-11-27T15:09:26.083Z] 15:09:26     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (138041800) [pid = 2452] [serial = 2] [outer = 110244b60]
[task 2023-11-27T15:09:27.573Z] 15:09:27     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (138043c00) [pid = 2452] [serial = 3] [outer = 110244b60]
[task 2023-11-27T15:09:29.283Z] 15:09:29     INFO - GECKO(2428) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/xm/n310zld51c7560_kdxcfv4wr000014/T/tmp49ux677p.mozrunner/runtests_leaks_tab_pid2460.log
[task 2023-11-27T15:09:29.286Z] 15:09:29     INFO - GECKO(2428) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/xm/n310zld51c7560_kdxcfv4wr000014/T/tmp49ux677p.mozrunner/runtests_leaks_tab_pid2461.log
[task 2023-11-27T15:09:29.352Z] 15:09:29     INFO - GECKO(2428) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2023-11-27T15:09:29.352Z] 15:09:29     INFO - GECKO(2428) | [Child 2460, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:402
[task 2023-11-27T15:09:29.353Z] 15:09:29     INFO - GECKO(2428) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2023-11-27T15:09:29.353Z] 15:09:29     INFO - GECKO(2428) | [Child 2461, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:402
[task 2023-11-27T15:09:29.648Z] 15:09:29     INFO - GECKO(2428) | [Child 2455: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (130f0fc00) [pid = 2455] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-11-27T15:09:29.657Z] 15:09:29     INFO - TEST-INFO | started process screencapture
[task 2023-11-27T15:09:29.778Z] 15:09:29     INFO - TEST-INFO | screencapture: exit 0
[task 2023-11-27T15:09:29.778Z] 15:09:29     INFO - Buffered messages logged at 15:09:26
[task 2023-11-27T15:09:29.778Z] 15:09:29     INFO - Entering test bound 
[task 2023-11-27T15:09:29.779Z] 15:09:29     INFO - Buffered messages logged at 15:09:27
[task 2023-11-27T15:09:29.779Z] 15:09:29     INFO - Adding <link> to: http://mochi.test:8888/browser/browser/base/content/test/favicons/file_bug970276_favicon1.ico
[task 2023-11-27T15:09:29.780Z] 15:09:29     INFO - Buffered messages logged at 15:09:28
[task 2023-11-27T15:09:29.780Z] 15:09:29     INFO - Awaiting icon change event for:http://mochi.test:8888/browser/browser/base/content/test/favicons/file_bug970276_favicon1.ico
[task 2023-11-27T15:09:29.781Z] 15:09:29     INFO - Buffered messages logged at 15:09:29
[task 2023-11-27T15:09:29.781Z] 15:09:29     INFO - TEST-PASS | browser/base/content/test/favicons/browser_favicon_empty_data.js | Favicon is correctly set. - true == true - 
[task 2023-11-27T15:09:29.782Z] 15:09:29     INFO - Adding <link> to: data:image/x-icon
[task 2023-11-27T15:09:29.782Z] 15:09:29     INFO - Awaiting icon change event for:data:image/x-icon
[task 2023-11-27T15:09:29.783Z] 15:09:29     INFO - TEST-PASS | browser/base/content/test/favicons/browser_favicon_empty_data.js | Favicon is correctly set. - "data:image/x-icon" == "data:image/x-icon" - 
[task 2023-11-27T15:09:29.783Z] 15:09:29     INFO - Buffered messages finished
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/favicons/browser_favicon_empty_data.js | Check the first icon didn't persist as the second one is invalid - "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAHklEQVQ4T2P8DwQMFADGUQMYRsOAYTQMgHloGKQDACUfP9E8ZIjlAAAAAElFTkSuQmCC" != "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAHklEQVQ4T2P8DwQMFADGUQMYRsOAYTQMgHloGKQDACUfP9E8ZIjlAAAAAElFTkSuQmCC" - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js","name":null,"sourceId":628,"lineNumber":33,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"resource://testing-common/BrowserTestUtils.sys.mjs","name":"withNewTab","sourceId":615,"lineNumber":146,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js","name":null,"sourceId":628,"lineNumber":13,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":583,"lineNumber":1138,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":583,"lineNumber":1210,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":583,"lineNumber":1352,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":583,"lineNumber":1121,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":609,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1121:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1121:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1121:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1138:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1121:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*@chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js:13:26\nhandleTask@chrome://mochikit/content/browser-test.js:1138:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1121:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*@chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js:13:26\nhandleTask@chrome://mochikit/content/browser-test.js:1138:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1121:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"@chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js:33:14\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*@chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js:13:26\nhandleTask@chrome://mochikit/content/browser-test.js:1138:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1121:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - Stack trace:
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js:null:33
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - chrome://mochitests/content/browser/browser/base/content/test/favicons/browser_favicon_empty_data.js:null:13
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - chrome://mochikit/content/browser-test.js:handleTask:1138
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1210
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1352
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1121
[task 2023-11-27T15:09:29.789Z] 15:09:29     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-27T15:09:29.790Z] 15:09:29     INFO - Leaving test bound 
[task 2023-11-27T15:09:30.079Z] 15:09:30     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1376cfc00 == 0 [pid = 2452] [id = 0] [url = http://mochi.test:8888/browser/browser/base/content/test/favicons/blank.html]
[task 2023-11-27T15:09:30.093Z] 15:09:30     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (110244b60) [pid = 2452] [serial = 1] [outer = 0] [url = http://mochi.test:8888/browser/browser/base/content/test/favicons/blank.html]
[task 2023-11-27T15:09:30.093Z] 15:09:30     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (138043c00) [pid = 2452] [serial = 3] [outer = 0] [url = http://mochi.test:8888/browser/browser/base/content/test/favicons/blank.html]
[task 2023-11-27T15:09:30.094Z] 15:09:30     INFO - GECKO(2428) | [Child 2452: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (138041800) [pid = 2452] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-11-27T15:09:31.814Z] 15:09:31     INFO - GECKO(2428) | [Child 2436: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1370ce800 == 0 [pid = 2436] [id = 0] [url = about:blank]
[task 2023-11-27T15:09:34.025Z] 15:09:34     INFO - GECKO(2428) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2023-11-27T15:09:34.026Z] 15:09:34     INFO - GECKO(2428) | MEMORY STAT | vsize 16099MB | residentFast 332MB | heapAllocated 131MB
[task 2023-11-27T15:09:34.027Z] 15:09:34     INFO - TEST-OK | browser/base/content/test/favicons/browser_favicon_empty_data.js | took 7966ms
```