Closed Bug 1205312 Opened 9 years ago Closed 6 years ago

test_dialer_miss_call_from_known_contact_notification.py : TimeoutException: TimeoutException: Timed out after 10.4 seconds

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: MaxIvanov, Unassigned)

References

()

Details

Attachments

(1 file)

Description: Test case fails with a TimeoutException

Steps:
1. Update a flame device to 20150916030229
2. Lock the test device.
3. With a second device which is a known contact, place a call to the test device and let it ring twice before ending the call
4. Unlock the test device and view the notification center pull down window.


Actual result:
"TimeoutException" message

Expected result:
Test completes successfully.

Repro Rate: Repro via Jenkins (2/5 passing) 
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.17-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/dialer/test_dialer_miss_call_from_known_contact_notification.py", line 55, in test_dialer_miss_call_from_known_contact_notification
lock_screen.wait_for_notification()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/lockscreen/app.py", line 106, in wait_for_notification
Wait(self.marionette).until(expected.element_displayed(*self._notification_locator))
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.13-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 10.4 seconds
Thanks, the screenshot shows the notification was received.
Not sure when the screenshot is taken, I would think just at the time when the timeout failure happens.
I tried 2 times and both times it was passing for me. Perhaps it was just some temporary glitch?
In the Mountain View lab this test seems to be stable for quite a while now: http://jenkins1.qa.scl3.mozilla.com/view/Mozilla%20Lab/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.unstable/

Max, when you mention this:
Repro Rate: Repro via Jenkins (2/5 passing) 
What does that mean? You did an adhoc job? Could you give the link to that adhoc job perhaps?
Flags: needinfo?(mivanov)
Got today two different exceptions

http://jenkins1.qa.scl3.mozilla.com/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1.bitbar/368/HTML_Report/
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.unstable.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-1.0.0-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.unstable.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/dialer/test_dialer_miss_call_from_known_contact_notification.py", line 55, in test_dialer_miss_call_from_known_contact_notification
lock_screen.wait_for_notification()
File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.unstable.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/lockscreen/app.py", line 106, in wait_for_notification
Wait(self.marionette).until(expected.element_displayed(*self._notification_locator))
File "/var/lib/jenkins/jobs/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.unstable.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 11.2 seconds
------------------------------------------------------------------------

http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc.bitbar/311/HTML_Report/
Repro 5/5

Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-1.0.0-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/dialer/test_dialer_miss_call_from_known_contact_notification.py", line 47, in test_dialer_miss_call_from_known_contact_notification
call_screen.wait_for_incoming_call()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/phone/regions/call_screen.py", line 94, in wait_for_incoming_call
call = self.marionette.find_element(*self._incoming_call_locator)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 1713, in find_element
return self._send_message("findElement", body, key="value")
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.0.0-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/.env/lib/python2.7/site-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 716, in _send_message
    self._handle_error(resp)
  File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/marionette.py", line 770, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
NoSuchElementException: NoSuchElementException: Unable to locate element: .handled-call.incoming
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: