Bug: Intermittent TV browser/components/newtab/test/browser/browser_asrouter_remoteimages.js | RemoteImages migration should delete all images. - ["/tmp/tmpxlrmj3yg.mozrunner/settings/main/ms-images/db.json","/tmp/tmpxlrmj3yg.mozrunner/settings/main/ms-images/
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-05-12 23:26:18+00:00
Resolved: 2022-05-16 06:39:55+00:00

**Filed by:** abutkovits [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=377890735&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EbYRUGnQToCsodv7Su0raQ/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/EbYRUGnQToCsodv7Su0raQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-05-12T22:12:43.211Z] 22:12:43     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_remoteimages.js | Image should have been deleted during cleanup - true == true - 
[task 2022-05-12T22:12:43.211Z] 22:12:43     INFO - Leaving test bound test_remoteImages_expire
[task 2022-05-12T22:12:43.213Z] 22:12:43     INFO - Entering test bound test_remoteImages_migrate
[task 2022-05-12T22:12:43.213Z] 22:12:43     INFO - Buffered messages finished
[task 2022-05-12T22:12:43.213Z] 22:12:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_remoteimages.js | RemoteImages migration should delete all images. - ["/tmp/tmpxlrmj3yg.mozrunner/settings/main/ms-images/db.json","/tmp/tmpxlrmj3yg.mozrunner/settings/main/ms-images/about-robots.png"] deepEqual [] - JS frame :: chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_remoteimages.js :: test_remoteImages_migrate/< :: line 102
[task 2022-05-12T22:12:43.213Z] 22:12:43     INFO - Stack trace:
[task 2022-05-12T22:12:43.213Z] 22:12:43     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_remoteimages.js:test_remoteImages_migrate/<:102
[task 2022-05-12T22:12:43.213Z] 22:12:43     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_remoteimages.js | RemoteImages DB data should match on-disk contents - {"version":1,"images":{"about-robots":{"recordId":"about-robots","mimetype":"image/png","hash":"29f1fe2cb5181152d2c01c0b2f12e5d9bb3379a61b94fb96de0f734eb360da62","lastLoaded":1652393561188}}} deepEqual {"version":1,"images":{"about-robots":{"recordId":"about-robots","mimetype":"image/png","hash":"29f1fe2cb5181152d2c01c0b2f12e5d9bb3379a61b94fb96de0f734eb360da62","lastLoaded":1652393561188}}} - 
[task 2022-05-12T22:12:43.218Z] 22:12:43     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_remoteimages.js | RemoteImages DB version should be 1 - 1 == 1 - 
[task 2022-05-12T22:12:43.218Z] 22:12:43     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-12T22:12:43.218Z] 22:12:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_remoteimages.js | RemoteImages DB should have no entries - {"about-robots":{"recordId":"about-robots","mimetype":"image/png","hash":"29f1fe2cb5181152d2c01c0b2f12e5d9bb3379a61b94fb96de0f734eb360da62","lastLoaded":1652393561188}} deepEqual {} - JS frame :: chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_remoteimages.js :: test_remoteImages_migrate/< :: line 118
[task 2022-05-12T22:12:43.219Z] 22:12:43     INFO - Stack trace:
[task 2022-05-12T22:12:43.219Z] 22:12:43     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_remoteimages.js:test_remoteImages_migrate/<:118
[task 2022-05-12T22:12:43.219Z] 22:12:43     INFO - Leaving test bound test_remoteImages_migrate
[task 2022-05-12T22:12:43.219Z] 22:12:43     INFO - GECKO(5768) | MEMORY STAT | vsize 11413MB | residentFast 494MB | heapAllocated 258MB
[task 2022-05-12T22:12:43.219Z] 22:12:43     INFO - TEST-OK | browser/components/newtab/test/browser/browser_asrouter_remoteimages.js | took 362ms
```