Closed
Bug 1225295
Opened 10 years ago
Closed 10 years ago
test_settings_power_save_mode.py : TimeoutException: TimeoutException: Timed out after 10.1 seconds
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1225180
People
(Reporter: MaxIvanov, Unassigned)
Details
Description: Test case fails with "TimeoutException"
Steps:
1. Update a flame device to 20151116030435
2. Run this test case http://lxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_power_save_mode.py
Actual result:
"TimeoutException"
Expected result:
Test completes successfully.
Repro Rate: Reproduced via Jenkins adhoc (1/5 passing)
http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc.bitbar/341/HTML_Report/
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-1.0.0-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_power_save_mode.py", line 25, in test_power_save_mode
battery_settings.enable_power_save_mode()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/battery.py", line 20, in enable_power_save_mode
GaiaBinaryControl(self.marionette, self._power_save_checkbox_locator).enable()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/form_controls/binarycontrol.py", line 24, in enable
self._toggle_and_verify_state(final_state=True)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/form_controls/binarycontrol.py", line 35, in _toggle_and_verify_state
Wait(self.marionette).until(lambda m: self.is_checked is not final_state)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.0.0-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 10.1 seconds
Comment 1•10 years ago
|
||
Like in bug 1225313, the setting was preserved from a run to another, which explains why the test passed during the first try. Bug 1225180 will clean the restart procedure.
Please reopen this bug if the problem is still there.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•