Bug: Intermittent browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup should be set - "" == "20220325194501" - JS frame :: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js :: test
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-03-25 22:29:26+00:00
Resolved: 2022-07-02 03:11:43+00:00

**Filed by:** mlaza [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=372382859&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HaBmd2-SQFKH2KrCBQZ9Hw/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HaBmd2-SQFKH2KrCBQZ9Hw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-03-25T20:06:25.756Z] 20:06:25     INFO - TEST-START | browser/components/sessionstore/test/browser_upgrade_backup.js
[task 2022-03-25T20:06:26.295Z] 20:06:26     INFO - TEST-INFO | started process screencapture
[task 2022-03-25T20:06:26.416Z] 20:06:26     INFO - TEST-INFO | screencapture: exit 0
[task 2022-03-25T20:06:26.416Z] 20:06:26     INFO - Buffered messages logged at 20:06:25
[task 2022-03-25T20:06:26.416Z] 20:06:26     INFO - Entering test bound init
[task 2022-03-25T20:06:26.417Z] 20:06:26     INFO - Leaving test bound init
[task 2022-03-25T20:06:26.417Z] 20:06:26     INFO - Entering test bound test_upgrade_backup
[task 2022-03-25T20:06:26.417Z] 20:06:26     INFO - Let's check if we create an upgrade backup
[task 2022-03-25T20:06:26.418Z] 20:06:26     INFO - Buffered messages logged at 20:06:26
[task 2022-03-25T20:06:26.418Z] 20:06:26     INFO - Call `SessionFile.read()` to set state to 'clean'
[task 2022-03-25T20:06:26.418Z] 20:06:26     INFO - Buffered messages finished
[task 2022-03-25T20:06:26.419Z] 20:06:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup should be set - "" == "20220325194501" - JS frame :: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js :: test_upgrade_backup :: line 55
[task 2022-03-25T20:06:26.419Z] 20:06:26     INFO - Stack trace:
[task 2022-03-25T20:06:26.419Z] 20:06:26     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js:test_upgrade_backup:55
[task 2022-03-25T20:06:26.420Z] 20:06:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-25T20:06:26.420Z] 20:06:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_upgrade_backup.js | Uncaught exception in test - OperationError: Could not parse path (): NS_ERROR_FILE_UNRECOGNIZED_PATH
[task 2022-03-25T20:06:26.421Z] 20:06:26     INFO - Stack trace:
[task 2022-03-25T20:06:26.421Z] 20:06:26     INFO - test_upgrade_backup@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_upgrade_backup.js:62:19
[task 2022-03-25T20:06:26.421Z] 20:06:26     INFO - Leaving test bound test_upgrade_backup
[task 2022-03-25T20:06:26.422Z] 20:06:26     INFO - Entering test bound test_upgrade_backup_removal
[task 2022-03-25T20:06:26.422Z] 20:06:26     INFO - Let's see if we remove backups if there are too many
[task 2022-03-25T20:06:26.422Z] 20:06:26     INFO - Call `SessionFile.read()` to set state to 'clean'
[task 2022-03-25T20:06:26.423Z] 20:06:26     INFO - Write the session to disk and perform a backup
[task 2022-03-25T20:06:26.520Z] 20:06:26     INFO - TEST-PASS | browser/components/sessionstore/test/browser_upgrade_backup.js | upgrade backup should be set - 
```