Closed Bug 1187077 Opened 9 years ago Closed 9 years ago

test_setup_basic_gmail.py: "NoSuchWindowException: None"

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1187087

People

(Reporter: onelson, Unassigned)

References

()

Details

Description:
test_setup_basic_gmail is failing consistent due to a manual failure: attempting to sign up an email by typing name + email address => 'Next' button on root UI page will close the app.

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

Repro Steps:
1) Update phone to 20150723010205
2) Open E-Mail App
3) Type a name
4) Type an E-mail address
5) Tap next

Actual:
E-mail closes; test fails

Expected: 
E-mail progress; test continues


Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.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@3/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_setup_basic_gmail.py", line 28, in test_setup_basic_gmail
self.environment.email['gmail']['password'])
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 43, in basic_setup_email
google_login = GoogleLogin(self.marionette)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/tests/python/gaia-ui-tests/gaiatest/apps/email/regions/google.py", line 20, in __init__
self.switch_to_frame()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/tests/python/gaia-ui-tests/gaiatest/apps/email/regions/google.py", line 55, in switch_to_frame
expected.element_present(*self._iframe_locator))
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/wait.py", line 122, in until
rv = condition(self.marionette)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/expected.py", line 44, in __call__
return _find(marionette, self.locator)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/expected.py", line 289, in _find
el = func(marionette)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/expected.py", line 41, in <lambda>
self.locator = lambda m: m.find_element(*args)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 1589, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/decorators.py", line 36, in _
return func(*args, **kwargs)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 715, in _send_message
    self._handle_error(response)
  File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace@3/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 751, in _handle_error
    raise errors.lookup(status)(message, stacktrace=stacktrace)
NoSuchWindowException: NoSuchWindowException: None

Environmental Variables:
Device firmware (base) 	L1TC000118D0
Device firmware (date) 	23 Jul 2015 08:24:55
Device firmware (incremental) 	eng.cltbld.20150723.042443
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	f30ecc97
Device uptime 	0 days 0 hours 2 minutes 17 seconds
Gaia date 	22 Jul 2015 18:44:09
Gaia revision 	f04fdbfa1943
Gecko build 	20150723010205
Gecko revision 	2ddec2dedced
Gecko version 	42.0a1

Reproducible manually: Yes

Repro frequency: 5/5
Assignee: nobody → martijn.martijn
Oh, this is a bug in the mail component, since this can be reproduced manually. 
In that case, this should not be filed in Gaia UI tests, I think.
Some from the mail team should take a look at this and fix it.
Assignee: martijn.martijn → nobody
Component: Gaia::UI Tests → Gaia::E-Mail
This is almost certainly bug 1187087.  We'd need a logcat to be 100% sure, but I'm confident.  Feel free to reopen if the logcat doesn't show what that bug's logcat shows.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
It makes me wonder why there is no crash report generated for this, then, if it's a crash.
In that case it seemed like the parent process was intentionally killing the child process for misbehaviour because it didn't like the IPDL protocol payload.  It wouldn't be surprising if that doesn't trigger a crash report.

In any event, the logcat will make things pretty obvious.
You need to log in before you can comment on or make changes to this bug.