Closed Bug 1071617 Opened 11 years ago Closed 11 years ago

[v2.2] Investigate test_capture_a_video failure

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RobertC, Assigned: viorela)

Details

Attachments

(1 file)

Attached image camera.png
test_capture_a_video is failing on Jenkins because the camera app fails to start recording. http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-319.mozilla-central.ui.functional.smoke/168/HTML_Report/ I was not able to reproduce the issue locally with manual or automated tests. While running the automated test locally I noticed that after tapping on the record button it took 5-10 seconds for the UI to update (the record button style to change and the record timer too appear). I was also able to reproduce this behavior manually, but it was intermittent. The camera app has a delayed response to user interaction, which is also visible on v2.1. I also started an adhoc run in which the test fails constantly: http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame.ui.adhoc/161/HTML_Report/ In the adhoc screenshots the recording timer is not visible and the test fails with a timeout of 30 seconds. I am not able to provide a regression window since I cannot reproduce the issue locally. Traceback (most recent call last): File "/var/jenkins/2/workspace/flame-319.mozilla-central.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/marionette_test.py", line 264, in run testMethod() File "/var/jenkins/2/workspace/flame-319.mozilla-central.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera/test_camera_capture_video.py", line 28, in test_capture_a_video self.camera.record_video(3) File "/var/jenkins/2/workspace/flame-319.mozilla-central.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 63, in record_video self.wait_for_video_capturing() File "/var/jenkins/2/workspace/flame-319.mozilla-central.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 119, in wait_for_video_capturing self.wait_for_condition(lambda m: self.marionette.find_element( File "/var/jenkins/2/workspace/flame-319.mozilla-central.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 56, in wait_for_condition Wait(self.marionette, timeout).until(method, message=message) File "/var/jenkins/2/workspace/flame-319.mozilla-central.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 30.0 seconds Test location: https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/camera/test_camera_capture_video.py
Assignee: nobody → viorela.ioia
I tried to reproduce this issue locally, by running the automated test several times, but I couldn't reproduce the failure. Also, I started an adhoc run on latest v2.2, and the test passed each time: http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc/203/HTML_Report/ Device firmware (date) 14 Oct 2014 04:12:29 Device firmware (incremental) eng.cltbld.20141014.071219 Device firmware (release) 4.4.2 Device identifier flame Gaia date 13 Oct 2014 10:46:17 Gaia revision 4f86c631e046 Gecko build 20141014040203 Gecko revision 54217864bae9 Gecko version 36.0a1 I will close this bug as the issue is not reproducible anymore. Please reopen if needed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: