Bug: Intermittent TV browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | testgetRowsFromDBWithoutLocksRetries - [testgetRowsFromDBWithoutLocksRetries : 271] A promise chain failed to handle a rejection: Could not remove the fil
Status: RESOLVED
Priority: P5
Resolution: INVALID
Created: 2021-11-03 11:35:07+00:00
Resolved: 2021-11-08 06:26:00+00:00

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

---
```
[task 2021-11-03T10:57:50.208Z] 10:57:50     INFO -  TEST-START | browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js
[task 2021-11-03T10:57:50.518Z] 10:57:50  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | xpcshell return code: 0
[task 2021-11-03T10:57:50.523Z] 10:57:50     INFO -  TEST-INFO took 311ms
[task 2021-11-03T10:57:50.523Z] 10:57:50     INFO -  >>>>>>>
[task 2021-11-03T10:57:50.523Z] 10:57:50     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2021-11-03T10:57:50.523Z] 10:57:50     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2021-11-03T10:57:50.523Z] 10:57:50     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2021-11-03T10:57:50.524Z] 10:57:50     INFO -  running event loop
[task 2021-11-03T10:57:50.524Z] 10:57:50     INFO -  browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | Starting setup
[task 2021-11-03T10:57:50.524Z] 10:57:50     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2021-11-03T10:57:50.524Z] 10:57:50     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2021-11-03T10:57:50.525Z] 10:57:50     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2021-11-03T10:57:50.525Z] 10:57:50     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2021-11-03T10:57:50.525Z] 10:57:50     INFO -  browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | Starting testgetRowsFromDBWithoutLocksRetries
[task 2021-11-03T10:57:50.525Z] 10:57:50     INFO -  (xpcshell/head.js) | test testgetRowsFromDBWithoutLocksRetries pending (2)
[task 2021-11-03T10:57:50.526Z] 10:57:50     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2021-11-03T10:57:50.526Z] 10:57:50     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Error(s) encountered during statement execution: no such table: moz_temp_table" {file: "resource://gre/modules/Sqlite.jsm" line: 963}]
[task 2021-11-03T10:57:50.526Z] 10:57:50     INFO -  handleCompletion@resource://gre/modules/Sqlite.jsm:963:25
[task 2021-11-03T10:57:50.526Z] 10:57:50     INFO -  _do_main@Z:\\task_163593521385920\\build\\tests\\xpcshell\\head.js:240:6
[task 2021-11-03T10:57:50.527Z] 10:57:50     INFO -  _execute_test@Z:\\task_163593521385920\\build\\tests\\xpcshell\\head.js:603:5
[task 2021-11-03T10:57:50.527Z] 10:57:50     INFO -  @-e:1:1
[task 2021-11-03T10:57:50.527Z] 10:57:50     INFO -  "
[task 2021-11-03T10:57:50.527Z] 10:57:50     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2021-11-03T10:57:50.527Z] 10:57:50     INFO -  (xpcshell/head.js) | test testgetRowsFromDBWithoutLocksRetries finished (2)
[task 2021-11-03T10:57:50.527Z] 10:57:50     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (1)
[task 2021-11-03T10:57:50.528Z] 10:57:50     INFO -  exiting test
[task 2021-11-03T10:57:50.528Z] 10:57:50     INFO -  PID 2084 | JavaScript error: Z:\task_163593521385920\build\tests\xpcshell\head.js, line 704: NotAllowedError: Could not remove the file at C:\Users\task_163593521385920\AppData\Local\Temp\xpc-profile-izpsc1pl\TestDB
[task 2021-11-03T10:57:50.528Z] 10:57:50     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "NotAllowedError: Could not remove the file at C:\\Users\\task_163593521385920\\AppData\\Local\\Temp\\xpc-profile-izpsc1pl\\TestDB" {file: "Z:\\task_163593521385920\\build\\tests\\xpcshell\\head.js" line: 704}]"
[task 2021-11-03T10:57:50.529Z] 10:57:50  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | testgetRowsFromDBWithoutLocksRetries - [testgetRowsFromDBWithoutLocksRetries : 271] A promise chain failed to handle a rejection: Could not remove the file at C:\\Users\\task_163593521385920\\AppData\\Local\\Temp\\xpc-profile-izpsc1pl\\TestDB - stack: _execute_test@Z:\\task_163593521385920\\build\\tests\\xpcshell\\head.js:704:23
[task 2021-11-03T10:57:50.529Z] 10:57:50     INFO -  @-e:1:1
[task 2021-11-03T10:57:50.529Z] 10:57:50     INFO -  Rejection date: Wed Nov 03 2021 10:57:50 GMT+0000 (Greenwich Mean Time) - false == true
[task 2021-11-03T10:57:50.530Z] 10:57:50     INFO -  resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2021-11-03T10:57:50.530Z] 10:57:50     INFO -  Z:\task_163593521385920\build\tests\xpcshell\head.js:_execute_test:722
[task 2021-11-03T10:57:50.530Z] 10:57:50     INFO -  -e:null:1
[task 2021-11-03T10:57:50.530Z] 10:57:50     INFO -  exiting test
[task 2021-11-03T10:57:50.530Z] 10:57:50     INFO -  PID 2084 | JavaScript error: Z:\task_163593521385920\build\tests\xpcshell\head.js, line 874: NS_ERROR_ABORT:
[task 2021-11-03T10:57:50.531Z] 10:57:50     INFO -  <<<<<<<
[task 2021-11-03T10:57:50.541Z] 10:57:50     INFO -  TEST-START | browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js
```