Bug: Intermittent browser/components/urlbar/tests/browser/browser_selectStaleResults.js | Uncaught exception - at resource://gre/modules/PlacesUtils.jsm:788 - Error: PageInfo: Invalid value for property 'visits': [{"date":"2021-03-04T23:10:34.677Z"}]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-03-05 01:47:47+00:00
Resolved: 2021-03-30 17:05:17+00:00

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

---
```
[task 2021-03-04T23:10:34.374Z] 23:10:34     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_selectStaleResults.js
[task 2021-03-04T23:10:34.672Z] 23:10:34     INFO - TEST-INFO | started process screenshot
[task 2021-03-04T23:10:34.728Z] 23:10:34     INFO - TEST-INFO | screenshot: exit 0
[task 2021-03-04T23:10:34.728Z] 23:10:34     INFO - Buffered messages logged at 23:10:34
[task 2021-03-04T23:10:34.728Z] 23:10:34     INFO - Entering test bound init
[task 2021-03-04T23:10:34.728Z] 23:10:34     INFO - Leaving test bound init
[task 2021-03-04T23:10:34.728Z] 23:10:34     INFO - Entering test bound viewContainsStaleRows
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - Buffered messages finished
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | Uncaught exception - at resource://gre/modules/PlacesUtils.jsm:788 - Error: PageInfo: Invalid value for property 'visits': [{"date":"2021-03-04T23:10:34.677Z"}]
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - Stack trace:
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - validateItemProperties@resource://gre/modules/PlacesUtils.jsm:788:19
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - validatePageInfo@resource://gre/modules/PlacesUtils.jsm:1195:17
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - insertMany@resource://gre/modules/History.jsm:330:30
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - addVisits@resource://testing-common/PlacesTestUtils.jsm:108:31
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - viewContainsStaleRows@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_selectStaleResults.js:35:27
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - Leaving test bound viewContainsStaleRows
[task 2021-03-04T23:10:34.729Z] 23:10:34     INFO - Entering test bound staleReplacedWithFresh
[task 2021-03-04T23:10:35.829Z] 23:10:35     INFO - Awaiting for the urlbar panel to open
[task 2021-03-04T23:10:38.908Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 10 == 10 - 
[task 2021-03-04T23:10:38.911Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | true == true - 
[task 2021-03-04T23:10:38.912Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | {"engine":"searchSuggestionEngineSlow.xml","keyword":"undefined","query":"tes","suggestion":"tesfoo","inPrivateWindow":"undefined","isPrivateEngine":"undefined"} == true - 
[task 2021-03-04T23:10:38.912Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "tesfoo" == "tesfoo" - 
[task 2021-03-04T23:10:38.913Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | {"engine":"searchSuggestionEngineSlow.xml","keyword":"undefined","query":"tes","suggestion":"tesbar","inPrivateWindow":"undefined","isPrivateEngine":"undefined"} == true - 
[task 2021-03-04T23:10:38.913Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "tesbar" == "tesbar" - 
[task 2021-03-04T23:10:38.913Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:38.914Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test9" == "test9" - 
[task 2021-03-04T23:10:38.914Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:38.914Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test8" == "test8" - 
[task 2021-03-04T23:10:38.917Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:38.917Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test7" == "test7" - 
[task 2021-03-04T23:10:38.917Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:38.917Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test6" == "test6" - 
[task 2021-03-04T23:10:38.919Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:38.919Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test5" == "test5" - 
[task 2021-03-04T23:10:38.919Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:38.919Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test4" == "test4" - 
[task 2021-03-04T23:10:38.919Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:38.919Z] 23:10:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test3" == "test3" - 
[task 2021-03-04T23:10:38.922Z] 23:10:38     INFO - Waiting for the 'test2' row... 
[task 2021-03-04T23:10:39.957Z] 23:10:39     INFO - Waiting for the search to stop... 
[task 2021-03-04T23:10:39.957Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 10 == 10 - 
[task 2021-03-04T23:10:39.957Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | true == true - 
[task 2021-03-04T23:10:39.958Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 0 == 0 - 
[task 2021-03-04T23:10:39.959Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.959Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test9" == "test9" - 
[task 2021-03-04T23:10:39.960Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 1 == 1 - 
[task 2021-03-04T23:10:39.960Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.963Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test8" == "test8" - 
[task 2021-03-04T23:10:39.963Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 2 == 2 - 
[task 2021-03-04T23:10:39.963Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.963Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test7" == "test7" - 
[task 2021-03-04T23:10:39.965Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.965Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.966Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test6" == "test6" - 
[task 2021-03-04T23:10:39.966Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 4 == 4 - 
[task 2021-03-04T23:10:39.967Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.967Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test5" == "test5" - 
[task 2021-03-04T23:10:39.967Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 5 == 5 - 
[task 2021-03-04T23:10:39.968Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.968Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test4" == "test4" - 
[task 2021-03-04T23:10:39.968Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 6 == 6 - 
[task 2021-03-04T23:10:39.969Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.969Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test3" == "test3" - 
[task 2021-03-04T23:10:39.969Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 7 == 7 - 
[task 2021-03-04T23:10:39.970Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.970Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test2" == "test2" - 
[task 2021-03-04T23:10:39.970Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 8 == 8 - 
[task 2021-03-04T23:10:39.971Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.971Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | "test1" == "test1" - 
[task 2021-03-04T23:10:39.971Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 9 == 9 - 
[task 2021-03-04T23:10:39.971Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 1 == 1 - 
[task 2021-03-04T23:10:39.971Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 2 == 2 - 
[task 2021-03-04T23:10:39.972Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:39.972Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 4 == 4 - 
[task 2021-03-04T23:10:39.972Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 5 == 5 - 
[task 2021-03-04T23:10:39.975Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 6 == 6 - 
[task 2021-03-04T23:10:39.975Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 7 == 7 - 
[task 2021-03-04T23:10:39.978Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 8 == 8 - 
[task 2021-03-04T23:10:39.985Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 9 == 9 - 
[task 2021-03-04T23:10:39.985Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | -1 == -1 - 
[task 2021-03-04T23:10:39.985Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 0 == 0 - 
[task 2021-03-04T23:10:39.988Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 9 == 9 - 
[task 2021-03-04T23:10:39.991Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 8 == 8 - 
[task 2021-03-04T23:10:39.991Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 7 == 7 - 
[task 2021-03-04T23:10:39.994Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 6 == 6 - 
[task 2021-03-04T23:10:39.995Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 5 == 5 - 
[task 2021-03-04T23:10:39.998Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 4 == 4 - 
[task 2021-03-04T23:10:39.999Z] 23:10:39     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 3 == 3 - 
[task 2021-03-04T23:10:40.006Z] 23:10:40     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 2 == 2 - 
[task 2021-03-04T23:10:40.006Z] 23:10:40     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 1 == 1 - 
[task 2021-03-04T23:10:40.006Z] 23:10:40     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | 0 == 0 - 
[task 2021-03-04T23:10:40.129Z] 23:10:40     INFO - Leaving test bound staleReplacedWithFresh
[task 2021-03-04T23:10:40.156Z] 23:10:40     INFO - GECKO(5076) | MEMORY STAT | vsize 1048MB | vsizeMaxContiguous 420MB | residentFast 395MB | heapAllocated 171MB
[task 2021-03-04T23:10:40.156Z] 23:10:40     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_selectStaleResults.js | took 5755ms
[task 2021-03-04T23:10:40.175Z] 23:10:40     INFO - checking window state
[task 2021-03-04T23:10:40.190Z] 23:10:40     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_selectionKeyNavigation.js```