Closed Bug 1239652 Opened 8 years ago Closed 8 years ago

test_login_bzlite.py: TimeoutException self._dashboard_navigator_locator is never found

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlorenzo, Assigned: martijn.martijn)

References

Details

Attachments

(1 file)

Permanent failure that occurs on Jenkins[1] and Taskcluster[2]

> 21:39:57  0:04.82 TEST_START: MainThread test_login_bzlite.py TestBugzillaLite.test_login_BugzillaLite
> 21:41:57  2:05.19 TEST_END: MainThread ERROR, expected PASS
> 21:41:57 Traceback (most recent call last):
> 21:41:57   File "/var/jenkins/2/workspace/flame-kk-spark-512.mozilla-central.nightly.ui.functional.spark/.env/local/lib/python2.7/site-packages/marionette_client-2.0.0-py2.7.egg/marionette/marionette_test.py", line 344, in run
> 21:41:57     testMethod()
> 21:41:57   File "/var/jenkins/2/workspace/flame-kk-spark-512.mozilla-central.nightly.ui.functional.spark/tests/python/gaia-ui-tests/gaiatest/tests/functional/bzlite/test_login_bzlite.py", line 16, in test_login_BugzillaLite
> 21:41:57     self.assertTrue(bugzilla_lite.is_logged_in)
> 21:41:57   File "/var/jenkins/2/workspace/flame-kk-spark-512.mozilla-central.nightly.ui.functional.spark/tests/python/gaia-ui-tests/gaiatest/apps/bzlite/app.py", line 35, in is_logged_in
> 21:41:57     self.wait_for_dashboard_navigator_to_be_displayed()
> 21:41:57   File "/var/jenkins/2/workspace/flame-kk-spark-512.mozilla-central.nightly.ui.functional.spark/tests/python/gaia-ui-tests/gaiatest/apps/bzlite/app.py", line 40, in wait_for_dashboard_navigator_to_be_displayed
> 21:41:57     Wait(self.marionette).until(expected.element_present(*self._dashboard_navigator_locator))))
> 21:41:57   File "/var/jenkins/2/workspace/flame-kk-spark-512.mozilla-central.nightly.ui.functional.spark/.env/local/lib/python2.7/site-packages/marionette_driver-1.1.1-py2.7.egg/marionette_driver/wait.py", line 143, in until
> 21:41:57     cause=last_exc)
> 21:41:57 TimeoutException: TimeoutException: Timed out after 30.4 seconds


[1] http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk-spark-512.mozilla-central.nightly.ui.functional.spark/535/console
[2] https://tools.taskcluster.net/task-inspector/#K-yTDd4iTuinsDGgPqIwRw/0
Based on the screenshot in the HTML report at [2], it seems the dashboard has disappeared. Then we need to update the wait condition to something that is now displayed. Could you take a look at it, Michael?
Flags: needinfo?(mbryant)
Assignee: nobody → mbryant
Sorry, I accidentally made a fix already.
Assignee: mbryant → martijn.martijn
Blocks: 1240139
Comment on attachment 8709535 [details] [review]
[gaia] mwargers:1239652 > mozilla-b2g:master

I think Manel wrote this test.
Flags: needinfo?(mbryant)
Attachment #8709535 - Flags: review?(manel.rhaiem92)
Attachment #8709535 - Flags: review?(jlorenzo)
Comment on attachment 8709535 [details] [review]
[gaia] mwargers:1239652 > mozilla-b2g:master

Straight forward fix.
Attachment #8709535 - Flags: review?(jlorenzo) → review+
Attachment #8709535 - Flags: review?(npark)
Comment on attachment 8709535 [details] [review]
[gaia] mwargers:1239652 > mozilla-b2g:master

looks straightforward.
Attachment #8709535 - Flags: review?(npark) → review+
Comment on attachment 8709535 [details] [review]
[gaia] mwargers:1239652 > mozilla-b2g:master

I am okay with mwarger's change thnak you!
Attachment #8709535 - Flags: review?(manel.rhaiem92) → review+
Merged: https://github.com/mozilla-b2g/gaia/commit/6e5778766d87136a5d1f6099cc4331bf7fd2e1d4
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: