Bug: Intermittent browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should not have recorded any interactions. - 1 == 0 - JS frame :: chrome://places/tests/browser/interactions/browser_interactions_view_time.js
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-06-02 17:12:33+00:00
Resolved: 2021-06-14 06:01:29+00:00

**Filed by:** cbrindusan [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=341551631&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WtzzeXVkQQiIeKXcyx2aEQ/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WtzzeXVkQQiIeKXcyx2aEQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2021-06-02T16:11:56.114Z] 16:11:56     INFO - TEST-START | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js
[task 2021-06-02T16:11:56.114Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-02T16:11:56.115Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-02T16:11:56.254Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/"})
[task 2021-06-02T16:11:56.480Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "End of interaction"
[task 2021-06-02T16:11:56.541Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/browser"})
[task 2021-06-02T16:11:56.582Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "End of interaction"
[task 2021-06-02T16:11:56.607Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-02T16:11:56.608Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-02T16:11:56.638Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-02T16:11:56.638Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-02T16:11:56.806Z] 16:11:56     INFO - GECKO(1347) | [Parent 1347, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc:19
[task 2021-06-02T16:11:56.853Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/"})
[task 2021-06-02T16:11:56.948Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-02T16:11:56.978Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "End of interaction"
[task 2021-06-02T16:11:56.978Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-02T16:11:56.999Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-02T16:11:56.999Z] 16:11:56     INFO - GECKO(1347) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-02T16:11:57.144Z] 16:11:57     INFO - GECKO(1347) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/"})
[task 2021-06-02T16:11:57.410Z] 16:11:57     INFO - GECKO(1347) | console.debug: InteractionsManager: "New interaction" ({isActive:false, url:"https://example.com/browser"})
[task 2021-06-02T16:11:57.410Z] 16:11:57     INFO - GECKO(1347) | console.debug: InteractionsManager: "End of interaction"
[task 2021-06-02T16:11:57.413Z] 16:11:57     INFO - TEST-INFO | started process screencapture
[task 2021-06-02T16:11:57.524Z] 16:11:57     INFO - TEST-INFO | screencapture: exit 0
[task 2021-06-02T16:11:57.524Z] 16:11:57     INFO - Buffered messages logged at 16:11:56
[task 2021-06-02T16:11:57.524Z] 16:11:57     INFO - Entering test bound setup
[task 2021-06-02T16:11:57.525Z] 16:11:57     INFO - Leaving test bound setup
[task 2021-06-02T16:11:57.525Z] 16:11:57     INFO - Entering test bound test_interactions_simple_load_and_navigate_away
[task 2021-06-02T16:11:57.525Z] 16:11:57     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-06-02T16:11:57.525Z] 16:11:57     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have stored the interaction time. - 10034.728495 > 10000 - 
[task 2021-06-02T16:11:57.526Z] 16:11:57     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-06-02T16:11:57.526Z] 16:11:57     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have stored the interaction time. - 10034.728495 > 10000 - 
[task 2021-06-02T16:11:57.526Z] 16:11:57     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/browser" == "https://example.com/browser" - 
[task 2021-06-02T16:11:57.529Z] 16:11:57     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have stored the interaction time. - 20014.214147 > 20000 - 
[task 2021-06-02T16:11:57.529Z] 16:11:57     INFO - Leaving test bound test_interactions_simple_load_and_navigate_away
[task 2021-06-02T16:11:57.529Z] 16:11:57     INFO - Entering test bound test_interactions_close_tab
[task 2021-06-02T16:11:57.529Z] 16:11:57     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-06-02T16:11:57.530Z] 16:11:57     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should have stored the interaction time. - 20004.479924 > 20000 - 
[task 2021-06-02T16:11:57.530Z] 16:11:57     INFO - Leaving test bound test_interactions_close_tab
[task 2021-06-02T16:11:57.530Z] 16:11:57     INFO - Entering test bound test_interactions_background_tab
[task 2021-06-02T16:11:57.530Z] 16:11:57     INFO - Buffered messages finished
[task 2021-06-02T16:11:57.531Z] 16:11:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | Should not have recorded any interactions. - 1 == 0 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/browser_interactions_view_time.js :: test_interactions_background_tab :: line 116
```