Closed Bug 1061742 Opened 10 years ago Closed 10 years ago

disableWiFi() script fails with ScriptTimeoutException

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viorela, Unassigned)

References

()

Details

Attachments

(1 file)

Test test_cost_control_reset_wifi.py is failing with TimeoutException while executing disableWifi script: https://github.com/mozilla-b2g/gaia/blob/master/tests/atoms/gaia_data_layer.js#L267 The issue is reproducible locally, by running the automated test. It fails intermittently. It is not reproducible on v2.0 Traceback (most recent call last): File "/home/viorelaioia/.virtualenvs/gaia_moz/local/lib/python2.7/site-packages/marionette_client-0.8.3-py2.7.egg/marionette/marionette_test.py", line 171, in run testMethod() File "/home/viorelaioia/WebQA/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/cost_control/test_cost_control_reset_wifi.py", line 35, in test_cost_control_reset_wifi self.data_layer.disable_wifi() File "/home/viorelaioia/WebQA/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 301, in disable_wifi result = self.marionette.execute_async_script("return GaiaDataLayer.disableWiFi()", special_powers=True) File "/home/viorelaioia/.virtualenvs/gaia_moz/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 "/home/viorelaioia/.virtualenvs/gaia_moz/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 "/home/viorelaioia/.virtualenvs/gaia_moz/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 "/home/viorelaioia/.virtualenvs/gaia_moz/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) Build info: Device firmware (date) 28 Aug 2014 08:29:26 Device firmware (incremental) eng.cltbld.20140828.112916 Device firmware (release) 4.3 Device identifier flame Gaia date 01 Sep 2014 11:20:22 Gaia revision 44bf2e3bc5dd Gecko build 20140902040205 Gecko revision c360f3d1c00d Gecko version 34.0a1 Jenkins report: http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame.mozilla-central.ui.functional.non-smoke/127/HTML_Report/ From the screenshot, we can see that the wifi is not displayed in the statusbar. I attached a logcat of the failure
Attached file logcat.txt (deleted) —
whoa checkout that logcat. Looks like it could be: https://bugzilla.mozilla.org/show_bug.cgi?id=997909
Depends on: 997909
Blocks: 1064800
I haven't seen this issue lately, so probably it was fixed in Bug 997909.
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: