[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

RESOLVED FIXED

Status

Firefox OS
Gaia::UI Tests
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: julienw, Assigned: yzen)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 obsolete attachment)

(Reporter)

Description

4 years ago
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)
(Reporter)

Comment 1

4 years ago
Same issue with:

test_a11y_utility_tray_settings.py test_a11y_utility_tray_settings.TestUtilityTraySettingsAccessibility.test_a11y_utility_tray_settings
(Reporter)

Comment 2

4 years ago
https://travis-ci.org/mozilla-b2g/gaia/jobs/26919231
https://travis-ci.org/mozilla-b2g/gaia/jobs/26917802

Comment 3

4 years ago
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)

Updated

4 years ago
Assignee: nobody → yzenevich
Flags: needinfo?(yzenevich)
(Reporter)

Comment 4

4 years ago
https://travis-ci.org/mozilla-b2g/gaia/jobs/26924954
(Assignee)

Comment 5

4 years ago
Created attachment 8435916 [details] [review]
Github PR

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)
(Reporter)

Comment 6

4 years ago
https://travis-ci.org/mozilla-b2g/gaia/jobs/26937188
Comment hidden (Treeherder Robot)
(Assignee)

Updated

4 years ago
Attachment #8435916 - Attachment is obsolete: true
Attachment #8435916 - Flags: review?(zcampbell)
(Assignee)

Comment 8

4 years ago
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.
(Reporter)

Comment 9

4 years ago
https://travis-ci.org/mozilla-b2g/gaia/jobs/27288732
(Reporter)

Comment 10

4 years ago
It doesn't seem that the backout of bug 1018214 fixes this...
(Assignee)

Comment 11

4 years ago
(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.
(Assignee)

Updated

4 years ago
Depends on: 1018214
(Assignee)

Comment 12

4 years ago
Hopefully it is fixed with bug 1018214 resolved.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Updated

4 years ago
Depends on: 1031381
Comment hidden (Treeherder Robot)
You need to log in before you can comment on or make changes to this bug.