Bug: Intermittent browser/components/sessionstore/test/browser_tab_label_during_restore.js | observed tab label changes - Got ["mochitest index /","example.com/"], expected ["mochitest index /"]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-04-20 15:39:24+00:00
Resolved: 2020-05-19 17:08:04+00:00

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

---

[task 2020-04-20T15:08:46.208Z] 15:08:46     INFO - TEST-START | browser/components/sessionstore/test/browser_tab_label_during_restore.js
[task 2020-04-20T15:08:47.656Z] 15:08:47     INFO - TEST-INFO | started process screentopng
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-INFO | screentopng: exit 0
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - Buffered messages logged at 15:08:46
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - Entering test bound 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - setting test browser state
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - running 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | first tab is selected - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | correct URL loaded in first tab - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | content title is a string - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | content title isn't empty - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | content title is different from the URL - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | first tab displays content title - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | title bar displays content title - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | second tab is pending - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | third tab is pending - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | fourth tab is pending - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | fifth tab dislpays empty tab title - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - selecting the second tab
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | second tab isn't pending anymore - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | title bar displays content title - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | observed tab label changes - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - selecting the third tab
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - Buffered messages logged at 15:08:47
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | third tab isn't pending anymore - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | title bar displays content title - 
[task 2020-04-20T15:08:48.154Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | observed tab label changes - 
[task 2020-04-20T15:08:48.155Z] 15:08:48     INFO - selecting the fourth tab
[task 2020-04-20T15:08:48.155Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | fourth tab isn't pending anymore - 
[task 2020-04-20T15:08:48.156Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | title bar doesn't display content title since page doesn't have one - 
[task 2020-04-20T15:08:48.156Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | observed tab label changes - 
[task 2020-04-20T15:08:48.156Z] 15:08:48     INFO - restoring the modified browser state
[task 2020-04-20T15:08:48.157Z] 15:08:48     INFO - Console message: [JavaScript Error: "The character encoding of the plain text 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 file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "data:text/plain,foo" line: 0}]
[task 2020-04-20T15:08:48.157Z] 15:08:48     INFO - running 
[task 2020-04-20T15:08:48.158Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | third tab is selected after restoring - 
[task 2020-04-20T15:08:48.158Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | title bar displays content title - 
[task 2020-04-20T15:08:48.158Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | first tab is pending after restoring - 
[task 2020-04-20T15:08:48.159Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | second tab is pending after restoring - 
[task 2020-04-20T15:08:48.159Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | second tab displays content title - 
[task 2020-04-20T15:08:48.159Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | third tab is not pending after restoring - 
[task 2020-04-20T15:08:48.159Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | third tab displays content title in pending state - 
[task 2020-04-20T15:08:48.160Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | fourth tab is pending after restoring - 
[task 2020-04-20T15:08:48.160Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | fourth tab displays URL - 
[task 2020-04-20T15:08:48.160Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | fifth tab still displays empty tab title - 
[task 2020-04-20T15:08:48.160Z] 15:08:48     INFO - selecting the first tab
[task 2020-04-20T15:08:48.161Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | title bar displays content title - 
[task 2020-04-20T15:08:48.161Z] 15:08:48     INFO - TEST-PASS | browser/components/sessionstore/test/browser_tab_label_during_restore.js | first tab isn't pending anymore - 
[task 2020-04-20T15:08:48.161Z] 15:08:48     INFO - Buffered messages finished
[task 2020-04-20T15:08:48.167Z] 15:08:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_tab_label_during_restore.js | observed tab label changes - Got ["mochitest index /","example.com/"], expected ["mochitest index /"]
[task 2020-04-20T15:08:48.168Z] 15:08:48     INFO - Stack trace:
[task 2020-04-20T15:08:48.169Z] 15:08:48     INFO - chrome://mochikit/content/browser-test.js:test_is:1297
[task 2020-04-20T15:08:48.170Z] 15:08:48     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_tab_label_during_restore.js:observeLabelChanges/<:35
[task 2020-04-20T15:08:48.171Z] 15:08:48     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_tab_label_during_restore.js:null:175
[task 2020-04-20T15:08:48.172Z] 15:08:48     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1039
[task 2020-04-20T15:08:48.173Z] 15:08:48     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1074
[task 2020-04-20T15:08:48.173Z] 15:08:48     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:904
[task 2020-04-20T15:08:48.173Z] 15:08:48     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-20T15:08:48.173Z] 15:08:48     INFO - running 
[task 2020-04-20T15:08:48.173Z] 15:08:48     INFO - Leaving test bound 
[task 2020-04-20T15:08:48.173Z] 15:08:48     INFO - GECKO(12461) | MEMORY STAT | vsize 3418MB | residentFast 467MB | heapAllocated 211MB
[task 2020-04-20T15:08:48.173Z] 15:08:48     INFO - TEST-OK | browser/components/sessionstore/test/browser_tab_label_during_restore.js | took 1647ms