Bug: Intermittent browser/base/content/test/general/browser_alltabslistener.js | Got a notification for the all notifications listener - Got onLocationChange, expected onStateChange
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-07-14 10:37:10+00:00
Resolved: 2023-06-28 12:03:12+00:00

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

---

[task 2020-07-14T09:37:44.169Z] 09:37:44     INFO - TEST-START | browser/base/content/test/general/browser_alltabslistener.js
[task 2020-07-14T09:37:44.187Z] 09:37:44     INFO - GECKO(9036) | Waiting for browser load of http://mochi.test:8888/browser/browser/base/content/test/general/dummy_page.html
[task 2020-07-14T09:37:44.187Z] 09:37:44     INFO - GECKO(9036) | Waiting for browser state change of http://mochi.test:8888/browser/browser/base/content/test/general/dummy_page.html
[task 2020-07-14T09:37:44.188Z] 09:37:44     INFO - GECKO(9036) | Waiting for browser load of http://mochi.test:8888/browser/browser/base/content/test/general/dummy_page.html
[task 2020-07-14T09:37:44.188Z] 09:37:44     INFO - GECKO(9036) | Waiting for browser state change of http://mochi.test:8888/browser/browser/base/content/test/general/dummy_page.html
[task 2020-07-14T09:37:44.210Z] 09:37:44     INFO - GECKO(9036) | [Parent 9824, Gecko_IOThread] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc, line 166
[task 2020-07-14T09:37:44.231Z] 09:37:44     INFO - GECKO(9036) | Saw state c0010 and status 804b0002
[task 2020-07-14T09:37:44.233Z] 09:37:44     INFO - GECKO(9036) | Saw state f0001 and status 0
[task 2020-07-14T09:37:44.252Z] 09:37:44     INFO - GECKO(9036) | Saw state c0010 and status 804b0002
[task 2020-07-14T09:37:44.252Z] 09:37:44     INFO - GECKO(9036) | Saw state f0001 and status 0
[task 2020-07-14T09:37:44.413Z] 09:37:44     INFO - GECKO(9036) | Saw state c0010 and status 0
[task 2020-07-14T09:37:44.413Z] 09:37:44     INFO - GECKO(9036) | Browser got expected state change http://mochi.test:8888/browser/browser/base/content/test/general/dummy_page.html
[task 2020-07-14T09:37:44.424Z] 09:37:44     INFO - GECKO(9036) | Saw state c0010 and status 0
[task 2020-07-14T09:37:44.425Z] 09:37:44     INFO - GECKO(9036) | Browser got expected state change http://mochi.test:8888/browser/browser/base/content/test/general/dummy_page.html
[task 2020-07-14T09:37:44.895Z] 09:37:44     INFO - TEST-INFO | started process screenshot
[task 2020-07-14T09:37:44.974Z] 09:37:44     INFO - TEST-INFO | screenshot: exit 0
[task 2020-07-14T09:37:44.974Z] 09:37:44     INFO - Buffered messages logged at 09:37:44
[task 2020-07-14T09:37:44.974Z] 09:37:44     INFO - 
[task 2020-07-14T09:37:44.974Z] 09:37:44     INFO - Test 1
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - FrontProgress (http://example.org/browser/browser/base/content/test/general/alltabslistener.html): onStateChange 0xf0001
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Got an expected notification for the front notifications listener - 0 < 5 - 
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Got a notification for the front notifications listener - 
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - AllProgress (http://example.org/browser/browser/base/content/test/general/alltabslistener.html): onStateChange 0xf0001
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | onStateChange notification came from the correct browser - 
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Got an expected notification for the all notifications listener - 0 < 4 - 
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Got a notification for the all notifications listener - 
[task 2020-07-14T09:37:44.975Z] 09:37:44     INFO - FrontProgress (null): onSecurityChange 0x4

[task 2020-07-14T09:37:44.983Z] 09:37:44     INFO - Test 3
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - AllProgress: onLocationChange http://example.org/browser/browser/base/content/test/general/alltabslistener.html
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | onLocationChange notification came from the correct browser - 
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Got an expected notification for the all notifications listener - 0 < 4 - 
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - Buffered messages finished
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_alltabslistener.js | Got a notification for the all notifications listener - Got onLocationChange, expected onStateChange
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - Stack trace:
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_alltabslistener.js:onLocationChange:141
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:callListeners:818
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:838
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:5810
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:onLocationChange:6228
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - AllProgress (null): onSecurityChange 0x4
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | onSecurityChange notification came from the correct browser - 
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Got an expected notification for the all notifications listener - 1 < 4 - 
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_alltabslistener.js | Got a notification for the all notifications listener - Got onSecurityChange, expected onLocationChange
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - Stack trace:
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_alltabslistener.js:onSecurityChange:166
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:callListeners:818
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:838
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:5810
[task 2020-07-14T09:37:44.984Z] 09:37:44     INFO - chrome://browser/content/tabbrowser.js:onSecurityChange:6268
[task 2020-07-14T09:37:45.145Z] 09:37:45     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.org/browser/browser/base/content/test/general/alltabslistener.html" line: 0}]
[task 2020-07-14T09:37:45.154Z] 09:37:45     INFO - AllProgress (http://example.org/browser/browser/base/content/test/general/alltabslistener.html): onStateChange 0xc0010
[task 2020-07-14T09:37:45.154Z] 09:37:45     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | onStateChange notification came from the correct browser - 
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Got an expected notification for the all notifications listener - 2 < 4 - 
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_alltabslistener.js | Got a notification for the all notifications listener - Got onStateChange, expected onSecurityChange
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - Stack trace:
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_alltabslistener.js:onStateChange:102
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:callListeners:818
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:838
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:5810
[task 2020-07-14T09:37:45.155Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:onStateChange:6088
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_alltabslistener.js | Saw the expected number of notifications - Got 3, expected 4
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - Stack trace:
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_alltabslistener.js:onStateChange:110
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:callListeners:818
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:838
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:_callProgressListeners:5810
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - chrome://browser/content/tabbrowser.js:onStateChange:6088
[task 2020-07-14T09:37:45.156Z] 09:37:45     INFO - TEST-PASS | browser/base/content/test/general/browser_alltabslistener.js | Saw the expected number of frontnotifications -