Closed
Bug 1169999
Opened 10 years ago
Closed 9 years ago
Intermittent failure in test_lockscreen_unlock_to_camera_with_passcode.py, from camera.take_photo(), TimeoutException: Connection timed out
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: martijn.martijn, Unassigned)
References
()
Details
http://jenkins1.qa.scl3.mozilla.com/job/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/4310/testReport/%28root%29/test_lockscreen_unlock_to_camera_with_passcode_py%20TestCameraUnlockWithPasscode_test_unlock_to_camera_with_passcode/test_lockscreen_unlock_to_camera_with_passcode_py_TestCameraUnlockWithPasscode_test_unlock_to_camera_with_passcode/
Traceback (most recent call last):
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.13-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py", line 38, in test_unlock_to_camera_with_passcode
camera.take_photo()
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 61, in take_photo
self.wait_for_thumbnail_visible()
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 155, in wait_for_thumbnail_visible
thumbnail = Wait(self.marionette).until(expected.element_present(*self._thumbnail_button_locator))
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/wait.py", line 122, in until
rv = condition(self.marionette)
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/expected.py", line 44, in __call__
return _find(marionette, self.locator)
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/expected.py", line 289, in _find
el = func(marionette)
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/expected.py", line 41, in <lambda>
self.locator = lambda m: m.find_element(*args)
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/marionette.py", line 1538, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/decorators.py", line 36, in _
return func(*args, **kwargs)
File "/var/jenkins/1/workspace/flame-kk-319.b2g-inbound.tinderbox.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/marionette.py", line 692, in _send_message
raise errors.TimeoutException("Connection timed out")
TimeoutException: TimeoutException: Connection timed out
No idea why this happened.
Just filing this bug to keep track of this failure.
| Reporter | ||
Comment 1•10 years ago
|
||
Ok, I repeated this test locally for 10 times and I get this failure once, I think (without the timeout failure, though).
TEST-START | test_lockscreen_unlock_to_camera_with_passcode.py TestCameraUnlockWithPasscode.test_unlock_to_camera_with_passcode
TEST-UNEXPECTED-ERROR | test_lockscreen_unlock_to_camera_with_passcode.py TestCameraUnlockWithPasscode.test_unlock_to_camera_with_passcode | TimeoutException: TimeoutException: Timed out after 10.8 seconds
Traceback (most recent call last):
File "/Users/mwargers/.virtualenvs/gaia-py-latest/lib/python2.7/site-packages/marionette_client-0.13-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py", line 38, in test_unlock_to_camera_with_passcode
camera.take_photo()
File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 61, in take_photo
self.wait_for_thumbnail_visible()
File "/Users/mwargers/B2G/gaia_clean/tests/python/gaia-ui-tests/gaiatest/apps/camera/app.py", line 155, in wait_for_thumbnail_visible
thumbnail = Wait(self.marionette).until(expected.element_present(*self._thumbnail_button_locator))
File "/Users/mwargers/.virtualenvs/gaia-py-latest/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TEST-INFO took 88881ms
| Reporter | ||
Comment 2•10 years ago
|
||
This happens in low memory conditions a lot, where taking a picture is sometimes just refused by the device.
| Reporter | ||
Comment 3•9 years ago
|
||
Marking WONTFIX, sorry for the bug spam. If somebody still wants to work on this, please file a new bug for it.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•