Closed
Bug 946665
Opened 11 years ago
Closed 10 years ago
Bad intermittent on Travis with `test_keyboard_basic`
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(b2g-v1.2 unaffected)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
b2g-v1.2 | --- | unaffected |
People
(Reporter: zcampbell, Assigned: zcampbell)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
This is failing with a very high intermittent rate on Travis. We need this addressed urgently. ------------------- TEST-START test_keyboard.py test_keyboard_basic (test_keyboard.TestKeyboard) ... ERROR ====================================================================== ERROR: None ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.6.2-py2.7.egg/marionette/marionette_test.py", line 143, in run testMethod() File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard.py", line 42, in test_keyboard_basic contact_details = contacts_app.contacts[0].tap() File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/contacts/app.py", line 112, in tap return ContactDetails(self.marionette) File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/contacts/regions/contact_details.py", line 22, in __init__ self.wait_for_condition(lambda m: m.find_element(*self._contact_name_title_locator).location['x'] == 0) File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 103, in wait_for_condition raise TimeoutException(message) TEST-UNEXPECTED-FAIL | test_keyboard.py test_keyboard.TestKeyboard.test_keyboard_basic | TimeoutException: Condition timed out
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → trifandreialin
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8343145 -
Flags: review?(trifandreialin)
Attachment #8343145 -
Flags: review?(bob.silverberg)
Updated•11 years ago
|
Assignee: trifandreialin → zcampbell
Comment 2•11 years ago
|
||
Comment on attachment 8343145 [details] [review] github pr r+
Attachment #8343145 -
Flags: review?(trifandreialin)
Attachment #8343145 -
Flags: review?(bob.silverberg)
Attachment #8343145 -
Flags: review+
Comment 3•11 years ago
|
||
Merged in: https://github.com/mozilla-b2g/gaia/commit/270b28855124e6885ec0c835909d43465c7412bb
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 4•11 years ago
|
||
v1.2 affected
Comment 5•11 years ago
|
||
Can we xfail this test until we figure this out? It's making Travis very hard to use as a sanity check before landing.
Assignee | ||
Comment 6•11 years ago
|
||
Hi Michael I see this is failing for a completely different reason now and it is affecting two tests that "tap add new contact" If you want to disable it then do that rather than xfail, otherwise we will fix it up properly first thing on Monday. I filed https://bugzilla.mozilla.org/show_bug.cgi?id=947620 to track it as it's a different issue.
Comment 7•11 years ago
|
||
Thanks Zac, sounds good. We will probably disable the test in the meantime to try and get travis green so we can open the tree again. By the way, not sure if you saw the mailing list, but there was also a gecko regression and a bunch of other intermittent failures piling up today. Gregor is sorting through them, poor guy, but he may end up disabling a bunch of tests in the meantime. https://groups.google.com/d/msg/mozilla.dev.gaia/3KkVWP-LKBc/K9aC_gz5XacJ
Comment 8•11 years ago
|
||
This bug as been disabled in https://github.com/mozilla-b2g/gaia/commit/bfc00fb75030f89af41a1408c6799f67c510a208 to reopen the tree.
Keywords: intermittent-failure
Comment 9•11 years ago
|
||
hmm this is strange :D When I run the test if you change focus from the simulator to a new window the keyboard disappears also why do we do this? https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard.py#L23 Use send keys to open the keyboard instead of tapping on the element?
Comment 10•11 years ago
|
||
(In reply to Florin Strugariu [:Bebe] from comment #9) > When I run the test if you change focus from the simulator to a new window > the keyboard disappears Are you including the --app=b2gdesktop command line argument? This enabled focus manager test mode, and is necessary for running tests of the desktop client.
Comment 11•11 years ago
|
||
Yes Dave but if we switch focus from the b2g window to something else when the keyboard is typing that the test fails.
Assignee | ||
Comment 12•11 years ago
|
||
Bebe that's not the problem here. Look at the stacktrace, the problem is not related to that.
Comment 13•11 years ago
|
||
Is Travis still running for v1.2? If so, is this intermittent also happening on v1.2? If neither of those are true then we should remove the status-b2g-v1.2: affected flag.
Assignee | ||
Comment 14•11 years ago
|
||
I checked the last week of v1.2 Travis jobs (about 1 per day) and there was no evidence of this intermittent. This was one of a bunch around the same time that showed evidence of some kind of notification shrouding the buttons at the top of the page. I'm fairly sure this one has gone away.
Assignee | ||
Comment 15•10 years ago
|
||
Seems stable now.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•