Closed
Bug 1140276
Opened 9 years ago
Closed 6 years ago
test_dialer_receive_call_with_contact_photo.py failure
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: shinglyu, Unassigned)
Details
*** Description test_dialer_receive_call_with_contact_photo.py fails with two different reasons *** Steps to Reproduce * Run gaia-ui-test functional/dialer/test_dialer_receive_call_with_contact_photo.py *** Expected Results The test passes *** Actual Results In 4 tests, 1 failed becase: The incoming call shows "Withheld Number", so the contact photo was not shown, resulting in the following error: TEST-UNEXPECTED-FAIL | test_dialer_receive_call_with_contact_photo.py TestReceiveCallWithContactPhoto.test_dialer_receive_call_with_contact_photo | AssertionError: 'background-image:' not found in u'' File "/home/slyu/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/dialer/test_dialer_receive_call_with_contact_photo.py", line 44, in test_dialer_receive_call_with_contact_photo self.assertIn('background-image:', call_screen.contact_background_style) 2 failed because the incoming call screen isn't shown correctly. There is no incoming number, and there is a call toolbar TEST-UNEXPECTED-ERROR | test_dialer_receive_call_with_contact_photo.py TestReceiveCallWithContactPhoto.test_dialer_receive_call_with_contact_photo | NoSuchElementException: NoSuchElementException: Unable to locate element: .handled-call.incoming Traceback (most recent call last): File "/home/slyu/.virtualenvs/gaiauitest/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/marionette_test.py", line 268, in run testMethod() File "/home/slyu/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/dialer/test_dialer_receive_call_with_contact_photo.py", line 43, in test_dialer_receive_call_with_contact_photo call_screen.wait_for_incoming_call() File "/home/slyu/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/apps/phone/regions/call_screen.py", line 102, in wait_for_incoming_call Wait(self.marionette).until(lambda m: self.incoming_calling_contact != u'') File "/home/slyu/.virtualenvs/gaiauitest/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/wait.py", line 122, in until rv = condition(self.marionette) File "/home/slyu/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/apps/phone/regions/call_screen.py", line 102, in <lambda> Wait(self.marionette).until(lambda m: self.incoming_calling_contact != u'') File "/home/slyu/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/apps/phone/regions/call_screen.py", line 63, in incoming_calling_contact return self.marionette.find_element(*self._incoming_call_locator).find_element(*self._calling_contact_locator).text File "/home/slyu/.virtualenvs/gaiauitest/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/marionette.py", line 1354, in find_element response = self._send_message('findElement', 'value', **kwargs) File "/home/slyu/.virtualenvs/gaiauitest/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/decorators.py", line 36, in _ return func(*args, **kwargs) File "/home/slyu/.virtualenvs/gaiauitest/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/marionette.py", line 634, in _send_message self._handle_error(response) File "/home/slyu/.virtualenvs/gaiauitest/local/lib/python2.7/site-packages/marionette_client-0.8.6-py2.7.egg/marionette/marionette.py", line 673, in _handle_error raise errors.NoSuchElementException(message=message, status=status, stacktrace=stacktrace) TEST-INFO took 84408ms *** Other Notes *** Reproduction Frequency 3/4 *** Build Gaia-Rev eb86137e247224e86d17ed1a0a133b2a318dce3c Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/e9d29a3b94e5 Build-ID 20150305162505 Version 37.0 Device-Name flame FW-Release 4.4.2 FW-Incremental 65 FW-Date Mon Dec 15 18:51:29 CST 2014 Bootloader L1TC000118D0
Comment 1•9 years ago
|
||
Seeing this fail manually where contact picture is replaced by default orange background once call terminates before dialer call screen closes. As can be seen in screenshot of issue here: http://jenkins1.qa.scl3.mozilla.com/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2/83/HTML_Report/ Device: Flame 3.0 Build ID: 20150313010238 Gaia: eabe35cf054d47087b37c1ca7db8143717fbd7f3 Gecko: 42afc7ef5ccb Gonk: ebad7da532429a6f5efadc00bf6ad8a41288a429 Version: 39.0a1 (3.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Updated•9 years ago
|
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga)
Comment 2•9 years ago
|
||
The first problem is likely due to bug 1140278 NI myself to try to repro the second issue.
Flags: needinfo?(jlorenzo)
Comment 3•9 years ago
|
||
I have not been able to repro the background problem, after 22 tries. Like in bug 1126260, I was suspecting a memory issue (due to the loading of the image). I downgraded the memory to 280MB, but I've only seen the manifestation of bug 1126260: Test passed: 17 times Test failed, because of bug 1126260: 5 times
Flags: needinfo?(jlorenzo)
Comment 4•6 years ago
|
||
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.
Description
•