Bug: Intermittent TEST-UNEXPECTED-TIMEOUT | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | application timed out after 370 seconds with no output
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-10-19 22:56:55+00:00
Resolved: 2022-01-25 17:02:51+00:00

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

---
```
[task 2021-10-19T21:45:33.145Z] 21:45:33     INFO - TEST-START | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js
[task 2021-10-19T21:45:33.152Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Database reset"
[task 2021-10-19T21:45:33.178Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Tab switched"
[task 2021-10-19T21:45:33.178Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-10-19T21:45:33.194Z] 21:45:33     INFO - GECKO(16417) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-19T21:45:33.194Z] 21:45:33     INFO - GECKO(16417) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-19T21:45:33.351Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Tracking a new interaction" ({isActive:true, url:"https://example.com/", referrer:(void 0)})
[task 2021-10-19T21:45:33.542Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2021-10-19T21:45:33.555Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Add to store: " ({url:"https://example.com/", referrer:(void 0), totalViewTime:10068.93318, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1634679933350, updated_at:1634679933553})
[task 2021-10-19T21:45:33.556Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Preparing interaction for storage" ({url:"https://example.com/", referrer:(void 0), totalViewTime:10068.93318, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1634679933350, updated_at:1634679933553})
[task 2021-10-19T21:45:33.645Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Tracking a new interaction" ({isActive:true, url:"https://example.com/browser", referrer:(void 0)})
[task 2021-10-19T21:45:33.646Z] 21:45:33     INFO - GECKO(16417) | console.debug: InteractionsManager: "Storing 1 entries in the database"
[task 2021-10-19T21:45:33.676Z] 21:45:33     INFO - GECKO(16417) | console.debug: SnapshotsManager: "Testing 1 potential snapshots"
[task 2021-10-19T21:45:33.680Z] 21:45:33     INFO - GECKO(16417) | console.debug: SnapshotsManager: "Inserted 0 snapshots"

[task 2021-10-19T21:46:18.335Z] 21:46:18     INFO -  [{"url":"https://example.com/","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":10373,"scrollingTime":0,"scrollingDistance":0}]
[task 2021-10-19T21:46:18.336Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Found the expected number of entries - 1 == 1 - 
[task 2021-10-19T21:46:18.336Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have saved the page into the database - "https://example.com/" == "https://example.com/" - 
[task 2021-10-19T21:46:18.337Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have stored the interaction time - 10373 >= 10000 - 
[task 2021-10-19T21:46:18.337Z] 21:46:18     INFO - Switch back to original window
[task 2021-10-19T21:46:18.337Z] 21:46:18     INFO - Found 1 interactions:
[task 2021-10-19T21:46:18.338Z] 21:46:18     INFO -  [{"url":"https://example.com/","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":10373,"scrollingTime":0,"scrollingDistance":0}]
[task 2021-10-19T21:46:18.338Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Found the expected number of entries - 1 == 1 - 
[task 2021-10-19T21:46:18.339Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have saved the page into the database - "https://example.com/" == "https://example.com/" - 
[task 2021-10-19T21:46:18.339Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have kept the exact time. - 10373 == 10373 - 
[task 2021-10-19T21:46:18.339Z] 21:46:18     INFO - Switch back to new window
[task 2021-10-19T21:46:18.340Z] 21:46:18     INFO - Buffered messages logged at 21:45:45
[task 2021-10-19T21:46:18.340Z] 21:46:18     INFO - Found 1 interactions:
[task 2021-10-19T21:46:18.340Z] 21:46:18     INFO -  [{"url":"https://example.com/","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":40452,"scrollingTime":0,"scrollingDistance":0}]
[task 2021-10-19T21:46:18.341Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Found the expected number of entries - 1 == 1 - 
[task 2021-10-19T21:46:18.341Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have saved the page into the database - "https://example.com/" == "https://example.com/" - 
[task 2021-10-19T21:46:18.342Z] 21:46:18     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have stored the interaction time - 40452 >= 40373 - 
[task 2021-10-19T21:46:18.342Z] 21:46:18     INFO - Leaving test bound test_interactions_private_browsing
[task 2021-10-19T21:46:18.342Z] 21:46:18     INFO - Entering test bound test_interactions_idle
[task 2021-10-19T21:46:18.343Z] 21:46:18     INFO - Buffered messages finished
[task 2021-10-19T21:46:18.343Z] 21:46:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Test timed out - 
[task 2021-10-19T21:46:18.343Z] 21:46:18     INFO - GECKO(16417) | console.debug: InteractionsManager: "Database reset"
[task 2021-10-19T21:46:18.344Z] 21:46:18     INFO - GECKO(16417) | console.debug: InteractionsManager: "User went idle"
[task 2021-10-19T21:46:18.344Z] 21:46:18     INFO - GECKO(16417) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-10-19T21:51:28.011Z] 21:51:28     INFO - Console message: [JavaScript Warning: "telemetry.state_file_read_errors - Unknown scalar."]
[task 2021-10-19T21:51:28.012Z] 21:51:28     INFO - Console message: [JavaScript Warning: "telemetry.generated_new_client_id - Unknown scalar."]
[task 2021-10-19T21:53:28.012Z] 21:53:28     INFO - GECKO(16417) | 1634680408011	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates
[task 2021-10-19T21:53:28.014Z] 21:53:28     INFO - Console message: [JavaScript Error: "1634680408011	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates" {file: "resource://gre/modules/Log.jsm" line: 723}]
[task 2021-10-19T21:53:28.015Z] 21:53:28     INFO - append@resource://gre/modules/Log.jsm:723:12
[task 2021-10-19T21:53:28.015Z] 21:53:28     INFO - log@resource://gre/modules/Log.jsm:379:16
[task 2021-10-19T21:53:28.015Z] 21:53:28     INFO - error@resource://gre/modules/Log.jsm:387:10
[task 2021-10-19T21:53:28.015Z] 21:53:28     INFO - updateSystemAddons/res<@resource://gre/modules/addons/XPIInstall.jsm:4042:25
[task 2021-10-19T21:53:28.015Z] 21:53:28     INFO - 
[task 2021-10-19T21:59:38.031Z] 21:59:38     INFO - Buffered messages finished
[task 2021-10-19T21:59:38.032Z] 21:59:38    ERROR - TEST-UNEXPECTED-TIMEOUT | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | application timed out after 370 seconds with no output
[task 2021-10-19T21:59:38.032Z] 21:59:38    ERROR - Force-terminating active process(es).
[task 2021-10-19T21:59:38.032Z] 21:59:38     INFO - Determining child pids from psutil...
[task 2021-10-19T21:59:38.043Z] 21:59:38     INFO - [16492, 16495, 16581, 16588, 17654, 17687, 17692, 17742, 17743, 17768]
[task 2021-10-19T21:59:38.044Z] 21:59:38     INFO - ==> process 16417 launched child process 16439
[task 2021-10-19T21:59:38.044Z] 21:59:38     INFO - ==> process 16417 launched child process 16492
[task 2021-10-19T21:59:38.045Z] 21:59:38     INFO - ==> process 16417 launched child process 16495
```