Closed Bug 1166632 Opened 9 years ago Closed 9 years ago

[v2.2][Gaia::UI Tests]test_sms_with_attachments.py: "TimeoutException: TimeoutException: Timed out after 30.2 seconds"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected)

RESOLVED DUPLICATE of bug 1166330
Tracking Status
b2g-v2.2 --- affected

People

(Reporter: liuke, Assigned: cynthiatang)

References

Details

Attachments

(2 files)

[Description]
test_sms_with_attachments.py fails

[Steps to Reproduce]
Run the test_sms_with_attachments.py

[Reproduction Frequency]
Always, 5/5

[Reproducible manually]
NO

Traceback (most recent call last):
File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/marionette_test.py", line 268, in run
testMethod()
File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_sms_with_attachments.py", line 58, in test_sms_send
view_image = last_message.tap_attachment()
File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/messages/regions/message_thread.py", line 98, in tap_attachment
return ViewImage(self.marionette)
File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/gaiatest/apps/gallery/regions/view_image.py", line 26, in __init__
*self._image_locator))))
File "/var/lib/jenkins/workspace/B2G.v2.2.pvt.flame.gaiatest.smoketest/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 30.2 seconds

[Build info]
Device firmware (base) L1TC000118D0 
Device firmware (date) 20 May 2015 08:08:18 
Device firmware (incremental) eng.cltbld.20150519.200807 
Device firmware (release) 4.4.2 
Device identifier flame 
Gaia date 20 May 2015 01:52:15 
Gaia revision 63e9eeec3032 
Gecko build 20150519162501 
Gecko revision 4e078e1364d3 
Gecko version 37.0 

[Attachments]
http://mozilla-twqa.github.io/Gaiatest-Reports/2015/05/20150519002500-v2.2-flame/smoketest.html
Regarding this failure, I think you want the pull request from bug 1166330 for this.

I was working on different failures regarding this test file in bug 1109213. So you might want to have that fix too, if you get these failure on v2.2, too.
Depends on: 1109213, 1166330
Hi Martijin,
For this bug, I refer your patch and uplift it to v2.2. But I modified only the file "view_image.py"

-    _image_locator = (By.CSS_SELECTOR, 'div.image-view')
+    _image_locator = (By.CSS_SELECTOR, 'img.image-view')

Then, I will modify the file "test_sms_with_picture_attached.py" for bug 1166330.

Thanks for your help.  

Running tests
https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=4f017d3c34664bacdef1b20e619f63fe54d0297d
Attachment #8613470 - Flags: review?(martijn.martijn)
Comment on attachment 8613470 [details] [review]
[gaia] cynthiatang:v2.2 > mozilla-b2g:v2.2

Sure, if you still need the attachment_options.tap_cancel() part, then indeed, don't remove it.
Attachment #8613470 - Flags: review?(martijn.martijn) → review+
Assignee: nobody → ctang
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: