Closed Bug 995455 Opened 10 years ago Closed 10 years ago

"Exception: Privileged WebAPI Verification App is already installed" when re-running cert tests

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: dminor)

References

Details

When running the cert tests on a phone that's already run them, the following exception occurs:

#5: Installing the privileged app. This will take a minute...
Traceback (most recent call last):
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/bin/cert", line 9, in <module>
    load_entry_point('fxos-certsuite==0.1', 'console_scripts', 'cert')()
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 400, in cli
    install_app(appname, 'app.zip', timeout=30000)
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 128, in install_app
    raise Exception("%s is already installed" % app_name)
Exception: Privileged WebAPI Verification App is already installed

We should make sure that the tests can be re-run on a phone without error.
Assignee: nobody → dminor
mdas is adding support in fxos-appgen to remove an app if it is already installed, but the API being used may disappear in the future: https://developer.mozilla.org/en-US/Apps/Build/JavaScript_API/navigator.mozApps.mgmt.uninstall
Depends on: 998976
Addressed in: https://github.com/mozilla-b2g/fxos-certsuite/pull/77
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
FYI This bug still shows up on the documentation.pdf on page 6 for the master branch.
(In reply to Armen Zambrano [:armenzg] (EDT/UTC-4) from comment #3)
> FYI This bug still shows up on the documentation.pdf on page 6 for the
> master branch.

Thanks, I just pushed a fix to the source file and will re-generate the docs for the next release.
You need to log in before you can comment on or make changes to this bug.