Bug: Intermittent test_MigrationUtils_timedRetry.js | testgetRowsFromDBWithoutLocksRetries - [testgetRowsFromDBWithoutLocksRetries : 265] A promise chain failed to handle a rejection: Error(s) encountered during statement execution:  - stack: handleCompletion@
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-09-23 21:58:08+00:00
Resolved: 2022-04-12 17:01:13+00:00

**Filed by:** btara [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=316518908&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WiOCm4wuQMuoQrGjzumBSA/runs/1/artifacts/public/logs/live_backing.log

---
```
```
[task 2020-09-23T21:19:40.594Z] 21:19:40     INFO -  TEST-START | browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js
[task 2020-09-23T21:19:41.375Z] 21:19:41  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | xpcshell return code: 0
[task 2020-09-23T21:19:41.375Z] 21:19:41     INFO -  TEST-INFO took 776ms
[task 2020-09-23T21:19:41.375Z] 21:19:41     INFO -  >>>>>>>
[task 2020-09-23T21:19:41.376Z] 21:19:41     INFO -  PID 31298 | [31298, Unnamed thread 7f946566e040] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-23T21:19:41.376Z] 21:19:41     INFO -  PID 31298 | [31298, Unnamed thread 7f946566e040] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-23T21:19:41.377Z] 21:19:41     INFO -  PID 31298 | [31298, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp, line 2949
[task 2020-09-23T21:19:41.377Z] 21:19:41     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-09-23T21:19:41.378Z] 21:19:41     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-09-23T21:19:41.378Z] 21:19:41     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-09-23T21:19:41.379Z] 21:19:41     INFO -  running event loop
[task 2020-09-23T21:19:41.379Z] 21:19:41     INFO -  browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | Starting setup
[task 2020-09-23T21:19:41.380Z] 21:19:41     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2020-09-23T21:19:41.380Z] 21:19:41     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-09-23T21:19:41.381Z] 21:19:41     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-09-23T21:19:41.381Z] 21:19:41     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2020-09-23T21:19:41.381Z] 21:19:41     INFO -  browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | Starting testgetRowsFromDBWithoutLocksRetries
[task 2020-09-23T21:19:41.381Z] 21:19:41     INFO -  (xpcshell/head.js) | test testgetRowsFromDBWithoutLocksRetries pending (2)
[task 2020-09-23T21:19:41.381Z] 21:19:41     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-09-23T21:19:41.381Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #2] WARNING: The SQL statement 'SELECT * FROM moz_temp_table' could not be compiled due to an error: no such table: moz_temp_table: file /builds/worker/checkouts/gecko/storage/mozStorageConnection.cpp, line 1266
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #2] WARNING: NS_ENSURE_TRUE(rc == SQLITE_OK) failed: file /builds/worker/checkouts/gecko/storage/mozStorageStatementData.h, line 60
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #2] WARNING: The SQL statement 'SELECT * FROM moz_temp_table' could not be compiled due to an error: no such table: moz_temp_table: file /builds/worker/checkouts/gecko/storage/mozStorageConnection.cpp, line 1266
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #2] WARNING: NS_ENSURE_TRUE(rc == SQLITE_OK) failed: file /builds/worker/checkouts/gecko/storage/mozStorageStatementData.h, line 60
[task 2020-09-23T21:19:41.382Z] 21:19:41     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: 894}]
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  handleCompletion@resource://gre/modules/Sqlite.jsm:894:25
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:248:6
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:577:5
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  @-e:1:1
[task 2020-09-23T21:19:41.382Z] 21:19:41     INFO -  "
[task 2020-09-23T21:19:41.383Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #3] WARNING: The SQL statement 'SELECT * FROM moz_temp_table' could not be compiled due to an error: no such table: moz_temp_table: file /builds/worker/checkouts/gecko/storage/mozStorageConnection.cpp, line 1266
[task 2020-09-23T21:19:41.383Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #3] WARNING: NS_ENSURE_TRUE(rc == SQLITE_OK) failed: file /builds/worker/checkouts/gecko/storage/mozStorageStatementData.h, line 60
[task 2020-09-23T21:19:41.383Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #3] WARNING: The SQL statement 'SELECT * FROM moz_temp_table' could not be compiled due to an error: no such table: moz_temp_table: file /builds/worker/checkouts/gecko/storage/mozStorageConnection.cpp, line 1266
[task 2020-09-23T21:19:41.384Z] 21:19:41     INFO -  PID 31298 | [31298, mozStorage #3] WARNING: NS_ENSURE_TRUE(rc == SQLITE_OK) failed: file /builds/worker/checkouts/gecko/storage/mozStorageStatementData.h, line 60
[task 2020-09-23T21:19:41.384Z] 21:19:41     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: 894}]
[task 2020-09-23T21:19:41.385Z] 21:19:41     INFO -  handleCompletion@resource://gre/modules/Sqlite.jsm:894:25
[task 2020-09-23T21:19:41.385Z] 21:19:41     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:248:6
[task 2020-09-23T21:19:41.385Z] 21:19:41     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:577:5
[task 2020-09-23T21:19:41.386Z] 21:19:41     INFO -  @-e:1:1
[task 2020-09-23T21:19:41.386Z] 21:19:41     INFO -  "
[task 2020-09-23T21:19:41.387Z] 21:19:41     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2020-09-23T21:19:41.387Z] 21:19:41     INFO -  (xpcshell/head.js) | test testgetRowsFromDBWithoutLocksRetries finished (2)
[task 2020-09-23T21:19:41.388Z] 21:19:41     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (1)
[task 2020-09-23T21:19:41.388Z] 21:19:41     INFO -  exiting test
[task 2020-09-23T21:19:41.389Z] 21:19:41     INFO -  PID 31298 | JavaScript error: resource://gre/modules/Sqlite.jsm, line 894: Error: Error(s) encountered during statement execution:
[task 2020-09-23T21:19:41.389Z] 21:19:41     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Error: Error(s) encountered during statement execution: " {file: "resource://gre/modules/Sqlite.jsm" line: 894}]"
[task 2020-09-23T21:19:41.390Z] 21:19:41  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/migration/tests/unit/test_MigrationUtils_timedRetry.js | testgetRowsFromDBWithoutLocksRetries - [testgetRowsFromDBWithoutLocksRetries : 265] A promise chain failed to handle a rejection: Error(s) encountered during statement execution:  - stack: handleCompletion@resource://gre/modules/Sqlite.jsm:894:25
[task 2020-09-23T21:19:41.390Z] 21:19:41     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:671:19
[task 2020-09-23T21:19:41.391Z] 21:19:41     INFO -  @-e:1:1
[task 2020-09-23T21:19:41.392Z] 21:19:41     INFO -  Rejection date: Wed Sep 23 2020 21:19:41 GMT+0000 (Coordinated Universal Time) - false == true
[task 2020-09-23T21:19:41.392Z] 21:19:41     INFO -  resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-09-23T21:19:41.393Z] 21:19:41     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:681
[task 2020-09-23T21:19:41.393Z] 21:19:41     INFO -  -e:null:1
[task 2020-09-23T21:19:41.394Z] 21:19:41     INFO -  exiting test
[task 2020-09-23T21:19:41.394Z] 21:19:41     INFO -  PID 31298 | JavaScript error: /builds/worker/workspace/build/tests/xpcshell/head.js, line 833: NS_ERROR_ABORT:
[task 2020-09-23T21:19:41.394Z] 21:19:41     INFO -  PID 31298 | [31298, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-09-23T21:19:41.395Z] 21:19:41     INFO -  PID 31298 | [31298, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp, line 3394
[task 2020-09-23T21:19:41.395Z] 21:19:41     INFO -  PID 31298 | [31298, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4287
[task 2020-09-23T21:19:41.396Z] 21:19:41     INFO -  PID 31298 | [31298, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-23T21:19:41.396Z] 21:19:41     INFO -  PID 31298 | [31298, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-23T21:19:41.396Z] 21:19:41     INFO -  <<<<<<<
``````