Closed Bug 1172007 Opened 10 years ago Closed 10 years ago

Intermittent failure in test_settings_cell_data.py

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

Details

Attachments

(1 file)

Saw this here: http://jenkins1.qa.scl3.mozilla.com/job/flame-kk-319.mozilla-central.nightly.ui.functional.sanity/265/testReport/ Traceback (most recent call last): File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.sanity/.env/local/lib/python2.7/site-packages/marionette_client-0.13-py2.7.egg/marionette/marionette_test.py", line 296, in run testMethod() File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.sanity/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_cell_data.py", line 26, in test_enable_cell_data_via_settings_app cell_data_prompt = cell_and_data_settings.enable_data() File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.sanity/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/cell_data.py", line 35, in enable_data return CellDataPrompt(self.marionette) File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.sanity/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/cell_data_prompt.py", line 18, in __init__ Wait(self.marionette).until(lambda m: 'current' in element.get_attribute('class')) File "/var/jenkins/1/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.sanity/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 30.0 seconds I could reproduce it myself after repeat of 10 times. I have a patch in progress that should fix it.
I did a repeat of 10 times and it passed all the time. Similar code was also used in: http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/cell_data_prompt.py
Attachment #8616069 - Flags: review?(npark)
Attachment #8616069 - Flags: review?(jlorenzo)
Comment on attachment 8616069 [details] [review] https://github.com/mozilla-b2g/gaia/pull/30446 ran it locally, passes consistently. LGTM.
Attachment #8616069 - Flags: review?(npark) → review+
Attachment #8616069 - Flags: review?(jlorenzo) → review+
I haven't merged this yet, because I kept having a failure in test_export_contacts_to_sdcard.py. It's very likely not related to this, but to be sure I've synced the pull request to current master and I'll recheck the results.
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: