Closed Bug 1188974 Opened 9 years ago Closed 9 years ago

tests asserting number of contacts failing by "TimeoutException: Timed out after 10.3 seconds"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: onelson, Assigned: martijn.martijn)

References

Details

Attachments

(1 file)

Description:
A couple of tests are failing this morning consistently when they try to verify the number of contacts available in the contacts app. The contact is added with all credentials and then reviewed by the test to assert the number of contacts available. The test however fails to see the contact that was added and errors out.

Observed tests:
smoke
* test_add_new_contact

non-smoke
* test_keyboard.py
* test_default_contact_image

Guilty Line: self.wait_for_condition(lambda m: len(contacts_app.contacts) == 1)

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

* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc.bitbar/154/HTML_Report/
* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc.bitbar/155/HTML_Report/

Repro Steps:
1) Update device to 20150729030209
2) Open Contacts app
3) Add new contact
4) Fill all fields
5) Save contact
6) Observe contact at root page

Actual:
Test fails, does not see contact

Expected: 
Test passes, observes contact


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/contacts/test_add_new_contact.py", line 38, in test_add_new_contact
self.wait_for_condition(lambda m: len(contacts_app.contacts) == 1)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 1118, in wait_for_condition
Wait(self.marionette, timeout).until(method, message=message)
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.3 seconds


Environmental Variables:
Device firmware (base) 	L1TC000118D0
Device firmware (date) 	29 Jul 2015 10:34:30
Device firmware (incremental) 	eng.cltbld.20150729.063419
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	f0484102
Device uptime 	0 days 0 hours 2 minutes 14 seconds
Gaia date 	28 Jul 2015 19:29:56
Gaia revision 	21256d7665f9
Gecko build 	20150729030209
Gecko revision 	2ee9895e032c
Gecko version 	42.0a1


Reproducible manually: No

Repro frequency: 5/5
QA Contact: martijn.martijn
Oops, I think I might have caused this with the fix for bug 1187945.
Blocks: 1187945
Comment on attachment 8641000 [details] [review]
[gaia] mwargers:1188974 > mozilla-b2g:master

Sorry about this!
Attachment #8641000 - Flags: review?(npark)
Attachment #8641000 - Flags: review?(jlorenzo)
Assignee: nobody → martijn.martijn
Comment on attachment 8641000 [details] [review]
[gaia] mwargers:1188974 > mozilla-b2g:master

LGTM
Attachment #8641000 - Flags: review?(npark) → review+
Attachment #8641000 - Flags: review?(jlorenzo) → review+
Merged: https://github.com/mozilla-b2g/gaia/commit/fb7d3548181a1a79f633f656c34c31d1a9bde9ab
Status: NEW → RESOLVED
Closed: 9 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: