Closed Bug 1021710 Opened 10 years ago Closed 10 years ago

[UITests] Intermittent Failure on Travis: TEST-UNEXPECTED-FAIL | test_a11y_utility_tray_notifications.py test_a11y_utility_tray_notifications.TestUtilityTrayNotificationsAccessibility.test_a11y_utility_tray_notifications | ScriptTimeoutException: ScriptTi

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julienw, Assigned: yzen)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 obsolete file)

TEST-START test_a11y_utility_tray_notifications.py

test_a11y_utility_tray_notifications (test_a11y_utility_tray_notifications.TestUtilityTrayNotificationsAccessibility) ... 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 163, in run

testMethod()

File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/accessibility/system/test_a11y_utility_tray_notifications.py", line 28, in test_a11y_utility_tray_notifications

utility_tray.a11y_clear_all_notifications()

File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/system/regions/utility_tray.py", line 33, in a11y_clear_all_notifications

self.accessibility.click(self.marionette.find_element(*self._notification_clear_locator))

File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 395, in click

[element], special_powers=True)

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.py", line 1177, in execute_async_script

filename=os.path.basename(frame[0]))

File "/home/travis/build/mozilla-b2g/gaia/travis_venv/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/decorators.py", line 35, in _

return func(*args, **kwargs)

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.py", line 624, in _send_message

self._handle_error(response)

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.py", line 683, in _handle_error

raise ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace)

ScriptTimeoutException: ScriptTimeoutException: timed out

TEST-UNEXPECTED-FAIL | test_a11y_utility_tray_notifications.py test_a11y_utility_tray_notifications.TestUtilityTrayNotificationsAccessibility.test_a11y_utility_tray_notifications |

----------------------------------------------------------------------

Ran 1 test in 24.087s

FAILED (errors=1)
Same issue with:

test_a11y_utility_tray_settings.py test_a11y_utility_tray_settings.TestUtilityTraySettingsAccessibility.test_a11y_utility_tray_settings
Yura, can you look into these?

Note there are two test failures here.

Here is the report from the 2nd job in comment #2
http://mozilla-releng-travis-uploads.s3.amazonaws.com/artifacts/44220/44220.4/gaia_ui_tests_report.html
Flags: needinfo?(yzenevich)
Assignee: nobody → yzenevich
Flags: needinfo?(yzenevich)
Attached file Github PR (obsolete) —
It looks like the we have trouble retrieving the accessible object for the element we want to click on. Adding a condition to wait for the screen reader visibility of that element first.
Attachment #8435916 - Flags: review?(zcampbell)
Attachment #8435916 - Attachment is obsolete: true
Attachment #8435916 - Flags: review?(zcampbell)
The PR for the bug 1018214 (at fault) was backed up. I will resubmit the PR in bug 1018214 with, hopefully, fixes for this one.
It doesn't seem that the backout of bug 1018214 fixes this...
(In reply to Julien Wajsberg [:julienw] from comment #10)
> It doesn't seem that the backout of bug 1018214 fixes this...

This is a different set of tests that was added a while ago.
Depends on: 1018214
Hopefully it is fixed with bug 1018214 resolved.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Depends on: 1031381
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: