Closed Bug 1095152 Opened 10 years ago Closed 10 years ago

Semi-automated tests fails on flame-kk builds

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1092330

People

(Reporter: dminor, Unassigned)

References

Details

It looks like the tests might be running prior to the phone being fully booted. Below is a sample backtrace:

 0:47.37 TEST_END: MainThread ERROR, expected PASS
Traceback (most recent call last):
  File "/home/dminor/src/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/webapi_tests/notification/test_simple_notification.py", line 20, in setUp
    super(TestSimpleNotification, self).setUp()
  File "/home/dminor/src/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/webapi_tests/semiauto/testcase.py", line 81, in setUp
    self.app = certapp.launch(self.marionette)
  File "/home/dminor/src/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/webapi_tests/certapp.py", line 75, in launch
    "GaiaApps.launchWithName('%s')" % name, script_timeout=timeout)
  File "/home/dminor/src/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/marionette.py", line 1166, in execute_async_script
    filename=os.path.basename(frame[0]))
  File "/home/dminor/src/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/decorators.py", line 35, in _
    return func(*args, **kwargs)
  File "/home/dminor/src/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/marionette.py", line 613, in _send_message
    self._handle_error(response)
  File "/home/dminor/src/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/marionette.py", line 661, in _handle_error
    raise errors.JavascriptException(message=message, status=status, stacktrace=stacktrace)
JavascriptException: JavascriptException: TypeError: app is null
stacktrace:
	execute_async_script @certapp.py, line 75
	inline javascript, line 336
	src: "    while (app.frontWindow && app.frontWindow.isActive()) {"
Are you using the master branch?  If so, is this a dupe of bug 1092330?
Yes, looks like the same problem. Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.