You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Paweł Białasiewicz (JIRA)" <ji...@apache.org> on 2017/11/22 11:56:00 UTC
[jira] [Created] (METRON-1327) Vagrant full-dev fails to build
Paweł Białasiewicz created METRON-1327:
------------------------------------------
Summary: Vagrant full-dev fails to build
Key: METRON-1327
URL: https://issues.apache.org/jira/browse/METRON-1327
Project: Metron
Issue Type: Bug
Affects Versions: 0.4.2
Reporter: Paweł Białasiewicz
Vagrant full-dev fails with the following output:
{code:java}
"Downloaded: https://jcenter.bintray.com/org/springframework/spring-core/3.0.5.RELEASE/spring-core-3.0.5.RELEASE.pom (3 KB at 17.1 KB/sec)"
"Downloading: http://clojars.org/repo/org/springframework/spring-expression/3.0.5.RELEASE/spring-expression-3.0.5.RELEASE.pom"
"[INFO] "
"[INFO] --- frontend-maven-plugin:1.3:npm (ng build) @ metron-config ---"
"[INFO] npm not inheriting proxy config from Maven"
"[INFO] Running 'npm run build' in /home/black/metron/metron-interface/metron-config"
" "
"Downloading: https://jcenter.bintray.com/org/springframework/spring-expression/3.0.5.RELEASE/spring-expression-3.0.5.RELEASE.pom"
"1/2 KB "
"2/2 KB "
" "
"Downloaded: https://jcenter.bintray.com/org/springframework/spring-expression/3.0.5.RELEASE/spring-expression-3.0.5.RELEASE.pom (2 KB at 9.7 KB/sec)"
"Downloading: http://clojars.org/repo/org/springframework/spring-tx/3.2.6.RELEASE/spring-tx-3.2.6.RELEASE.pom"
"[INFO] "
"[INFO] > metron-management-ui@0.4.2 build /home/black/metron/metron-interface/metron-config"
"[INFO] > ./node_modules/angular-cli/bin/ng build -prod"
"[INFO] "
" "
"Downloading: https://jcenter.bintray.com/org/springframework/spring-tx/3.2.6.RELEASE/spring-tx-3.2.6.RELEASE.pom"
"2 KB "
"4 KB "
" "
"Downloaded: https://jcenter.bintray.com/org/springframework/spring-tx/3.2.6.RELEASE/spring-tx-3.2.6.RELEASE.pom (4 KB at 5.5 KB/sec)"
"Downloading: http://clojars.org/repo/org/springframework/spring-webmvc/3.2.6.RELEASE/spring-webmvc-3.2.6.RELEASE.pom"
" "
"Downloading: https://jcenter.bintray.com/org/springframework/spring-webmvc/3.2.6.RELEASE/spring-webmvc-3.2.6.RELEASE.pom"
"2 KB "
"6 KB "
"8 KB "
"9 KB "
" "
"Downloaded: https://jcenter.bintray.com/org/springframework/spring-webmvc/3.2.6.RELEASE/spring-webmvc-3.2.6.RELEASE.pom (9 KB at 18.0 KB/sec)"
"Downloading: http://clojars.org/repo/org/springframework/spring-web/3.2.6.RELEASE/spring-web-3.2.6.RELEASE.pom"
"[INFO] Cannot find module 'tough-cookie'"
"[INFO] Error: Cannot find module 'tough-cookie'"
"[INFO] at Function.Module._resolveFilename (module.js:440:15)"
"[INFO] at Function.Module._load (module.js:388:25)"
"[INFO] at Module.require (module.js:468:17)"
"[INFO] at require (internal/module.js:20:19)"
"[INFO] at Object.<anonymous> (/home/black/metron/metron-interface/metron-config/node_modules/request/lib/cookies.js:3:13)"
"[INFO] at Module._compile (module.js:541:32)"
"[INFO] at Object.Module._extensions..js (module.js:550:10)"
"[INFO] at Module.load (module.js:458:32)"
"[INFO] at tryModuleLoad (module.js:417:12)"
"[INFO] at Function.Module._load (module.js:409:3)"
"[INFO] at Module.require (module.js:468:17)"
"[INFO] at require (internal/module.js:20:19)"
"[INFO] at Object.<anonymous> (/home/black/metron/metron-interface/metron-config/node_modules/request/index.js:18:15)"
"[INFO] at Module._compile (module.js:541:32)"
"[INFO] at Object.Module._extensions..js (module.js:550:10)"
"[INFO] at Module.load (module.js:458:32)"
"[INFO] at tryModuleLoad (module.js:417:12)"
"[INFO] at Function.Module._load (module.js:409:3)"
"[INFO] at Module.require (module.js:468:17)"
"[INFO] at require (internal/module.js:20:19)"
"[INFO] at Leek._enqueue (/home/black/metron/metron-interface/metron-config/node_modules/leek/lib/leek.js:60:30)"
"[INFO] at Leek.track (/home/black/metron/metron-interface/metron-config/node_modules/leek/lib/leek.js:87:15)"
"[INFO] at Class.Command.validateAndRun (/home/black/metron/metron-interface/metron-config/node_modules/angular-cli/lib/models/command.js:119:18)"
"[INFO] at /home/black/metron/metron-interface/metron-config/node_modules/angular-cli/lib/cli/cli.js:86:22"
"[INFO] at tryCatch (/home/black/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/-internal.js:198:12)"
"[INFO] at invokeCallback (/home/black/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/-internal.js:211:13)"
"[INFO] at /home/black/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/then.js:26:14"
"[INFO] at flush (/home/black/metron/metron-interface/metron-config/node_modules/rsvp/dist/lib/rsvp/asap.js:80:5)"
"[INFO] at _combinedTickCallback (internal/process/next_tick.js:67:7)"
"[INFO] at process._tickCallback (internal/process/next_tick.js:98:9)"
"[ERROR] "
"[ERROR] npm ERR! Linux 4.4.0-87-generic"
"[ERROR] npm ERR! argv \"/home/black/metron/metron-interface/metron-config/node/node\" \"/home/black/metron/metron-interface/metron-config/node/node_modules/npm/bin/npm-cli.js\" \"run\" \"build\""
"[ERROR] npm ERR! node v6.2.0"
"[ERROR] npm ERR! npm v3.8.9"
"[ERROR] npm ERR! code ELIFECYCLE"
"[ERROR] npm ERR! metron-management-ui@0.4.2 build: `./node_modules/angular-cli/bin/ng build -prod`"
"[ERROR] npm ERR! Exit status 1"
"[ERROR] npm ERR! "
"[ERROR] npm ERR! Failed at the metron-management-ui@0.4.2 build script './node_modules/angular-cli/bin/ng build -prod'."
"[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed."
"[ERROR] npm ERR! If you do
this is most likely a problem with the metron-management-ui package,"
"[ERROR] npm ERR! not with npm itself."
"[ERROR] npm ERR! Tell the author that this fails on your system:"
"[ERROR] npm ERR! ./node_modules/angular-cli/bin/ng build -prod"
"[ERROR] npm ERR! You can get information on how to open an issue for this project with:"
"[ERROR] npm ERR! npm bugs metron-management-ui"
"[ERROR] npm ERR! Or if that isn't available
you can get their info via:"
"[ERROR] npm ERR! npm owner ls metron-management-ui"
"[ERROR] npm ERR! There is likely additional logging output above."
"[ERROR] "
"[ERROR] npm ERR! Please include the following file with any support request:"
"[ERROR] npm ERR! /home/black/metron/metron-interface/metron-config/npm-debug.log"
"[INFO] ------------------------------------------------------------------------"
"[INFO] Reactor Summary:"
"[INFO] "
"[INFO] Metron ............................................. SUCCESS [ 0.439 s]"
"[INFO] metron-stellar ..................................... SUCCESS [ 0.050 s]"
"[INFO] stellar-common ..................................... SUCCESS [ 17.411 s]"
"[INFO] metron-analytics ................................... SUCCESS [ 0.009 s]"
"[INFO] metron-maas-common ................................. SUCCESS [ 1.250 s]"
"[INFO] metron-platform .................................... SUCCESS [ 0.410 s]"
"[INFO] metron-zookeeper ................................... SUCCESS [ 2.632 s]"
"[INFO] metron-test-utilities .............................. SUCCESS [ 1.779 s]"
"[INFO] metron-integration-test ............................ SUCCESS [ 6.028 s]"
"[INFO] metron-maas-service ................................ SUCCESS [ 3.811 s]"
"[INFO] metron-common ...................................... SUCCESS [ 15.966 s]"
"[INFO] metron-statistics .................................. SUCCESS [ 19.977 s]"
"[INFO] metron-writer ...................................... SUCCESS [ 32.392 s]"
"[INFO] metron-storm-kafka-override ........................ SUCCESS [ 2.253 s]"
"[INFO] metron-storm-kafka ................................. SUCCESS [ 0.510 s]"
"[INFO] metron-hbase ....................................... SUCCESS [ 28.773 s]"
"[INFO] metron-profiler-common ............................. SUCCESS [ 4.386 s]"
"[INFO] metron-profiler-client ............................. SKIPPED"
"[INFO] metron-profiler .................................... SKIPPED"
"[INFO] metron-hbase-client ................................ SUCCESS [ 14.973 s]"
"[INFO] metron-enrichment .................................. SKIPPED"
"[INFO] metron-indexing .................................... SKIPPED"
"[INFO] metron-solr ........................................ SKIPPED"
"[INFO] metron-pcap ........................................ SUCCESS [ 4.605 s]"
"[INFO] metron-parsers ..................................... SKIPPED"
"[INFO] metron-pcap-backend ................................ SKIPPED"
"[INFO] metron-data-management ............................. SKIPPED"
"[INFO] metron-api ......................................... SKIPPED"
"[INFO] metron-management .................................. SKIPPED"
"[INFO] elasticsearch-shaded ............................... SUCCESS [ 12.484 s]"
"[INFO] metron-elasticsearch ............................... SKIPPED"
"[INFO] metron-deployment .................................. SUCCESS [ 0.002 s]"
"[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 2.531 s]"
"[INFO] metron-contrib ..................................... SUCCESS [ 0.004 s]"
"[INFO] metron-docker ...................................... SUCCESS [ 1.022 s]"
"[INFO] metron-interface ................................... SUCCESS [ 0.022 s]"
"[INFO] metron-config ...................................... FAILURE [01:25 min]"
"[INFO] metron-alerts ...................................... SKIPPED"
"[INFO] metron-rest-client ................................. SKIPPED"
"[INFO] metron-rest ........................................ SKIPPED"
"[INFO] site-book .......................................... SUCCESS [ 0.568 s]"
"[INFO] 3rd party Functions (just for tests) ............... SUCCESS [ 0.730 s]"
"[INFO] ------------------------------------------------------------------------"
"[INFO] BUILD FAILURE"
"[INFO] ------------------------------------------------------------------------"
"[INFO] Total time: 01:25 min (Wall Clock)"
"[INFO] Finished at: 2017-11-22T03:51:51-08:00"
"[INFO] Final Memory: 164M/1569M"
"[INFO] ------------------------------------------------------------------------"
" "
"Downloading: https://jcenter.bintray.com/org/springframework/spring-web/3.2.6.RELEASE/spring-web-3.2.6.RELEASE.pom"
"[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (ng build) on project metron-config: Failed to run task: 'npm run build' failed. (error code 1) -> [Help 1]"
"[ERROR] "
"[ERROR] To see the full stack trace of the errors
re-run Maven with the -e switch."
"[ERROR] Re-run Maven using the -X switch to enable full debug logging."
"[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/MojoFailureException"
"[ERROR] "
"[ERROR] After correcting the problems
you can resume the build with the command"
"[ERROR] mvn <goals> -rf :metron-config"]
"warnings": []}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)