All users were logged out of Bugzilla on October 13th, 2018

[v2.1] Intermittent test_sms_contact_input_validation.py TestContactValidation.test_sms_contact_validation | TimeoutException: TimeoutException: Timed out after 10.1 seconds

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
4 years ago
8 months ago

People

(Reporter: philor, Unassigned)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Comment hidden (empty)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
When this happens, it apparently fails to put the virtual keyboard in shift mode. Apparently, tapping on the shift key doesn't work then.
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
18:27:48 INFO - TEST-START | test_sms_contact_input_validation.py TestContactValidation.test_sms_contact_validation
18:28:27 ERROR - TEST-UNEXPECTED-ERROR | test_sms_contact_input_validation.py TestContactValidation.test_sms_contact_validation | TimeoutException: TimeoutException: Timed out after 10.0 seconds
18:28:27 INFO - Traceback (most recent call last):
18:28:27 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 174, in run
18:28:27 INFO - testMethod()
18:28:27 INFO - File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_sms_contact_input_validation.py", line 32, in test_sms_contact_validation
18:28:27 INFO - new_message.type_message('Test message')
18:28:27 INFO - File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/apps/messages/regions/new_message.py", line 43, in type_message
18:28:27 INFO - self.keyboard.send(value)
18:28:27 INFO - File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/apps/keyboard/app.py", line 238, in send
18:28:27 INFO - self._tap(val)
18:28:27 INFO - File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/apps/keyboard/app.py", line 187, in _tap
18:28:27 INFO - self.wait_for_condition(lambda m: not self._is_upper_case)
18:28:27 INFO - File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 56, in wait_for_condition
18:28:27 INFO - Wait(self.marionette, timeout).until(method, message=message)
18:28:27 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/wait.py", line 143, in until
18:28:27 INFO - cause=last_exc)
Comment hidden (Treeherder Robot)
I tried to investigate this some time ago. 
This is failing in the "Compose" textfield of the email app. When typing there, the first letter automatically gets capitalized.
So I wondered if the check for capitalization somehow screws things up here, sometimes (turns on the capitalization key, then the email app does the same, then it gets turned off again, then the capitalization key check is done).

Adding a timeout might be a solution here, to make sure that after focusing the Compose textfield, the email app has capitalized the vkb.
One thing I don't understand, the log shows failure in:
self.wait_for_condition(lambda m: not self._is_upper_case)

But it already should have been converted to:
Wait(self.marionette).until(lambda m: not self._is_upper_case)
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/keyboard/app.py#196

Or am I misunderstanding something, Dave?
Flags: needinfo?(dave.hunt)
I don't think the wait refactoring was uplifted to v2.1.
Flags: needinfo?(dave.hunt)
Ah, ok. This is only intermittently failing v2.1, I see.
Summary: Intermittent test_sms_contact_input_validation.py TestContactValidation.test_sms_contact_validation | TimeoutException: TimeoutException: Timed out after 10.1 seconds → [v2.1] Intermittent test_sms_contact_input_validation.py TestContactValidation.test_sms_contact_validation | TimeoutException: TimeoutException: Timed out after 10.1 seconds
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)

Comment 42

8 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.