Closed Bug 1206169 Opened 9 years ago Closed 9 years ago

test_inbox_to_settings.py:NoSuchWindowException: NoSuchWindowException: None

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: MaxIvanov, Unassigned)

References

Details

(Whiteboard: [319MB-Flame-Support])

Description: Test case fails with "NoSuchWindowException"

Steps:
1. Update a flame device to 20150918030223
2. Run this test case http://lxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_inbox_to_settings.py

Actual result:
"NoSuchWindowException" message

Expected result:
Test completes successfully.

Repro Rate: Not repro via Jenkins (4/5 passing)
http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc.bitbar/236/HTML_Report/

 File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 41, in is_element_displayed
return self.marionette.find_element(by, locator).is_displayed()
File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.13-py2.7.egg/marionette_driver/marionette.py", line 117, in is_displayed
return self.marionette._send_message("isElementDisplayed", body, key="value")
File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.13-py2.7.egg/marionette_driver/decorators.py", line 36, in _
return func(*args, **kwargs)
File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.13-py2.7.egg/marionette_driver/marionette.py", line 711, in _send_message
    self._handle_error(resp)
  File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.13-py2.7.egg/marionette_driver/marionette.py", line 752, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
NoSuchWindowException: NoSuchWindowException: None
I can see this happening when setting the device to 296MB. I think this is a typical case of mlk.
It's also what you can see from the screenshot in the Jenkins job.
QA Whiteboard: [memory-failure]
Whiteboard: [319MB-Flame-Support]
That means it's more a problem with memory usage in SMS or settings or both.
Component: Gaia::UI Tests → Gaia::SMS
I've read we have a general memory usage regression these days, might be the issue as well.
The memory/performance issue is bug 1204837. We can wait for that bug and see if this still happens.
Depends on: 1204837
See Also: → 1206047
Bug 1204837 is fixed now, I'll mark it as fixed as well.
Max will notice it in his daily automated reports if this issue is still occurring and he can then reopen this bug if it's still there.
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.