Bug: Intermittent browser/components/sessionstore/test/browser_upgrade_backup.js | expected number of backups are present after removing old backups - Got 6, expected 3
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-01-15 05:13:52+00:00
Resolved: 2020-02-18 17:01:20+00:00

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

---

[task 2020-01-15T04:52:22.673Z] 04:52:22     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup file has been created - 
[task 2020-01-15T04:52:22.674Z] 04:52:22     INFO - Buffered messages finished
[task 2020-01-15T04:52:22.675Z] 04:52:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_upgrade_backup.js | expected number of backups are present after removing old backups - Got 6, expected 3
[task 2020-01-15T04:52:22.675Z] 04:52:22     INFO - Stack trace:
[task 2020-01-15T04:52:22.676Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-01-15T04:52:22.677Z] 04:52:22     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js:test_upgrade_backup_removal:174
[task 2020-01-15T04:52:22.677Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-01-15T04:52:22.678Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-01-15T04:52:22.679Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-01-15T04:52:22.679Z] 04:52:22     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-01-15T04:52:22.679Z] 04:52:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-01-15T04:52:22.680Z] 04:52:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_upgrade_backup.js | one new backup was created that was not removed - Got 0, expected 1
[task 2020-01-15T04:52:22.680Z] 04:52:22     INFO - Stack trace:
[task 2020-01-15T04:52:22.681Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-01-15T04:52:22.681Z] 04:52:22     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js:test_upgrade_backup_removal:187
[task 2020-01-15T04:52:22.682Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-01-15T04:52:22.682Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-01-15T04:52:22.683Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-01-15T04:52:22.684Z] 04:52:22     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-01-15T04:52:22.684Z] 04:52:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-01-15T04:52:22.685Z] 04:52:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_upgrade_backup.js | second call to SessionFile.write() didn't create or remove more backups - Got 6, expected 3
[task 2020-01-15T04:52:22.685Z] 04:52:22     INFO - Stack trace:
[task 2020-01-15T04:52:22.686Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-01-15T04:52:22.686Z] 04:52:22     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js:test_upgrade_backup_removal:192
[task 2020-01-15T04:52:22.687Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-01-15T04:52:22.687Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-01-15T04:52:22.688Z] 04:52:22     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-01-15T04:52:22.688Z] 04:52:22     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-01-15T04:52:22.689Z] 04:52:22     INFO - Leaving test bound test_upgrade_backup_removal
[task 2020-01-15T04:52:22.689Z] 04:52:22     INFO - GECKO(8790) | MEMORY STAT | vsize 3359MB | residentFast 533MB | heapAllocated 257MB
[task 2020-01-15T04:52:22.690Z] 04:52:22     INFO - TEST-OK | browser/components/sessionstore/test/browser_upgrade_backup.js | took 95ms