[ 
https://issues.apache.org/jira/browse/AMBARI-12370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621677#comment-14621677
 ] 

Vijay Srinivasaraghavan commented on AMBARI-12370:
--------------------------------------------------

Here is the error log from the build step

{code}

> contextify@0.1.14 install 
> /tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild

npm http GET https://registry.npmjs.org/delayed-stream
npm http GET https://registry.npmjs.org/formidable
npm http GET https://registry.npmjs.org/mime-db
npm http GET https://registry.npmjs.org/prelude-ls
npm http GET https://registry.npmjs.org/deep-is
npm http GET https://registry.npmjs.org/type-check
npm http GET https://registry.npmjs.org/levn
npm http GET https://registry.npmjs.org/fast-levenshtein
npm http 304 https://registry.npmjs.org/formidable
npm http 304 https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/mime-db
npm http 304 https://registry.npmjs.org/deep-is
npm http 304 https://registry.npmjs.org/prelude-ls
npm http 304 https://registry.npmjs.org/type-check
npm http 304 https://registry.npmjs.org/levn
npm http 304 https://registry.npmjs.org/fast-levenshtein
make: Entering directory 
`/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify/build'
make: Warning: File `../../../../../../../../../../usr/share/node/common.gypi' 
has modification time 5.6e+05 s in the future
  ACTION Regenerating Makefile
Traceback (most recent call last):
  File "/usr/bin/gyp", line 18, in <module>
    sys.exit(gyp.main(sys.argv[1:]))
  File "/usr/lib/python2.6/site-packages/gyp/__init__.py", line 462, in main
    options.circular_check)
  File "/usr/lib/python2.6/site-packages/gyp/__init__.py", line 100, in Load
    depth, generator_input_info, check, circular_check)
  File "/usr/lib/python2.6/site-packages/gyp/input.py", line 2255, in Load
    depth, check)
  File "/usr/lib/python2.6/site-packages/gyp/input.py", line 362, in 
LoadTargetBuildFile
    includes, True, check)
  File "/usr/lib/python2.6/site-packages/gyp/input.py", line 209, in 
LoadOneBuildFile
    raise Exception("%s not found (cwd: %s)" % (build_file_path, os.getcwd()))
Exception: binding.gyp not found (cwd: 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify/build)
 while trying to load binding.gyp
npm httpmake: *** [Makefile] Error 1
make: Leaving directory 
`/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify/build'
gyp ERR! build error
 GET https://registry.npmjs.org/domhandler
npm httpgyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit 
(/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack GET https://registry.npmjs.org/domutils
     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
npm gyp ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
gyp ERR! command "node" 
"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.36
http gyp ERR!GET https://registry.npmjs.org/domelementtype
 node-gyp -v v0.10.6
gyp ERR! not ok
npm http GET https://registry.npmjs.org/entities
npm http 304 https://registry.npmjs.org/domelementtype
npm http 304 https://registry.npmjs.org/entities
npm http 304 https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/domhandler
npm ERR! EEXIST, mkdir 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/bl/node_modules/readable-stream'
File exists: 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/bl/node_modules/readable-stream
Move it away, and try again.

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/bl/node_modules/readable-stream
npm ERR! fstream_path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/bl/node_modules/readable-stream/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/lib/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules'
npm ERR! error rolling back  jsdom@0.6.5 { [Error: ENOTEMPTY, rmdir 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules'
 }
npm ERR! Error: ENOENT, lstat 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/qs/test/parse.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/qs/test/parse.js
npm ERR! fstream_path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/qs/test/parse.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm ERR! Error: ENOENT, open 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! EEXIST, mkdir 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/ctype'
File exists: 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/ctype
Move it away, and try again.

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/ctype
npm ERR! fstream_path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/ctype/README
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/lib/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm ERR! Error: ENOENT, lstat 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md
npm ERR! fstream_path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm ERR! weird error 1
npm ERR! Error: ENOENT, lstat 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/async/README.md'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/async/README.md
npm ERR! fstream_path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/form-data/node_modules/async/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm http GET https://registry.npmjs.org/argparse
npm ERR! Error: ENOENT, lstat 
'/root/tmp/npm-1732-J8Gn88z2/1421735534313-0.9681935387197882/package/.bob/complexity/plato/assets/font/fontawesome-webfont.ttf'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/root/tmp/npm-1732-J8Gn88z2/1421735534313-0.9681935387197882/package/.bob/complexity/plato/assets/font/fontawesome-webfont.ttf
npm ERR! fstream_path 
/root/tmp/npm-1732-J8Gn88z2/1421735534313-0.9681935387197882/package/.bob/complexity/plato/assets/font/fontawesome-webfont.ttf
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm ERR! Error: ENOENT, lstat 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/hawk/images/logo.png'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/hawk/images/logo.png
npm ERR! fstream_path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/hawk/images/logo.png
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm http 304 https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/dom-serializer
npm ERR! Error: ENOENT, lstat 
'/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/mime-types/node_modules/mime-db/db.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/mime-types/node_modules/mime-db/db.json
npm ERR! fstream_path 
/tmp/ambari/ambari-web/node_modules/karma-ember-precompiler-brunch/node_modules/jsdom/node_modules/request/node_modules/mime-types/node_modules/mime-db/db.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm http 304 https://registry.npmjs.org/dom-serializer

> contextify@0.1.14 install 
> /tmp/ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild


> phantomjs@1.9.17 install /tmp/ambari/ambari-web/node_modules/phantomjs
> node install.js

npm http GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/amdefine
make: Entering directory 
`/tmp/ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify/build'
make: Warning: File `../../../../../../../../../../usr/share/node/common.gypi' 
has modification time 5.6e+05 s in the future
  ACTION Regenerating Makefile
Traceback (most recent call last):
  File "/usr/bin/gyp", line 18, in <module>
    sys.exit(gyp.main(sys.argv[1:]))
  File "/usr/lib/python2.6/site-packages/gyp/__init__.py", line 462, in main
    options.circular_check)
  File "/usr/lib/python2.6/site-packages/gyp/__init__.py", line 100, in Load
    depth, generator_input_info, check, circular_check)
  File "/usr/lib/python2.6/site-packages/gyp/input.py", line 2255, in Load
    depth, check)
  File "/usr/lib/python2.6/site-packages/gyp/input.py", line 362, in 
LoadTargetBuildFile
    includes, True, check)
  File "/usr/lib/python2.6/site-packages/gyp/input.py", line 209, in 
LoadOneBuildFile
    raise Exception("%s not found (cwd: %s)" % (build_file_path, os.getcwd()))
Exception: binding.gyp not found (cwd: 
/tmp/ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify/build)
 while trying to load binding.gyp
make: *** [Makefile] Error 1
make: Leaving directory 
`/tmp/ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit 
(/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(child_process.js:820:12)
gyp ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
gyp ERR! command "node" 
"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd 
/tmp/ambari/ambari-web/node_modules/ember-precompiler-brunch/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm WARN optional dep failed, continuing contextify@0.1.14
Downloading 
https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
Saving to 
/tmp/ambari/ambari-web/node_modules/phantomjs/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
Receiving...
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/is-my-json-valid
npm http GET https://registry.npmjs.org/bluebird
npm http GET https://registry.npmjs.org/chalk
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/is-my-json-valid
npm http 304 https://registry.npmjs.org/bluebird
npm http 304 https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/ycssmin

> javascript-brunch@1.3.0 postinstall 
> /tmp/ambari/ambari-web/node_modules/javascript-brunch
> node setup.js postinstall

npm http GET https://registry.npmjs.org/mkdirp/0.3.0

Error making request.
Error: CERT_NOT_YET_VALID
    at SecurePair.<anonymous> (tls.js:1381:32)
    at SecurePair.emit (events.js:92:17)
    at SecurePair.maybeInitFinished (tls.js:980:10)
    at CleartextStream.read [as _read] (tls.js:472:13)
    at CleartextStream.Readable.read (_stream_readable.js:341:10)
    at EncryptedStream.write [as _write] (tls.js:369:25)
    at doWrite (_stream_writable.js:226:10)
    at writeOrBuffer (_stream_writable.js:216:5)
    at EncryptedStream.Writable.write (_stream_writable.js:183:11)
    at write (_stream_readable.js:602:24)

Please report this full log at https://github.com/Medium/phantomjs
npm http 304 https://registry.npmjs.org/ycssmin
npm http 304 https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/sprintf-js
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/escape-string-regexp
npm http GET https://registry.npmjs.org/has-ansi
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/graceful-readlink
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/sprintf-js
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/graceful-readlink
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/has-ansi
npm http 304 https://registry.npmjs.org/escape-string-regexp
npm http GET https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/generate-function
npm http GET https://registry.npmjs.org/generate-object-property
npm http GET https://registry.npmjs.org/jsonpointer
npm http GET https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/generate-object-property
npm http 304 https://registry.npmjs.org/generate-function
npm http 304 https://registry.npmjs.org/jsonpointer

> uglify-js-brunch@1.3.1 postinstall 
> /tmp/ambari/ambari-web/node_modules/uglify-js-brunch
> node setup.js postinstall

npm http GET https://registry.npmjs.org/is-property
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/is-property
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/buster-format
npm http 304 https://registry.npmjs.org/buster-format
npm http GET https://registry.npmjs.org/buster-core/0.6.4
npm http GET https://registry.npmjs.org/minimist

> clean-css-brunch@1.4.0 postinstall 
> /tmp/ambari/ambari-web/node_modules/clean-css-brunch
> node setup.js postinstall

npm http 304 https://registry.npmjs.org/buster-core/0.6.4
npm http 304 https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/buster-core/-/buster-core-0.6.4.tgz
npm http 200 https://registry.npmjs.org/buster-core/-/buster-core-0.6.4.tgz
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/async

> less-brunch@1.4.1 postinstall /tmp/ambari/ambari-web/node_modules/less-brunch
> node setup.js postinstall

npm ERR! Error: ENOENT, lstat 
'/root/tmp/npm-1732-J8Gn88z2/1421735534376-0.8712394388858229/package/test/fixtures/pgts.yaml'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <n...@googlegroups.com>

npm ERR! System Linux 3.12.36-38.1.8020.1.PTF-default
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /tmp/ambari/ambari-web
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.3.6
npm ERR! path 
/root/tmp/npm-1732-J8Gn88z2/1421735534376-0.8712394388858229/package/test/fixtures/pgts.yaml
npm ERR! fstream_path 
/root/tmp/npm-1732-J8Gn88z2/1421735534376-0.8712394388858229/package/test/fixtures/pgts.yaml
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/isarray/0.0.1
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/inherits

> ember-precompiler-brunch@1.4.1 postinstall 
> /tmp/ambari/ambari-web/node_modules/ember-precompiler-brunch
> node setup.js postinstall

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /tmp/ambari/ambari-web/npm-debug.log
npm ERR! not ok code 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [8.505s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.346s]
[INFO] Ambari Web ........................................ FAILURE [1:11.813s]
[INFO] Ambari Views ...................................... SKIPPED
[INFO] Ambari Admin View ................................. SKIPPED
[INFO] ambari-metrics .................................... SKIPPED
[INFO] Ambari Metrics Common ............................. SKIPPED
[INFO] Ambari Metrics Hadoop Sink ........................ SKIPPED
[INFO] Ambari Metrics Flume Sink ......................... SKIPPED
[INFO] Ambari Metrics Kafka Sink ......................... SKIPPED
[INFO] Ambari Metrics Storm Sink ......................... SKIPPED
[INFO] Ambari Metrics Collector .......................... SKIPPED
[INFO] Ambari Metrics Monitor ............................ SKIPPED
[INFO] Ambari Metrics Assembly ........................... SKIPPED
[INFO] Ambari Server ..................................... SKIPPED
[INFO] Ambari Agent ...................................... SKIPPED
[INFO] Ambari Client ..................................... SKIPPED
[INFO] Ambari Python Client .............................. SKIPPED
[INFO] Ambari Groovy Client .............................. SKIPPED
[INFO] Ambari Shell ...................................... SKIPPED
[INFO] Ambari Python Shell ............................... SKIPPED
[INFO] Ambari Groovy Shell ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:25.006s
[INFO] Finished at: Tue Jan 20 06:33:20 GMT 2015
[INFO] Final Memory: 15M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(compile-npm) on project ambari-web: Command execution failed. Process exited 
with an error: 47 (Exit value: 47) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile-npm) on project 
ambari-web: Command execution failed.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
failed.
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
error: 47 (Exit value: 47)
        at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
        at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
        at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
        ... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :ambari-web

{code}

> Ambari Build is Broken
> ----------------------
>
>                 Key: AMBARI-12370
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12370
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>            Reporter: Vijay Srinivasaraghavan
>
> Ambari build is broken when it is trying to run the compile-rpm task under 
> ambari-web module.
> Steps:
> 1) Checkout Ambari source from github (trunk)
> 2) Run docker build -t ambari/build ./dev-support/docker/docker



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to