"Cookie sqlite error 5, errno 0: database is locked" when running unit tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
Low
|
Unassigned |
Bug Description
I’ve observed the following error a couple of times (out of hundreds of test runs) when running the unit tests on my laptop:
[0202/153311:
[0202/153311:
[0x7fd4b70ad886] base::debug:
[0x7fd4b7119413] logging:
[0x7fd4bb12acf9] sql::Connection
[0x7fd4bb12b125] sql::Connection
[0x7fd4bb12b0c0] sql::Connection
[0x7fd4bb13226f] sql::MetaTable:
[0x7fd4bb13278d] sql::MetaTable:
[0x7fd4bb5d08db] content:
[0x7fd4bb5cef1f] content:
[0x7fd4bb5cd7b6] content:
[0x7fd4bb5db9d7] base::internal:
[0x7fd4bb5da205] base::internal:
[0x7fd4bb5d8d21] base::internal:
[0x7fd4b709c572] base::Callback<
[0x7fd4b71df56e] base::Sequenced
[0x7fd4b71ddb99] base::Sequenced
[0x7fd4b71e9784] base::SimpleThr
[0x7fd4b71dc320] base::(anonymous namespace)
[0x7fd4e6db7182] start_thread
[0x7fd4e70c7b5d] clone
This looks like a race condition of some sort.
Related branches
Changed in oxide: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in oxide: | |
milestone: | none → branch-1.3 |
status: | Triaged → Fix Released |
This looks like another context still has the database open. Is it possible for the next test to start before all resources from the previous test have been deleted? If that's the case, there's probably a qtquick bug here.