Closed Bug 1020252 Opened 11 years ago Closed 11 years ago

[flame][v1.4] test_system_message.TestSystemMessages is failing on v1.4

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: AndreiH, Unassigned)

Details

Attachments

(1 file)

Traceback (most recent call last): File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/system/test_system_message.py", line 30, in test_app_launched_by_system_message self.on_app_launched() File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/system/test_system_message.py", line 44, in on_app_launched """ % (self._testing_system_message, self._testing_message_id)) File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 1114, in execute_script filename=os.path.basename(frame[0])) File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 604, in _send_message "Connection timed out", status=ErrorCodes.TIMEOUT) TimeoutException: TimeoutException: Connection timed out Most recent errors/exceptions are: 06-04 05:39:03.443 I/Gecko ( 7803): ###!!! [Child][MessageChannel] Error: Channel closing: too late to send/recv, messages will be lost 06-04 05:39:04.683 E/GeckoConsole( 7989): Content JS ERROR at app://homescreen.gaiamobile.org/gaia_build_defer_index.js:399 in loadSVConfFileError: Failed parsing singleVariant configuration file [js/singlevariantconf.json]: [Exception... "File error: Not found" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: app://homescreen.gaiamobile.org/gaia_build_defer_index.js :: loadFile :: line 391" data: no] 06-04 05:39:06.013 E/GeckoConsole( 7989): Content JS ERROR at app://homescreen.gaiamobile.org/gaia_build_defer_index.js:61 in retrieve: Got an exception when trying to load icon "app://music2.gaiamobile.org/style/icons/Music.png +" falling back to cached icon. Exception is: 06-04 05:39:09.383 I/Gecko ( 7706): ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv 06-04 05:39:09.393 I/Gecko ( 7706): ############ ErrorPage.js The B2G process has restarted after crashing during the tests so Marionette can't respond due to either a Gecko, Gaia or Marionette error. Above, the 5 most recent errors are listed. Check logcat for all errors if these errors are not the cause of the failure.
The test is the exact same one as on master. The thing is that when I run the test from v1.4 branch with v1.4 build the test fails, but when I run the test from master branch with v1.4 build the test passes. http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Flame/job/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/2/HTML_Report/ Can I get some help on this? :)
Flags: needinfo?(zcampbell)
I think launch() is returning too fast on v1.4. I put in sleep(5) after test-container.launch() and the test passes. We could either bring in the gaia_apps atom from master and see if it works, or add this wait as a bit of a hack. The latter is less risky.
Flags: needinfo?(zcampbell)
Priority: -- → P1
Seems more cleaner
Attachment #8434198 - Flags: review?(zcampbell)
Attachment #8434198 - Flags: review?(florin.strugariu)
Attachment #8434198 - Flags: review?(zcampbell)
Attachment #8434198 - Flags: review?(florin.strugariu)
Attachment #8434198 - Flags: review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: