Bug: Intermittent toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail for final URL should be cached -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-03-03 16:56:27+00:00
Resolved: 2022-03-03 16:57:37+00:00

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

---
```
[task 2022-03-03T15:53:02.671Z] 15:53:02     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail for original URL should be cached - 
[task 2022-03-03T15:53:02.673Z] 15:53:02     INFO - Buffered messages finished
[task 2022-03-03T15:53:02.674Z] 15:53:02     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Thumbnail for final URL should be cached - 
[task 2022-03-03T15:53:02.674Z] 15:53:02     INFO - Stack trace:
[task 2022-03-03T15:53:02.674Z] 15:53:02     INFO - chrome://mochikit/content/browser-test.js:test_ok:1394
[task 2022-03-03T15:53:02.674Z] 15:53:02     INFO - chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js:thumbnails_bg_redirect:28
[task 2022-03-03T15:53:02.675Z] 15:53:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-03T15:53:02.677Z] 15:53:02     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | Uncaught exception in test - [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.remove]"  nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)"  location: "JS frame :: chrome://mochitests/content/browser/toolkit/components/thumbnails/test/head.js :: removeThumbnail :: line 107"  data: no]
[task 2022-03-03T15:53:02.678Z] 15:53:02     INFO - Stack trace:
[task 2022-03-03T15:53:02.678Z] 15:53:02     INFO - removeThumbnail@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/head.js:107:8
[task 2022-03-03T15:53:02.679Z] 15:53:02     INFO - thumbnails_bg_redirect@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js:31:18
[task 2022-03-03T15:53:02.680Z] 15:53:02     INFO - Leaving test bound thumbnails_bg_redirect
[task 2022-03-03T15:53:02.681Z] 15:53:02     INFO - GECKO(8408) | [Child 8606: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f5b42d95bc0) [pid = 8606] [serial = 22] [outer = 0] [url = about:blank]
[task 2022-03-03T15:53:02.682Z] 15:53:02     INFO - GECKO(8408) | [Child 8483: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fd58eba2c00 == 5 [pid = 8483] [id = 19]
[task 2022-03-03T15:53:02.687Z] 15:53:02     INFO - GECKO(8408) | [Child 8483: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 31 (7fd58fe9abc0) [pid = 8483] [serial = 57] [outer = 0]
[task 2022-03-03T15:53:02.695Z] 15:53:02     INFO - GECKO(8408) | [Child 8483: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 32 (7fd58eba3000) [pid = 8483] [serial = 58] [outer = 7fd58fe9abc0]
[task 2022-03-03T15:53:02.696Z] 15:53:02     INFO - GECKO(8408) | [Child 8483, Main Thread] WARNING: Fallback to BasicLayerManager: file /builds/worker/checkouts/gecko/dom/ipc/BrowserChild.cpp:2833
[task 2022-03-03T15:53:02.697Z] 15:53:02     INFO - GECKO(8408) | MEMORY STAT | vsize 11479MB | residentFast 536MB | heapAllocated 239MB
[task 2022-03-03T15:53:02.699Z] 15:53:02     INFO - TEST-OK | toolkit/components/thumbnails/test/browser_thumbnails_bg_redirect.js | took 531ms
```