Bug: Intermittent browser/components/places/tests/browser/interactions/browser_interactions_typing_dom_history.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-11-19 11:57:00+00:00
Resolved: 2022-12-13 17:02:22+00:00

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

---
```
[task 2022-11-19T11:44:52.087Z] 11:44:52     INFO - TEST-START | browser/components/places/tests/browser/interactions/browser_interactions_typing_dom_history.js
[task 2022-11-19T11:44:52.088Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Database reset"
[task 2022-11-19T11:44:52.095Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Database reset"
[task 2022-11-19T11:44:52.104Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Tab switched"
[task 2022-11-19T11:44:52.104Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-11-19T11:44:52.151Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Tracking a new interaction" ({isActive:true, url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", referrer:(void 0)})
[task 2022-11-19T11:44:52.569Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2022-11-19T11:44:52.572Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Tracking a new interaction" ({isActive:true, url:"https://example.com/browser", referrer:(void 0)})
[task 2022-11-19T11:44:52.577Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Add to store: " ({url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", referrer:(void 0), totalViewTime:410.5902999999962, typingTime:12, keypresses:44, scrollingTime:14, scrollingDistance:120, created_at:1668858292160, updated_at:1668858292576})
[task 2022-11-19T11:44:52.579Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Preparing interaction for storage" ({url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", referrer:(void 0), totalViewTime:410.5902999999962, typingTime:12, keypresses:44, scrollingTime:14, scrollingDistance:120, created_at:1668858292160, updated_at:1668858292576})
[task 2022-11-19T11:44:52.706Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2022-11-19T11:44:52.723Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Add to store: " ({url:"https://example.com/browser", referrer:(void 0), totalViewTime:142.37569999999687, typingTime:11, keypresses:44, scrollingTime:29, scrollingDistance:240, created_at:1668858292571, updated_at:1668858292721})
[task 2022-11-19T11:44:52.724Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Preparing interaction for storage" ({url:"https://example.com/browser", referrer:(void 0), totalViewTime:142.37569999999687, typingTime:11, keypresses:44, scrollingTime:29, scrollingDistance:240, created_at:1668858292571, updated_at:1668858292721})
[task 2022-11-19T11:44:52.729Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2022-11-19T11:44:52.730Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-11-19T11:44:52.730Z] 11:44:52     INFO - GECKO(7500) | console.debug: InteractionsManager: "Storing 2 entries in the database"
[task 2022-11-19T11:45:37.096Z] 11:45:37     INFO - TEST-INFO | started process screenshot
[task 2022-11-19T11:45:37.175Z] 11:45:37     INFO - TEST-INFO | screenshot: exit 0
[task 2022-11-19T11:45:37.176Z] 11:45:37     INFO - Buffered messages logged at 11:44:52
[task 2022-11-19T11:45:37.177Z] 11:45:37     INFO - Entering setup bound global_setup
[task 2022-11-19T11:45:37.178Z] 11:45:37     INFO - Leaving setup bound global_setup
[task 2022-11-19T11:45:37.178Z] 11:45:37     INFO - Entering test bound test_typing_pushState
[task 2022-11-19T11:45:37.179Z] 11:45:37     INFO - Buffered messages finished
[task 2022-11-19T11:45:37.179Z] 11:45:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_typing_dom_history.js | Test timed out - 
[task 2022-11-19T11:45:37.179Z] 11:45:37     INFO - GECKO(7500) | console.debug: InteractionsManager: "Database reset"
[task 2022-11-19T11:45:37.180Z] 11:45:37     INFO - GECKO(7500) | console.debug: InteractionsManager: "User went idle"
[task 2022-11-19T11:45:37.180Z] 11:45:37     INFO - GECKO(7500) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-11-19T11:45:44.751Z] 11:45:44     INFO - GECKO(7500) | console.debug: SnapshotsManager: "Testing 2 potential snapshots: https://example.com/browser/browser/components/places/tests/browser/keyword_form.html,https://example.com/browser"
[task 2022-11-19T11:45:44.763Z] 11:45:44     INFO - Found 0 interactions:
[task 2022-11-19T11:45:44.763Z] 11:45:44     INFO -  []
[task 2022-11-19T11:45:44.763Z] 11:45:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-11-19T11:45:44.765Z] 11:45:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_typing_dom_history.js | Found the expected number of entries - 0 == 2 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js :: assertDatabaseValues :: line 75
[task 2022-11-19T11:45:44.765Z] 11:45:44     INFO - Stack trace:
[task 2022-11-19T11:45:44.765Z] 11:45:44     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js:assertDatabaseValues:75
[task 2022-11-19T11:45:44.765Z] 11:45:44     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:ensureDOMPromiseRejectionsProcessed:115
[task 2022-11-19T11:45:44.765Z] 11:45:44     INFO - chrome://mochikit/content/browser-test.js:nextTest:681
[task 2022-11-19T11:45:44.765Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Tab switched"
[task 2022-11-19T11:45:44.766Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Not updating interaction as the user is idle"
[task 2022-11-19T11:45:44.766Z] 11:45:44     INFO - Leaving test bound test_typing_pushState
[task 2022-11-19T11:45:44.767Z] 11:45:44     INFO - Entering test bound test_typing_pushState_sameUrl
[task 2022-11-19T11:45:44.768Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Database reset"
[task 2022-11-19T11:45:44.768Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Tab switched"
[task 2022-11-19T11:45:44.768Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-11-19T11:45:44.769Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Tracking a new interaction" ({isActive:true, url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", referrer:(void 0)})
[task 2022-11-19T11:45:44.769Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2022-11-19T11:45:44.770Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Add to store: " ({url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", referrer:(void 0), totalViewTime:523.4830999999976, typingTime:164, keypresses:88, scrollingTime:42, scrollingDistance:360, created_at:1668858341583, updated_at:1668858342114})
[task 2022-11-19T11:45:44.771Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Preparing interaction for storage" ({url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", referrer:(void 0), totalViewTime:523.4830999999976, typingTime:164, keypresses:88, scrollingTime:42, scrollingDistance:360, created_at:1668858341583, updated_at:1668858342114})
[task 2022-11-19T11:45:44.771Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2022-11-19T11:45:44.772Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-11-19T11:45:44.772Z] 11:45:44     INFO - GECKO(7500) | console.debug: InteractionsManager: "Storing 1 entries in the database"
[task 2022-11-19T11:45:44.773Z] 11:45:44     INFO - GECKO(7500) | console.debug: SnapshotsManager: "Testing 1 potential snapshots: https://example.com/browser/browser/components/places/tests/browser/keyword_form.html"
[task 2022-11-19T11:45:44.774Z] 11:45:44     INFO - Found 1 interactions:
[task 2022-11-19T11:45:44.774Z] 11:45:44     INFO -  [{"url":"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html","referrerUrl":null,"keypresses":88,"typingTime":164,"totalViewTime":523,"scrollingTime":42,"scrollingDistance":360}]
[task 2022-11-19T11:45:44.774Z] 11:45:44     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing_dom_history.js | Found the expected number of entries - 1 == 1 - 
```