Bug: Intermittent browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception in test - at resource://gre/modules/PlacesUtils.jsm:801 - Error: PageInfo: Invalid value for property 'visits': [{"date":"2022-05-10T08:10:31.888Z"}]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-05-10 09:00:14+00:00
Resolved: 2022-06-07 17:04:13+00:00

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

---
```
[task 2022-05-10T08:10:32.008Z] 08:10:32     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | check urlbar panel is not open - true == true - 
[task 2022-05-10T08:10:32.009Z] 08:10:32     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | check urlbar panel is not open - true == true - 
[task 2022-05-10T08:10:32.009Z] 08:10:32     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | check urlbar panel is not open - true == true - 
[task 2022-05-10T08:10:32.010Z] 08:10:32     INFO - Buffered messages logged at 08:10:31
[task 2022-05-10T08:10:32.011Z] 08:10:32     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | check urlbar panel is not open - true == true - 
[task 2022-05-10T08:10:32.011Z] 08:10:32     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | check urlbar panel is not open - true == true - 
[task 2022-05-10T08:10:32.012Z] 08:10:32     INFO - Leaving test bound topSitesDisabled
[task 2022-05-10T08:10:32.013Z] 08:10:32     INFO - Entering test bound topSitesNumber
[task 2022-05-10T08:10:32.013Z] 08:10:32     INFO - Buffered messages finished
[task 2022-05-10T08:10:32.015Z] 08:10:32     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception in test - at resource://gre/modules/PlacesUtils.jsm:801 - Error: PageInfo: Invalid value for property 'visits': [{"date":"2022-05-10T08:10:31.888Z"}]
[task 2022-05-10T08:10:32.015Z] 08:10:32     INFO - Stack trace:
[task 2022-05-10T08:10:32.015Z] 08:10:32     INFO - validateItemProperties@resource://gre/modules/PlacesUtils.jsm:801:19
[task 2022-05-10T08:10:32.015Z] 08:10:32     INFO - validatePageInfo@resource://gre/modules/PlacesUtils.jsm:1209:17
[task 2022-05-10T08:10:32.015Z] 08:10:32     INFO - insertMany@resource://gre/modules/History.jsm:354:30
[task 2022-05-10T08:10:32.015Z] 08:10:32     INFO - addVisits@resource://testing-common/PlacesTestUtils.jsm:109:31
[task 2022-05-10T08:10:32.016Z] 08:10:32     INFO - topSitesNumber@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:422:27
[task 2022-05-10T08:10:32.016Z] 08:10:32     INFO - handleTask@chrome://mochikit/content/browser-test.js:989:26
[task 2022-05-10T08:10:32.016Z] 08:10:32     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1061:18
[task 2022-05-10T08:10:32.016Z] 08:10:32     INFO - Leaving test bound topSitesNumber
[task 2022-05-10T08:10:32.017Z] 08:10:32     INFO - GECKO(752) | MEMORY STAT | vsize 1481MB | vsizeMaxContiguous 124MB | residentFast 566MB | heapAllocated 394MB
[task 2022-05-10T08:10:32.018Z] 08:10:32     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_top_sites.js | took 4139ms
[task 2022-05-10T08:10:32.018Z] 08:10:32     INFO - checking window state
[task 2022-05-10T08:10:32.019Z] 08:10:32     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_top_sites_private.js
```