Closed Bug 1015208 Opened 12 years ago Closed 12 years ago

[v2.0] Investigate and fix test_sms_with_attachments.py failure

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v2.0 unaffected)

RESOLVED WORKSFORME
Tracking Status
b2g-v2.0 --- unaffected

People

(Reporter: RobertC, Unassigned)

Details

test_sms_with_attachments is failing in the latest Jenkins test run and on local device. http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Master/job/b2g.hamachi.mozilla-central.ui.smoketest/43/HTML_Report/ I could reproduce this locally with automation, but didn't have time to manually test it. Build info: Gaia b61129780e085636d09406f2a46e922d0f8b9757 Gecko https://hg.mozilla.org/mozilla-central/rev/e9b2b72f4e6c BuildID 20140523040203 Version 32.0a1 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013 Traceback (most recent call last): File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_sms_with_attachments.py", line 44, in test_sms_send self.message_thread.wait_for_received_messages(timeout=300) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/messages/regions/message_thread.py", line 20, in wait_for_received_messages self.wait_for_element_displayed(*self._received_message_content_locator, timeout=timeout) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 42, in wait_for_element_displayed lambda m: m.find_element(by, locator).is_displayed()) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: Traceback (most recent call last): File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/wait.py", line 122, in until rv = condition(self.marionette) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 42, in <lambda> lambda m: m.find_element(by, locator).is_displayed()) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 1204, in find_element response = self._send_message('findElement', 'value', **kwargs) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/decorators.py", line 35, in _ return func(*args, **kwargs) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 624, in _send_message self._handle_error(response) File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 655, in _handle_error raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace) TimeoutException: Timed out after 301.9 seconds, caused by <class 'marionette.errors.NoSuchElementException'>
Flagging qawanted to check if sending a MMS is still possible on trunk.
Keywords: qawanted
On the newest Trunk, I was able to successfully send an MMS from my Flame to another device. Environmental Variables Device: Flame 2.0 Build ID: 20140523000202 Gecko: https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/9cc96d59cc30 Gaia: 16f7ef17feb08562aa6a3cfd6d561b2fcca652c0 Platform Version: 30.0 Firmware Version: v10G-2
Keywords: qawanted
QA Contact: croesch
Let's see if this still fails in the next builds. I did not see it fail anymore.
Flags: needinfo?(andrei.hutusoru)
This failed again in http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Master/job/b2g.hamachi.mozilla-central.ui.smoketest/54/HTML_Report/ and it failed on b2g-11. Gaia 4142df90c71abdc1e3a87cd37dff1a22d5e38b34 Gecko https://hg.mozilla.org/mozilla-central/rev/1e712b724d17 BuildID 20140529040201 Version 32.0a1 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013 When tested locally, I have no problem receiving the MMS (manually too). I don't know if the phone is to blame, because test passed for some time now on b2g-11. Environmental issue?
Flags: needinfo?(andrei.hutusoru)
Priority: -- → P1
I manually tested this on the flame and it works as expected Gaia 908f94fda04462001ece86e6b6c15ad8b05f7526 Gecko https://hg.mozilla.org/mozilla-central/rev/5e8e9d864a4d BuildID 20140605160202 Version 32.0a1 ro.build.version.incremental=94 ro.build.date=Tue May 20 09:29:20 CST 2014 Also I started a adhoc job to verify this on Jenkins http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Flame/job/b2g.flame.mozilla-central.ui.adhoc/17
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.