Issue Type: Bug Bug
Assignee: Unassigned
Components: nodejs
Created: 21/Aug/14 11:02 PM
Description:

I have multiple jobs configured to use the same NodeJS Installer. As a result, sometimes one job is running the installer to update the cache while another one starts. It seems as if all of node is removed making commands unavailable. It looks like it's event happened during a build resulting in a file not found error.

Is there a way to share a node js installer with multiple builds that may run concurrently?

This is the error I received during the middle of my job, after using this package a whole bunch of time before the error.

Error: ENOENT, no such file or directory '/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/selenium/commands/'
    at Object.fs.readdirSync (fs.js:654:18)
    at loadCommandFiles (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/core/api.js:166:27)
    at loadClientCommands (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/core/api.js:158:5)
    at module.exports.load (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/core/api.js:381:5)
    at new Nightwatch (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/index.js:41:18)
    at Object.exports.client (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/index.js:432:10)
    at runModule (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/runner/run.js:142:27)
    at runTestModule (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/runner/run.js:481:7)
    at null._onTimeout (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/runner/run.js:484:13)
    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

ENOENT, no such file or directory '/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/0.10.25_nightwatch_karma_grunt/lib/node_modules/nightwatch/lib/selenium/commands/'+ true
Environment: Ubuntu 14.04
Project: Jenkins
Priority: Major Major
Reporter: Travis Cosgrave
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to