Closed
Bug 1183800
Opened 9 years ago
Closed 9 years ago
test_clock_create_new_alarm.py: "Connection to Marionette server is lost." or "TimeoutException: Timed out after 61.3 seconds"
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: onelson, Assigned: martijn.martijn)
References
()
Details
Attachments
(1 file)
Description: test_clock_create_new_alarm is failing consistently in the latest smoke reports on bitbar. The test appears to fail at the homescreen after having created the alarm; the phone fails to receive the notification or appearance of the alarm in the timeframe expected (1 minute) [2/6]. Also experienced a second traceback where marionette failed to respond to the test [4/6]. * http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk-319.mozilla-central.nightly.ui.functional.smoke.bitbar/285/HTML_Report/ * http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc.bitbar/133/HTML_Report/ Repro Steps: 1) Update phone to 20150714010206 2) Open the 'Clock' app 3) Create a new alarm; set to go off at the next minute 4) Tap 'home' to return to homescreen 5) Wait for alarm Actual: Alarm does not trigger; test fails Expected: Alarm triggers and phone recognizes it successfully; test passes Traceback #1 [4/6] (most recent call last): File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-0.16-py2.7.egg/marionette/marionette_test.py", line 296, in run testMethod() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/clock/test_clock_create_new_alarm.py", line 98, in test_clock_create_new_alarm self.alarm_alert.tap_stop_alarm() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/clock/regions/alarm_alert.py", line 27, in tap_stop_alarm stop_alarm_button.tap() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 80, in tap return self.marionette._send_message('singleTap', 'ok', id=self.id, x=x, y=y) File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/decorators.py", line 36, in _ return func(*args, **kwargs) File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/marionette.py", line 691, in _send_message response = self.client.send(message) File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_transport-0.5-py2.7.egg/marionette_transport/transport.py", line 117, in send response = self.receive() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_transport-0.5-py2.7.egg/marionette_transport/transport.py", line 73, in receive raise IOError(self.connection_lost_msg) IOError: Connection to Marionette server is lost. Check gecko.log (desktop firefox) or logcat (b2g) for errors. Traceback #2 [2/6] (most recent call last): File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-0.16-py2.7.egg/marionette/marionette_test.py", line 296, in run testMethod() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/clock/test_clock_create_new_alarm.py", line 94, in test_clock_create_new_alarm self.alarm_alert.wait_for_alarm_to_trigger() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/clock/regions/alarm_alert.py", line 18, in wait_for_alarm_to_trigger expected.element_present(*self._alarm_frame_locator)) File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 61.3 seconds Environmental Variables: Device firmware (base) L1TC100118D0 Device firmware (date) 14 Jul 2015 08:44:12 Device firmware (incremental) eng.cltbld.20150714.044401 Device firmware (release) 4.4.2 Device identifier flame Device memory 219772 kB Device serial f0484102 Device uptime 0 days 0 hours 2 minutes 10 seconds Gaia date 13 Jul 2015 23:56:32 Gaia revision 7676b68b4d32 Gecko build 20150714010206 Gecko revision 0931671a14ef Gecko version 42.0a1 Reproducible manually: No Repro frequency: 5/5
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → martijn.martijn
Assignee | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8634282 [details] [review] [gaia] mwargers:1183800 > mozilla-b2g:master Same workaround as used in other code.
Attachment #8634282 -
Flags: review?(npark)
Attachment #8634282 -
Flags: review?(jlorenzo)
Comment 3•9 years ago
|
||
Comment on attachment 8634282 [details] [review] [gaia] mwargers:1183800 > mozilla-b2g:master I remember this fix, LGTM. Btw, is there a separate bug to address the root issue causes the script to fail?
Attachment #8634282 -
Flags: review?(npark) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8634282 [details] [review] [gaia] mwargers:1183800 > mozilla-b2g:master Fine to me.
Attachment #8634282 -
Flags: review?(jlorenzo) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Merged: https://github.com/mozilla-b2g/gaia/commit/1699844ebfc0cae4f80cf8e8cd43686a392d3bc7(In reply to No-Jun Park [:njpark] from comment #3) > I remember this fix, LGTM. > Btw, is there a separate bug to address the root issue causes the script to > fail? That's the bug I mentioned in the pull request, no?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 6•9 years ago
|
||
Ah, I only saw the mentioning of Bug 1065933, and didn't read the comment right below it, sorry about that.
You need to log in
before you can comment on or make changes to this bug.
Description
•