Bug: Intermittent browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - Got 7, expected 8
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-12 07:21:54+00:00
Resolved: 2021-11-09 17:02:23+00:00

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

---
```
[task 2021-08-12T06:29:18.425Z] 06:29:18     INFO - TEST-START | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js
[task 2021-08-12T06:29:19.437Z] 06:29:19     INFO - TEST-INFO | started process screencapture
[task 2021-08-12T06:29:19.552Z] 06:29:19     INFO - TEST-INFO | screencapture: exit 0
[task 2021-08-12T06:29:19.552Z] 06:29:19     INFO - Buffered messages logged at 06:29:18
[task 2021-08-12T06:29:19.552Z] 06:29:19     INFO - Entering test bound test_closedObjectsChangedNotifications
[task 2021-08-12T06:29:19.553Z] 06:29:19     INFO - Opening and closing initial window.
[task 2021-08-12T06:29:19.553Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.553Z] 06:29:19     INFO - Undoing close of initial window.
[task 2021-08-12T06:29:19.553Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.553Z] 06:29:19     INFO - Buffered messages logged at 06:29:19
[task 2021-08-12T06:29:19.553Z] 06:29:19     INFO - Closing both windows.
[task 2021-08-12T06:29:19.553Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.555Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.555Z] 06:29:19     INFO - Changing the browser.sessionstore.max_windows_undo pref.
[task 2021-08-12T06:29:19.555Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.555Z] 06:29:19     INFO - Forgetting a closed window.
[task 2021-08-12T06:29:19.555Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.555Z] 06:29:19     INFO - Opening and closing another window.
[task 2021-08-12T06:29:19.556Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.556Z] 06:29:19     INFO - Setting browser state to trigger change onIdleDaily.
[task 2021-08-12T06:29:19.556Z] 06:29:19     INFO - running 
[task 2021-08-12T06:29:19.556Z] 06:29:19     INFO - Buffered messages finished
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - Got 7, expected 8
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - Stack trace:
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - chrome://mochikit/content/browser-test.js:test_is:1371
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js:assertNotificationCount:36
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js:test_closedObjectsChangedNotifications:104
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - Sending idle-daily
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - Got 8, expected 9
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - Stack trace:
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - chrome://mochikit/content/browser-test.js:test_is:1371
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js:assertNotificationCount:36
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js:test_closedObjectsChangedNotifications:110
[task 2021-08-12T06:29:19.557Z] 06:29:19     INFO - Opening and closing another window.
[task 2021-08-12T06:29:19.761Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.761Z] 06:29:19     INFO - Purging session history.
[task 2021-08-12T06:29:19.763Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.764Z] 06:29:19     INFO - Setting window state.
[task 2021-08-12T06:29:19.933Z] 06:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | The expected number of notifications was received. - 
[task 2021-08-12T06:29:19.972Z] 06:29:19     INFO - Leaving test bound test_closedObjectsChangedNotifications
[task 2021-08-12T06:29:19.976Z] 06:29:19     INFO - GECKO(2489) | MEMORY STAT | vsize 403359MB | residentFast 666MB | heapAllocated 290MB
[task 2021-08-12T06:29:19.976Z] 06:29:19     INFO - TEST-OK | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js | took 1551ms
[task 2021-08-12T06:29:19.980Z] 06:29:19     INFO - checking window state
```