Bug: Intermittent browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2023-03-08 22:00:08+00:00
Resolved: 2023-03-10 13:22:51+00:00

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

---
```
[task 2023-03-08T20:22:39.684Z] 20:22:39     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | Cookies view was shown - 
[task 2023-03-08T20:22:39.685Z] 20:22:39     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | We have no empty labels - 
[task 2023-03-08T20:22:39.689Z] 20:22:39     INFO - Buffered messages finished
[task 2023-03-08T20:22:39.692Z] 20:22:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | We have 3 cookies in the list - Got 2, expected 3
[task 2023-03-08T20:22:39.692Z] 20:22:39     INFO - Stack trace:
[task 2023-03-08T20:22:39.693Z] 20:22:39     INFO - chrome://mochikit/content/browser-test.js:test_is:1510
[task 2023-03-08T20:22:39.694Z] 20:22:39     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js:assertSitesListed:176
[task 2023-03-08T20:22:39.697Z] 20:22:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-08T20:22:39.698Z] 20:22:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | Has an item for test1.example.org - 
[task 2023-03-08T20:22:39.698Z] 20:22:39     INFO - Stack trace:
[task 2023-03-08T20:22:39.698Z] 20:22:39     INFO - chrome://mochikit/content/browser-test.js:test_ok:1482
[task 2023-03-08T20:22:39.699Z] 20:22:39     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js:assertSitesListed:191
[task 2023-03-08T20:22:39.700Z] 20:22:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-08T20:22:39.704Z] 20:22:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | Uncaught exception in test bound testCookiesSubView - at resource://testing-common/BrowserTestUtils.sys.mjs:333 - TypeError: can't access property "ownerGlobal", element is undefined
[task 2023-03-08T20:22:39.704Z] 20:22:39     INFO - Stack trace:
[task 2023-03-08T20:22:39.704Z] 20:22:39     INFO - is_visible@resource://testing-common/BrowserTestUtils.sys.mjs:333:15
[task 2023-03-08T20:22:39.704Z] 20:22:39     INFO - assertSitesListed@chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js:192:25
[task 2023-03-08T20:22:39.706Z] 20:22:39     INFO - Leaving test bound testCookiesSubView
[task 2023-03-08T20:22:39.710Z] 20:22:39     INFO - Entering test bound testCookiesSubViewAllowed
[task 2023-03-08T20:22:39.711Z] 20:22:39     INFO - GECKO(2422) | [Child 4490: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f9c5203a400 == 1 [pid = 4490] [id = 0]
[task 2023-03-08T20:22:39.712Z] 20:22:39     INFO - GECKO(2422) | [Child 4490: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f9c5726e470) [pid = 4490] [serial = 1] [outer = 0]
[task 2023-03-08T20:22:39.713Z] 20:22:39     INFO - GECKO(2422) | [Child 4490: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f9c5203b400) [pid = 4490] [serial = 2] [outer = 7f9c5726e470]
[task 2023-03-08T20:22:39.714Z] 20:22:39     INFO - Received onContentBlockingEvent event: 0 (1 of 1)
[task 2023-03-08T20:22:39.715Z] 20:22:39     INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs” was blocked because we are blocking all storage access requests."]
[task 2023-03-08T20:22:39.717Z] 20:22:39     INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs” was blocked because we are blocking all storage access requests."]
[task 2023-03-08T20:22:39.720Z] 20:22:39     INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs” was blocked because we are blocking all storage access requests."]
[task 2023-03-08T20:22:39.722Z] 20:22:39     INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs” was blocked because we are blocking all storage access requests."]
[task 2023-03-08T20:22:39.723Z] 20:22:39     INFO - Received onContentBlockingEvent event: 32768 (1 of 3)
[task 2023-03-08T20:22:39.787Z] 20:22:39     INFO - GECKO(2422) | [Child 4490: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f9c5203dc00) [pid = 4490] [serial = 3] [outer = 7f9c5726e470]
[task 2023-03-08T20:22:39.804Z] 20:22:39     INFO - GECKO(2422) | [Parent 2422: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 37 (7f35749b36d0) [pid = 2422] [serial = 89] [outer = 0] [url = about:blank]
[task 2023-03-08T20:22:39.805Z] 20:22:39     INFO - GECKO(2422) | [Parent 2422: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 36 (7f35749b32f0) [pid = 2422] [serial = 93] [outer = 0] [url = about:blank]
[task 2023-03-08T20:22:39.849Z] 20:22:39     INFO - Received onContentBlockingEvent event: 0 (2 of 3)
[task 2023-03-08T20:22:39.886Z] 20:22:39     INFO - Received onContentBlockingEvent event: 32768 (3 of 3)
[task 2023-03-08T20:22:39.896Z] 20:22:39     INFO - GECKO(2422) | [Child 4490: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f9c52040c00 == 2 [pid = 4490] [id = 1]
[task 2023-03-08T20:22:39.898Z] 20:22:39     INFO - GECKO(2422) | [Child 4490: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f9c5726ff90) [pid = 4490] [serial = 4] [outer = 0]
[task 2023-03-08T20:22:39.899Z] 20:22:39     INFO - GECKO(2422) | [Child 4490: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7f9c52041000) [pid = 4490] [serial = 5] [outer = 7f9c5726ff90]
[task 2023-03-08T20:22:40.003Z] 20:22:40     INFO - GECKO(2422) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp6jmq767q.mozrunner/runtests_leaks_tab_pid4537.log
[task 2023-03-08T20:22:40.006Z] 20:22:40     INFO - GECKO(2422) | [4537, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:345
[task 2023-03-08T20:22:40.022Z] 20:22:40     INFO - GECKO(2422) | [Child 4537, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.057Z] 20:22:40     INFO - GECKO(2422) | [Child 4537, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:715
[task 2023-03-08T20:22:40.086Z] 20:22:40     INFO - GECKO(2422) | [Child 4537, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.089Z] 20:22:40     INFO - GECKO(2422) | [Child 4537, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.126Z] 20:22:40     INFO - GECKO(2422) | [Child 4537, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.247Z] 20:22:40     INFO - GECKO(2422) | [Parent 2422, Main Thread] WARNING: NS_ENSURE_TRUE(LoadIsPending()) failed: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:5731
[task 2023-03-08T20:22:40.253Z] 20:22:40     INFO - GECKO(2422) | [Child 4434: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f811c538c00 == 2 [pid = 4434] [id = 1]
[task 2023-03-08T20:22:40.254Z] 20:22:40     INFO - GECKO(2422) | [Child 4434: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f81381f0370) [pid = 4434] [serial = 4] [outer = 0]
[task 2023-03-08T20:22:40.256Z] 20:22:40     INFO - GECKO(2422) | [Child 4434: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7f8121873800) [pid = 4434] [serial = 5] [outer = 7f81381f0370]
[task 2023-03-08T20:22:40.299Z] 20:22:40     INFO - Console message: [JavaScript Warning: "Cookie “foopy” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite" {file: "http://trackertest.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs" line: 0}]
[task 2023-03-08T20:22:40.348Z] 20:22:40     INFO - GECKO(2422) | [Parent 2422, Main Thread] WARNING: NS_ENSURE_TRUE(mSuspendCount > 0) failed: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:5756
[task 2023-03-08T20:22:40.350Z] 20:22:40     INFO - GECKO(2422) | [Child 4434: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7f811bd7b400) [pid = 4434] [serial = 6] [outer = 7f81381f0370]
[task 2023-03-08T20:22:40.533Z] 20:22:40     INFO - GECKO(2422) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp6jmq767q.mozrunner/runtests_leaks_tab_pid4555.log
[task 2023-03-08T20:22:40.533Z] 20:22:40     INFO - GECKO(2422) | [4555, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:345
[task 2023-03-08T20:22:40.537Z] 20:22:40     INFO - GECKO(2422) | [Child 4555, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.573Z] 20:22:40     INFO - GECKO(2422) | [Child 4555, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:715
[task 2023-03-08T20:22:40.615Z] 20:22:40     INFO - GECKO(2422) | [Child 4555, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.617Z] 20:22:40     INFO - GECKO(2422) | [Child 4555, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.698Z] 20:22:40     INFO - GECKO(2422) | [Child 4555, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-08T20:22:40.711Z] 20:22:40     INFO - GECKO(2422) | [Parent 2422, Main Thread] WARNING: '!mSelection', file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:6071
[task 2023-03-08T20:22:40.712Z] 20:22:40     INFO - GECKO(2422) | [Parent 2422, Main Thread] WARNING: '!editActionData.CanHandle()', file /builds/worker/workspace/obj-build/dist/include/mozilla/TextEditor.h:205
[task 2023-03-08T20:22:40.713Z] 20:22:40     INFO - GECKO(2422) | [Parent 2422, Main Thread] WARNING: Failed to get value: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/html/TextControlState.cpp:2531
[task 2023-03-08T20:22:40.948Z] 20:22:40     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | TP category item is visible - 
```