Open Bug 1255652 Opened 4 years ago Updated 4 years ago

Cannot run ./mach reftest "IOError: Add-on path does not exist."

Categories

(Testing :: Reftest, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: mchang, Unassigned)

Details

When trying to run ./mach reftest from the command line, I'm getting this error:


gecko-dev masonchang$ ./mach reftest layout/reftests/bugs
REFTEST INFO | Checking for orphan ssltunnel processes...
REFTEST INFO | Checking for orphan xpcshell processes...
Error running mach:

    ['reftest', 'layout/reftests/bugs']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

IOError: Add-on path does not exist: /Users/masonchang/Projects/gecko-dev/Debug32-Unopt/_tests/reftest/reftest

  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/mach_commands.py", line 326, in run_reftest
    return self._run_reftest(**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/mach_commands.py", line 374, in _run_reftest
    return reftest.run_desktop_test(**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/mach_commands.py", line 208, in run_desktop_test
    rv = runreftest.run(**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/runreftest.py", line 690, in run
    return reftest.runTests(options.tests, options)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/runreftest.py", line 424, in runTests
    return self.runSerialTests(manifests, options, cmdlineArgs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/runreftest.py", line 630, in runSerialTests
    profile = self.createReftestProfile(options, manifests)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/runreftest.py", line 342, in createReftestProfile
    profile = mozprofile.Profile(**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/profile.py", line 89, in __init__
    self._internal_init()
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/profile.py", line 118, in _internal_init
    self.addon_manager.install_addons(self._addons, self._addon_manifests)
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/addons.py", line 173, in install_addons
    self.install_from_path(addon)
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/addons.py", line 341, in install_from_path
    self.addon_details(path)
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/addons.py", line 273, in addon_details
    raise IOError('Add-on path does not exist: %s' % addon_path)


It used to work just fine. Run on OS X El Capitan
You need to log in before you can comment on or make changes to this bug.