Closed
Bug 1017101
Opened 11 years ago
Closed 11 years ago
Intermittent Homescreen UI Tests failures: test_homescreen_delete_app.TestDeleteApp.test_delete_app, test_homescreen_launch_app.TestLaunchApp.test_launch_app : TimeoutException
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: AndreiH)
Details
(Keywords: intermittent-failure)
TEST-START test_homescreen_delete_app.py
test_delete_app (test_homescreen_delete_app.TestDeleteApp) ... ERROR
======================================================================
ERROR: None
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 145, in run
self.setUp()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/homescreen/test_homescreen_delete_app.py", line 33, in setUp
confirm_install.tap_confirm()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/confirm_install.py", line 14, in tap_confirm
self.wait_for_element_displayed(*self._confirm_install_button_locator)
File "/home/travis/build/mozilla-b2g/gaia/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 "/home/travis/build/mozilla-b2g/gaia/travis_venv/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: TimeoutException: Timed out after 10.0 seconds
TEST-UNEXPECTED-FAIL | test_homescreen_delete_app.py test_homescreen_delete_app.TestDeleteApp.test_delete_app |
----------------------------------------------------------------------
Ran 1 test in 23.266s
FAILED (errors=1)
TEST-START test_homescreen_launch_app.py
test_launch_app (test_homescreen_launch_app.TestLaunchApp) ... ERROR
======================================================================
ERROR: None
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 145, in run
self.setUp()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/homescreen/test_homescreen_launch_app.py", line 36, in setUp
confirm_install.tap_confirm()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/confirm_install.py", line 14, in tap_confirm
self.wait_for_element_displayed(*self._confirm_install_button_locator)
File "/home/travis/build/mozilla-b2g/gaia/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 "/home/travis/build/mozilla-b2g/gaia/travis_venv/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: TimeoutException: Timed out after 10.1 seconds
TEST-UNEXPECTED-FAIL | test_homescreen_launch_app.py test_homescreen_launch_app.TestLaunchApp.test_launch_app |
----------------------------------------------------------------------
Ran 1 test in 23.341s
FAILED (errors=1)
Comment 1•11 years ago
|
||
Link to the failure: https://travis-ci.org/mozilla-b2g/gaia/jobs/26209239#L2325
Cannot reproduce it on a local device.
Comment 2•11 years ago
|
||
Thanks for filing Julien. If we start seeing it more often, let's disable it. It hasn't been driving me too crazy, yet :)
Assignee | ||
Comment 3•11 years ago
|
||
Cannot believe this!
I am tired of this test :(
I will take a look over this and see what is causing this to fail again.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → andrei.hutusoru
Assignee | ||
Comment 4•11 years ago
|
||
Both test_homescreen_delete_app.TestDeleteApp and test_homescreen_launch_app.TestLaunchApp failed just in that build, the next builds are ok.
I couldn't see any issue locally, which makes me to think that there was an issue with installing the app. (tests are ok).
Assignee | ||
Comment 5•11 years ago
|
||
Please let me know if these are failing again.
Reporter | ||
Comment 6•11 years ago
|
||
Don't worry, I will ;)
I tried to file every intermittent I've seen lately because there has been a lot more than usual. Let's see if this speific one happens rarely enough.
Assignee | ||
Updated•11 years ago
|
Priority: -- → P1
Assignee | ||
Comment 7•11 years ago
|
||
This was only 1 time fail.
I checked the builds, and these tests did not fail for 8 days now.
I am going to close this bug.
Please reopen if it fails again.
Thanks! :)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Comment 8•11 years ago
|
||
This happened recently, see the following failing job,
https://travis-ci.org/mozilla-b2g/gaia/jobs/29229653
test_launch_app (test_homescreen_launch_app.TestLaunchApp) ... ERROR
======================================================================
ERROR: None
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/marionette_test.py", line 170, in run
testMethod()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/homescreen/test_homescreen_launch_app.py", line 49, in test_launch_app
self.homescreen.installed_app(self.APP_NAME).tap_icon()
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/app.py", line 137, in tap_icon
self.wait_for_condition(lambda m: self.apps.displayed_app.name.lower() == expected_name.lower())
File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 54, in wait_for_condition
Wait(self.marionette, timeout).until(method, message=message)
File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/wait.py", line 143, in until
cause=last_exc)
TEST-UNEXPECTED-FAIL | test_homescreen_launch_app.py test_homescreen_launch_app.TestLaunchApp.test_launch_app | TimeoutException: TimeoutException: Timed out after 10.2 seconds
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
This is a different fail Rudy, but I will look over this. Thanks!
Assignee | ||
Comment 11•11 years ago
|
||
I cannot reproduce this locally, but I opened PR https://travis-ci.org/mozilla-b2g/gaia/jobs/29299101
just to run this test, let's see how it performs.
Since the failure is a different one maybe we should open another bug if this is really something that can be fixed in our tests.
Reporter | ||
Comment 12•11 years ago
|
||
https://travis-ci.org/mozilla-b2g/gaia/jobs/29247304
https://travis-ci.org/mozilla-b2g/gaia/jobs/29301254
https://travis-ci.org/mozilla-b2g/gaia/jobs/29296094
https://travis-ci.org/mozilla-b2g/gaia/jobs/29296049
https://travis-ci.org/mozilla-b2g/gaia/jobs/29295202
https://travis-ci.org/mozilla-b2g/gaia/jobs/29294429
It's our most frequent intermittent right now. It's not permafail but nearly...
Can we please just disable the test for now, until you fix it?
Flags: needinfo?(andrei.hutusoru)
Assignee | ||
Comment 13•11 years ago
|
||
Sure, let's just disable the test for desktop right now.
I will open another bug for this since it is another test and it fails for a different reason.
Flags: needinfo?(andrei.hutusoru)
Assignee | ||
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•11 years ago
|
||
Opened bug 1035136
You need to log in
before you can comment on or make changes to this bug.
Description
•