Closed Bug 1497339 Opened 6 years ago Closed 6 years ago

Cannot run reftest locally after building by Tup

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: TYLin, Assigned: chmanchester)

References

Details

(Keywords: in-triage)

Attachments

(1 file)

After building by Tup, I got the following error when running "./mach reftest layout/reftests/css-shapes/dynamic-shape-outside-1.html" locally.


Error running mach:

    ['reftest', 'layout/reftests/css-shapes/dynamic-shape-outside-1.html']

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:

AddonInstallException: No such file or directory: /home/tlin/Projects/gecko/obj-x86_64-pc-linux-gnu/_tests/reftest/reftest
stacktrace:
	WebDriverError@chrome://marionette/content/error.js:178:5
	UnknownError@chrome://marionette/content/error.js:483:5
	install@chrome://marionette/content/addon.js:68:13
	async*GeckoDriver.prototype.installAddon@chrome://marionette/content/driver.js:3362:10
	despatch@chrome://marionette/content/server.js:291:20
	async*execute@chrome://marionette/content/server.js:264:11
	async*onPacket/<@chrome://marionette/content/server.js:237:15
	async*onPacket@chrome://marionette/content/server.js:236:8
	_onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9


  File "/home/tlin/Projects/gecko/layout/tools/reftest/mach_commands.py", line 207, in run_reftest
    return self._run_reftest(**kwargs)
  File "/home/tlin/Projects/gecko/layout/tools/reftest/mach_commands.py", line 240, in _run_reftest
    return reftest.run_desktop_test(**kwargs)
  File "/home/tlin/Projects/gecko/layout/tools/reftest/mach_commands.py", line 91, in run_desktop_test
    rv = runreftest.run_test_harness(parser, args)
  File "/home/tlin/Projects/gecko/layout/tools/reftest/runreftest.py", line 964, in run_test_harness
    result = reftest.runTests(options.tests, options)
  File "/home/tlin/Projects/gecko/layout/tools/reftest/runreftest.py", line 564, in runTests
    return self.runSerialTests(manifests, options, cmdargs)
  File "/home/tlin/Projects/gecko/layout/tools/reftest/runreftest.py", line 900, in runSerialTests
    tests = self.getActiveTests(manifests, options)
  File "/home/tlin/Projects/gecko/layout/tools/reftest/runreftest.py", line 838, in getActiveTests
    self.runApp(options, cmdargs=cmdargs, prefs=prefs)
  File "/home/tlin/Projects/gecko/layout/tools/reftest/runreftest.py", line 794, in runApp
    addons.install(options.reftestExtensionPath, temp=True)
  File "/home/tlin/Projects/gecko/testing/marionette/client/marionette_driver/addons.py", line 55, in install
    raise AddonInstallException(e)
Keywords: in-triage
Assignee: nobody → cmanchester
This requires changes analogous to bug 1462489.
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4530cf55b7b4
Fix reftests in the Tup backend. r=ted,firefox-build-system-reviewers
Running a fix through try.
Flags: needinfo?(cmanchester)
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f9118ebe1bf1
Fix reftests in the Tup backend. r=ted,firefox-build-system-reviewers
https://hg.mozilla.org/mozilla-central/rev/f9118ebe1bf1
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: