Bug: Intermittent toolkit/components/thumbnails/test/browser_thumbnails_storage.js | A promise chain failed to handle a rejection: Could not stat file(/tmp/tmphtnapl8g.mozrunner/thumbnails/648d4b6c343dbc298cc0c8d4cfffb631.png) because it does not exist - stack
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-04-05 08:32:03+00:00
Resolved: 2022-07-25 23:14:19+00:00

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

---
```
[task 2022-04-05T07:23:37.597Z] 07:23:37     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_storage.js
[task 2022-04-05T07:23:37.671Z] 07:23:37     INFO - GECKO(25250) | JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 106: Error: Could not stat file(/tmp/tmphtnapl8g.mozrunner/thumbnails/648d4b6c343dbc298cc0c8d4cfffb631.png) because it does not exist
[task 2022-04-05T07:23:43.528Z] 07:23:43     INFO - TEST-INFO | started process screentopng
[task 2022-04-05T07:23:43.961Z] 07:23:43     INFO - TEST-INFO | screentopng: exit 0
[task 2022-04-05T07:23:43.961Z] 07:23:43     INFO - Buffered messages logged at 07:23:37
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - Entering test bound thumbnails_storage
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - Console message: [JavaScript Error: "Error: Could not stat file(/tmp/tmphtnapl8g.mozrunner/thumbnails/648d4b6c343dbc298cc0c8d4cfffb631.png) because it does not exist" {file: "resource://gre/modules/PromiseWorker.jsm" line: 106}]
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://mochi.test:8888/" line: 0}]
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - Buffered messages logged at 07:23:41
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_storage.js | thumbnail file was updated - 
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - Clearing history
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - History is clear
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - Repopulating
[task 2022-04-05T07:23:43.962Z] 07:23:43     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://mochi.test:8888/" line: 0}]
[task 2022-04-05T07:23:43.963Z] 07:23:43     INFO - Buffered messages logged at 07:23:43
[task 2022-04-05T07:23:43.963Z] 07:23:43     INFO - Clearing the last 10 minutes of browsing history
[task 2022-04-05T07:23:43.963Z] 07:23:43     INFO - Attempt to clear file
[task 2022-04-05T07:23:43.963Z] 07:23:43     INFO - Done
[task 2022-04-05T07:23:43.963Z] 07:23:43     INFO - Buffered messages finished
[task 2022-04-05T07:23:43.980Z] 07:23:43     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_storage.js | A promise chain failed to handle a rejection: Could not stat file(/tmp/tmphtnapl8g.mozrunner/thumbnails/648d4b6c343dbc298cc0c8d4cfffb631.png) because it does not exist - stack: DOMException@resource://gre/modules/PromiseWorker.jsm:106:18
[task 2022-04-05T07:23:43.981Z] 07:23:43     INFO - postMessage@resource://gre/modules/PromiseWorker.jsm:342:55
[task 2022-04-05T07:23:43.982Z] 07:23:43     INFO - Rejection date: Tue Apr 05 2022 07:23:37 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-04-05T07:23:43.982Z] 07:23:43     INFO - Stack trace:
[task 2022-04-05T07:23:43.983Z] 07:23:43     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-04-05T07:23:43.984Z] 07:23:43     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-04-05T07:23:43.985Z] 07:23:43     INFO - Leaving test bound thumbnails_storage
[task 2022-04-05T07:23:43.987Z] 07:23:43     INFO - GECKO(25250) | MEMORY STAT | vsize 3230MB | residentFast 464MB | heapAllocated 212MB
[task 2022-04-05T07:23:43.998Z] 07:23:43     INFO - TEST-OK | toolkit/components/thumbnails/test/browser_thumbnails_storage.js | took 5949ms
```