Closed Bug 895978 Opened 11 years ago Closed 10 years ago

TEST-UNEXPECTED-FAIL | thread_ui.js > Search search results cleared | Unexpected error

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jgriffin, Unassigned)

References

Details

(Keywords: intermittent-failure)

One of the SMS gaia-unit-tests is frequently failing on TBPL:

TEST-UNEXPECTED-FAIL | thread_ui.js > Search search results cleared | Unexpected error

full log: https://tbpl.mozilla.org/php/getParsedLog.php?id=25486548&tree=Birch&full=1#error0
Test disabled in https://github.com/mozilla-b2g/gaia/commit/52b07818962269a569f61523b1cae0765ab3f1d8; it should be re-enabled when it is fixed.
Jonathan, 

How can I learn more about this failure, or the circumstances at the moment of failure? I can't reproduce the failure when running these tests locally.
On 2013-07-17, Nightly started having issues and wouldn't run the SMS app at all anymore (an uncaught exception "NO SETTINGS PERMISSION FOR: http://sms.gaiamobile.org:8080") so I had rolled back to the Nightly from 2013-07-16 and replaced the auto-update with this every day. 

I decided to try these tests in Nightly from today and immediately reproduced the error. From there I worked backward through Nightly:

2013-07-20: bad (Error: Unexpected error [object Object])
2013-07-19: bad (Error: Unexpected error [object Object])
2013-07-18: bad (Error: NO SETTINGS PERMISSION FOR: http://sms.gaiamobile.org:8080)
2013-07-17: bad (Error: NO SETTINGS PERMISSION FOR: http://sms.gaiamobile.org:8080)
2013-07-16: good


I tracked the issue to here:

  var req = navigator.mozSettings.createLock().get(this.sentAudioKey);

in ThreadUI.initSentAudio
Landed https://github.com/mozilla-b2g/gaia/commit/c59f27901eab88093d64bd07c03aaa5c75f17a4a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
This fix just changed the errors, now they are either:

08:23:34 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | ThreadUI Integration "before all" hook | ThreadUI is null

full log: https://tbpl.mozilla.org/php/getParsedLog.php?id=25563604&tree=Birch&full=1

- or -

07:24:19 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | thread_ui.js > "before each" hook | null has no properties

full log: https://tbpl.mozilla.org/php/getParsedLog.php?id=25561805&tree=Birch&full=1
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The file is not disabled anymore and there does not seem to have errors so let's close this :)
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.