Closed
Bug 1028236
Opened 11 years ago
Closed 11 years ago
Intermittent failure in launch Persona app test
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: AndreiH, Assigned: AndreiH)
Details
Attachments
(3 files)
This is a failure that I have seen also on v2.0 and I want to investigate this.
I cannot reproduce this locally manually or via automation.
http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Flame/job/b2g.flame.mozilla-central.ui.non-smoketest/79/HTML_Report/
Traceback (most recent call last):
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/marionette_test.py", line 170, in run
testMethod()
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/persona/test_persona_app.py", line 34, in test_persona_standard_sign_in
moz_id.switch_to_frame()
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/ui_tests/regions/persona.py", line 29, in switch_to_frame
self.wait_for_ready_event()
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/ui_tests/regions/persona.py", line 48, in wait_for_ready_event
self.wait_for_element_present(*self._app_ready_event)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 29, in wait_for_element_present
lambda m: m.find_element(by, locator))
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/wait.py", line 143, in until
cause=last_exc)
TimeoutException: Traceback (most recent call last):
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/wait.py", line 122, in until
rv = condition(self.marionette)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 29, in <lambda>
lambda m: m.find_element(by, locator))
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/marionette.py", line 1213, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/decorators.py", line 35, in _
return func(*args, **kwargs)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/marionette.py", line 633, in _send_message
self._handle_error(response)
File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.9-py2.7.egg/marionette/marionette.py", line 664, in _handle_error
raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace)
TimeoutException: Timed out after 20.2 seconds, caused by <class 'marionette.errors.NoSuchElementException'>
![]() |
Assignee | |
Updated•11 years ago
|
Priority: -- → P1
![]() |
Assignee | |
Comment 2•11 years ago
|
||
Failed again http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.flame.mozilla-aurora.ui.non-smoketest/38/HTML_Report/
I will take this and investigate this.
Assignee: nobody → andrei.hutusoru
Flags: needinfo?(andrei.hutusoru)
![]() |
Assignee | |
Comment 3•11 years ago
|
||
Attachment #8445197 -
Flags: review?(florin.strugariu)
![]() |
Assignee | |
Comment 4•11 years ago
|
||
![]() |
Assignee | |
Updated•11 years ago
|
Attachment #8445197 -
Flags: review?(robert.chira)
![]() |
Assignee | |
Comment 5•11 years ago
|
||
Attachment #8445205 -
Flags: review?(robert.chira)
Attachment #8445205 -
Flags: review?(florin.strugariu)
Updated•11 years ago
|
Attachment #8445205 -
Flags: review?(florin.strugariu) → review+
![]() |
||
Comment 6•11 years ago
|
||
I don't think the changes in the PR will influence the issue from https://bugzilla.mozilla.org/show_bug.cgi?id=1028236#c0
I investigated this issue a while ago and could not reproduce it locally. It seemed to be related to the internet connection issues.
Started an adhoc run without the changes to see if it still fails:
https://bugzilla.mozilla.org/show_bug.cgi?id=1028236#c0
![]() |
||
Comment 7•11 years ago
|
||
Comment on attachment 8445205 [details] [review]
V2.1 PR https://github.com/mozilla-b2g/gaia/pull/20935
The adhoc run was green even without the change. The original issue may have been caused by a slow internet connection.
r- this PR doesn't bring additional value to the test.
Attachment #8445205 -
Flags: review?(robert.chira) → review-
![]() |
||
Updated•11 years ago
|
Attachment #8445197 -
Flags: review?(robert.chira) → review-
![]() |
||
Comment 8•11 years ago
|
||
(In reply to Robert Chira [:RobertC] from comment #7)
> Comment on attachment 8445205 [details] [review]
> V2.1 PR https://github.com/mozilla-b2g/gaia/pull/20935
>
> The adhoc run was green even without the change. The original issue may have
> been caused by a slow internet connection.
>
> r- this PR doesn't bring additional value to the test.
I agree with this. We're not interacting with this element so it's not important that it be displayed. We're just using it as an event.
Usually when this test has failed in the past thre are a lot of errors in the logcat so that should be the first place to check.
Comment 9•11 years ago
|
||
Andrei can you take a second look over this?
Flags: needinfo?(andrei.hutusoru)
Updated•11 years ago
|
Attachment #8445197 -
Flags: review?(florin.strugariu)
![]() |
Assignee | |
Comment 10•11 years ago
|
||
Bebe, when I run this locally it passes every time, so it's hard for me to see the errors in the logcat, if there are any.
Robert, Vio, did this fail anytime from the last week?
Flags: needinfo?(viorela.ioia)
Flags: needinfo?(robert.chira)
Flags: needinfo?(andrei.hutusoru)
![]() |
||
Comment 11•11 years ago
|
||
I have not seen this fail on v2.0 this week or on v2.1 last week.
Flags: needinfo?(robert.chira)
Comment 12•11 years ago
|
||
The test didn't fail on v2.1 this week either.
Flags: needinfo?(viorela.ioia)
![]() |
Assignee | |
Comment 13•11 years ago
|
||
Thanks for the info guys, guess I will be closing this if it did not fail for the past two weeks.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•