Bug: Intermittent Fission browser/components/sessionstore/test/browser_upgrade_backup.js | one new backup was created that was not removed - Got +0, expected 1
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-06-11 14:56:35+00:00
Resolved: 2022-07-25 23:06:02+00:00

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

---
```
INFO - TEST-START | browser/components/sessionstore/test/browser_upgrade_backup.js
[task 2021-06-11T13:02:11.622Z] 13:02:11     INFO - TEST-INFO | started process screenshot
[task 2021-06-11T13:02:11.684Z] 13:02:11     INFO - TEST-INFO | screenshot: exit 0
[task 2021-06-11T13:02:11.685Z] 13:02:11     INFO - Buffered messages logged at 13:02:11
[task 2021-06-11T13:02:11.685Z] 13:02:11     INFO - Entering test bound init
[task 2021-06-11T13:02:11.685Z] 13:02:11     INFO - Leaving test bound init
[task 2021-06-11T13:02:11.686Z] 13:02:11     INFO - Entering test bound test_upgrade_backup
[task 2021-06-11T13:02:11.686Z] 13:02:11     INFO - Let's check if we create an upgrade backup
[task 2021-06-11T13:02:11.687Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup should be set - 
[task 2021-06-11T13:02:11.687Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup file has been created - 
[task 2021-06-11T13:02:11.688Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup contains the expected contents - 
[task 2021-06-11T13:02:11.688Z] 13:02:11     INFO - Let's check that we don't overwrite this upgrade backup
[task 2021-06-11T13:02:11.688Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup hasn't changed - 
[task 2021-06-11T13:02:11.689Z] 13:02:11     INFO - Leaving test bound test_upgrade_backup
[task 2021-06-11T13:02:11.689Z] 13:02:11     INFO - Entering test bound test_upgrade_backup_removal
[task 2021-06-11T13:02:11.689Z] 13:02:11     INFO - Let's see if we remove backups if there are too many
[task 2021-06-11T13:02:11.690Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup should be set - 
[task 2021-06-11T13:02:11.690Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup file has been created - 
[task 2021-06-11T13:02:11.690Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | expected number of backups are present after removing old backups - 
[task 2021-06-11T13:02:11.690Z] 13:02:11     INFO - Buffered messages finished
[task 2021-06-11T13:02:11.691Z] 13:02:11     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 2021-06-11T13:02:11.691Z] 13:02:11     INFO - Stack trace:
[task 2021-06-11T13:02:11.691Z] 13:02:11     INFO - chrome://mochikit/content/browser-test.js:test_is:1362
[task 2021-06-11T13:02:11.691Z] 13:02:11     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js:test_upgrade_backup_removal:187
[task 2021-06-11T13:02:11.691Z] 13:02:11     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | second call to SessionFile.write() didn't create or remove more backups - 
[task 2021-06-11T13:02:11.692Z] 13:02:11     INFO - Leaving test bound test_upgrade_backup_removal
[task 2021-06-11T13:02:11.720Z] 13:02:11     INFO - GECKO(10668) | MEMORY STAT | vsize 2104703MB | vsizeMaxContiguous 66471791MB | residentFast 728MB | heapAllocated 430MB
[task 2021-06-11T13:02:11.720Z] 13:02:11     INFO - TEST-OK | browser/components/sessionstore/test/browser_upgrade_backup.js | took 234ms
[task 2021-06-11T13:02:11.730Z] 13:02:11     INFO - checking window state
[task 2021-06-11T13:02:11.739Z] 13:02:11     INFO - TEST-START | browser/components/sessionstore/test/browser_urlbarSearchMode.js
```