Bug: Intermittent browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-02 01:25:04+00:00
Resolved: 2024-06-21 12:04:36+00:00

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

---
```
[task 2024-05-02T00:09:59.836Z] 00:09:59     INFO - TEST-START | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js
[task 2024-05-02T00:10:21.774Z] 00:10:21     INFO - TEST-INFO | started process screenshot
[task 2024-05-02T00:10:22.361Z] 00:10:22     INFO - TEST-INFO | screenshot: exit 0
[task 2024-05-02T00:10:22.361Z] 00:10:22     INFO - Buffered messages logged at 00:09:59
[task 2024-05-02T00:10:22.362Z] 00:10:22     INFO - Entering setup bound 
[task 2024-05-02T00:10:22.362Z] 00:10:22     INFO - Leaving setup bound 
[task 2024-05-02T00:10:22.363Z] 00:10:22     INFO - Entering test bound testNoSiteDataNoCacheClearing
[task 2024-05-02T00:10:22.364Z] 00:10:22     INFO - Console message: [JavaScript Warning: "The meta tag declaring the character encoding of the document should be moved to start of the head part of the document." {file: "https://example.org/browser/browser/components/preferences/tests/siteData//offline/offline.html" line: 4}]
[task 2024-05-02T00:10:22.364Z] 00:10:22     INFO - Buffered messages finished
[task 2024-05-02T00:10:22.365Z] 00:10:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Uncaught exception in test bound testNoSiteDataNoCacheClearing - Fail to load service worker test https://example.org/browser/browser/components/preferences/tests/siteData//service_worker_test.html - timed out after 50 tries.
[task 2024-05-02T00:10:22.366Z] 00:10:22     INFO - Leaving test bound testNoSiteDataNoCacheClearing
[task 2024-05-02T00:10:22.366Z] 00:10:22     INFO - Entering test bound testSiteDataClearing
[task 2024-05-02T00:10:22.367Z] 00:10:22     INFO - Console message: [JavaScript Warning: "The meta tag declaring the character encoding of the document should be moved to start of the head part of the document." {file: "https://example.org/browser/browser/components/preferences/tests/siteData//offline/offline.html" line: 4}]
[task 2024-05-02T00:10:23.525Z] 00:10:23     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Found the service worker registered for https://example.org/browser/browser/components/preferences/tests/siteData//service_worker_test.html - 
[task 2024-05-02T00:10:23.944Z] 00:10:23     INFO - GECKO(1036) | console.error: "Failed to open Windows registry" ({})
[task 2024-05-02T00:10:24.079Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The cache usage should not be 0 - 38912 > 0 - 
[task 2024-05-02T00:10:24.080Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The quota usage should not be 0 - 53304 > 0 - 
[task 2024-05-02T00:10:24.082Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The total usage should not be 0 - 181085 > 0 - 
[task 2024-05-02T00:10:24.185Z] 00:10:24     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "about:blank" line: 0}]
[task 2024-05-02T00:10:24.275Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Check the proper URL is loaded - 
[task 2024-05-02T00:10:24.281Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Element should not be null, when checking visibility - 
[task 2024-05-02T00:10:24.282Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Overlay is visible - 
[task 2024-05-02T00:10:24.283Z] 00:10:24     INFO - found chrome://browser/skin/preferences/preferences.css
[task 2024-05-02T00:10:24.283Z] 00:10:24     INFO - found chrome://global/skin/in-content/common.css
[task 2024-05-02T00:10:24.284Z] 00:10:24     INFO - found chrome://browser/skin/preferences/dialog.css
[task 2024-05-02T00:10:24.284Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | All expectedStyleSheetURLs should have been found - 
[task 2024-05-02T00:10:24.884Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The cache usage should not be 0 - 38912 > 0 - 
[task 2024-05-02T00:10:24.922Z] 00:10:24     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Cleared all service workers - 
[task 2024-05-02T00:10:25.040Z] 00:10:25     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Should have the correct permission state. - 
[task 2024-05-02T00:10:29.763Z] 00:10:29     INFO - Leaving test bound testSiteDataClearing
[task 2024-05-02T00:10:29.764Z] 00:10:29     INFO - Entering test bound testCacheClearing
[task 2024-05-02T00:10:29.861Z] 00:10:29     INFO - Console message: [JavaScript Warning: "The meta tag declaring the character encoding of the document should be moved to start of the head part of the document." {file: "https://example.org/browser/browser/components/preferences/tests/siteData//offline/offline.html" line: 4}]
[task 2024-05-02T00:10:30.846Z] 00:10:30     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Found the service worker registered for https://example.org/browser/browser/components/preferences/tests/siteData//service_worker_test.html - 
[task 2024-05-02T00:10:31.263Z] 00:10:31     INFO - GECKO(1036) | console.error: "Failed to open Windows registry" ({})
[task 2024-05-02T00:10:31.404Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The cache usage should not be 0 - 36864 > 0 - 
[task 2024-05-02T00:10:31.405Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The quota usage should not be 0 - 49152 > 0 - 
[task 2024-05-02T00:10:31.406Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The total usage should not be 0 - 176933 > 0 - 
[task 2024-05-02T00:10:31.589Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Check the proper URL is loaded - 
[task 2024-05-02T00:10:31.593Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Element should not be null, when checking visibility - 
[task 2024-05-02T00:10:31.594Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Overlay is visible - 
[task 2024-05-02T00:10:31.597Z] 00:10:31     INFO - found chrome://browser/skin/preferences/preferences.css
[task 2024-05-02T00:10:31.599Z] 00:10:31     INFO - found chrome://global/skin/in-content/common.css
[task 2024-05-02T00:10:31.599Z] 00:10:31     INFO - found chrome://browser/skin/preferences/dialog.css
[task 2024-05-02T00:10:31.600Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | All expectedStyleSheetURLs should have been found - 
[task 2024-05-02T00:10:31.642Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The quota usage should not be 0 - 49152 > 0 - 
[task 2024-05-02T00:10:31.643Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The total usage should not be 0 - 176933 > 0 - 
[task 2024-05-02T00:10:31.755Z] 00:10:31     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Should have the correct permission state. - 
[task 2024-05-02T00:10:31.920Z] 00:10:31     INFO - Leaving test bound testCacheClearing
[task 2024-05-02T00:10:31.920Z] 00:10:31     INFO - Entering test bound testSiteDataAndCacheClearing
[task 2024-05-02T00:10:32.082Z] 00:10:32     INFO - Console message: [JavaScript Warning: "The meta tag declaring the character encoding of the document should be moved to start of the head part of the document." {file: "https://example.org/browser/browser/components/preferences/tests/siteData//offline/offline.html" line: 4}]
[task 2024-05-02T00:10:33.130Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Found the service worker registered for https://example.org/browser/browser/components/preferences/tests/siteData//service_worker_test.html - 
[task 2024-05-02T00:10:33.550Z] 00:10:33     INFO - GECKO(1036) | console.error: "Failed to open Windows registry" ({})
[task 2024-05-02T00:10:33.676Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The cache usage should not be 0 - 36864 > 0 - 
[task 2024-05-02T00:10:33.677Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The quota usage should not be 0 - 49152 > 0 - 
[task 2024-05-02T00:10:33.680Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | The total usage should not be 0 - 176933 > 0 - 
[task 2024-05-02T00:10:33.827Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Check the proper URL is loaded - 
[task 2024-05-02T00:10:33.828Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Element should not be null, when checking visibility - 
[task 2024-05-02T00:10:33.829Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Overlay is visible - 
[task 2024-05-02T00:10:33.830Z] 00:10:33     INFO - found chrome://browser/skin/preferences/preferences.css
[task 2024-05-02T00:10:33.831Z] 00:10:33     INFO - found chrome://global/skin/in-content/common.css
[task 2024-05-02T00:10:33.832Z] 00:10:33     INFO - found chrome://browser/skin/preferences/dialog.css
[task 2024-05-02T00:10:33.832Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | All expectedStyleSheetURLs should have been found - 
[task 2024-05-02T00:10:33.993Z] 00:10:33     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Cleared all service workers - 
[task 2024-05-02T00:10:34.100Z] 00:10:34     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Should have the correct permission state. - 
[task 2024-05-02T00:10:34.149Z] 00:10:34     INFO - Leaving test bound testSiteDataAndCacheClearing
[task 2024-05-02T00:10:34.149Z] 00:10:34     INFO - Entering test bound testPersistentStorage
[task 2024-05-02T00:10:34.547Z] 00:10:34     INFO - GECKO(1036) | console.error: "Failed to open Windows registry" ({})
[task 2024-05-02T00:10:34.723Z] 00:10:34     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "about:blank" line: 0}]
[task 2024-05-02T00:10:34.724Z] 00:10:34     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "about:blank" line: 0}]
[task 2024-05-02T00:10:34.810Z] 00:10:34     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Check the proper URL is loaded - 
[task 2024-05-02T00:10:34.811Z] 00:10:34     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Element should not be null, when checking visibility - 
[task 2024-05-02T00:10:34.812Z] 00:10:34     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Overlay is visible - 
[task 2024-05-02T00:10:34.813Z] 00:10:34     INFO - found chrome://browser/skin/preferences/preferences.css
[task 2024-05-02T00:10:34.813Z] 00:10:34     INFO - found chrome://global/skin/in-content/common.css
[task 2024-05-02T00:10:34.814Z] 00:10:34     INFO - found chrome://browser/skin/preferences/dialog.css
[task 2024-05-02T00:10:34.814Z] 00:10:34     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | All expectedStyleSheetURLs should have been found - 
[task 2024-05-02T00:10:34.879Z] 00:10:34     INFO - TEST-PASS | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Should have the correct permission state. - 
[task 2024-05-02T00:10:34.897Z] 00:10:34     INFO - Leaving test bound testPersistentStorage
[task 2024-05-02T00:10:35.265Z] 00:10:35     INFO - GECKO(1036) | MEMORY STAT | vsize 2120709MB | vsizeMaxContiguous 65102059MB | residentFast 333MB | heapAllocated 159MB
[task 2024-05-02T00:10:35.266Z] 00:10:35     INFO - TEST-OK | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | took 35430ms
[task 2024-05-02T00:10:35.267Z] 00:10:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-02T00:10:35.268Z] 00:10:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/siteData/browser_clearSiteData_v2.js | Found an unexpected tab at the end of test run: https://example.org/browser/browser/components/preferences/tests/siteData//service_worker_test.html - 
[task 2024-05-02T00:10:35.290Z] 00:10:35     INFO - checking window state
[task 2024-05-02T00:10:35.303Z] 00:10:35     INFO - TEST-START | browser/components/preferences/tests/siteData/browser_siteData.js
```