Open Bug 1255652 Opened 9 years ago Updated 2 years ago

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


(Testing :: Reftest, defect)



(Not tracked)


(Reporter: mchang, Unassigned)


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

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/", line 326, in run_reftest
    return self._run_reftest(**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/", line 374, in _run_reftest
    return reftest.run_desktop_test(**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/", line 208, in run_desktop_test
    rv =**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/", line 690, in run
    return reftest.runTests(options.tests, options)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/", line 424, in runTests
    return self.runSerialTests(manifests, options, cmdlineArgs)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/", line 630, in runSerialTests
    profile = self.createReftestProfile(options, manifests)
  File "/Users/masonchang/Projects/gecko-dev/layout/tools/reftest/", line 342, in createReftestProfile
    profile = mozprofile.Profile(**kwargs)
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/", line 89, in __init__
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/", 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/", line 173, in install_addons
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/", line 341, in install_from_path
  File "/Users/masonchang/Projects/gecko-dev/testing/mozbase/mozprofile/mozprofile/", 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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.