Closed Bug 1176725 Opened 9 years ago Closed 9 years ago

test_rocketbar_add_collection_save_bookmark.py: "TimeoutException: Timed out after 32.0 seconds"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: onelson, Unassigned)

References

Details

Attachments

(4 files)

Description:
Test is failing with variable repro due to internet connection failures, resulting in a timeout.

* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc.bitbar/111/HTML_Report/

Repro Steps:
1) Update phone to 20150622010206
2) Connect to an Internet-Connection/Data
3) Hold tap on homescreen
4) Tap on 'add smart collection'
5) Select collection 'Social'
6) Confirm to Homescreen

Actual:
Test encounters "Connect to the internet to add more Smart Collections" error; times out at error

Expected: 
Test adds Smart Collection to homescreen


Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-0.13-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/rocketbar/test_rocketbar_add_collection_save_bookmark.py", line 20, in test_rocketbar_add_collection
collection_activity = contextmenu.tap_add_collection()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/context_menu.py", line 29, in tap_add_collection
return CollectionsActivity(self.marionette)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/collections_activity.py", line 24, in __init__
Wait(self.marionette, timeout=30, interval=5).until(expected.element_not_displayed(loading))
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-0.7-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 32.0 seconds


Environmental Variables:
Device firmware (base) 	L1TC100118D0
Device firmware (date) 	22 Jun 2015 08:43:00
Device firmware (incremental) 	eng.cltbld.20150622.044248
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	f048409a
Device uptime 	0 days 0 hours 2 minutes 36 seconds
Gaia date 	19 Jun 2015 13:21:50
Gaia revision 	d8bac9577a53
Gecko build 	20150622010206
Gecko revision 	a38c23ccca0a
Gecko version 	41.0a1

Reproducible manually: YES, 2/5

Repro frequency: 3/5
Ok, that means bug 1175469 is not resolved then, right?
I'm ready to disable this test again, if necessary.
Blocks: 1175469
Naoki, can you take a look at this? The e.me server still seems to be very unreliable.
Flags: needinfo?(nhirata.bugzilla)
This test is still failing intermittently because of server issues, so I'm going to disable it.
This bug can be repro on today build. When I tap on the Smart Collection "Social", it reminds that "Connect to the internet to get apps for Social". (Note that I had connected a available wifi and I can navigate to "www.youtube.com"). But after a while,  the Smart Collection gets right and it works normally.

Device: Nexus5 v2.2 build
Build ID               20150705002505
Gaia Revision          ea11f422b687a982f0a961c9aea7858066561707
Gaia Date              2015-07-02 23:37:50
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c0214b4c1ea0
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150705.041046
Firmware Date          Sun Jul  5 04:11:05 EDT 2015
Bootloader             HHZ12f
According to Naoki, this should work again and indeed, I ran the test once locally and it seems to work, so I'll enable it again.
Flags: needinfo?(nhirata.bugzilla)
Re-enabled the test: https://github.com/mozilla-b2g/gaia/commit/2673b2501d86f0d6230ee5328e6f7ba054f938a0

Marking this bug wfm then.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
I'm reopening this bug and disabling this test again. It's almost failing every time and I can also manually reproduce this. It looks like the server issues still are not resolved.
Status: RESOLVED → REOPENED
Flags: needinfo?(nhirata.bugzilla)
Resolution: WORKSFORME → ---
(In reply to Autolander from comment #9)
> Created attachment 8630409 [details] [review]
> [gaia] mwargers:1176725_disable_again > mozilla-b2g:master

Merged this: https://github.com/mozilla-b2g/gaia/commit/c25c6dd72c10e14968192f6221bad93291558eee
In the last meeting, Naoki told me this should work again and indeed, I didn't get any failure in 10 repeats, so I'm re-enabling the test again.
Merged: https://github.com/mozilla-b2g/gaia/commit/82427d0ae0c828b2272abb49c8a36f2452fe7500
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Flags: needinfo?(nhirata.bugzilla)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: