Closed Bug 1010218 Opened 10 years ago Closed 10 years ago

[v1.4] Connecting to wifi failure on random tests

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 987760

People

(Reporter: AndreiH, Unassigned)

Details

I can see this in different tests.
Intermittently and randomly tests are failing when connecting to wifi.

The latest failure can be seen in:
Smoketests: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Hamachi/job/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/32/HTML_Report/
Non-smoketests: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Hamachi/job/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/31/HTML_Report/

In the latest build 'test_browser_lan.TestBrowserLAN', 'test_ftu_skip_tour.TestFtu' and 'test_cost_control_reset_wifi' failed when trying to connect to wifi.

I could replicate this locally when running 'test_cost_control_reset_wifi' for 30 times and it failed once.

Traceback (most recent call last):
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 145, in run
    self.setUp()
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/browser/test_browser_lan.py", line 17, in setUp
    self.connect_to_local_area_network()
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 985, in connect_to_local_area_network
    self.data_layer.connect_to_wifi()
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 272, in connect_to_wifi
    script_timeout = max(self.marionette.timeout, 60000))
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 1162, in execute_async_script
    filename=os.path.basename(frame[0]))
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 613, in _send_message
    self._handle_error(response)
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 662, in _handle_error
    raise ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace)
ScriptTimeoutException: ScriptTimeoutException: timed out

I don't know if this is something to do with the environmental issues or with Bug 1005009.
Needs more investigation
Build from comment 0:

Gaia      b40103dec34a147c9018a1af76eb21c3184f2f93                         
Gecko                                                                      
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/7788969f70b0        
BuildID   20140514000204                                                   
Version   30.0                                                             
ro.build.version.incremental=eng.tclxa.20131223.163538                     
ro.build.date=Mon Dec 23 16:36:04 CST 2013
Does this happen on master in the daily runs?
Flags: needinfo?(viorela.ioia)
Flags: needinfo?(florin.strugariu)
I think this is the same issue as the one described in: Bug 987760
Flags: needinfo?(viorela.ioia)
It looks like the same issue 

Marking this as a duplicate
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(florin.strugariu)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.