Hi guys,

I’ve been having trouble to run integration tests locally in the last days.

When executing ‘make test-integration’ (after a 'make really-clean’), I got:

npm ERR! Darwin 15.0.0
npm ERR! argv "node" "/Users/alberto/.nvm/versions/node/v0.12.7/bin/npm" 
"install"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `./scripts/setup_python.sh`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 
'./scripts/setup_python.sh'.
npm ERR! This is most likely a problem with the marionette-js-runner package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./scripts/setup_python.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls marionette-js-runner
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/alberto/Projects/gaia/npm-debug.log


I can manually install that package, but when running any test, I got:

1) Ambient indicator "before all" hook:

  Error: Unexpected exit during connect: signal = undefined, code = undefined
      at ChildProcess.<anonymous> 
(/Users/alberto/Projects/gaia/node_modules/marionette-js-runner/host/host.js:182:14)
      at ChildProcess.g (events.js:199:16)
      at ChildProcess.emit (events.js:110:17)
      at Process.ChildProcess._handle.onexit (child_process.js:1074:12)

  2) Ambient indicator "after all" hook:

  TypeError: Cannot read property 'destroy' of undefined
      at Context.<anonymous> 
(/Users/alberto/Projects/gaia/node_modules/marionette-js-runner/lib/runtime/hostmanager.js:153:18)
      at callFn 
(/Users/alberto/Projects/gaia/node_modules/mocha/lib/runnable.js:223:21)
      at Hook.Runnable.run 
(/Users/alberto/Projects/gaia/node_modules/mocha/lib/runnable.js:216:7)
      at next 
(/Users/alberto/Projects/gaia/node_modules/mocha/lib/runner.js:258:10)
      at Immediate._onImmediate 
(/Users/alberto/Projects/gaia/node_modules/mocha/lib/runner.js:275:5)
      at processImmediate [as _immediateCallback] (timers.js:367:17)




npm ERR! Darwin 15.0.0
npm ERR! argv "node" "/Users/alberto/.nvm/versions/node/v0.12.7/bin/npm" "run" 
"marionette" "--" "--buildapp=desktop" "--reporter=spec"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] marionette: `gaia-marionette "--buildapp=desktop" 
"--reporter=spec"`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] marionette script 'gaia-marionette 
"--buildapp=desktop" "--reporter=spec"'.
npm ERR! This is most likely a problem with the gaia package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gaia-marionette "--buildapp=desktop" "--reporter=spec"
npm ERR! You can get their info via:
npm ERR!     npm owner ls gaia
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/alberto/Projects/gaia/npm-debug.log
make: *** [test-integration-test] Error 1


Any idea, anyone?

Thanks!
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to