Closed Bug 1181273 Opened 9 years ago Closed 9 years ago

test_IMAP_email_notification.py: "TimeoutException: Timed out after 60.0 seconds" or 10 seconds

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1129019

People

(Reporter: onelson, Unassigned)

Details

Description:
test_IMAP_email_notification is failing to two different tracebacks in todays smoke report. 
The first is failing once the app returns to homescreen, and appears to miss receiving an email notification [3/6 repro].
The second occurred once during adhoc, where the test appeared to fail after it had received and transitioned through a received notification, then timing out after 10 seconds in the email app [1/6].
The test was also observed passing [2/6].

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

Repro Steps:
1) Update the phone to 20150707010204
2) Sign up an IMAP email account
3) Set email sync time low
4) Receive an email to show a notification
5) Tap notification to return to email app

Actual:
Test fails to find a notification
or
Test returns to email app and times out

Expected: 
Test returns to email app and confirms screen to match that of email notification


1 of 2 [3/6 repro]:
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/.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@2/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_IMAP_email_notification.py", line 53, in test_IMAP_email_notification
system.wait_for_notification_toaster_displayed(timeout=60, for_app='email')
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/tests/python/gaia-ui-tests/gaiatest/apps/system/app.py", line 42, in wait_for_notification_toaster_displayed
Wait(self.marionette, timeout).until(expected.element_displayed(el), message=message)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/.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 60.0 seconds


2 of 2 [1/6 repro]:
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/.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@2/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_IMAP_email_notification.py", line 69, in test_IMAP_email_notification
email.wait_for_senders_email_displayed()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/tests/python/gaia-ui-tests/gaiatest/apps/email/regions/read_email.py", line 36, in wait_for_senders_email_displayed
Wait(self.marionette).until(lambda m: m.find_element(*self._senders_email_locator).text != '')
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@2/.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) 	L1TC100118D0
Device firmware (date) 	07 Jul 2015 08:24:17
Device firmware (incremental) 	eng.cltbld.20150707.042406
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	374ecef6
Device uptime 	0 days 0 hours 2 minutes 13 seconds
Gaia date 	06 Jul 2015 18:14:41
Gaia revision 	e6506d68e014
Gecko build 	20150707010204
Gecko revision 	e7e69cc8c07b
Gecko version 	42.0a1


Reproducible manually: No

Repro frequency: 2/6 passing
Isn't this bug 1129019?
Flags: needinfo?(onelson)
You're right, not sure why I had opened this earlier. Resolving dupe.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(onelson)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.