adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.26k stars 7.64k forks source link

Intermittent failure on Windows Jenkins build during cef-symlink #5945

Closed jasonsanjose closed 10 years ago

jasonsanjose commented 10 years ago

During the Brackets_Build_All job (on the windows slave only), the cef-symlink grunt task intermittently fails during the initial npm install step:

+ npm install

> Brackets-Shell@0.34.0-0 preinstall c:\jenkins\ws\label\windows\brackets-shell
> bash -c 'mv appshell.gyp .appshell.gyp'

npm http GET https://registry.npmjs.org/grunt-cli/0.1.6
npm http GET https://registry.npmjs.org/grunt-contrib-jshint/0.2.0
npm http GET https://registry.npmjs.org/grunt-contrib-clean/0.4.0
npm http GET https://registry.npmjs.org/guid/0.0.10
npm http GET https://registry.npmjs.org/grunt-curl/0.5.0
npm http GET https://registry.npmjs.org/q/0.9.2
npm http GET https://registry.npmjs.org/grunt-contrib-copy/0.4.0
npm http GET https://registry.npmjs.org/semver/2.0.11
npm http GET https://registry.npmjs.org/grunt-shell/0.2.1
npm http 304 https://registry.npmjs.org/guid/0.0.10
npm http 304 https://registry.npmjs.org/grunt-contrib-clean/0.4.0
npm http 304 https://registry.npmjs.org/grunt-contrib-jshint/0.2.0
npm http 304 https://registry.npmjs.org/grunt-curl/0.5.0
npm http 200 https://registry.npmjs.org/grunt-cli/0.1.6
npm http GET https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.6.tgz
npm http 304 https://registry.npmjs.org/q/0.9.2
npm http 304 https://registry.npmjs.org/grunt-contrib-copy/0.4.0
npm http 304 https://registry.npmjs.org/semver/2.0.11
npm http 304 https://registry.npmjs.org/grunt-shell/0.2.1
npm http 200 https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.6.tgz
npm http GET https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/grunt-retro
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/jshint
npm http 304 https://registry.npmjs.org/findup-sync
npm http 304 https://registry.npmjs.org/grunt-retro
npm http 304 https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lodash
npm http GET https://github.com/ariya/esprima/tarball/master
npm http GET https://registry.npmjs.org/peakle
npm http GET https://registry.npmjs.org/cli/0.4.3
npm http GET https://registry.npmjs.org/shelljs
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http 200 https://github.com/ariya/esprima/tarball/master
npm http 304 https://registry.npmjs.org/peakle
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/shelljs
npm http 304 https://registry.npmjs.org/cli/0.4.3
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.7.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.7.tgz

> Brackets-Shell@0.34.0-0 install c:\jenkins\ws\label\windows\brackets-shell
> 

> Brackets-Shell@0.34.0-0 postinstall c:\jenkins\ws\label\windows\brackets-shell
> bash -c 'mv .appshell.gyp appshell.gyp; grunt'

Running "cef" task

Running "cef-download" task
Downloading http://dev.brackets.io/cef/cef_binary_3.1547.1459_windows.zip. This may take a while...

Running "curl-dir:cef-win" (curl-dir) task
Files "downloads\cef_binary_3.1547.1459_windows.zip" created.

Running "cef-clean" task

Running "cef-extract" task

Running "cef-symlinks" task
>> Error: EPERM, symlink 'c:\jenkins\ws\label\windows\brackets-shell\deps\cef\Debug'
Warning: Task "cef-symlinks" failed. Use --force to continue.
Unhandled rejected promise: Error: EPERM, symlink 'c:\jenkins\ws\label\windows\brackets-shell\deps\cef\libcef_dll'
From previous event:
    at c:\jenkins\ws\label\windows\brackets-shell\node_modules\q\q.js:1395:24
    at c:\jenkins\ws\label\windows\brackets-shell\tasks\setup.js:60:20
    at c:\jenkins\ws\label\windows\brackets-shell\tasks\setup.js:179:28
    at Array.forEach (native)
    at Object.<anonymous> (c:\jenkins\ws\label\windows\brackets-shell\tasks\setup.js:174:34)
    at Object.thisTask.fn (c:\jenkins\ws\label\windows\brackets-shell\node_modules\grunt\lib\grunt\task.js:78:16)
    at Object.<anonymous> (c:\jenkins\ws\label\windows\brackets-shell\node_modules\grunt\lib\util\task.js:282:30)
    at Task.runTaskFn (c:\jenkins\ws\label\windows\brackets-shell\node_modules\grunt\lib\util\task.js:235:24)
    at Task.<anonymous> (c:\jenkins\ws\label\windows\brackets-shell\node_modules\grunt\lib\util\task.js:281:12)
    at Task.<anonymous> (c:\jenkins\ws\label\windows\brackets-shell\node_modules\grunt\lib\util\task.js:215:7)
npm ERR! weird error 3
Build step 'Execute shell' marked build as failure
Sending e-mails to: bracketsdev@adobe.com
[BFA] Scanning build for known causes...

[BFA] Done. 0s
Finished: FAILURE
jasonsanjose commented 10 years ago

Closing. @ingorichter moved the workspace on the win 7 jenkins slave to fix the EPERM error.