Closed Bug 1063510 Opened 10 years ago Closed 10 years ago

[v2.1] Script timeout when trying to get geolocation.enabled setting

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RobertC, Assigned: qdot)

References

Details

(Keywords: verifyme, Whiteboard: [fromAutomation][systemsfe])

Attachments

(1 file)

Attached file logcat.txt
test_settings_gps.TestSettingsGPS failed in the latest aurora test run on Jenkins with the following error: Traceback (most recent call last): File "/var/jenkins/2/workspace/flame.mozilla-aurora.ui.functional.non-smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.3-py2.7.egg/marionette/marionette_test.py", line 171, in run testMethod() File "/var/jenkins/2/workspace/flame.mozilla-aurora.ui.functional.non-smoke/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_gps.py", line 40, in test_enable_gps_via_settings_app self.assertTrue(self.data_layer.get_setting('geolocation.enabled'), "GPS was not disabled via Settings app") File "/var/jenkins/2/workspace/flame.mozilla-aurora.ui.functional.non-smoke/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 207, in get_setting return self.marionette.execute_async_script('return GaiaDataLayer.getSetting("%s")' % name, special_powers=True) File "/var/jenkins/2/workspace/flame.mozilla-aurora.ui.functional.non-smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.3-py2.7.egg/marionette/marionette.py", line 1251, in execute_async_script filename=os.path.basename(frame[0])) File "/var/jenkins/2/workspace/flame.mozilla-aurora.ui.functional.non-smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.3-py2.7.egg/marionette/decorators.py", line 35, in _ return func(*args, **kwargs) File "/var/jenkins/2/workspace/flame.mozilla-aurora.ui.functional.non-smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.3-py2.7.egg/marionette/marionette.py", line 638, in _send_message self._handle_error(response) File "/var/jenkins/2/workspace/flame.mozilla-aurora.ui.functional.non-smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.3-py2.7.egg/marionette/marionette.py", line 700, in _handle_error raise errors.ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace) ScriptTimeoutException: ScriptTimeoutException: timed out Build info v2.1 flame: Device firmware (date) 31 Aug 2014 13:31:23 Device firmware (incremental) eng.cltbld.20140831.163113 Device firmware (release) 4.3 Device identifier flame Gaia date 04 Sep 2014 17:53:38 Gaia revision 95e9b099aa89 Gecko build 20140905000202 Gecko revision 92a6bbdfd945 Gecko version 34.0a2 This issue cannot be reproduced manually since it's related to a javascript method getting a setting value. With automated testing I managed to get a reproduction rate of 1 out of 20. Due to it's low reproduction rate I am not sure if this issue is present on other branches or when trying to get other settings. Attached is a section of the Jenkins logcat from when the test was running. At timestamp 03:04:45.758 is the getSettings call that fails, following that a few errors are present which might be related to this issue. Link to failing test: https://github.com/mozilla-b2g/gaia/blob/v2.1/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_gps.py
Whiteboard: [fromAutomation]
The reference to a JS API call in settings sounds like this might be a regression from the settings API work done in 2.1. Kyle - What do you think?
Flags: needinfo?(kyle)
Could be bug 1061510, could be bug 1064228. Hard to tell which, but both will be blocking-2.1+, and one of them /should/ fix this. I'll take assignment and request qa once those make it to aurora (which will be after we resolve bug 1062255, but that's coming along decently now).
Assignee: nobody → kyle
Depends on: 1061510, 1064228
Flags: needinfo?(kyle)
Depends on: 1062255
Depends on: 1065128
No longer depends on: 1064228
Whiteboard: [fromAutomation] → [fromAutomation][systemsfe]
All dependent bugs are landed to aurora as of today, so marking qawanted for v2.1 fix verification.
Keywords: qawanted
Whoops. That should be verifyme since the patch already landed.
Keywords: qawantedverifyme
I checked the test that was failing with this issue and it seems to have been resolved. Tested on flame v2.1 KK Full flash: Device firmware (date) 13 Oct 2014 00:29:05 Device firmware (incremental) eng.cltbld.20141013.032854 Device firmware (release) 4.4.2 Device identifier flame Gaia date 10 Oct 2014 22:53:52 Gaia revision f5d4ff60ffed Gecko build 20141013000205 Gecko revision ad497694e258 Gecko version 34.0a2
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: