SettingsManager failed to create SettingsLock intermittently when it attempt to get setting value in Bluetooth marionette test.

RESOLVED INVALID

Status

()

Core
DOM: Device Interfaces
RESOLVED INVALID
4 years ago
4 years ago

People

(Reporter: jaliu, Unassigned)

Tracking

Trunk
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
SettingsManager's API "createLock" sometimes fail when running the marionette test on emulator.

I recently noticed that sometimes test_dom_BluetoothManager_enabled.js would exceed timeout on Tinderbox when it attempts to get the value of BT setting by calling mozSettings.createLock().get("bluetooth.enabled").

In that case, these two warnings would be found in TBPL full log.
> WARNING - GeckoConsole: [JavaScript Error: "IndexedDB UnknownErr: OpenDatabaseHelper.cpp:1891"]
> INFO - Gecko   : Cannot open Settings DB. Trying to open an old version?

Here are the Bluetooth marionette tests which failed to get setting.
2014-06-30 17:20 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=42810088&tree=Mozilla-Inbound

2014-06-30 14:06 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=42795717&tree=Mozilla-Inbound

2014-06-27 11:36 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=42650055&tree=Mozilla-Inbound

2014-06-27 03:42 PDT
https://tbpl.mozilla.org/php/getParsedLog.php?id=42618969&tree=Mozilla-Inbound

2014-06-27 02:57 PDT 
https://tbpl.mozilla.org/php/getParsedLog.php?id=42615586&tree=B2g-Inbound
(Reporter)

Updated

4 years ago
See Also: → bug 938058
(Reporter)

Updated

4 years ago
Blocks: 1009157
Marking invalid since the settings system got a complete overhaul in bug 900551. Hopefully this shouldn't happen anymore.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.