Bug: Intermittent browser/components/places/tests/browser/interactions/browser_interactions_scrolling.js | Found a tab after previous test timed out: https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html -
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-02-14 18:00:20+00:00
Resolved: 2022-02-21 06:12:07+00:00

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

---
```
[task 2022-02-14T16:44:46.935Z] 16:44:46     INFO - TEST-START | browser/components/places/tests/browser/interactions/browser_interactions_scrolling.js
[task 2022-02-14T16:44:46.938Z] 16:44:46     INFO - GECKO(2945) | [Child 2962, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4460
[task 2022-02-14T16:44:46.939Z] 16:44:46     INFO - GECKO(2945) | console.debug: InteractionsManager: "Database reset"
[task 2022-02-14T16:44:46.957Z] 16:44:46     INFO - GECKO(2945) | console.debug: InteractionsManager: "Database reset"
[task 2022-02-14T16:44:46.970Z] 16:44:46     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1127c7800 == 1 [pid = 2963] [id = 0]
[task 2022-02-14T16:44:46.971Z] 16:44:46     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (11199f6a0) [pid = 2963] [serial = 1] [outer = 0]
[task 2022-02-14T16:44:46.972Z] 16:44:46     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1127c8800) [pid = 2963] [serial = 2] [outer = 11199f6a0]
[task 2022-02-14T16:44:46.992Z] 16:44:46     INFO - GECKO(2945) | console.debug: InteractionsManager: "Tab switched"
[task 2022-02-14T16:44:46.992Z] 16:44:46     INFO - GECKO(2945) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-02-14T16:44:47.110Z] 16:44:47     INFO - GECKO(2945) | [Child 2963, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2022-02-14T16:44:47.113Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1127d0c00) [pid = 2963] [serial = 3] [outer = 11199f6a0]
[task 2022-02-14T16:44:47.136Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 118197c00 == 2 [pid = 2963] [id = 1]
[task 2022-02-14T16:44:47.137Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (11199fde0) [pid = 2963] [serial = 4] [outer = 0]
[task 2022-02-14T16:44:47.137Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (118198800) [pid = 2963] [serial = 5] [outer = 11199fde0]
[task 2022-02-14T16:44:47.179Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Tracking a new interaction" ({isActive:true, url:"https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html", referrer:(void 0)})
[task 2022-02-14T16:44:47.352Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 118175000 == 3 [pid = 2963] [id = 2]
[task 2022-02-14T16:44:47.352Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (1181beb70) [pid = 2963] [serial = 6] [outer = 0]
[task 2022-02-14T16:44:47.353Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (118176000) [pid = 2963] [serial = 7] [outer = 1181beb70]
[task 2022-02-14T16:44:47.364Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2022-02-14T16:44:47.376Z] 16:44:47     INFO - GECKO(2945) | [Child 2963: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (11817d000) [pid = 2963] [serial = 8] [outer = 1181beb70]
[task 2022-02-14T16:44:47.379Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Add to store: " ({url:"https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html", referrer:(void 0), totalViewTime:184.35724000000118, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1644857087178, updated_at:1644857087377})
[task 2022-02-14T16:44:47.380Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Preparing interaction for storage" ({url:"https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html", referrer:(void 0), totalViewTime:184.35724000000118, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1644857087178, updated_at:1644857087377})
[task 2022-02-14T16:44:47.442Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Tracking a new interaction" ({isActive:true, url:"https://example.com/browser", referrer:(void 0)})
[task 2022-02-14T16:44:47.444Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Storing 1 entries in the database"
[task 2022-02-14T16:44:47.464Z] 16:44:47     INFO - GECKO(2945) | console.debug: SnapshotsManager: "Testing 1 potential snapshots"
[task 2022-02-14T16:44:47.470Z] 16:44:47     INFO - GECKO(2945) | console.debug: SnapshotsManager: "Inserted 0 snapshots"
[task 2022-02-14T16:44:47.485Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Tab switched"
[task 2022-02-14T16:44:47.503Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Database reset"
[task 2022-02-14T16:44:47.522Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Add to store: " ({url:"https://example.com/browser", referrer:(void 0), totalViewTime:43.51817000000119, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1644857087440, updated_at:1644857087520})
[task 2022-02-14T16:44:47.523Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Preparing interaction for storage" ({url:"https://example.com/browser", referrer:(void 0), totalViewTime:43.51817000000119, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1644857087440, updated_at:1644857087520})
[task 2022-02-14T16:44:47.534Z] 16:44:47     INFO - GECKO(2945) | [Child 2964: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 125007800 == 1 [pid = 2964] [id = 0]
[task 2022-02-14T16:44:47.534Z] 16:44:47     INFO - GECKO(2945) | [Child 2964: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (11a69f6a0) [pid = 2964] [serial = 1] [outer = 0]
[task 2022-02-14T16:44:47.536Z] 16:44:47     INFO - GECKO(2945) | [Child 2964: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (125008800) [pid = 2964] [serial = 2] [outer = 11a69f6a0]
[task 2022-02-14T16:44:47.547Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "Tab switched"
[task 2022-02-14T16:44:47.548Z] 16:44:47     INFO - GECKO(2945) | console.debug: InteractionsManager: "No interaction to update"

[task 2022-02-14T16:45:07.570Z] 16:45:07     INFO - GECKO(2945) | 2022-02-14 16:45:07.569 firefox[2945:61023] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightlydebug.savedState/window_1.data: No such file or directory (2)
[task 2022-02-14T16:46:17.061Z] 16:46:17     INFO - TEST-INFO | started process screencapture
[task 2022-02-14T16:46:17.183Z] 16:46:17     INFO - TEST-INFO | screencapture: exit 0
[task 2022-02-14T16:46:17.184Z] 16:46:17     INFO - Buffered messages logged at 16:44:46
[task 2022-02-14T16:46:17.184Z] 16:46:17     INFO - Entering test bound global_setup
[task 2022-02-14T16:46:17.185Z] 16:46:17     INFO - Leaving test bound global_setup
[task 2022-02-14T16:46:17.185Z] 16:46:17     INFO - Entering test bound test_no_scrolling
[task 2022-02-14T16:46:17.186Z] 16:46:17     INFO - Buffered messages logged at 16:44:47
[task 2022-02-14T16:46:17.186Z] 16:46:17     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/browser" line: 0}]
[task 2022-02-14T16:46:17.187Z] 16:46:17     INFO - Found 1 interactions:
[task 2022-02-14T16:46:17.187Z] 16:46:17     INFO -  [{"url":"https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":184,"scrollingTime":0,"scrollingDistance":0}]
[task 2022-02-14T16:46:17.188Z] 16:46:17     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_scrolling.js | Found the expected number of entries - 1 == 1 - 
[task 2022-02-14T16:46:17.188Z] 16:46:17     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_scrolling.js | Should have saved the page into the database - "https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html" == "https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html" - 
[task 2022-02-14T16:46:17.189Z] 16:46:17     INFO - Leaving test bound test_no_scrolling
[task 2022-02-14T16:46:17.189Z] 16:46:17     INFO - Entering test bound test_arrow_key_down_scroll
[task 2022-02-14T16:46:17.190Z] 16:46:17     INFO - Buffered messages finished
[task 2022-02-14T16:46:17.190Z] 16:46:17     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_scrolling.js | Test timed out - 
[task 2022-02-14T16:46:17.190Z] 16:46:17     INFO - GECKO(2945) | console.debug: InteractionsManager: "Database reset"
[task 2022-02-14T16:46:17.191Z] 16:46:17     INFO - GECKO(2945) | MEMORY STAT | vsize 7968MB | residentFast 362MB | heapAllocated 129MB
[task 2022-02-14T16:46:17.191Z] 16:46:17     INFO - TEST-OK | browser/components/places/tests/browser/interactions/browser_interactions_scrolling.js | took 90134ms
[task 2022-02-14T16:46:17.192Z] 16:46:17     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-14T16:46:17.192Z] 16:46:17     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_scrolling.js | Found a tab after previous test timed out: https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling.html - 
[task 2022-02-14T16:46:17.193Z] 16:46:17     INFO - GECKO(2945) | console.debug: InteractionsManager: "Tab switched"
[task 2022-02-14T16:46:17.194Z] 16:46:17     INFO - GECKO(2945) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-02-14T16:46:17.194Z] 16:46:17     INFO - GECKO(2945) | [Child 2964: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1248bc000 == 1 [pid = 2964] [id = 1] [url = https://example.com/browser/browser/components/places/tests/browser/interactions/scrolling_subframe.html]
[task 2022-02-14T16:46:17.195Z] 16:46:17     INFO - GECKO(2945) | [Child 2946: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 11c110c00 == 1 [pid = 2946] [id = 6]
[task 2022-02-14T16:46:17.196Z] 16:46:17     INFO - GECKO(2945) | [Child 2946: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (11bf9f4d0) [pid = 2946] [serial = 19] [outer = 0]
[task 2022-02-14T16:46:17.196Z] 16:46:17     INFO - GECKO(2945) | [Child 2946: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (11c11e400) [pid = 2946] [serial = 20] [outer = 11bf9f4d0]
[task 2022-02-14T16:46:17.197Z] 16:46:17     INFO - GECKO(2945) | [Parent 2945, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x804B0050 (NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/URLQueryStringStripper.cpp:129
[task 2022-02-14T16:46:17.198Z] 16:46:17     INFO - GECKO(2945) | [Child 2946, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x804B0050 (NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/URLQueryStringStripper.cpp:129
[task 2022-02-14T16:46:17.198Z] 16:46:17     INFO - GECKO(2945) | [Child 2946, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x804B0050 (NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/URLQueryStringStripper.cpp:129
[task 2022-02-14T16:46:17.199Z] 16:46:17     INFO - GECKO(2945) | console.debug: InteractionsManager: "Tab switched"
[task 2022-02-14T16:46:17.199Z] 16:46:17     INFO - GECKO(2945) | console.debug: InteractionsManager: "No interaction to update"
[task 2022-02-14T16:46:17.199Z] 16:46:17     INFO - checking window state
[task 2022-02-14T16:46:17.200Z] 16:46:17     INFO - GECKO(2945) | console.debug: InteractionsManager: "User went idle"
[task 2022-02-14T16:46:17.200Z] 16:46:17     INFO - GECKO(2945) | console.debug: InteractionsManager: "No interaction to update"
```