Closed Bug 1183202 Opened 9 years ago Closed 9 years ago

test_add_to_new_contact_from_messages.py: "TimeoutException: Timed out after 10.1 seconds"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: onelson, Unassigned)

Details

Description:
test_add_to_new_contact_from_messages is showing consistent failures across Jenkins and locally conducted automation. The fault appears to be in the contacts app looking through the traceback: 
new_contact.switch_to_new_contact_form()
Marionette appears to stumble after switching forms.

* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2.bitbar/159/HTML_Report/
* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc.bitbar/132/HTML_Report/

Repro Steps:
1) Update phone to 20150713010204
2) Open Messages app
3) Receive SMS from new phone number
4) Hold tap on number within Message thread
5) Add new contact from this number
6) Confirm contact addition in newly opened contacts app

Actual:
App times out when Contacts app is opened; doesn't finish adding contact

Expected: 
Contact is added, test confirms number matches expected add
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-0.16-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_add_to_new_contact_from_messages.py", line 35, in test_sms_create_new_contact
new_contact = activities.tap_create_new_contact()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/messages/regions/activities.py", line 54, in tap_create_new_contact
new_contact.switch_to_new_contact_form()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/contacts/regions/contact_form.py", line 188, in switch_to_new_contact_form
Wait(self.marionette).until(lambda m: self.apps.displayed_app.src == self._src)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 10.1 seconds


Environmental Variables:
Device firmware (base) 	L1TC100118D0
Device firmware (date) 	13 Jul 2015 08:39:47
Device firmware (incremental) 	eng.cltbld.20150713.043935
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	1d9a561d
Device uptime 	0 days 0 hours 2 minutes 8 seconds
Gaia date 	10 Jul 2015 14:29:23
Gaia revision 	e4b63559eba3
Gecko build 	20150713010204
Gecko revision 	eab21ec484bb
Gecko version 	42.0a1


Reproducible manually: No

Repro frequency: 10/10
While trying to fix bug 1184649, I didn't encounter this failure at all. Is this still an issue?
Flags: needinfo?(onelson)
Issue has not been occurring the last observed failure on 07/17. Not sure if fix was introdocued by bug 1184649 as that fix came later, but resolving as worksforme for the time being.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(onelson)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.