Bug: Intermittent browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-11-12 18:54:55+00:00
Resolved: 2025-03-03 12:02:17+00:00

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

---
```
[task 2024-11-12T18:22:55.753Z] 18:22:55     INFO - TEST-START | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js
[task 2024-11-12T18:22:56.159Z] 18:22:56     INFO - GECKO(9186) | 1731435776158	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-11-12T18:22:56.706Z] 18:22:56     INFO - GECKO(9186) | 1731435776705	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-11-12T18:22:57.655Z] 18:22:57     INFO - TEST-INFO | started process screentopng
[task 2024-11-12T18:22:58.031Z] 18:22:58     INFO - TEST-INFO | screentopng: exit 0
[task 2024-11-12T18:22:58.032Z] 18:22:58     INFO - Buffered messages logged at 18:22:55
[task 2024-11-12T18:22:58.032Z] 18:22:58     INFO - Entering test bound test_closedObjectsChangedNotifications
[task 2024-11-12T18:22:58.032Z] 18:22:58     INFO - Buffered messages logged at 18:22:56
[task 2024-11-12T18:22:58.032Z] 18:22:58     INFO - Opening and closing a tab.
[task 2024-11-12T18:22:58.032Z] 18:22:58     INFO - Buffered messages logged at 18:22:57
[task 2024-11-12T18:22:58.032Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.032Z] 18:22:58     INFO - Opening and closing a second tab.
[task 2024-11-12T18:22:58.033Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.034Z] 18:22:58     INFO - Changing the browser.sessionstore.max_tabs_undo pref.
[task 2024-11-12T18:22:58.035Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.035Z] 18:22:58     INFO - Undoing close of remaining closed tab.
[task 2024-11-12T18:22:58.036Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.037Z] 18:22:58     INFO - Closing tab again.
[task 2024-11-12T18:22:58.040Z] 18:22:58     INFO - Buffered messages finished
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - Got 4, expected 5
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - Stack trace:
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js:assertNotificationCount:47
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js:test_closedObjectsChangedNotifications:100
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - Purging session history.
[task 2024-11-12T18:22:58.041Z] 18:22:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - Got 5, expected 6
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - Stack trace:
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js:assertNotificationCount:47
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js:test_closedObjectsChangedNotifications:106
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-11-12T18:22:58.049Z] 18:22:58     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-11-12T18:22:58.050Z] 18:22:58     INFO - Opening and closing another tab.
[task 2024-11-12T18:22:58.050Z] 18:22:58     INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure speculative TCP connection “http://example.com/” to use “https”."]
[task 2024-11-12T18:22:58.050Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.050Z] 18:22:58     INFO - Purging domain data with no matches.
[task 2024-11-12T18:22:58.050Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.052Z] 18:22:58     INFO - Purging domain data with matches.
[task 2024-11-12T18:22:58.079Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.079Z] 18:22:58     INFO - Opening and closing another tab.
[task 2024-11-12T18:22:58.117Z] 18:22:58     INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure speculative TCP connection “http://example.com/” to use “https”."]
[task 2024-11-12T18:22:58.455Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.629Z] 18:22:58     INFO - TEST-PASS | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | The expected number of notifications was received. - 
[task 2024-11-12T18:22:58.630Z] 18:22:58     INFO - Leaving test bound test_closedObjectsChangedNotifications
[task 2024-11-12T18:22:58.702Z] 18:22:58     INFO - GECKO(9186) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp_fmdipq8.mozrunner/runtests_leaks_tab_pid10897.log
[task 2024-11-12T18:22:58.703Z] 18:22:58     INFO - GECKO(9186) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp_fmdipq8.mozrunner/runtests_leaks_tab_pid10900.log
[task 2024-11-12T18:22:58.938Z] 18:22:58     INFO - GECKO(9186) | MEMORY STAT | vsize 11823MB | residentFast 604MB | heapAllocated 308MB
[task 2024-11-12T18:22:58.940Z] 18:22:58     INFO - TEST-OK | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_tabs.js | took 3191ms
[task 2024-11-12T18:22:58.957Z] 18:22:58     INFO - checking window state
[task 2024-11-12T18:22:58.967Z] 18:22:58     INFO - TEST-START | browser/components/sessionstore/test/browser_closed_objects_changed_notifications_windows.js
```