Closed Bug 1003256 Opened 10 years ago Closed 10 years ago

Improve wait for email notification in test_receive_active_sync_email

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viorela, Assigned: viorela)

References

Details

Attachments

(1 file)

In test_receive_active_sync_email.py, we use a timeout of 30 seconds to wait for email notification: https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_receive_active_sync_email.py#L49. We should improve that wait to avoid intermittent failures, in case the email is received later.
Assignee: nobody → viorela.ioia
Viorela, have you seen this failing on CI because of that wait?
I cannot replicate it locally, maybe it's because of: Bug 1005009
Flags: needinfo?(viorela.ioia)
I started an adhoc run of this test and I saw it failing intermittently: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Hamachi/job/b2g.hamachi.mozilla-central.ui.adhoc/365/HTML_Report/?
It failed because the email was not received before timeout. I opened a pull request where I increased the time to 180 sec, then started an adhoc run. I'm waiting for results.
Flags: needinfo?(viorela.ioia)
I increased the timeout to 300 sec, but the test is still failing. I attached a log of the test using this timeout.
I also ran the test and waited for the email to be received and after ~ 10 min I checked the logcat and I got this error: https://pastebin.mozilla.org/5089542. I believe it might be a problem with sending the message, maybe it is not sent. Zac, is there any way I can check if the email was actually sent? That would be really helpful.
Flags: needinfo?(zcampbell)
Attached file logcat.txt
Viorela, this sounds to me like it's affected by the same problem cited in https://bugzilla.mozilla.org/show_bug.cgi?id=999447
Flags: needinfo?(zcampbell)
I agree with zac here looks like these 2 issues are related 

Let's wait for 825538 to be resolved and give this one more try.


I the mean time I disabled the test
Depends on: 825538
I think this was fixed by Bug 1012616 - Set up activesync accounts for each UI device

Can we give this one more try
Priority: -- → P2
The timeout was increased to 60 sec in: https://github.com/mozilla-b2g/gaia/commit/fbeedbdbf015dc41c104872d600d7adae8878e7b.
I will close this bug.
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: