You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Babak Abbaschian <ba...@yahoo.com> on 2018/11/21 16:08:26 UTC

Failure Automatic Deploying Metron on Amazon EC2

 Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2

First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.

So here is the process that I take on Ubuntu 18.1:
export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
apt install maven //Version 3.3.9 
apt install python-pip 
pip install ansible==2.4.1
///////////////////////////////////////////////////////////////////////////////
// Ansible versions higher than 2.4.1 will end up with this error:
// **************Task Create Virtual private cloud ***************
// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
 // hints for porting"}
///////////////////////////////////////////////////////////////////////////////

apt install nodejs-legacy //The system is using command node, not nodejs 
apt install npm apt install virtualbox //Version 5.5.2 
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
///////////////////////////////////////////////////////////////////////////////
// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
///////////////////////////////////////////////////////////////////////////////

dpkg -i vagrant_2.2.0_x86_64.deb 
vagrant plugin install vagrant-hostmanager 
git clone https://github.com/apache/metron.git 
cd metron/metron-deployment/amazon-ec2/ 
./run.sh 
And I End up with failed master node with this error:
 [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
Thanks,Babak.


Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
Yes I was able to build it easily, but then Vagrant wasn't installed in that container, so I tried the requirements script and saw everything is very old. What version is your OS? 
I'm going to install a fresh copy of CentOs 6 and from that I'll push it forward.


Babak Abbaschian
Chief Technology Officer, MyDailyPanel 
+1(502)379-7720
12563 Shelbyville Rd. Louisville KY 40243.
babak_abbaschian@yahoo.com
 

    On Wednesday, November 28, 2018, 5:27:38 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 Did you follow the README instructions to just build Metron?  Did that work?   I just did that myself and it worked like a charm.
I did not suggest that you attempt to deploy Metron to EC2 from inside that container. 


On Wed, Nov 28, 2018, 4:30 PM Babak Abbaschian <babak_abbaschian@yahoo.com wrote:

I built it using the ansible-docker method, but first of all everything inside this docker is too old: 

    METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276
--
--
ansible 2.0.0.2
  config file = /root/ansible.cfg
  configured module search path = ../extra_modules
--
../scripts/platform-info.sh: line 52: vagrant: command not found
--
../scripts/platform-info.sh: line 56: vagrant: command not found
The Vagrant Hostmanager Plugin is NOT installed
--
Python 2.6.6
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /opt/maven
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el6_10.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-1027-aws", arch: "amd64", family: "unix"
--
../scripts/platform-info.sh: line 68: docker: command not found
--
node
v6.15.0
--
npm
3.10.10
--
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Warning: Compiler is NOT C++11 compliant
--

And it gives an ansible error running the ec2 script:
 [WARNING]: provided hosts list is empty, only localhost is available

ERROR! 'import_playbook' is not a valid attribute for a Play

The error appears to have been in '/root/metron/metron-deployment/ansible/playbooks/metron_full_install.yml': line 18, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- import_playbook: metron_build.yml
  ^ here






    On Wednesday, November 28, 2018, 3:50:33 PM EST, Babak Abbaschian <ba...@yahoo.com> wrote:  
 
 
I'll try that link right away, Today I tried to install it from a local machine, All the steps are as follows:

****************** J A V A ******************
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default3
java -version
cat >> /etc/environment <<EOL
JAVA_HOME=/usr/lib/jvm/java-8-oracle
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
EOL

JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
PATH=$JAVA_HOME/bin:$PATH


****************** S S H   P U B L I C   K E Y ******************
ssh-keygen


******************  M A V E N  ******************
get http://apache.mirrors.lucidnetworks.net/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
sudo mkdir -p /usr/local/apache-maven
sudo mv apache-maven-3.3.9-bin.tar.gz /usr/local/apache-maven
cd /usr/local/apache-maven
sudo tar -xzvf apache-maven-3.3.9-bin.tar.gz

nano ~/.bashrc ==>
export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"
export PATH=$M2:$PATH

. ~/.bashrc


****************** A N S I B L E ******************
pip install ansible==2.4.1


****************** N O D E  J S ******************
curl -sL https://deb.nodesource.com/setup_9.x | sudo bash -
apt install nodejs
npm install npm


****************** D O C K E R ******************
apt install docker.io


****************** V I R T U A L   B O X ******************
apt install virtualbox


****************** V A G R A N T ******************
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
dpkg -i vagrant_2.2.0_x86_64.deb
vagrant plugin install vagrant-hostmanager


****************** A W S   R E Q U I R E M E N T ******************
pip install boto boto3 botocore


****************** M E T R O N ******************
git clone https://github.com/apache/metron.git
cd metron/metron-deployment/amazon-ec2/
./run.sh


REQUIREMENTS Check:
************************************************************************
Metron 0.6.1
--
* master
--
commit 42fc699ce1df04fd065d131293a8322a095c1e9c (HEAD -> master, origin/master, origin/HEAD)
Author: nickwallen <ni...@nickallen.org>
Date:   Tue Nov 27 12:44:58 2018 -0500

    METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276
--
--
ansible 2.4.1.0
  config file = /root/metron/metron-deployment/amazon-ec2/ansible.cfg
  configured module search path = [u'/root/metron/metron-deployment/ansible/extra_modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
--
Vagrant 2.2.0
--
vagrant-hostmanager (1.8.9, global)
--
Python 2.7.15rc1
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-43-microsoft", arch: "amd64", family: "unix"
--
Docker version 18.06.1-ce, build e68fc7a
--
node
v9.11.2
--
npm
6.4.1
--
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Compiler is C++11 compliant
--
Linux EGLSELJ25HK12 4.4.0-43  #27-Ubuntu SMP Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 63889.3 MB
Processor Model: Intel(R) Xeon(R) Processor E3-1275 CPU @ 2.50GHz
Processor Speed: 3399.986 MHz
Processor Speed: 3399.995 MHz
Processor Speed: 3399.998 MHz
Processor Speed: 3399.984 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/nvme0n1p1  488G   121G  366G  25% /
This CPU appears to support virtualization




RESULTS:
TASK [metron-builder : Build Metron] ********************************************************************************************************************************************************************************************************
failed: [ec2-34-213-192-177.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack) =>

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:02:16.734802",
  "end": "2018-11-28 13:19:14.711639",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-28 13:16:57.976837",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
    "[INFO] metron-zookeeper",
    "[INFO] metron-test-utilities",
    "[INFO] metron-integration-test",
    "[INFO] metron-maas-service",
    "[INFO] metron-common",
    "[INFO] metron-statistics",
    "[INFO] metron-writer",
    "[INFO] metron-storm-kafka-override",
    "[INFO] metron-storm-kafka",
    "[INFO] metron-hbase",
    "[INFO] metron-profiler-common",
    "[INFO] metron-profiler-client",
    "[INFO] metron-profiler-storm",
    "[INFO] metron-profiler-spark",
    "[INFO] metron-profiler-repl",
    "[INFO] metron-hbase-client",
    "[INFO] metron-enrichment",
    "[INFO] metron-indexing",
    "[INFO] metron-solr",
    "[INFO] metron-job",
    "[INFO] metron-pcap",
    "[INFO] metron-parsers",
    "[INFO] metron-pcap-backend",
    "[INFO] metron-data-management",
    "[INFO] metron-management",
    "[INFO] elasticsearch-shaded",
    "[INFO] metron-elasticsearch",
    "[INFO] metron-deployment",
    "[INFO] Elasticsearch Ambari Management Pack",
    "[INFO] Metron Ambari Management Pack",
.
.
.
    "Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5/antlr4-4.5.jar (1508 KB at 615.7 KB/sec)",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ANTLR 4: Processing source directory /root/metron/metron-stellar/stellar-common/src/main/antlr4",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[INFO] Processing grammar: org/apache/metron/stellar/common/generated/Stellar.g4",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 113 source files to /root/metron/metron-stellar/stellar-common/target/classes",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-28T18_19_13_522Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  2.435 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  3.202 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  3.170 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  3.186 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [ 10.457 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [ 40.485 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 18.270 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SUCCESS [ 29.954 s]",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SUCCESS [ 42.504 s]",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.174 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [ 11.887 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 13.071 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.174 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  7.394 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  3.178 s]",
    "[INFO] metron-config ...................................... FAILURE [02:06 min]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  3.646 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 02:13 min (Wall Clock)",
    "[INFO] Finished at: 2018-11-28T18:19:13+00:00",
    "[INFO] Final Memory: 82M/319M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}
NO MORE HOSTS LEFT **************************************************************************************************************************************************************************************************************************
        to retry, use: --limit @/root/metron/metron-deployment/amazon-ec2/playbook.retry

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
ec2-34-213-192-177.us-west-2.compute.amazonaws.com : ok=12   changed=2    unreachable=0    failed=1
ec2-34-217-100-106.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-221-206-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-123-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-134-150.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-52-25-127-243.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-25-57-134.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-88-34-103.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-212-58-129.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-245-46-71.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
localhost                  : ok=20   changed=6    unreachable=0    failed=0

root@EGLSELJ25HK12:~/metron/metron-deployment/amazon-ec2#



 

    On Wednesday, November 28, 2018, 1:15:19 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 I am not sure what is going on, but here are a couple thoughts that might help.

(1) I know you are trying to deploy to EC2, but the problems you are running into are during the build of the web components of Metron.  So let's focus on getting you able to build Metron.
(2) What version of Metron are you using?  If you are working from master, please confirm that you have updated to the latest as of today.  The last commit should be METRON-1888.  
(3) Can you try to build Metron using the instructions located here?  Hopefully this will ensure that all the right dependencies are installed and help isolate the problem.

https://github.com/apache/metron/tree/master/metron-deployment/packaging/docker/ansible-docker

(4) When you send output, please be sure to send the commands that you are running that generated the output.  Some of what you sent previously appears to be from executing different commands than I would expect.  


On Tue, Nov 27, 2018 at 5:27 PM Babak Abbaschian <ba...@yahoo.com> wrote:

This time I did it with root account, (Docker needed root permissions):

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:00:28.609298",
  "end": "2018-11-27 22:15:49.204760",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 22:15:20.595462",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
.
.
.
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[WARNING] metron-storm-kafka-override-0.6.1.jar, storm-kafka-client-1.2.2.jar define 6 overlapping classes: ",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff",
    "[WARNING]   - org.apache.storm.kafka.spout.internal.Timer",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetrySchedule",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetryEntryTimeStampComparator",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$TimeInterval",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$1",
    "[WARNING] maven-shade-plugin has detected that some class files are",
    "[WARNING] present in two or more JARs. When this happens, only one",
    "[WARNING] single version of the class is copied to the uber jar.",
    "[WARNING] Usually this is not harmful and you can skip these warnings,",
    "[WARNING] otherwise try to manually exclude artifacts based on",
    "[WARNING] mvn dependency:tree -Ddetail=true and the above output.",
    "[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/",
    "[INFO] Replacing original artifact with shaded artifact.",
    "[INFO] Replacing /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1.jar with /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1-shaded.jar",
    "[INFO] Dependency-reduced POM written at: /root/metron/metron-platform/metron-storm-kafka-override/dependency-reduced-pom.xml",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 60 source files to /root/metron/metron-stellar/stellar-common/target/test-classes",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-27T22_15_48_674Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  0.526 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  0.966 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  0.021 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  0.542 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [  3.741 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [  2.777 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 14.903 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SKIPPED",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SKIPPED",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.028 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [  2.322 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [  3.172 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.004 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  1.344 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  0.518 s]",
    "[INFO] metron-config ...................................... FAILURE [ 25.771 s]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  1.208 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 27.319 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T22:15:48+00:00",
    "[INFO] Final Memory: 255M/334M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}




   On Tuesday, November 27, 2018, 4:52:56 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 > failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\

You do not have Docker running.  
Make sure you can launch a Docker container on that host.  You should be able to run "docker run hello-world" successfully.





On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <ba...@yahoo.com> wrote:

 Sorry for the long list, I stored all the session and before the npm ci error there's another error that is happening:
 TASK [metron-builder : Build Metron RPM Packages] **************************************************************************************************************************************************************************************

failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.946454",
  "end": "2018-11-27 19:54:11.768388",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 19:54:07.821934",
  "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied",
  "stderr_lines": [
    "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
  2/2 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
  3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
  3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r           \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
  Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.629 s]
  [INFO] metron-rpm ......................................... FAILURE [  2.243 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.982 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T19:54:11+00:00
  [INFO] Final Memory: 20M/331M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)",
    "Downloading: <a shape="rect" href="https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-


  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
Installed a new Ubuntu 14 on a machine and made sure everything is installed as it should be especially Node and NPM, tried to deploy it on single machine following this link: https://github.com/apache/metron/tree/master/metron-deployment/development/ubuntu14But ended up with the same error as EC2 :( 
slett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"]}




Metron 0.6.1
--
* master
--
commit 89a2beda4f07911c8b3cd7dee8a2c3426838d161
Author: nickwallen <ni...@nickallen.org>
Date:   Wed Nov 28 20:10:50 2018 -0500

    METRON-1845 Correct Test Data Load in Elasticsearch Integration Tests (nickwallen) closes apache/metron#1247
--
--
ansible 2.4.1.0
  config file = /root/metron/metron-deployment/development/ubuntu14/ansible.cfg
  configured module search path = [u'/root/metron/metron-deployment/ansible/extra_modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.12 (default, Jul 18 2016, 15:02:52) [GCC 4.8.4]
--
Vagrant 2.2.0
--
vagrant-hostmanager (1.8.9, global)
--
Python 2.7.12
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-139-generic", arch: "amd64", family: "unix"
--
Docker version 1.6.2, build 7c8fca2
--
node
v9.11.2
--
npm
6.4.1
--
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Compiler is C++11 compliant
--
Linux upctv 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 31968.6 MB
Processor Model: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
Processor Speed: 3899.902 MHz
Total Physical Processors: 4
Total cores: 16
Disk information:
/dev/sda3       269G   11G  245G   5% /
This CPU appears to support virtualization





   On Wednesday, November 28, 2018, 5:27:38 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 Did you follow the README instructions to just build Metron?  Did that work?   I just did that myself and it worked like a charm.
I did not suggest that you attempt to deploy Metron to EC2 from inside that container. 


On Wed, Nov 28, 2018, 4:30 PM Babak Abbaschian <babak_abbaschian@yahoo.com wrote:

I built it using the ansible-docker method, but first of all everything inside this docker is too old: 

    METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276
--
--
ansible 2.0.0.2
  config file = /root/ansible.cfg
  configured module search path = ../extra_modules
--
../scripts/platform-info.sh: line 52: vagrant: command not found
--
../scripts/platform-info.sh: line 56: vagrant: command not found
The Vagrant Hostmanager Plugin is NOT installed
--
Python 2.6.6
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /opt/maven
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el6_10.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-1027-aws", arch: "amd64", family: "unix"
--
../scripts/platform-info.sh: line 68: docker: command not found
--
node
v6.15.0
--
npm
3.10.10
--
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Warning: Compiler is NOT C++11 compliant
--

And it gives an ansible error running the ec2 script:
 [WARNING]: provided hosts list is empty, only localhost is available

ERROR! 'import_playbook' is not a valid attribute for a Play

The error appears to have been in '/root/metron/metron-deployment/ansible/playbooks/metron_full_install.yml': line 18, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- import_playbook: metron_build.yml
  ^ here






    On Wednesday, November 28, 2018, 3:50:33 PM EST, Babak Abbaschian <ba...@yahoo.com> wrote:  
 
 
I'll try that link right away, Today I tried to install it from a local machine, All the steps are as follows:

****************** J A V A ******************
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default3
java -version
cat >> /etc/environment <<EOL
JAVA_HOME=/usr/lib/jvm/java-8-oracle
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
EOL

JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
PATH=$JAVA_HOME/bin:$PATH


****************** S S H   P U B L I C   K E Y ******************
ssh-keygen


******************  M A V E N  ******************
get http://apache.mirrors.lucidnetworks.net/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
sudo mkdir -p /usr/local/apache-maven
sudo mv apache-maven-3.3.9-bin.tar.gz /usr/local/apache-maven
cd /usr/local/apache-maven
sudo tar -xzvf apache-maven-3.3.9-bin.tar.gz

nano ~/.bashrc ==>
export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"
export PATH=$M2:$PATH

. ~/.bashrc


****************** A N S I B L E ******************
pip install ansible==2.4.1


****************** N O D E  J S ******************
curl -sL https://deb.nodesource.com/setup_9.x | sudo bash -
apt install nodejs
npm install npm


****************** D O C K E R ******************
apt install docker.io


****************** V I R T U A L   B O X ******************
apt install virtualbox


****************** V A G R A N T ******************
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
dpkg -i vagrant_2.2.0_x86_64.deb
vagrant plugin install vagrant-hostmanager


****************** A W S   R E Q U I R E M E N T ******************
pip install boto boto3 botocore


****************** M E T R O N ******************
git clone https://github.com/apache/metron.git
cd metron/metron-deployment/amazon-ec2/
./run.sh


REQUIREMENTS Check:
************************************************************************
Metron 0.6.1
--
* master
--
commit 42fc699ce1df04fd065d131293a8322a095c1e9c (HEAD -> master, origin/master, origin/HEAD)
Author: nickwallen <ni...@nickallen.org>
Date:   Tue Nov 27 12:44:58 2018 -0500

    METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276
--
--
ansible 2.4.1.0
  config file = /root/metron/metron-deployment/amazon-ec2/ansible.cfg
  configured module search path = [u'/root/metron/metron-deployment/ansible/extra_modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
--
Vagrant 2.2.0
--
vagrant-hostmanager (1.8.9, global)
--
Python 2.7.15rc1
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-43-microsoft", arch: "amd64", family: "unix"
--
Docker version 18.06.1-ce, build e68fc7a
--
node
v9.11.2
--
npm
6.4.1
--
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Compiler is C++11 compliant
--
Linux EGLSELJ25HK12 4.4.0-43  #27-Ubuntu SMP Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 63889.3 MB
Processor Model: Intel(R) Xeon(R) Processor E3-1275 CPU @ 2.50GHz
Processor Speed: 3399.986 MHz
Processor Speed: 3399.995 MHz
Processor Speed: 3399.998 MHz
Processor Speed: 3399.984 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/nvme0n1p1  488G   121G  366G  25% /
This CPU appears to support virtualization




RESULTS:
TASK [metron-builder : Build Metron] ********************************************************************************************************************************************************************************************************
failed: [ec2-34-213-192-177.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack) =>

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:02:16.734802",
  "end": "2018-11-28 13:19:14.711639",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-28 13:16:57.976837",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
    "[INFO] metron-zookeeper",
    "[INFO] metron-test-utilities",
    "[INFO] metron-integration-test",
    "[INFO] metron-maas-service",
    "[INFO] metron-common",
    "[INFO] metron-statistics",
    "[INFO] metron-writer",
    "[INFO] metron-storm-kafka-override",
    "[INFO] metron-storm-kafka",
    "[INFO] metron-hbase",
    "[INFO] metron-profiler-common",
    "[INFO] metron-profiler-client",
    "[INFO] metron-profiler-storm",
    "[INFO] metron-profiler-spark",
    "[INFO] metron-profiler-repl",
    "[INFO] metron-hbase-client",
    "[INFO] metron-enrichment",
    "[INFO] metron-indexing",
    "[INFO] metron-solr",
    "[INFO] metron-job",
    "[INFO] metron-pcap",
    "[INFO] metron-parsers",
    "[INFO] metron-pcap-backend",
    "[INFO] metron-data-management",
    "[INFO] metron-management",
    "[INFO] elasticsearch-shaded",
    "[INFO] metron-elasticsearch",
    "[INFO] metron-deployment",
    "[INFO] Elasticsearch Ambari Management Pack",
    "[INFO] Metron Ambari Management Pack",
.
.
.
    "Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5/antlr4-4.5.jar (1508 KB at 615.7 KB/sec)",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ANTLR 4: Processing source directory /root/metron/metron-stellar/stellar-common/src/main/antlr4",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[INFO] Processing grammar: org/apache/metron/stellar/common/generated/Stellar.g4",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 113 source files to /root/metron/metron-stellar/stellar-common/target/classes",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-28T18_19_13_522Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  2.435 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  3.202 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  3.170 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  3.186 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [ 10.457 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [ 40.485 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 18.270 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SUCCESS [ 29.954 s]",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SUCCESS [ 42.504 s]",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.174 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [ 11.887 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 13.071 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.174 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  7.394 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  3.178 s]",
    "[INFO] metron-config ...................................... FAILURE [02:06 min]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  3.646 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 02:13 min (Wall Clock)",
    "[INFO] Finished at: 2018-11-28T18:19:13+00:00",
    "[INFO] Final Memory: 82M/319M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}
NO MORE HOSTS LEFT **************************************************************************************************************************************************************************************************************************
        to retry, use: --limit @/root/metron/metron-deployment/amazon-ec2/playbook.retry

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
ec2-34-213-192-177.us-west-2.compute.amazonaws.com : ok=12   changed=2    unreachable=0    failed=1
ec2-34-217-100-106.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-221-206-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-123-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-134-150.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-52-25-127-243.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-25-57-134.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-88-34-103.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-212-58-129.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-245-46-71.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
localhost                  : ok=20   changed=6    unreachable=0    failed=0

root@EGLSELJ25HK12:~/metron/metron-deployment/amazon-ec2#



 

    On Wednesday, November 28, 2018, 1:15:19 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 I am not sure what is going on, but here are a couple thoughts that might help.

(1) I know you are trying to deploy to EC2, but the problems you are running into are during the build of the web components of Metron.  So let's focus on getting you able to build Metron.
(2) What version of Metron are you using?  If you are working from master, please confirm that you have updated to the latest as of today.  The last commit should be METRON-1888.  
(3) Can you try to build Metron using the instructions located here?  Hopefully this will ensure that all the right dependencies are installed and help isolate the problem.

https://github.com/apache/metron/tree/master/metron-deployment/packaging/docker/ansible-docker

(4) When you send output, please be sure to send the commands that you are running that generated the output.  Some of what you sent previously appears to be from executing different commands than I would expect.  


On Tue, Nov 27, 2018 at 5:27 PM Babak Abbaschian <ba...@yahoo.com> wrote:

This time I did it with root account, (Docker needed root permissions):

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:00:28.609298",
  "end": "2018-11-27 22:15:49.204760",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 22:15:20.595462",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
.
.
.
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[WARNING] metron-storm-kafka-override-0.6.1.jar, storm-kafka-client-1.2.2.jar define 6 overlapping classes: ",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff",
    "[WARNING]   - org.apache.storm.kafka.spout.internal.Timer",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetrySchedule",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetryEntryTimeStampComparator",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$TimeInterval",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$1",
    "[WARNING] maven-shade-plugin has detected that some class files are",
    "[WARNING] present in two or more JARs. When this happens, only one",
    "[WARNING] single version of the class is copied to the uber jar.",
    "[WARNING] Usually this is not harmful and you can skip these warnings,",
    "[WARNING] otherwise try to manually exclude artifacts based on",
    "[WARNING] mvn dependency:tree -Ddetail=true and the above output.",
    "[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/",
    "[INFO] Replacing original artifact with shaded artifact.",
    "[INFO] Replacing /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1.jar with /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1-shaded.jar",
    "[INFO] Dependency-reduced POM written at: /root/metron/metron-platform/metron-storm-kafka-override/dependency-reduced-pom.xml",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 60 source files to /root/metron/metron-stellar/stellar-common/target/test-classes",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-27T22_15_48_674Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  0.526 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  0.966 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  0.021 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  0.542 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [  3.741 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [  2.777 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 14.903 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SKIPPED",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SKIPPED",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.028 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [  2.322 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [  3.172 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.004 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  1.344 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  0.518 s]",
    "[INFO] metron-config ...................................... FAILURE [ 25.771 s]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  1.208 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 27.319 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T22:15:48+00:00",
    "[INFO] Final Memory: 255M/334M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}




   On Tuesday, November 27, 2018, 4:52:56 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 > failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\

You do not have Docker running.  
Make sure you can launch a Docker container on that host.  You should be able to run "docker run hello-world" successfully.





On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <ba...@yahoo.com> wrote:

 Sorry for the long list, I stored all the session and before the npm ci error there's another error that is happening:
 TASK [metron-builder : Build Metron RPM Packages] **************************************************************************************************************************************************************************************

failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.946454",
  "end": "2018-11-27 19:54:11.768388",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 19:54:07.821934",
  "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied",
  "stderr_lines": [
    "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
  2/2 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
  3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
  3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r           \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
  Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.629 s]
  [INFO] metron-rpm ......................................... FAILURE [  2.243 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.982 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T19:54:11+00:00
  [INFO] Final Memory: 20M/331M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)",
    "Downloading: <a shape="rect" href="https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-


  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Nick Allen <ni...@nickallen.org>.
Did you follow the README instructions to just build Metron?  Did that
work?   I just did that myself and it worked like a charm.

I did not suggest that you attempt to deploy Metron to EC2 from inside that
container.



On Wed, Nov 28, 2018, 4:30 PM Babak Abbaschian <babak_abbaschian@yahoo.com
wrote:

> I built it using the ansible-docker method, but first of all everything
> inside this docker is too old:
>
>     METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall
> (nickwallen) closes apache/metron#1276
> --
> --
> ansible 2.0.0.2
>   config file = /root/ansible.cfg
>   configured module search path = ../extra_modules
> --
> ../scripts/platform-info.sh: line 52: vagrant: command not found
> --
> ../scripts/platform-info.sh: line 56: vagrant: command not found
> The Vagrant Hostmanager Plugin is NOT installed
> --
> Python 2.6.6
> --
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T16:41:47+00:00)
> Maven home: /opt/maven
> Java version: 1.8.0_191, vendor: Oracle Corporation
> Java home:
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el6_10.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.15.0-1027-aws", arch: "amd64", family: "unix"
> --
> ../scripts/platform-info.sh: line 68: docker: command not found
> --
> node
> v6.15.0
> --
> npm
> 3.10.10
> --
> g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> --
> Warning: Compiler is NOT C++11 compliant
> --
>
> And it gives an ansible error running the ec2 script:
>
>  [WARNING]: provided hosts list is empty, only localhost is available
>
> ERROR! 'import_playbook' is not a valid attribute for a Play
>
> The error appears to have been in
> '/root/metron/metron-deployment/ansible/playbooks/metron_full_install.yml':
> line 18, column 3, but may
> be elsewhere in the file depending on the exact syntax problem.
>
> The offending line appears to be:
>
> ---
> - import_playbook: metron_build.yml
>   ^ here
>
>
>
>
>
>
> On Wednesday, November 28, 2018, 3:50:33 PM EST, Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
>
>
> I'll try that link right away, Today I tried to install it from a local
> machine, All the steps are as follows:
>
> ****************** J A V A ******************
> sudo add-apt-repository ppa:webupd8team/java
> sudo apt-get update
> sudo apt-get install oracle-java8-installer
> sudo apt-get install oracle-java8-set-default3
> java -version
> cat >> /etc/environment <<EOL
> JAVA_HOME=/usr/lib/jvm/java-8-oracle
> JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
> EOL
>
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
> PATH=$JAVA_HOME/bin:$PATH
>
>
> ****************** S S H   P U B L I C   K E Y ******************
> ssh-keygen
>
>
> ******************  M A V E N  ******************
> get
> http://apache.mirrors.lucidnetworks.net/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
> sudo mkdir -p /usr/local/apache-maven
> sudo mv apache-maven-3.3.9-bin.tar.gz /usr/local/apache-maven
> cd /usr/local/apache-maven
> sudo tar -xzvf apache-maven-3.3.9-bin.tar.gz
>
> nano ~/.bashrc ==>
> export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9
> export M2=$M2_HOME/bin
> export MAVEN_OPTS="-Xms256m -Xmx512m"
> export PATH=$M2:$PATH
>
> . ~/.bashrc
>
>
> ****************** A N S I B L E ******************
> pip install ansible==2.4.1
>
>
> ****************** N O D E  J S ******************
> curl -sL https://deb.nodesource.com/setup_9.x | sudo bash -
> apt install nodejs
> npm install npm
>
>
> ****************** D O C K E R ******************
> apt install docker.io
>
>
> ****************** V I R T U A L   B O X ******************
> apt install virtualbox
>
>
> ****************** V A G R A N T ******************
> wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
> dpkg -i vagrant_2.2.0_x86_64.deb
> vagrant plugin install vagrant-hostmanager
>
>
> ****************** A W S   R E Q U I R E M E N T ******************
> pip install boto boto3 botocore
>
>
> ****************** M E T R O N ******************
> git clone https://github.com/apache/metron.git
> cd metron/metron-deployment/amazon-ec2/
> ./run.sh
>
>
> REQUIREMENTS Check:
> ************************************************************************
> Metron 0.6.1
> --
> * master
> --
> commit 42fc699ce1df04fd065d131293a8322a095c1e9c (HEAD -> master,
> origin/master, origin/HEAD)
> Author: nickwallen <ni...@nickallen.org>
> Date:   Tue Nov 27 12:44:58 2018 -0500
>
>     METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall
> (nickwallen) closes apache/metron#1276
> --
> --
> ansible 2.4.1.0
>   config file = /root/metron/metron-deployment/amazon-ec2/ansible.cfg
>   configured module search path =
> [u'/root/metron/metron-deployment/ansible/extra_modules']
>   ansible python module location =
> /usr/local/lib/python2.7/dist-packages/ansible
>   executable location = /usr/local/bin/ansible
>   python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
> --
> Vagrant 2.2.0
> --
> vagrant-hostmanager (1.8.9, global)
> --
> Python 2.7.15rc1
> --
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T16:41:47+00:00)
> Maven home: /usr/local/apache-maven/apache-maven-3.3.9
> Java version: 1.8.0_191, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-oracle/jre
> Default locale: en, platform encoding: UTF-8
> OS name: "linux", version: "4.4.0-43-microsoft", arch: "amd64", family:
> "unix"
> --
> Docker version 18.06.1-ce, build e68fc7a
> --
> node
> v9.11.2
> --
> npm
> 6.4.1
> --
> g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
> Copyright (C) 2017 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> --
> Compiler is C++11 compliant
> --
> Linux EGLSELJ25HK12 4.4.0-43  #27-Ubuntu SMP Wed Dec 31 14:42:53 PST 2014
> x86_64 x86_64 x86_64 GNU/Linux
> --
> Total System Memory = 63889.3 MB
> Processor Model: Intel(R) Xeon(R) Processor E3-1275 CPU @ 2.50GHz
> Processor Speed: 3399.986 MHz
> Processor Speed: 3399.995 MHz
> Processor Speed: 3399.998 MHz
> Processor Speed: 3399.984 MHz
> Total Physical Processors: 4
> Total cores: 8
> Disk information:
> /dev/nvme0n1p1  488G   121G  366G  25% /
> This CPU appears to support virtualization
>
>
>
>
> RESULTS:
> TASK [metron-builder : Build Metron]
> ********************************************************************************************************************************************************************************************************
> failed: [ec2-34-213-192-177.us-west-2.compute.amazonaws.com -> localhost]
> (item=mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack) =>
>
> {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
>   "delta": "0:02:16.734802",
>   "end": "2018-11-28 13:19:14.711639",
>   "failed": true,
>   "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-28 13:16:57.976837",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] Metron",
>     "[INFO] metron-stellar",
>     "[INFO] stellar-common",
>     "[INFO] metron-analytics",
>     "[INFO] metron-maas-common",
>     "[INFO] metron-platform",
>     "[INFO] metron-zookeeper",
>     "[INFO] metron-test-utilities",
>     "[INFO] metron-integration-test",
>     "[INFO] metron-maas-service",
>     "[INFO] metron-common",
>     "[INFO] metron-statistics",
>     "[INFO] metron-writer",
>     "[INFO] metron-storm-kafka-override",
>     "[INFO] metron-storm-kafka",
>     "[INFO] metron-hbase",
>     "[INFO] metron-profiler-common",
>     "[INFO] metron-profiler-client",
>     "[INFO] metron-profiler-storm",
>     "[INFO] metron-profiler-spark",
>     "[INFO] metron-profiler-repl",
>     "[INFO] metron-hbase-client",
>     "[INFO] metron-enrichment",
>     "[INFO] metron-indexing",
>     "[INFO] metron-solr",
>     "[INFO] metron-job",
>     "[INFO] metron-pcap",
>     "[INFO] metron-parsers",
>     "[INFO] metron-pcap-backend",
>     "[INFO] metron-data-management",
>     "[INFO] metron-management",
>     "[INFO] elasticsearch-shaded",
>     "[INFO] metron-elasticsearch",
>     "[INFO] metron-deployment",
>     "[INFO] Elasticsearch Ambari Management Pack",
>     "[INFO] Metron Ambari Management Pack",
> .
> .
> .
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5/antlr4-4.5.jar
> (1508 KB at 615.7 KB/sec)",
>     "[INFO] ",
>     "[INFO] > fsevents@1.2.4 install
> /root/metron/metron-interface/metron-config/node_modules/fsevents",
>     "[INFO] > node install",
>     "[INFO] ",
>     "[INFO] Installed npm locally.",
>     "[INFO] ",
>     "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts
> ---",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[INFO] ANTLR 4: Processing source directory
> /root/metron/metron-stellar/stellar-common/src/main/antlr4",
>     "[INFO] npm not inheriting proxy config from Maven",
>     "[INFO] Running 'npm ci' in
> /root/metron/metron-interface/metron-alerts",
>     "[INFO] Processing grammar:
> org/apache/metron/stellar/common/generated/Stellar.g4",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> stellar-common ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 2 resources",
>     "[INFO] ",
>     "[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @
> stellar-common ---",
>     "[INFO] Changes detected - recompiling the module!",
>     "[INFO] Compiling 113 source files to
> /root/metron/metron-stellar/stellar-common/target/classes",
>     "[INFO] ",
>     "[INFO] > node-sass@4.9.3 install
> /root/metron/metron-interface/metron-config/node_modules/node-sass",
>     "[INFO] > node scripts/install.js",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.8.0 install
> /root/metron/metron-interface/metron-config/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is
> likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!
> /root/.npm/_logs/2018-11-28T18_19_13_522Z-debug.log",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Summary:",
>     "[INFO] ",
>     "[INFO] Metron ............................................. SUCCESS
> [  2.435 s]",
>     "[INFO] metron-stellar ..................................... SUCCESS
> [  3.202 s]",
>     "[INFO] stellar-common ..................................... SKIPPED",
>     "[INFO] metron-analytics ................................... SUCCESS
> [  3.170 s]",
>     "[INFO] metron-maas-common ................................. SKIPPED",
>     "[INFO] metron-platform .................................... SUCCESS
> [  3.186 s]",
>     "[INFO] metron-zookeeper ................................... SUCCESS [
> 10.457 s]",
>     "[INFO] metron-test-utilities .............................. SUCCESS [
> 40.485 s]",
>     "[INFO] metron-integration-test ............................ SKIPPED",
>     "[INFO] metron-maas-service ................................ SKIPPED",
>     "[INFO] metron-common ...................................... SKIPPED",
>     "[INFO] metron-statistics .................................. SKIPPED",
>     "[INFO] metron-writer ...................................... SKIPPED",
>     "[INFO] metron-storm-kafka-override ........................ SUCCESS [
> 18.270 s]",
>     "[INFO] metron-storm-kafka ................................. SKIPPED",
>     "[INFO] metron-hbase ....................................... SKIPPED",
>     "[INFO] metron-profiler-common ............................. SKIPPED",
>     "[INFO] metron-profiler-client ............................. SKIPPED",
>     "[INFO] metron-profiler-storm .............................. SKIPPED",
>     "[INFO] metron-profiler-spark .............................. SKIPPED",
>     "[INFO] metron-profiler-repl ............................... SKIPPED",
>     "[INFO] metron-hbase-client ................................ SUCCESS [
> 29.954 s]",
>     "[INFO] metron-enrichment .................................. SKIPPED",
>     "[INFO] metron-indexing .................................... SKIPPED",
>     "[INFO] metron-solr ........................................ SKIPPED",
>     "[INFO] metron-job ......................................... SKIPPED",
>     "[INFO] metron-pcap ........................................ SKIPPED",
>     "[INFO] metron-parsers ..................................... SKIPPED",
>     "[INFO] metron-pcap-backend ................................ SKIPPED",
>     "[INFO] metron-data-management ............................. SKIPPED",
>     "[INFO] metron-management .................................. SKIPPED",
>     "[INFO] elasticsearch-shaded ............................... SUCCESS [
> 42.504 s]",
>     "[INFO] metron-elasticsearch ............................... SKIPPED",
>     "[INFO] metron-deployment .................................. SUCCESS
> [  0.174 s]",
>     "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [
> 11.887 s]",
>     "[INFO] Metron Ambari Management Pack ...................... SUCCESS [
> 13.071 s]",
>     "[INFO] metron-contrib ..................................... SUCCESS
> [  0.174 s]",
>     "[INFO] metron-docker ...................................... SUCCESS
> [  7.394 s]",
>     "[INFO] metron-performance ................................. SKIPPED",
>     "[INFO] metron-interface ................................... SUCCESS
> [  3.178 s]",
>     "[INFO] metron-config ...................................... FAILURE
> [02:06 min]",
>     "[INFO] metron-alerts ...................................... SKIPPED",
>     "[INFO] metron-rest-client ................................. SKIPPED",
>     "[INFO] metron-rest ........................................ SKIPPED",
>     "[INFO] site-book .......................................... SUCCESS
> [  3.646 s]",
>     "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
>     "[INFO] stellar-zeppelin ................................... SKIPPED",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] BUILD FAILURE",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Total time: 02:13 min (Wall Clock)",
>     "[INFO] Finished at: 2018-11-28T18:19:13+00:00",
>     "[INFO] Final Memory: 82M/319M",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config: Failed to run task: 'npm ci' 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"
>   ]
> }
> NO MORE HOSTS LEFT
> **************************************************************************************************************************************************************************************************************************
>         to retry, use: --limit
> @/root/metron/metron-deployment/amazon-ec2/playbook.retry
>
> PLAY RECAP
> **********************************************************************************************************************************************************************************************************************************
> ec2-34-213-192-177.us-west-2.compute.amazonaws.com : ok=12   changed=2
> unreachable=0    failed=1
> ec2-34-217-100-106.us-west-2.compute.amazonaws.com : ok=11   changed=1
> unreachable=0    failed=0
> ec2-34-221-206-79.us-west-2.compute.amazonaws.com : ok=11   changed=1
> unreachable=0    failed=0
> ec2-34-222-123-79.us-west-2.compute.amazonaws.com : ok=11   changed=1
> unreachable=0    failed=0
> ec2-34-222-134-150.us-west-2.compute.amazonaws.com : ok=14   changed=8
> unreachable=0    failed=0
> ec2-52-25-127-243.us-west-2.compute.amazonaws.com : ok=11   changed=1
> unreachable=0    failed=0
> ec2-52-25-57-134.us-west-2.compute.amazonaws.com : ok=11   changed=1
> unreachable=0    failed=0
> ec2-52-88-34-103.us-west-2.compute.amazonaws.com : ok=14   changed=8
> unreachable=0    failed=0
> ec2-54-212-58-129.us-west-2.compute.amazonaws.com : ok=14   changed=8
> unreachable=0    failed=0
> ec2-54-245-46-71.us-west-2.compute.amazonaws.com : ok=11   changed=1
> unreachable=0    failed=0
> localhost                  : ok=20   changed=6    unreachable=0    failed=0
>
> root@EGLSELJ25HK12:~/metron/metron-deployment/amazon-ec2#
>
>
>
>
>
> On Wednesday, November 28, 2018, 1:15:19 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
>
>
> I am not sure what is going on, but here are a couple thoughts that might
> help.
>
> (1) I know you are trying to deploy to EC2, but the problems you are
> running into are during the build of the web components of Metron.  So
> let's focus on getting you able to build Metron.
>
> (2) What version of Metron are you using?  If you are working from master,
> please confirm that you have updated to the latest as of today.  The last
> commit should be METRON-1888.
>
> (3) Can you try to build Metron using the instructions located here?
> Hopefully this will ensure that all the right dependencies are installed
> and help isolate the problem.
>
>
> https://github.com/apache/metron/tree/master/metron-deployment/packaging/docker/ansible-docker
>
>
> (4) When you send output, please be sure to send the commands that you are
> running that generated the output.  Some of what you sent previously
> appears to be from executing different commands than I would expect.
>
>
>
> On Tue, Nov 27, 2018 at 5:27 PM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
> This time I did it with root account, (Docker needed root permissions):
>
> {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
>   "delta": "0:00:28.609298",
>   "end": "2018-11-27 22:15:49.204760",
>   "failed": true,
>   "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-27 22:15:20.595462",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] Metron",
>     "[INFO] metron-stellar",
>     "[INFO] stellar-common",
>     "[INFO] metron-analytics",
>     "[INFO] metron-maas-common",
>     "[INFO] metron-platform",
> .
> .
> .
>     "[INFO] Installed npm locally.",
>     "[INFO] ",
>     "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts
> ---",
>     "[INFO] npm not inheriting proxy config from Maven",
>     "[INFO] Running 'npm ci' in
> /root/metron/metron-interface/metron-alerts",
>     "[WARNING] metron-storm-kafka-override-0.6.1.jar,
> storm-kafka-client-1.2.2.jar define 6 overlapping classes: ",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff",
>     "[WARNING]   - org.apache.storm.kafka.spout.internal.Timer",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetrySchedule",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetryEntryTimeStampComparator",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$TimeInterval",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$1",
>     "[WARNING] maven-shade-plugin has detected that some class files are",
>     "[WARNING] present in two or more JARs. When this happens, only one",
>     "[WARNING] single version of the class is copied to the uber jar.",
>     "[WARNING] Usually this is not harmful and you can skip these
> warnings,",
>     "[WARNING] otherwise try to manually exclude artifacts based on",
>     "[WARNING] mvn dependency:tree -Ddetail=true and the above output.",
>     "[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/",
>     "[INFO] Replacing original artifact with shaded artifact.",
>     "[INFO] Replacing
> /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1.jar
> with
> /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1-shaded.jar",
>     "[INFO] Dependency-reduced POM written at:
> /root/metron/metron-platform/metron-storm-kafka-override/dependency-reduced-pom.xml",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ stellar-common ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 2 resources",
>     "[INFO] ",
>     "[INFO] --- maven-compiler-plugin:3.5.1:testCompile
> (default-testCompile) @ stellar-common ---",
>     "[INFO] Changes detected - recompiling the module!",
>     "[INFO] Compiling 60 source files to
> /root/metron/metron-stellar/stellar-common/target/test-classes",
>     "[INFO] ",
>     "[INFO] > fsevents@1.2.4 install
> /root/metron/metron-interface/metron-config/node_modules/fsevents",
>     "[INFO] > node install",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[INFO] ",
>     "[INFO] > node-sass@4.9.3 install
> /root/metron/metron-interface/metron-config/node_modules/node-sass",
>     "[INFO] > node scripts/install.js",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.8.0 install
> /root/metron/metron-interface/metron-config/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is
> likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!
> /root/.npm/_logs/2018-11-27T22_15_48_674Z-debug.log",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Summary:",
>     "[INFO] ",
>     "[INFO] Metron ............................................. SUCCESS
> [  0.526 s]",
>     "[INFO] metron-stellar ..................................... SUCCESS
> [  0.966 s]",
>     "[INFO] stellar-common ..................................... SKIPPED",
>     "[INFO] metron-analytics ................................... SUCCESS
> [  0.021 s]",
>     "[INFO] metron-maas-common ................................. SKIPPED",
>     "[INFO] metron-platform .................................... SUCCESS
> [  0.542 s]",
>     "[INFO] metron-zookeeper ................................... SUCCESS
> [  3.741 s]",
>     "[INFO] metron-test-utilities .............................. SUCCESS
> [  2.777 s]",
>     "[INFO] metron-integration-test ............................ SKIPPED",
>     "[INFO] metron-maas-service ................................ SKIPPED",
>     "[INFO] metron-common ...................................... SKIPPED",
>     "[INFO] metron-statistics .................................. SKIPPED",
>     "[INFO] metron-writer ...................................... SKIPPED",
>     "[INFO] metron-storm-kafka-override ........................ SUCCESS [
> 14.903 s]",
>     "[INFO] metron-storm-kafka ................................. SKIPPED",
>     "[INFO] metron-hbase ....................................... SKIPPED",
>     "[INFO] metron-profiler-common ............................. SKIPPED",
>     "[INFO] metron-profiler-client ............................. SKIPPED",
>     "[INFO] metron-profiler-storm .............................. SKIPPED",
>     "[INFO] metron-profiler-spark .............................. SKIPPED",
>     "[INFO] metron-profiler-repl ............................... SKIPPED",
>     "[INFO] metron-hbase-client ................................ SKIPPED",
>     "[INFO] metron-enrichment .................................. SKIPPED",
>     "[INFO] metron-indexing .................................... SKIPPED",
>     "[INFO] metron-solr ........................................ SKIPPED",
>     "[INFO] metron-job ......................................... SKIPPED",
>     "[INFO] metron-pcap ........................................ SKIPPED",
>     "[INFO] metron-parsers ..................................... SKIPPED",
>     "[INFO] metron-pcap-backend ................................ SKIPPED",
>     "[INFO] metron-data-management ............................. SKIPPED",
>     "[INFO] metron-management .................................. SKIPPED",
>     "[INFO] elasticsearch-shaded ............................... SKIPPED",
>     "[INFO] metron-elasticsearch ............................... SKIPPED",
>     "[INFO] metron-deployment .................................. SUCCESS
> [  0.028 s]",
>     "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS
> [  2.322 s]",
>     "[INFO] Metron Ambari Management Pack ...................... SUCCESS
> [  3.172 s]",
>     "[INFO] metron-contrib ..................................... SUCCESS
> [  0.004 s]",
>     "[INFO] metron-docker ...................................... SUCCESS
> [  1.344 s]",
>     "[INFO] metron-performance ................................. SKIPPED",
>     "[INFO] metron-interface ................................... SUCCESS
> [  0.518 s]",
>     "[INFO] metron-config ...................................... FAILURE [
> 25.771 s]",
>     "[INFO] metron-alerts ...................................... SKIPPED",
>     "[INFO] metron-rest-client ................................. SKIPPED",
>     "[INFO] metron-rest ........................................ SKIPPED",
>     "[INFO] site-book .......................................... SUCCESS
> [  1.208 s]",
>     "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
>     "[INFO] stellar-zeppelin ................................... SKIPPED",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] BUILD FAILURE",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Total time: 27.319 s (Wall Clock)",
>     "[INFO] Finished at: 2018-11-27T22:15:48+00:00",
>     "[INFO] Final Memory: 255M/334M",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config: Failed to run task: 'npm ci' 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"
>   ]
> }
>
>
>
>
> On Tuesday, November 27, 2018, 4:52:56 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
>
>
> > failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker
> daemon' running on this host?: dial unix /var/run/docker.sock: connect:
> permission denied\
>
> You do not have Docker running.
>
> Make sure you can launch a Docker container on that host.  You should be
> able to run "docker run hello-world" successfully.
>
>
>
>
>
>
> On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
> Sorry for the long list, I stored all the session and before the npm ci
> error there's another error that is happening:
>
>  TASK [metron-builder : Build Metron RPM Packages]
> **************************************************************************************************************************************************************************************
>
> failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost]
> (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "delta": "0:00:03.946454",
>   "end": "2018-11-27 19:54:11.768388",
>   "failed": true,
>   "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-27 19:54:07.821934",
>   "stderr": "Got permission denied while trying to connect to the Docker
> daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1:
> dial unix /var/run/docker.sock: connect: permission denied",
>   "stderr_lines": [
>     "Got permission denied while trying to connect to the Docker daemon
> socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1:
> dial unix /var/run/docker.sock: connect: permission denied"
>   ],
>   "stdout": "[INFO] Scanning for projects...
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Build Order:
>   [INFO]
>   [INFO] metron-deployment
>   [INFO] metron-rpm
>   [INFO]
>   [INFO] Using the MultiThreadedBuilder implementation with a thread count
> of 8
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-deployment 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment
> ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-rpm 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
>   2/2 KB   \r         \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> (2 KB at 5.3 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
>   3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> (8 KB at 278.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
>   3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r
> \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> (12 KB at 108.4 KB/sec)
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---
>   [INFO]
>   [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> (2 KB at 65.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> (2 KB at 31.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> (3 KB at 107.8 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> (918 B at 40.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> (2 KB at 61.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> (2 KB at 55.5 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> (765 B at 35.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> (149 B at 6.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B
> at 40.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> (30 KB at 626.8 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> (103 KB at 1804.3 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> (20 KB at 324.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> (49 KB at 762.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> (79 KB at 1121.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> (9 KB at 106.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> (165 KB at 1872.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> (191 KB at 2009.0 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> (77 KB at 797.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> (9 KB at 75.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB
> at 7425.1 KB/sec)
>   [INFO] Executing tasks
>   [echo] ******** Displaying value of property ********
>   [echo] ../../../..
>   [INFO] Executed tasks
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>   [INFO]
>   [INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---
>   [INFO] Using 'UTF-8' encoding to copy filtered resources.
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO]
>   [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
>   Downloading:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B
> at 0.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
> (0 B at 0.0 KB/sec)
>   [ERROR] Command execution failed.
>   org.apache.commons.exec.ExecuteException: Process exited with an error:
> 1 (Exit value: 1)
>   at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
>   at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
>   at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
>   at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>   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:116)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Summary:
>   [INFO]
>   [INFO] metron-deployment .................................. SUCCESS [
> 0.629 s]
>   [INFO] metron-rpm ......................................... FAILURE [
> 2.243 s]
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] BUILD FAILURE
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Total time: 2.982 s (Wall Clock)
>   [INFO] Finished at: 2018-11-27T19:54:11+00:00
>   [INFO] Final Memory: 20M/331M
>   [INFO]
> ------------------------------------------------------------------------
>   [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException
>   [ERROR]
>   [ERROR] After correcting the problems, you can resume the build with the
> command
>   [ERROR]   mvn <goals> -rf :metron-rpm",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] metron-deployment",
>     "[INFO] metron-rpm",
>     "[INFO] ",
>     "[INFO] Using the MultiThreadedBuilder implementation with a thread
> count of 8",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-deployment 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @
> metron-deployment ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-rpm 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> (2 KB at 5.3 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> (8 KB at 278.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> (12 KB at 108.4 KB/sec)",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---",
>     "[INFO] ",
>     "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> (2 KB at 65.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> (2 KB at 31.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> (3 KB at 107.8 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> (918 B at 40.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> (2 KB at 61.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> (2 KB at 55.5 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> (765 B at 35.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> (149 B at 6.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B
> at 40.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> (30 KB at 626.8 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> (103 KB at 1804.3 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> (20 KB at 324.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> (49 KB at 762.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> (79 KB at 1121.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> (9 KB at 106.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> (165 KB at 1872.3 KB/sec)",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> (191 KB at 2009.0 KB/sec)",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> (77 KB at 797.3 KB/sec)",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> (9 KB at 75.3 KB/sec)",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB
> at 7425.1 KB/sec)",
>     "[INFO] Executing tasks",
>     "     [echo] ******** Displaying value of property ********",
>     "     [echo] ../../../..",
>     "[INFO] Executed tasks",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm
> ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] ",
>     "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm
> ---",
>     "Downloading:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
>     "               ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B
> at 0.0 KB/sec)",
>     "Downloading: <a shape="rect" href="
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-
>
>

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
I built it using the ansible-docker method, but first of all everything inside this docker is too old: 

    METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276
--
--
ansible 2.0.0.2
  config file = /root/ansible.cfg
  configured module search path = ../extra_modules
--
../scripts/platform-info.sh: line 52: vagrant: command not found
--
../scripts/platform-info.sh: line 56: vagrant: command not found
The Vagrant Hostmanager Plugin is NOT installed
--
Python 2.6.6
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /opt/maven
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el6_10.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-1027-aws", arch: "amd64", family: "unix"
--
../scripts/platform-info.sh: line 68: docker: command not found
--
node
v6.15.0
--
npm
3.10.10
--
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Warning: Compiler is NOT C++11 compliant
--

And it gives an ansible error running the ec2 script:
 [WARNING]: provided hosts list is empty, only localhost is available

ERROR! 'import_playbook' is not a valid attribute for a Play

The error appears to have been in '/root/metron/metron-deployment/ansible/playbooks/metron_full_install.yml': line 18, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- import_playbook: metron_build.yml
  ^ here






    On Wednesday, November 28, 2018, 3:50:33 PM EST, Babak Abbaschian <ba...@yahoo.com> wrote:  
 
 
I'll try that link right away, Today I tried to install it from a local machine, All the steps are as follows:

****************** J A V A ******************
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default3
java -version
cat >> /etc/environment <<EOL
JAVA_HOME=/usr/lib/jvm/java-8-oracle
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
EOL

JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
PATH=$JAVA_HOME/bin:$PATH


****************** S S H   P U B L I C   K E Y ******************
ssh-keygen


******************  M A V E N  ******************
get http://apache.mirrors.lucidnetworks.net/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
sudo mkdir -p /usr/local/apache-maven
sudo mv apache-maven-3.3.9-bin.tar.gz /usr/local/apache-maven
cd /usr/local/apache-maven
sudo tar -xzvf apache-maven-3.3.9-bin.tar.gz

nano ~/.bashrc ==>
export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"
export PATH=$M2:$PATH

. ~/.bashrc


****************** A N S I B L E ******************
pip install ansible==2.4.1


****************** N O D E  J S ******************
curl -sL https://deb.nodesource.com/setup_9.x | sudo bash -
apt install nodejs
npm install npm


****************** D O C K E R ******************
apt install docker.io


****************** V I R T U A L   B O X ******************
apt install virtualbox


****************** V A G R A N T ******************
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
dpkg -i vagrant_2.2.0_x86_64.deb
vagrant plugin install vagrant-hostmanager


****************** A W S   R E Q U I R E M E N T ******************
pip install boto boto3 botocore


****************** M E T R O N ******************
git clone https://github.com/apache/metron.git
cd metron/metron-deployment/amazon-ec2/
./run.sh


REQUIREMENTS Check:
************************************************************************
Metron 0.6.1
--
* master
--
commit 42fc699ce1df04fd065d131293a8322a095c1e9c (HEAD -> master, origin/master, origin/HEAD)
Author: nickwallen <ni...@nickallen.org>
Date:   Tue Nov 27 12:44:58 2018 -0500

    METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276
--
--
ansible 2.4.1.0
  config file = /root/metron/metron-deployment/amazon-ec2/ansible.cfg
  configured module search path = [u'/root/metron/metron-deployment/ansible/extra_modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
--
Vagrant 2.2.0
--
vagrant-hostmanager (1.8.9, global)
--
Python 2.7.15rc1
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-43-microsoft", arch: "amd64", family: "unix"
--
Docker version 18.06.1-ce, build e68fc7a
--
node
v9.11.2
--
npm
6.4.1
--
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Compiler is C++11 compliant
--
Linux EGLSELJ25HK12 4.4.0-43  #27-Ubuntu SMP Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 63889.3 MB
Processor Model: Intel(R) Xeon(R) Processor E3-1275 CPU @ 2.50GHz
Processor Speed: 3399.986 MHz
Processor Speed: 3399.995 MHz
Processor Speed: 3399.998 MHz
Processor Speed: 3399.984 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/nvme0n1p1  488G   121G  366G  25% /
This CPU appears to support virtualization




RESULTS:
TASK [metron-builder : Build Metron] ********************************************************************************************************************************************************************************************************
failed: [ec2-34-213-192-177.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack) =>

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:02:16.734802",
  "end": "2018-11-28 13:19:14.711639",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-28 13:16:57.976837",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
    "[INFO] metron-zookeeper",
    "[INFO] metron-test-utilities",
    "[INFO] metron-integration-test",
    "[INFO] metron-maas-service",
    "[INFO] metron-common",
    "[INFO] metron-statistics",
    "[INFO] metron-writer",
    "[INFO] metron-storm-kafka-override",
    "[INFO] metron-storm-kafka",
    "[INFO] metron-hbase",
    "[INFO] metron-profiler-common",
    "[INFO] metron-profiler-client",
    "[INFO] metron-profiler-storm",
    "[INFO] metron-profiler-spark",
    "[INFO] metron-profiler-repl",
    "[INFO] metron-hbase-client",
    "[INFO] metron-enrichment",
    "[INFO] metron-indexing",
    "[INFO] metron-solr",
    "[INFO] metron-job",
    "[INFO] metron-pcap",
    "[INFO] metron-parsers",
    "[INFO] metron-pcap-backend",
    "[INFO] metron-data-management",
    "[INFO] metron-management",
    "[INFO] elasticsearch-shaded",
    "[INFO] metron-elasticsearch",
    "[INFO] metron-deployment",
    "[INFO] Elasticsearch Ambari Management Pack",
    "[INFO] Metron Ambari Management Pack",
.
.
.
    "Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5/antlr4-4.5.jar (1508 KB at 615.7 KB/sec)",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ANTLR 4: Processing source directory /root/metron/metron-stellar/stellar-common/src/main/antlr4",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[INFO] Processing grammar: org/apache/metron/stellar/common/generated/Stellar.g4",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 113 source files to /root/metron/metron-stellar/stellar-common/target/classes",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-28T18_19_13_522Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  2.435 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  3.202 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  3.170 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  3.186 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [ 10.457 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [ 40.485 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 18.270 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SUCCESS [ 29.954 s]",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SUCCESS [ 42.504 s]",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.174 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [ 11.887 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 13.071 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.174 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  7.394 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  3.178 s]",
    "[INFO] metron-config ...................................... FAILURE [02:06 min]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  3.646 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 02:13 min (Wall Clock)",
    "[INFO] Finished at: 2018-11-28T18:19:13+00:00",
    "[INFO] Final Memory: 82M/319M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}
NO MORE HOSTS LEFT **************************************************************************************************************************************************************************************************************************
        to retry, use: --limit @/root/metron/metron-deployment/amazon-ec2/playbook.retry

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
ec2-34-213-192-177.us-west-2.compute.amazonaws.com : ok=12   changed=2    unreachable=0    failed=1
ec2-34-217-100-106.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-221-206-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-123-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-134-150.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-52-25-127-243.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-25-57-134.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-88-34-103.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-212-58-129.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-245-46-71.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
localhost                  : ok=20   changed=6    unreachable=0    failed=0

root@EGLSELJ25HK12:~/metron/metron-deployment/amazon-ec2#



 

    On Wednesday, November 28, 2018, 1:15:19 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 I am not sure what is going on, but here are a couple thoughts that might help.

(1) I know you are trying to deploy to EC2, but the problems you are running into are during the build of the web components of Metron.  So let's focus on getting you able to build Metron.
(2) What version of Metron are you using?  If you are working from master, please confirm that you have updated to the latest as of today.  The last commit should be METRON-1888.  
(3) Can you try to build Metron using the instructions located here?  Hopefully this will ensure that all the right dependencies are installed and help isolate the problem.

https://github.com/apache/metron/tree/master/metron-deployment/packaging/docker/ansible-docker

(4) When you send output, please be sure to send the commands that you are running that generated the output.  Some of what you sent previously appears to be from executing different commands than I would expect.  


On Tue, Nov 27, 2018 at 5:27 PM Babak Abbaschian <ba...@yahoo.com> wrote:

This time I did it with root account, (Docker needed root permissions):

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:00:28.609298",
  "end": "2018-11-27 22:15:49.204760",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 22:15:20.595462",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
.
.
.
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[WARNING] metron-storm-kafka-override-0.6.1.jar, storm-kafka-client-1.2.2.jar define 6 overlapping classes: ",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff",
    "[WARNING]   - org.apache.storm.kafka.spout.internal.Timer",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetrySchedule",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetryEntryTimeStampComparator",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$TimeInterval",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$1",
    "[WARNING] maven-shade-plugin has detected that some class files are",
    "[WARNING] present in two or more JARs. When this happens, only one",
    "[WARNING] single version of the class is copied to the uber jar.",
    "[WARNING] Usually this is not harmful and you can skip these warnings,",
    "[WARNING] otherwise try to manually exclude artifacts based on",
    "[WARNING] mvn dependency:tree -Ddetail=true and the above output.",
    "[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/",
    "[INFO] Replacing original artifact with shaded artifact.",
    "[INFO] Replacing /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1.jar with /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1-shaded.jar",
    "[INFO] Dependency-reduced POM written at: /root/metron/metron-platform/metron-storm-kafka-override/dependency-reduced-pom.xml",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 60 source files to /root/metron/metron-stellar/stellar-common/target/test-classes",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-27T22_15_48_674Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  0.526 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  0.966 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  0.021 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  0.542 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [  3.741 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [  2.777 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 14.903 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SKIPPED",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SKIPPED",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.028 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [  2.322 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [  3.172 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.004 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  1.344 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  0.518 s]",
    "[INFO] metron-config ...................................... FAILURE [ 25.771 s]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  1.208 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 27.319 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T22:15:48+00:00",
    "[INFO] Final Memory: 255M/334M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}




   On Tuesday, November 27, 2018, 4:52:56 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 > failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\

You do not have Docker running.  
Make sure you can launch a Docker container on that host.  You should be able to run "docker run hello-world" successfully.





On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <ba...@yahoo.com> wrote:

 Sorry for the long list, I stored all the session and before the npm ci error there's another error that is happening:
 TASK [metron-builder : Build Metron RPM Packages] **************************************************************************************************************************************************************************************

failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.946454",
  "end": "2018-11-27 19:54:11.768388",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 19:54:07.821934",
  "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied",
  "stderr_lines": [
    "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
  2/2 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
  3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
  3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r           \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
  Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.629 s]
  [INFO] metron-rpm ......................................... FAILURE [  2.243 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.982 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T19:54:11+00:00
  [INFO] Final Memory: 20M/331M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.629 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  2.243 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.982 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T19:54:11+00:00",
    "[INFO] Final Memory: 20M/331M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}
TASK [metron-builder : Build Metron RPM Packages] *******************************************************************************************************************************************************************************************
failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.050418",
  "end": "2018-11-27 20:22:38.873462",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 20:22:35.823044",
  "stderr": "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"
  context canceled",
  "stderr_lines": [
    "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"",
    "context canceled"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.630 s]
  [INFO] metron-rpm ......................................... FAILURE [  1.362 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.101 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T20:22:38+00:00
  [INFO] Final Memory: 16M/309M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.630 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  1.362 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.101 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T20:22:38+00:00",
    "[INFO] Final Memory: 16M/309M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}








    On Tuesday, November 27, 2018, 2:31:43 PM EST, Babak Abbaschian <ba...@yahoo.com> wrote:  
 
 Installed Node 9.11.1 and npm 6.4.1 but got the same error :(
 


    On Tuesday, November 27, 2018, 12:15:39 PM EST, Shane Ardell <sa...@apache.org> wrote:  
 
 I would recommend installing Node version v9.11.1 (which is the version specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which is used during the build, and npm doesn't always support the LTS release of Node.

I'm not sure if this will resolve this issue, but it will at least rule out a problem with the Node and npm versions being used.


On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com> wrote: 
> No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in nested VMs.
> 
>  
> 
>    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Are you able to spin-up the development environment in Vagrant?  
> 
> cd metron-deployment/development/centosvagrant up
> 
> See the README in that directory for more information.
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(
> 
>    "[INFO] ------------------------------------------------------------------------",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
>     "1/2 KB   ",
>     "2/2 KB   ",
>     "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
> 
>  
> 
>    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Everything else there, except Node/NPM, seems OK.
> Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
> $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> 
> You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
> nodev9.11.1--npm6.2.0
> 
> 
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> 
>  Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
> 
>    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  On the host where you are trying to build Metron, can you run the following script and send back the output?
> 
>  metron/metron-deployment/scripts/platform-info.sh
>  Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.
> 
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> 
> And also please be sure to read this warning about using the automated deployment scripts to EC2.  
> 
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> 
> 
> 
> 
> 
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
>  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> 
> First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.
> 
> So here is the process that I take on Ubuntu 18.1:
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
> apt install maven //Version 3.3.9 
> apt install python-pip 
> pip install ansible==2.4.1
> ///////////////////////////////////////////////////////////////////////////////
> // Ansible versions higher than 2.4.1 will end up with this error:
> // **************Task Create Virtual private cloud ***************
> // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
>  // hints for porting"}
> ///////////////////////////////////////////////////////////////////////////////
> 
> apt install nodejs-legacy //The system is using command node, not nodejs 
> apt install npm apt install virtualbox //Version 5.5.2 
> wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
> ///////////////////////////////////////////////////////////////////////////////
> // Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
> ///////////////////////////////////////////////////////////////////////////////
> 
> dpkg -i vagrant_2.2.0_x86_64.deb 
> vagrant plugin install vagrant-hostmanager 
> git clone https://github.com/apache/metron.git 
> cd metron/metron-deployment/amazon-ec2/ 
> ./run.sh 
> And I End up with failed master node with this error:
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
> Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> Thanks,Babak.
> 
> 
>  
> 
>  
>  
    
  
    

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
I'll try that link right away, Today I tried to install it from a local machine, All the steps are as follows:

****************** J A V A ******************
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default3
java -version
cat >> /etc/environment <<EOL
JAVA_HOME=/usr/lib/jvm/java-8-oracle
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
EOL

JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
PATH=$JAVA_HOME/bin:$PATH


****************** S S H   P U B L I C   K E Y ******************
ssh-keygen


******************  M A V E N  ******************
get http://apache.mirrors.lucidnetworks.net/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
sudo mkdir -p /usr/local/apache-maven
sudo mv apache-maven-3.3.9-bin.tar.gz /usr/local/apache-maven
cd /usr/local/apache-maven
sudo tar -xzvf apache-maven-3.3.9-bin.tar.gz

nano ~/.bashrc ==>
export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"
export PATH=$M2:$PATH

. ~/.bashrc


****************** A N S I B L E ******************
pip install ansible==2.4.1


****************** N O D E  J S ******************
curl -sL https://deb.nodesource.com/setup_9.x | sudo bash -
apt install nodejs
npm install npm


****************** D O C K E R ******************
apt install docker.io


****************** V I R T U A L   B O X ******************
apt install virtualbox


****************** V A G R A N T ******************
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
dpkg -i vagrant_2.2.0_x86_64.deb
vagrant plugin install vagrant-hostmanager


****************** A W S   R E Q U I R E M E N T ******************
pip install boto boto3 botocore


****************** M E T R O N ******************
git clone https://github.com/apache/metron.git
cd metron/metron-deployment/amazon-ec2/
./run.sh


REQUIREMENTS Check:
************************************************************************
Metron 0.6.1
--
* master
--
commit 42fc699ce1df04fd065d131293a8322a095c1e9c (HEAD -> master, origin/master, origin/HEAD)
Author: nickwallen <ni...@nickallen.org>
Date:   Tue Nov 27 12:44:58 2018 -0500

    METRON-1888 Default Topology Settings in MPack Cause Profiler to Stall (nickwallen) closes apache/metron#1276
--
--
ansible 2.4.1.0
  config file = /root/metron/metron-deployment/amazon-ec2/ansible.cfg
  configured module search path = [u'/root/metron/metron-deployment/ansible/extra_modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
--
Vagrant 2.2.0
--
vagrant-hostmanager (1.8.9, global)
--
Python 2.7.15rc1
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-43-microsoft", arch: "amd64", family: "unix"
--
Docker version 18.06.1-ce, build e68fc7a
--
node
v9.11.2
--
npm
6.4.1
--
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Compiler is C++11 compliant
--
Linux EGLSELJ25HK12 4.4.0-43  #27-Ubuntu SMP Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 63889.3 MB
Processor Model: Intel(R) Xeon(R) Processor E3-1275 CPU @ 2.50GHz
Processor Speed: 3399.986 MHz
Processor Speed: 3399.995 MHz
Processor Speed: 3399.998 MHz
Processor Speed: 3399.984 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/nvme0n1p1  488G   121G  366G  25% /
This CPU appears to support virtualization




RESULTS:
TASK [metron-builder : Build Metron] ********************************************************************************************************************************************************************************************************
failed: [ec2-34-213-192-177.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack) =>

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:02:16.734802",
  "end": "2018-11-28 13:19:14.711639",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-28 13:16:57.976837",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
    "[INFO] metron-zookeeper",
    "[INFO] metron-test-utilities",
    "[INFO] metron-integration-test",
    "[INFO] metron-maas-service",
    "[INFO] metron-common",
    "[INFO] metron-statistics",
    "[INFO] metron-writer",
    "[INFO] metron-storm-kafka-override",
    "[INFO] metron-storm-kafka",
    "[INFO] metron-hbase",
    "[INFO] metron-profiler-common",
    "[INFO] metron-profiler-client",
    "[INFO] metron-profiler-storm",
    "[INFO] metron-profiler-spark",
    "[INFO] metron-profiler-repl",
    "[INFO] metron-hbase-client",
    "[INFO] metron-enrichment",
    "[INFO] metron-indexing",
    "[INFO] metron-solr",
    "[INFO] metron-job",
    "[INFO] metron-pcap",
    "[INFO] metron-parsers",
    "[INFO] metron-pcap-backend",
    "[INFO] metron-data-management",
    "[INFO] metron-management",
    "[INFO] elasticsearch-shaded",
    "[INFO] metron-elasticsearch",
    "[INFO] metron-deployment",
    "[INFO] Elasticsearch Ambari Management Pack",
    "[INFO] Metron Ambari Management Pack",
.
.
.
    "Downloaded: https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5/antlr4-4.5.jar (1508 KB at 615.7 KB/sec)",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ANTLR 4: Processing source directory /root/metron/metron-stellar/stellar-common/src/main/antlr4",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[INFO] Processing grammar: org/apache/metron/stellar/common/generated/Stellar.g4",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 113 source files to /root/metron/metron-stellar/stellar-common/target/classes",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-28T18_19_13_522Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  2.435 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  3.202 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  3.170 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  3.186 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [ 10.457 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [ 40.485 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 18.270 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SUCCESS [ 29.954 s]",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SUCCESS [ 42.504 s]",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.174 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [ 11.887 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [ 13.071 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.174 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  7.394 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  3.178 s]",
    "[INFO] metron-config ...................................... FAILURE [02:06 min]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  3.646 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 02:13 min (Wall Clock)",
    "[INFO] Finished at: 2018-11-28T18:19:13+00:00",
    "[INFO] Final Memory: 82M/319M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}
NO MORE HOSTS LEFT **************************************************************************************************************************************************************************************************************************
        to retry, use: --limit @/root/metron/metron-deployment/amazon-ec2/playbook.retry

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
ec2-34-213-192-177.us-west-2.compute.amazonaws.com : ok=12   changed=2    unreachable=0    failed=1
ec2-34-217-100-106.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-221-206-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-123-79.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-34-222-134-150.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-52-25-127-243.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-25-57-134.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
ec2-52-88-34-103.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-212-58-129.us-west-2.compute.amazonaws.com : ok=14   changed=8    unreachable=0    failed=0
ec2-54-245-46-71.us-west-2.compute.amazonaws.com : ok=11   changed=1    unreachable=0    failed=0
localhost                  : ok=20   changed=6    unreachable=0    failed=0

root@EGLSELJ25HK12:~/metron/metron-deployment/amazon-ec2#



 

    On Wednesday, November 28, 2018, 1:15:19 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 I am not sure what is going on, but here are a couple thoughts that might help.

(1) I know you are trying to deploy to EC2, but the problems you are running into are during the build of the web components of Metron.  So let's focus on getting you able to build Metron.
(2) What version of Metron are you using?  If you are working from master, please confirm that you have updated to the latest as of today.  The last commit should be METRON-1888.  
(3) Can you try to build Metron using the instructions located here?  Hopefully this will ensure that all the right dependencies are installed and help isolate the problem.

https://github.com/apache/metron/tree/master/metron-deployment/packaging/docker/ansible-docker

(4) When you send output, please be sure to send the commands that you are running that generated the output.  Some of what you sent previously appears to be from executing different commands than I would expect.  


On Tue, Nov 27, 2018 at 5:27 PM Babak Abbaschian <ba...@yahoo.com> wrote:

This time I did it with root account, (Docker needed root permissions):

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:00:28.609298",
  "end": "2018-11-27 22:15:49.204760",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 22:15:20.595462",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
.
.
.
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[WARNING] metron-storm-kafka-override-0.6.1.jar, storm-kafka-client-1.2.2.jar define 6 overlapping classes: ",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff",
    "[WARNING]   - org.apache.storm.kafka.spout.internal.Timer",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetrySchedule",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetryEntryTimeStampComparator",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$TimeInterval",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$1",
    "[WARNING] maven-shade-plugin has detected that some class files are",
    "[WARNING] present in two or more JARs. When this happens, only one",
    "[WARNING] single version of the class is copied to the uber jar.",
    "[WARNING] Usually this is not harmful and you can skip these warnings,",
    "[WARNING] otherwise try to manually exclude artifacts based on",
    "[WARNING] mvn dependency:tree -Ddetail=true and the above output.",
    "[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/",
    "[INFO] Replacing original artifact with shaded artifact.",
    "[INFO] Replacing /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1.jar with /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1-shaded.jar",
    "[INFO] Dependency-reduced POM written at: /root/metron/metron-platform/metron-storm-kafka-override/dependency-reduced-pom.xml",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 60 source files to /root/metron/metron-stellar/stellar-common/target/test-classes",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-27T22_15_48_674Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  0.526 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  0.966 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  0.021 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  0.542 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [  3.741 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [  2.777 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 14.903 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SKIPPED",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SKIPPED",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.028 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [  2.322 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [  3.172 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.004 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  1.344 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  0.518 s]",
    "[INFO] metron-config ...................................... FAILURE [ 25.771 s]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  1.208 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 27.319 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T22:15:48+00:00",
    "[INFO] Final Memory: 255M/334M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}




   On Tuesday, November 27, 2018, 4:52:56 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 > failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\

You do not have Docker running.  
Make sure you can launch a Docker container on that host.  You should be able to run "docker run hello-world" successfully.





On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <ba...@yahoo.com> wrote:

 Sorry for the long list, I stored all the session and before the npm ci error there's another error that is happening:
 TASK [metron-builder : Build Metron RPM Packages] **************************************************************************************************************************************************************************************

failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.946454",
  "end": "2018-11-27 19:54:11.768388",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 19:54:07.821934",
  "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied",
  "stderr_lines": [
    "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
  2/2 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
  3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
  3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r           \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
  Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.629 s]
  [INFO] metron-rpm ......................................... FAILURE [  2.243 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.982 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T19:54:11+00:00
  [INFO] Final Memory: 20M/331M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.629 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  2.243 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.982 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T19:54:11+00:00",
    "[INFO] Final Memory: 20M/331M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}
TASK [metron-builder : Build Metron RPM Packages] *******************************************************************************************************************************************************************************************
failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.050418",
  "end": "2018-11-27 20:22:38.873462",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 20:22:35.823044",
  "stderr": "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"
  context canceled",
  "stderr_lines": [
    "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"",
    "context canceled"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.630 s]
  [INFO] metron-rpm ......................................... FAILURE [  1.362 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.101 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T20:22:38+00:00
  [INFO] Final Memory: 16M/309M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.630 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  1.362 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.101 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T20:22:38+00:00",
    "[INFO] Final Memory: 16M/309M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}








    On Tuesday, November 27, 2018, 2:31:43 PM EST, Babak Abbaschian <ba...@yahoo.com> wrote:  
 
 Installed Node 9.11.1 and npm 6.4.1 but got the same error :(
 


    On Tuesday, November 27, 2018, 12:15:39 PM EST, Shane Ardell <sa...@apache.org> wrote:  
 
 I would recommend installing Node version v9.11.1 (which is the version specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which is used during the build, and npm doesn't always support the LTS release of Node.

I'm not sure if this will resolve this issue, but it will at least rule out a problem with the Node and npm versions being used.


On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com> wrote: 
> No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in nested VMs.
> 
>  
> 
>    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Are you able to spin-up the development environment in Vagrant?  
> 
> cd metron-deployment/development/centosvagrant up
> 
> See the README in that directory for more information.
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(
> 
>    "[INFO] ------------------------------------------------------------------------",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
>     "1/2 KB   ",
>     "2/2 KB   ",
>     "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
> 
>  
> 
>    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Everything else there, except Node/NPM, seems OK.
> Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
> $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> 
> You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
> nodev9.11.1--npm6.2.0
> 
> 
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> 
>  Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
> 
>    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  On the host where you are trying to build Metron, can you run the following script and send back the output?
> 
>  metron/metron-deployment/scripts/platform-info.sh
>  Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.
> 
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> 
> And also please be sure to read this warning about using the automated deployment scripts to EC2.  
> 
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> 
> 
> 
> 
> 
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
>  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> 
> First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.
> 
> So here is the process that I take on Ubuntu 18.1:
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
> apt install maven //Version 3.3.9 
> apt install python-pip 
> pip install ansible==2.4.1
> ///////////////////////////////////////////////////////////////////////////////
> // Ansible versions higher than 2.4.1 will end up with this error:
> // **************Task Create Virtual private cloud ***************
> // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
>  // hints for porting"}
> ///////////////////////////////////////////////////////////////////////////////
> 
> apt install nodejs-legacy //The system is using command node, not nodejs 
> apt install npm apt install virtualbox //Version 5.5.2 
> wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
> ///////////////////////////////////////////////////////////////////////////////
> // Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
> ///////////////////////////////////////////////////////////////////////////////
> 
> dpkg -i vagrant_2.2.0_x86_64.deb 
> vagrant plugin install vagrant-hostmanager 
> git clone https://github.com/apache/metron.git 
> cd metron/metron-deployment/amazon-ec2/ 
> ./run.sh 
> And I End up with failed master node with this error:
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
> Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> Thanks,Babak.
> 
> 
>  
> 
>  
>  
    
  
  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Nick Allen <ni...@nickallen.org>.
I am not sure what is going on, but here are a couple thoughts that might
help.

(1) I know you are trying to deploy to EC2, but the problems you are
running into are during the build of the web components of Metron.  So
let's focus on getting you able to build Metron.

(2) What version of Metron are you using?  If you are working from master,
please confirm that you have updated to the latest as of today.  The last
commit should be METRON-1888.

(3) Can you try to build Metron using the instructions located here?
Hopefully this will ensure that all the right dependencies are installed
and help isolate the problem.

https://github.com/apache/metron/tree/master/metron-deployment/packaging/docker/ansible-docker


(4) When you send output, please be sure to send the commands that you are
running that generated the output.  Some of what you sent previously
appears to be from executing different commands than I would expect.



On Tue, Nov 27, 2018 at 5:27 PM Babak Abbaschian <ba...@yahoo.com>
wrote:

> This time I did it with root account, (Docker needed root permissions):
>
> {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
>   "delta": "0:00:28.609298",
>   "end": "2018-11-27 22:15:49.204760",
>   "failed": true,
>   "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-27 22:15:20.595462",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] Metron",
>     "[INFO] metron-stellar",
>     "[INFO] stellar-common",
>     "[INFO] metron-analytics",
>     "[INFO] metron-maas-common",
>     "[INFO] metron-platform",
> .
> .
> .
>     "[INFO] Installed npm locally.",
>     "[INFO] ",
>     "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts
> ---",
>     "[INFO] npm not inheriting proxy config from Maven",
>     "[INFO] Running 'npm ci' in
> /root/metron/metron-interface/metron-alerts",
>     "[WARNING] metron-storm-kafka-override-0.6.1.jar,
> storm-kafka-client-1.2.2.jar define 6 overlapping classes: ",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff",
>     "[WARNING]   - org.apache.storm.kafka.spout.internal.Timer",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetrySchedule",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetryEntryTimeStampComparator",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$TimeInterval",
>     "[WARNING]   -
> org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$1",
>     "[WARNING] maven-shade-plugin has detected that some class files are",
>     "[WARNING] present in two or more JARs. When this happens, only one",
>     "[WARNING] single version of the class is copied to the uber jar.",
>     "[WARNING] Usually this is not harmful and you can skip these
> warnings,",
>     "[WARNING] otherwise try to manually exclude artifacts based on",
>     "[WARNING] mvn dependency:tree -Ddetail=true and the above output.",
>     "[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/",
>     "[INFO] Replacing original artifact with shaded artifact.",
>     "[INFO] Replacing
> /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1.jar
> with
> /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1-shaded.jar",
>     "[INFO] Dependency-reduced POM written at:
> /root/metron/metron-platform/metron-storm-kafka-override/dependency-reduced-pom.xml",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ stellar-common ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 2 resources",
>     "[INFO] ",
>     "[INFO] --- maven-compiler-plugin:3.5.1:testCompile
> (default-testCompile) @ stellar-common ---",
>     "[INFO] Changes detected - recompiling the module!",
>     "[INFO] Compiling 60 source files to
> /root/metron/metron-stellar/stellar-common/target/test-classes",
>     "[INFO] ",
>     "[INFO] > fsevents@1.2.4 install
> /root/metron/metron-interface/metron-config/node_modules/fsevents",
>     "[INFO] > node install",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[INFO] ",
>     "[INFO] > node-sass@4.9.3 install
> /root/metron/metron-interface/metron-config/node_modules/node-sass",
>     "[INFO] > node scripts/install.js",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.8.0 install
> /root/metron/metron-interface/metron-config/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR] internal/modules/cjs/loader.js:550",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:548:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:475:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:695:10)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:516:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is
> likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!
> /root/.npm/_logs/2018-11-27T22_15_48_674Z-debug.log",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Summary:",
>     "[INFO] ",
>     "[INFO] Metron ............................................. SUCCESS
> [  0.526 s]",
>     "[INFO] metron-stellar ..................................... SUCCESS
> [  0.966 s]",
>     "[INFO] stellar-common ..................................... SKIPPED",
>     "[INFO] metron-analytics ................................... SUCCESS
> [  0.021 s]",
>     "[INFO] metron-maas-common ................................. SKIPPED",
>     "[INFO] metron-platform .................................... SUCCESS
> [  0.542 s]",
>     "[INFO] metron-zookeeper ................................... SUCCESS
> [  3.741 s]",
>     "[INFO] metron-test-utilities .............................. SUCCESS
> [  2.777 s]",
>     "[INFO] metron-integration-test ............................ SKIPPED",
>     "[INFO] metron-maas-service ................................ SKIPPED",
>     "[INFO] metron-common ...................................... SKIPPED",
>     "[INFO] metron-statistics .................................. SKIPPED",
>     "[INFO] metron-writer ...................................... SKIPPED",
>     "[INFO] metron-storm-kafka-override ........................ SUCCESS [
> 14.903 s]",
>     "[INFO] metron-storm-kafka ................................. SKIPPED",
>     "[INFO] metron-hbase ....................................... SKIPPED",
>     "[INFO] metron-profiler-common ............................. SKIPPED",
>     "[INFO] metron-profiler-client ............................. SKIPPED",
>     "[INFO] metron-profiler-storm .............................. SKIPPED",
>     "[INFO] metron-profiler-spark .............................. SKIPPED",
>     "[INFO] metron-profiler-repl ............................... SKIPPED",
>     "[INFO] metron-hbase-client ................................ SKIPPED",
>     "[INFO] metron-enrichment .................................. SKIPPED",
>     "[INFO] metron-indexing .................................... SKIPPED",
>     "[INFO] metron-solr ........................................ SKIPPED",
>     "[INFO] metron-job ......................................... SKIPPED",
>     "[INFO] metron-pcap ........................................ SKIPPED",
>     "[INFO] metron-parsers ..................................... SKIPPED",
>     "[INFO] metron-pcap-backend ................................ SKIPPED",
>     "[INFO] metron-data-management ............................. SKIPPED",
>     "[INFO] metron-management .................................. SKIPPED",
>     "[INFO] elasticsearch-shaded ............................... SKIPPED",
>     "[INFO] metron-elasticsearch ............................... SKIPPED",
>     "[INFO] metron-deployment .................................. SUCCESS
> [  0.028 s]",
>     "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS
> [  2.322 s]",
>     "[INFO] Metron Ambari Management Pack ...................... SUCCESS
> [  3.172 s]",
>     "[INFO] metron-contrib ..................................... SUCCESS
> [  0.004 s]",
>     "[INFO] metron-docker ...................................... SUCCESS
> [  1.344 s]",
>     "[INFO] metron-performance ................................. SKIPPED",
>     "[INFO] metron-interface ................................... SUCCESS
> [  0.518 s]",
>     "[INFO] metron-config ...................................... FAILURE [
> 25.771 s]",
>     "[INFO] metron-alerts ...................................... SKIPPED",
>     "[INFO] metron-rest-client ................................. SKIPPED",
>     "[INFO] metron-rest ........................................ SKIPPED",
>     "[INFO] site-book .......................................... SUCCESS
> [  1.208 s]",
>     "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
>     "[INFO] stellar-zeppelin ................................... SKIPPED",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] BUILD FAILURE",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Total time: 27.319 s (Wall Clock)",
>     "[INFO] Finished at: 2018-11-27T22:15:48+00:00",
>     "[INFO] Final Memory: 255M/334M",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config: Failed to run task: 'npm ci' 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"
>   ]
> }
>
>
>
>
> On Tuesday, November 27, 2018, 4:52:56 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
>
>
> > failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker
> daemon' running on this host?: dial unix /var/run/docker.sock: connect:
> permission denied\
>
> You do not have Docker running.
>
> Make sure you can launch a Docker container on that host.  You should be
> able to run "docker run hello-world" successfully.
>
>
>
>
>
>
> On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
> Sorry for the long list, I stored all the session and before the npm ci
> error there's another error that is happening:
>
>  TASK [metron-builder : Build Metron RPM Packages]
> **************************************************************************************************************************************************************************************
>
> failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost]
> (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "delta": "0:00:03.946454",
>   "end": "2018-11-27 19:54:11.768388",
>   "failed": true,
>   "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-27 19:54:07.821934",
>   "stderr": "Got permission denied while trying to connect to the Docker
> daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1:
> dial unix /var/run/docker.sock: connect: permission denied",
>   "stderr_lines": [
>     "Got permission denied while trying to connect to the Docker daemon
> socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1:
> dial unix /var/run/docker.sock: connect: permission denied"
>   ],
>   "stdout": "[INFO] Scanning for projects...
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Build Order:
>   [INFO]
>   [INFO] metron-deployment
>   [INFO] metron-rpm
>   [INFO]
>   [INFO] Using the MultiThreadedBuilder implementation with a thread count
> of 8
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-deployment 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment
> ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-rpm 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
>   2/2 KB   \r         \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> (2 KB at 5.3 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
>   3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> (8 KB at 278.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
>   3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r
> \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> (12 KB at 108.4 KB/sec)
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---
>   [INFO]
>   [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> (2 KB at 65.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> (2 KB at 31.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> (3 KB at 107.8 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> (918 B at 40.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> (2 KB at 61.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> (2 KB at 55.5 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> (765 B at 35.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> (149 B at 6.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B
> at 40.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> (30 KB at 626.8 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> (103 KB at 1804.3 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> (20 KB at 324.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> (49 KB at 762.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> (79 KB at 1121.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> (9 KB at 106.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> (165 KB at 1872.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> (191 KB at 2009.0 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> (77 KB at 797.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> (9 KB at 75.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB
> at 7425.1 KB/sec)
>   [INFO] Executing tasks
>   [echo] ******** Displaying value of property ********
>   [echo] ../../../..
>   [INFO] Executed tasks
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>   [INFO]
>   [INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---
>   [INFO] Using 'UTF-8' encoding to copy filtered resources.
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO]
>   [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
>   Downloading:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B
> at 0.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
> (0 B at 0.0 KB/sec)
>   [ERROR] Command execution failed.
>   org.apache.commons.exec.ExecuteException: Process exited with an error:
> 1 (Exit value: 1)
>   at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
>   at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
>   at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
>   at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>   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:116)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Summary:
>   [INFO]
>   [INFO] metron-deployment .................................. SUCCESS [
> 0.629 s]
>   [INFO] metron-rpm ......................................... FAILURE [
> 2.243 s]
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] BUILD FAILURE
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Total time: 2.982 s (Wall Clock)
>   [INFO] Finished at: 2018-11-27T19:54:11+00:00
>   [INFO] Final Memory: 20M/331M
>   [INFO]
> ------------------------------------------------------------------------
>   [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException
>   [ERROR]
>   [ERROR] After correcting the problems, you can resume the build with the
> command
>   [ERROR]   mvn <goals> -rf :metron-rpm",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] metron-deployment",
>     "[INFO] metron-rpm",
>     "[INFO] ",
>     "[INFO] Using the MultiThreadedBuilder implementation with a thread
> count of 8",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-deployment 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @
> metron-deployment ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-rpm 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> (2 KB at 5.3 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> (8 KB at 278.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> (12 KB at 108.4 KB/sec)",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---",
>     "[INFO] ",
>     "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> (2 KB at 65.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> (2 KB at 31.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> (3 KB at 107.8 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> (918 B at 40.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> (2 KB at 61.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> (2 KB at 55.5 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> (765 B at 35.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> (149 B at 6.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B
> at 40.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> (30 KB at 626.8 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> (103 KB at 1804.3 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> (20 KB at 324.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> (49 KB at 762.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> (79 KB at 1121.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> (9 KB at 106.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> (165 KB at 1872.3 KB/sec)",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> (191 KB at 2009.0 KB/sec)",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> (77 KB at 797.3 KB/sec)",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> (9 KB at 75.3 KB/sec)",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB
> at 7425.1 KB/sec)",
>     "[INFO] Executing tasks",
>     "     [echo] ******** Displaying value of property ********",
>     "     [echo] ../../../..",
>     "[INFO] Executed tasks",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm
> ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] ",
>     "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm
> ---",
>     "Downloading:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
>     "               ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B
> at 0.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
> ",
>     "               ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
> (0 B at 0.0 KB/sec)",
>     "[ERROR] Command execution failed.",
>     "org.apache.commons.exec.ExecuteException: Process exited with an
> error: 1 (Exit value: 1)",
>     " at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
>     " at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
>     " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
>     " at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
>     " at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
>     " 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:116)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
>     " at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
>     " at java.lang.Thread.run(Thread.java:748)",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Summary:",
>     "[INFO] ",
>     "[INFO] metron-deployment .................................. SUCCESS
> [  0.629 s]",
>     "[INFO] metron-rpm ......................................... FAILURE
> [  2.243 s]",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] BUILD FAILURE",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Total time: 2.982 s (Wall Clock)",
>     "[INFO] Finished at: 2018-11-27T19:54:11+00:00",
>     "[INFO] Final Memory: 20M/331M",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException",
>     "[ERROR] ",
>     "[ERROR] After correcting the problems, you can resume the build with
> the command",
>     "[ERROR]   mvn <goals> -rf :metron-rpm"
>   ]
> }
> TASK [metron-builder : Build Metron RPM Packages]
> *******************************************************************************************************************************************************************************************
> failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost]
> (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "delta": "0:00:03.050418",
>   "end": "2018-11-27 20:22:38.873462",
>   "failed": true,
>   "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-27 20:22:35.823044",
>   "stderr": "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to
> dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running
> on this host?: dial unix /var/run/docker.sock: connect: permission denied\"
>   context canceled",
>   "stderr_lines": [
>     "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC:
> cannot connect to the Docker daemon. Is 'docker daemon' running on this
> host?: dial unix /var/run/docker.sock: connect: permission denied\"",
>     "context canceled"
>   ],
>   "stdout": "[INFO] Scanning for projects...
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Build Order:
>   [INFO]
>   [INFO] metron-deployment
>   [INFO] metron-rpm
>   [INFO]
>   [INFO] Using the MultiThreadedBuilder implementation with a thread count
> of 8
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-deployment 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment
> ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-rpm 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---
>   [INFO]
>   [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
>   [INFO] Executing tasks
>   [echo] ******** Displaying value of property ********
>   [echo] ../../../..
>   [INFO] Executed tasks
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>   [INFO]
>   [INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---
>   [INFO] Using 'UTF-8' encoding to copy filtered resources.
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO]
>   [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
>   [ERROR] Command execution failed.
>   org.apache.commons.exec.ExecuteException: Process exited with an error:
> 1 (Exit value: 1)
>   at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
>   at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
>   at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
>   at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>   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:116)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Summary:
>   [INFO]
>   [INFO] metron-deployment .................................. SUCCESS [
> 0.630 s]
>   [INFO] metron-rpm ......................................... FAILURE [
> 1.362 s]
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] BUILD FAILURE
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Total time: 2.101 s (Wall Clock)
>   [INFO] Finished at: 2018-11-27T20:22:38+00:00
>   [INFO] Final Memory: 16M/309M
>   [INFO]
> ------------------------------------------------------------------------
>   [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException
>   [ERROR]
>   [ERROR] After correcting the problems, you can resume the build with the
> command
>   [ERROR]   mvn <goals> -rf :metron-rpm",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] metron-deployment",
>     "[INFO] metron-rpm",
>     "[INFO] ",
>     "[INFO] Using the MultiThreadedBuilder implementation with a thread
> count of 8",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-deployment 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @
> metron-deployment ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-rpm 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---",
>     "[INFO] ",
>     "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
>     "[INFO] Executing tasks",
>     "     [echo] ******** Displaying value of property ********",
>     "     [echo] ../../../..",
>     "[INFO] Executed tasks",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm
> ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] ",
>     "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm
> ---",
>     "[ERROR] Command execution failed.",
>     "org.apache.commons.exec.ExecuteException: Process exited with an
> error: 1 (Exit value: 1)",
>     " at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
>     " at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
>     " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
>     " at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
>     " at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
>     " 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:116)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
>     " at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
>     " at java.lang.Thread.run(Thread.java:748)",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Summary:",
>     "[INFO] ",
>     "[INFO] metron-deployment .................................. SUCCESS
> [  0.630 s]",
>     "[INFO] metron-rpm ......................................... FAILURE
> [  1.362 s]",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] BUILD FAILURE",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Total time: 2.101 s (Wall Clock)",
>     "[INFO] Finished at: 2018-11-27T20:22:38+00:00",
>     "[INFO] Final Memory: 16M/309M",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException",
>     "[ERROR] ",
>     "[ERROR] After correcting the problems, you can resume the build with
> the command",
>     "[ERROR]   mvn <goals> -rf :metron-rpm"
>   ]
> }
>
>
>
>
>
>
>
>
> On Tuesday, November 27, 2018, 2:31:43 PM EST, Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
>
> Installed Node 9.11.1 and npm 6.4.1 but got the same error :(
>
>
>
> On Tuesday, November 27, 2018, 12:15:39 PM EST, Shane Ardell <
> sardell@apache.org> wrote:
>
>
> I would recommend installing Node version v9.11.1 (which is the version
> specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest
> version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which
> is used during the build, and npm doesn't always support the LTS release of
> Node.
>
> I'm not sure if this will resolve this issue, but it will at least rule
> out a problem with the Node and npm versions being used.
>
>
> On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com>
> wrote:
> > No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in
> nested VMs.
> >
> >
> >
> >    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
> >
> >  Are you able to spin-up the development environment in Vagrant?
> >
> > cd metron-deployment/development/centosvagrant up
> >
> > See the README in that directory for more information.
> >
> >
> >
> > On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
> >
> > Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm
> 6.4.1 :(
> >
> >    "[INFO]
> ------------------------------------------------------------------------",
> >     "[ERROR] internal/modules/cjs/loader.js:582",
> >     "[ERROR]     throw err;",
> >     "[ERROR]     ^",
> >     "[ERROR] ",
> >     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
> >     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)",
> >     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)",
> >     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)",
> >     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
> >     "[INFO] ",
> >     "[INFO] > puppeteer@1.7.0 install
> /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
> >     "[INFO] > node install.js",
> >     "[INFO] ",
> >     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)",
> >     "[ERROR] internal/modules/cjs/loader.js:582",
> >     "[ERROR]     throw err;",
> >     "[ERROR]     ^",
> >     "[ERROR] ",
> >     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
> >     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)",
> >     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)",
> >     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)",
> >     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
> >     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)",
> >     "[ERROR] npm ERR! code ELIFECYCLE",
> >     "[ERROR] npm ERR! errno 1",
> >     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
> >     "[ERROR] npm ERR! Exit status 1",
> >     "[ERROR] npm ERR! ",
> >     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
> >     "[ERROR] npm ERR! This is probably not a problem with npm. There is
> likely additional logging output above.",
> >     "[ERROR] ",
> >     "[ERROR] npm ERR! A complete log of this run can be found in:",
> >     "[ERROR] npm ERR!
> /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
> >     "1/2 KB   ",
> >     "2/2 KB   ",
> >     "[ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config: Failed to run task: 'npm ci' 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"
> >
> >
> >
> >    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
> >
> >  Everything else there, except Node/NPM, seems OK.
> > Just in case I missed something this is what my environment looks like.
> I happen to build on a Mac, but I know it is definitely possible to build
> on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu
> Trusty.
> > $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config
> file = None  configured module search path =
> [u'/Users/nallen/.ansible/plugins/modules',
> u'/usr/share/ansible/plugins/modules']  ansible python module location =
> /usr/local/lib/python2.7/site-packages/ansible  executable location =
> /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018,
> 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0
> (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python
> 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava
> version: 1.8.0_66, vendor: Oracle CorporationJava home:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault
> locale: en_US, platform encoding: UTF-8OS name: "mac os x", version:
> "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build
> 4d60db4--nodev9.11.1--npm6.2.0--Configured with:
> --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple
> LLVM version 9.1.0 (clang-902.0.39.2)Target:
> x86_64-apple-darwin17.7.0Thread model: posixInstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler
> is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version
> 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
> x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM)
> i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total
> cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536
> 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%
>  4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi
> 211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU
> appears to support virtualization
> >
> >
> >
> > On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> >
> > You probably want to try a newer version of Node/NPM.  You are running
> v8.10.0/v3.5.2, while for example this is what I am running.
> > nodev9.11.1--npm6.2.0
> >
> >
> > On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
> >
> >
> >  Thanks, Figuring out what is wrong, I'll update the documentation on
> how to install it on Ubuntu with all the details.
> > I guess my next step would be Manual installation of Metron on EC2
> >
> >    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <
> nick@nickallen.org> wrote:
> >
> >  On the host where you are trying to build Metron, can you run the
> following script and send back the output?
> >
> >  metron/metron-deployment/scripts/platform-info.sh
> >  Other dependencies are documented here.  Apologies, I know it is not
> easy for first-timers to build Metron, but we will help you through it.
> >
> >
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> >
> > And also please be sure to read this warning about using the automated
> deployment scripts to EC2.
> >
> >
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> >
> >
> >
> >
> >
> > On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
> >
> >  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> >
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> >
> > First I had to guess based on the errors and description for macOS! that
> we need Vagrant, node and etc.
> >
> > So here is the process that I take on Ubuntu 18.1:
> > export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
> > export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
> > JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
> > PATH=$JAVA_HOME/bin:$PATH ssh-keygen
> > apt install maven //Version 3.3.9
> > apt install python-pip
> > pip install ansible==2.4.1
> >
> ///////////////////////////////////////////////////////////////////////////////
> > // Ansible versions higher than 2.4.1 will end up with this error:
> > // **************Task Create Virtual private cloud ***************
> > // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module
> has been removed. The module documentation may contain
> >  // hints for porting"}
> >
> ///////////////////////////////////////////////////////////////////////////////
> >
> > apt install nodejs-legacy //The system is using command node, not nodejs
> > apt install npm apt install virtualbox //Version 5.5.2
> > wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
>
> >
> ///////////////////////////////////////////////////////////////////////////////
> > // Vagrant in apt cache is version 1.8 which has a bug installing
> hostmanager
> >
> ///////////////////////////////////////////////////////////////////////////////
> >
> > dpkg -i vagrant_2.2.0_x86_64.deb
> > vagrant plugin install vagrant-hostmanager
> > git clone https://github.com/apache/metron.git
> > cd metron/metron-deployment/amazon-ec2/
> > ./run.sh
> > And I End up with failed master node with this error:
> >  [ERROR]Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]
> org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute
> goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config:Failed to run taskat
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> 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:116)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>
> > Jira Issue:
> https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> > Thanks,Babak.
> >
> >
> >
> >
> >
> >
>
>

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
This time I did it with root account, (Docker needed root permissions):

{
  "changed": true,
  "cmd": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "delta": "0:00:28.609298",
  "end": "2018-11-27 22:15:49.204760",
  "failed": true,
  "item": "mvn package -DskipTests -T 2C -P HDP-2.5.0.0,mpack",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 22:15:20.595462",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] Metron",
    "[INFO] metron-stellar",
    "[INFO] stellar-common",
    "[INFO] metron-analytics",
    "[INFO] metron-maas-common",
    "[INFO] metron-platform",
.
.
.
    "[INFO] Installed npm locally.",
    "[INFO] ",
    "[INFO] --- frontend-maven-plugin:1.3:npm (npm ci) @ metron-alerts ---",
    "[INFO] npm not inheriting proxy config from Maven",
    "[INFO] Running 'npm ci' in /root/metron/metron-interface/metron-alerts",
    "[WARNING] metron-storm-kafka-override-0.6.1.jar, storm-kafka-client-1.2.2.jar define 6 overlapping classes: ",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff",
    "[WARNING]   - org.apache.storm.kafka.spout.internal.Timer",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetrySchedule",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$RetryEntryTimeStampComparator",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$TimeInterval",
    "[WARNING]   - org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff$1",
    "[WARNING] maven-shade-plugin has detected that some class files are",
    "[WARNING] present in two or more JARs. When this happens, only one",
    "[WARNING] single version of the class is copied to the uber jar.",
    "[WARNING] Usually this is not harmful and you can skip these warnings,",
    "[WARNING] otherwise try to manually exclude artifacts based on",
    "[WARNING] mvn dependency:tree -Ddetail=true and the above output.",
    "[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/",
    "[INFO] Replacing original artifact with shaded artifact.",
    "[INFO] Replacing /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1.jar with /root/metron/metron-platform/metron-storm-kafka-override/target/metron-storm-kafka-override-0.6.1-shaded.jar",
    "[INFO] Dependency-reduced POM written at: /root/metron/metron-platform/metron-storm-kafka-override/dependency-reduced-pom.xml",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stellar-common ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 2 resources",
    "[INFO] ",
    "[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ stellar-common ---",
    "[INFO] Changes detected - recompiling the module!",
    "[INFO] Compiling 60 source files to /root/metron/metron-stellar/stellar-common/target/test-classes",
    "[INFO] ",
    "[INFO] > fsevents@1.2.4 install /root/metron/metron-interface/metron-config/node_modules/fsevents",
    "[INFO] > node install",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/fsevents/install'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > node-sass@4.9.3 install /root/metron/metron-interface/metron-config/node_modules/node-sass",
    "[INFO] > node scripts/install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[INFO] ",
    "[INFO] > puppeteer@1.8.0 install /root/metron/metron-interface/metron-config/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR] internal/modules/cjs/loader.js:550",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-config/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:475:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)",
    "[ERROR]     at startup (internal/bootstrap/node.js:201:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.8.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.8.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-27T22_15_48_674Z-debug.log",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] Metron ............................................. SUCCESS [  0.526 s]",
    "[INFO] metron-stellar ..................................... SUCCESS [  0.966 s]",
    "[INFO] stellar-common ..................................... SKIPPED",
    "[INFO] metron-analytics ................................... SUCCESS [  0.021 s]",
    "[INFO] metron-maas-common ................................. SKIPPED",
    "[INFO] metron-platform .................................... SUCCESS [  0.542 s]",
    "[INFO] metron-zookeeper ................................... SUCCESS [  3.741 s]",
    "[INFO] metron-test-utilities .............................. SUCCESS [  2.777 s]",
    "[INFO] metron-integration-test ............................ SKIPPED",
    "[INFO] metron-maas-service ................................ SKIPPED",
    "[INFO] metron-common ...................................... SKIPPED",
    "[INFO] metron-statistics .................................. SKIPPED",
    "[INFO] metron-writer ...................................... SKIPPED",
    "[INFO] metron-storm-kafka-override ........................ SUCCESS [ 14.903 s]",
    "[INFO] metron-storm-kafka ................................. SKIPPED",
    "[INFO] metron-hbase ....................................... SKIPPED",
    "[INFO] metron-profiler-common ............................. SKIPPED",
    "[INFO] metron-profiler-client ............................. SKIPPED",
    "[INFO] metron-profiler-storm .............................. SKIPPED",
    "[INFO] metron-profiler-spark .............................. SKIPPED",
    "[INFO] metron-profiler-repl ............................... SKIPPED",
    "[INFO] metron-hbase-client ................................ SKIPPED",
    "[INFO] metron-enrichment .................................. SKIPPED",
    "[INFO] metron-indexing .................................... SKIPPED",
    "[INFO] metron-solr ........................................ SKIPPED",
    "[INFO] metron-job ......................................... SKIPPED",
    "[INFO] metron-pcap ........................................ SKIPPED",
    "[INFO] metron-parsers ..................................... SKIPPED",
    "[INFO] metron-pcap-backend ................................ SKIPPED",
    "[INFO] metron-data-management ............................. SKIPPED",
    "[INFO] metron-management .................................. SKIPPED",
    "[INFO] elasticsearch-shaded ............................... SKIPPED",
    "[INFO] metron-elasticsearch ............................... SKIPPED",
    "[INFO] metron-deployment .................................. SUCCESS [  0.028 s]",
    "[INFO] Elasticsearch Ambari Management Pack ............... SUCCESS [  2.322 s]",
    "[INFO] Metron Ambari Management Pack ...................... SUCCESS [  3.172 s]",
    "[INFO] metron-contrib ..................................... SUCCESS [  0.004 s]",
    "[INFO] metron-docker ...................................... SUCCESS [  1.344 s]",
    "[INFO] metron-performance ................................. SKIPPED",
    "[INFO] metron-interface ................................... SUCCESS [  0.518 s]",
    "[INFO] metron-config ...................................... FAILURE [ 25.771 s]",
    "[INFO] metron-alerts ...................................... SKIPPED",
    "[INFO] metron-rest-client ................................. SKIPPED",
    "[INFO] metron-rest ........................................ SKIPPED",
    "[INFO] site-book .......................................... SUCCESS [  1.208 s]",
    "[INFO] 3rd party Functions (just for tests) ............... SKIPPED",
    "[INFO] stellar-zeppelin ................................... SKIPPED",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 27.319 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T22:15:48+00:00",
    "[INFO] Final Memory: 255M/334M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
  ]
}




   On Tuesday, November 27, 2018, 4:52:56 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 > failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\

You do not have Docker running.  
Make sure you can launch a Docker container on that host.  You should be able to run "docker run hello-world" successfully.





On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <ba...@yahoo.com> wrote:

 Sorry for the long list, I stored all the session and before the npm ci error there's another error that is happening:
 TASK [metron-builder : Build Metron RPM Packages] **************************************************************************************************************************************************************************************

failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.946454",
  "end": "2018-11-27 19:54:11.768388",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 19:54:07.821934",
  "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied",
  "stderr_lines": [
    "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
  2/2 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
  3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
  3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r           \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
  Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.629 s]
  [INFO] metron-rpm ......................................... FAILURE [  2.243 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.982 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T19:54:11+00:00
  [INFO] Final Memory: 20M/331M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.629 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  2.243 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.982 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T19:54:11+00:00",
    "[INFO] Final Memory: 20M/331M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}
TASK [metron-builder : Build Metron RPM Packages] *******************************************************************************************************************************************************************************************
failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.050418",
  "end": "2018-11-27 20:22:38.873462",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 20:22:35.823044",
  "stderr": "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"
  context canceled",
  "stderr_lines": [
    "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"",
    "context canceled"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.630 s]
  [INFO] metron-rpm ......................................... FAILURE [  1.362 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.101 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T20:22:38+00:00
  [INFO] Final Memory: 16M/309M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.630 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  1.362 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.101 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T20:22:38+00:00",
    "[INFO] Final Memory: 16M/309M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}








    On Tuesday, November 27, 2018, 2:31:43 PM EST, Babak Abbaschian <ba...@yahoo.com> wrote:  
 
 Installed Node 9.11.1 and npm 6.4.1 but got the same error :(
 


    On Tuesday, November 27, 2018, 12:15:39 PM EST, Shane Ardell <sa...@apache.org> wrote:  
 
 I would recommend installing Node version v9.11.1 (which is the version specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which is used during the build, and npm doesn't always support the LTS release of Node.

I'm not sure if this will resolve this issue, but it will at least rule out a problem with the Node and npm versions being used.


On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com> wrote: 
> No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in nested VMs.
> 
>  
> 
>    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Are you able to spin-up the development environment in Vagrant?  
> 
> cd metron-deployment/development/centosvagrant up
> 
> See the README in that directory for more information.
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(
> 
>    "[INFO] ------------------------------------------------------------------------",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
>     "1/2 KB   ",
>     "2/2 KB   ",
>     "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
> 
>  
> 
>    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Everything else there, except Node/NPM, seems OK.
> Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
> $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> 
> You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
> nodev9.11.1--npm6.2.0
> 
> 
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> 
>  Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
> 
>    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  On the host where you are trying to build Metron, can you run the following script and send back the output?
> 
>  metron/metron-deployment/scripts/platform-info.sh
>  Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.
> 
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> 
> And also please be sure to read this warning about using the automated deployment scripts to EC2.  
> 
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> 
> 
> 
> 
> 
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
>  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> 
> First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.
> 
> So here is the process that I take on Ubuntu 18.1:
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
> apt install maven //Version 3.3.9 
> apt install python-pip 
> pip install ansible==2.4.1
> ///////////////////////////////////////////////////////////////////////////////
> // Ansible versions higher than 2.4.1 will end up with this error:
> // **************Task Create Virtual private cloud ***************
> // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
>  // hints for porting"}
> ///////////////////////////////////////////////////////////////////////////////
> 
> apt install nodejs-legacy //The system is using command node, not nodejs 
> apt install npm apt install virtualbox //Version 5.5.2 
> wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
> ///////////////////////////////////////////////////////////////////////////////
> // Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
> ///////////////////////////////////////////////////////////////////////////////
> 
> dpkg -i vagrant_2.2.0_x86_64.deb 
> vagrant plugin install vagrant-hostmanager 
> git clone https://github.com/apache/metron.git 
> cd metron/metron-deployment/amazon-ec2/ 
> ./run.sh 
> And I End up with failed master node with this error:
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
> Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> Thanks,Babak.
> 
> 
>  
> 
>  
>  
    
  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Nick Allen <ni...@nickallen.org>.
> failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker
daemon' running on this host?: dial unix /var/run/docker.sock: connect:
permission denied\

You do not have Docker running.

Make sure you can launch a Docker container on that host.  You should be
able to run "docker run hello-world" successfully.






On Tue, Nov 27, 2018 at 3:41 PM Babak Abbaschian <ba...@yahoo.com>
wrote:

> Sorry for the long list, I stored all the session and before the npm ci
> error there's another error that is happening:
>
>  TASK [metron-builder : Build Metron RPM Packages]
> **************************************************************************************************************************************************************************************
>
> failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost]
> (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "delta": "0:00:03.946454",
>   "end": "2018-11-27 19:54:11.768388",
>   "failed": true,
>   "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-27 19:54:07.821934",
>   "stderr": "Got permission denied while trying to connect to the Docker
> daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1:
> dial unix /var/run/docker.sock: connect: permission denied",
>   "stderr_lines": [
>     "Got permission denied while trying to connect to the Docker daemon
> socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1:
> dial unix /var/run/docker.sock: connect: permission denied"
>   ],
>   "stdout": "[INFO] Scanning for projects...
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Build Order:
>   [INFO]
>   [INFO] metron-deployment
>   [INFO] metron-rpm
>   [INFO]
>   [INFO] Using the MultiThreadedBuilder implementation with a thread count
> of 8
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-deployment 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment
> ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-rpm 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
>   2/2 KB   \r         \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> (2 KB at 5.3 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
>   3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> (8 KB at 278.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
>   3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r
> \rDownloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> (12 KB at 108.4 KB/sec)
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---
>   [INFO]
>   [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> (2 KB at 65.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> (2 KB at 31.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> (3 KB at 107.8 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> (918 B at 40.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> (2 KB at 61.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> (2 KB at 55.5 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> (765 B at 35.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> (149 B at 6.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B
> at 40.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> (30 KB at 626.8 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> (103 KB at 1804.3 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> (20 KB at 324.6 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> (49 KB at 762.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> (79 KB at 1121.9 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> (9 KB at 106.7 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> (165 KB at 1872.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> (191 KB at 2009.0 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> (77 KB at 797.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> (9 KB at 75.3 KB/sec)
>   Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB
> at 7425.1 KB/sec)
>   [INFO] Executing tasks
>   [echo] ******** Displaying value of property ********
>   [echo] ../../../..
>   [INFO] Executed tasks
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>   [INFO]
>   [INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---
>   [INFO] Using 'UTF-8' encoding to copy filtered resources.
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO]
>   [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
>   Downloading:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B
> at 0.0 KB/sec)
>   Downloading:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
>   Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
> (0 B at 0.0 KB/sec)
>   [ERROR] Command execution failed.
>   org.apache.commons.exec.ExecuteException: Process exited with an error:
> 1 (Exit value: 1)
>   at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
>   at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
>   at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
>   at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>   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:116)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Summary:
>   [INFO]
>   [INFO] metron-deployment .................................. SUCCESS [
> 0.629 s]
>   [INFO] metron-rpm ......................................... FAILURE [
> 2.243 s]
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] BUILD FAILURE
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Total time: 2.982 s (Wall Clock)
>   [INFO] Finished at: 2018-11-27T19:54:11+00:00
>   [INFO] Final Memory: 20M/331M
>   [INFO]
> ------------------------------------------------------------------------
>   [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException
>   [ERROR]
>   [ERROR] After correcting the problems, you can resume the build with the
> command
>   [ERROR]   mvn <goals> -rf :metron-rpm",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] metron-deployment",
>     "[INFO] metron-rpm",
>     "[INFO] ",
>     "[INFO] Using the MultiThreadedBuilder implementation with a thread
> count of 8",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-deployment 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @
> metron-deployment ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-rpm 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
> (2 KB at 5.3 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
> (8 KB at 278.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> (12 KB at 108.4 KB/sec)",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---",
>     "[INFO] ",
>     "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
> (2 KB at 65.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
> (2 KB at 31.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
> (3 KB at 107.8 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
> (918 B at 40.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
> (2 KB at 61.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
> (2 KB at 55.5 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
> (765 B at 35.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
> (149 B at 6.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B
> at 40.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> ",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> ",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
> (30 KB at 626.8 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
> (103 KB at 1804.3 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
> (20 KB at 324.6 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
> (49 KB at 762.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
> (79 KB at 1121.9 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> (9 KB at 106.7 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
> (165 KB at 1872.3 KB/sec)",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
> (191 KB at 2009.0 KB/sec)",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
> (77 KB at 797.3 KB/sec)",
>      "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
> (9 KB at 75.3 KB/sec)",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB
> at 7425.1 KB/sec)",
>     "[INFO] Executing tasks",
>     "     [echo] ******** Displaying value of property ********",
>     "     [echo] ../../../..",
>     "[INFO] Executed tasks",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm
> ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] ",
>     "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm
> ---",
>     "Downloading:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
>     "               ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B
> at 0.0 KB/sec)",
>     "Downloading:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
> ",
>     "               ",
>     "Downloaded:
> https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
> (0 B at 0.0 KB/sec)",
>     "[ERROR] Command execution failed.",
>     "org.apache.commons.exec.ExecuteException: Process exited with an
> error: 1 (Exit value: 1)",
>     " at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
>     " at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
>     " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
>     " at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
>     " at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
>     " 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:116)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
>     " at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
>     " at java.lang.Thread.run(Thread.java:748)",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Summary:",
>     "[INFO] ",
>     "[INFO] metron-deployment .................................. SUCCESS
> [  0.629 s]",
>     "[INFO] metron-rpm ......................................... FAILURE
> [  2.243 s]",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] BUILD FAILURE",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Total time: 2.982 s (Wall Clock)",
>     "[INFO] Finished at: 2018-11-27T19:54:11+00:00",
>     "[INFO] Final Memory: 20M/331M",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException",
>     "[ERROR] ",
>     "[ERROR] After correcting the problems, you can resume the build with
> the command",
>     "[ERROR]   mvn <goals> -rf :metron-rpm"
>   ]
> }
> TASK [metron-builder : Build Metron RPM Packages]
> *******************************************************************************************************************************************************************************************
> failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost]
> (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
>   "changed": true,
>   "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "delta": "0:00:03.050418",
>   "end": "2018-11-27 20:22:38.873462",
>   "failed": true,
>   "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
>   "msg": "non-zero return code",
>   "rc": 1,
>   "start": "2018-11-27 20:22:35.823044",
>   "stderr": "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to
> dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running
> on this host?: dial unix /var/run/docker.sock: connect: permission denied\"
>   context canceled",
>   "stderr_lines": [
>     "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC:
> cannot connect to the Docker daemon. Is 'docker daemon' running on this
> host?: dial unix /var/run/docker.sock: connect: permission denied\"",
>     "context canceled"
>   ],
>   "stdout": "[INFO] Scanning for projects...
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Build Order:
>   [INFO]
>   [INFO] metron-deployment
>   [INFO] metron-rpm
>   [INFO]
>   [INFO] Using the MultiThreadedBuilder implementation with a thread count
> of 8
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-deployment 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment
> ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>
> [INFO]
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Building metron-rpm 0.6.1
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO]
>   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---
>   [INFO]
>   [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
>   [INFO] Executing tasks
>   [echo] ******** Displaying value of property ********
>   [echo] ../../../..
>   [INFO] Executed tasks
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---
>   [INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
>   [INFO]
>   [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
>   [INFO] Skipping JaCoCo execution due to missing execution data file.
>   [INFO]
>   [INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---
>   [INFO] Using 'UTF-8' encoding to copy filtered resources.
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO] Copying 1 resource
>   [INFO]
>   [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
>   [ERROR] Command execution failed.
>   org.apache.commons.exec.ExecuteException: Process exited with an error:
> 1 (Exit value: 1)
>   at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
>   at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
>   at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
>   at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
>   at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>   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:116)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
>   at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>   at java.lang.Thread.run(Thread.java:748)
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Reactor Summary:
>   [INFO]
>   [INFO] metron-deployment .................................. SUCCESS [
> 0.630 s]
>   [INFO] metron-rpm ......................................... FAILURE [
> 1.362 s]
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] BUILD FAILURE
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Total time: 2.101 s (Wall Clock)
>   [INFO] Finished at: 2018-11-27T20:22:38+00:00
>   [INFO] Final Memory: 16M/309M
>   [INFO]
> ------------------------------------------------------------------------
>   [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException
>   [ERROR]
>   [ERROR] After correcting the problems, you can resume the build with the
> command
>   [ERROR]   mvn <goals> -rf :metron-rpm",
>   "stdout_lines": [
>     "[INFO] Scanning for projects...",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Build Order:",
>     "[INFO] ",
>     "[INFO] metron-deployment",
>     "[INFO] metron-rpm",
>     "[INFO] ",
>     "[INFO] Using the MultiThreadedBuilder implementation with a thread
> count of 8",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-deployment 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-deployment ---",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-deployment ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @
> metron-deployment ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>
> "[INFO]
> ",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Building metron-rpm 0.6.1",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] ",
>     "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
> metron-rpm ---",
>     "[INFO] ",
>     "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
>     "[INFO] Executing tasks",
>     "     [echo] ******** Displaying value of property ********",
>     "     [echo] ../../../..",
>     "[INFO] Executed tasks",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
> metron-rpm ---",
>     "[INFO] argLine set to
> -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
>     "[INFO] ",
>     "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm
> ---",
>     "[INFO] Skipping JaCoCo execution due to missing execution data file.",
>     "[INFO] ",
>     "[INFO] --- maven-resources-plugin:3.0.1:copy-resources
> (copy-rpm-sources) @ metron-rpm ---",
>     "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] Copying 1 resource",
>     "[INFO] ",
>     "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm
> ---",
>     "[ERROR] Command execution failed.",
>     "org.apache.commons.exec.ExecuteException: Process exited with an
> error: 1 (Exit value: 1)",
>     " at
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
>     " at
> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
>     " at
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
>     " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
>     " at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
>     " at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
>     " 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:116)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
>     " at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
>     " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
>     " at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
>     " at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
>     " at java.lang.Thread.run(Thread.java:748)",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Reactor Summary:",
>     "[INFO] ",
>     "[INFO] metron-deployment .................................. SUCCESS
> [  0.630 s]",
>     "[INFO] metron-rpm ......................................... FAILURE
> [  1.362 s]",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] BUILD FAILURE",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[INFO] Total time: 2.101 s (Wall Clock)",
>     "[INFO] Finished at: 2018-11-27T20:22:38+00:00",
>     "[INFO] Final Memory: 16M/309M",
>     "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project
> metron-rpm: Command execution failed. Process exited with an error: 1 (Exit
> value: 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/MojoExecutionException",
>     "[ERROR] ",
>     "[ERROR] After correcting the problems, you can resume the build with
> the command",
>     "[ERROR]   mvn <goals> -rf :metron-rpm"
>   ]
> }
>
>
>
>
>
>
>
>
> On Tuesday, November 27, 2018, 2:31:43 PM EST, Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
>
> Installed Node 9.11.1 and npm 6.4.1 but got the same error :(
>
>
>
> On Tuesday, November 27, 2018, 12:15:39 PM EST, Shane Ardell <
> sardell@apache.org> wrote:
>
>
> I would recommend installing Node version v9.11.1 (which is the version
> specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest
> version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which
> is used during the build, and npm doesn't always support the LTS release of
> Node.
>
> I'm not sure if this will resolve this issue, but it will at least rule
> out a problem with the Node and npm versions being used.
>
>
> On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com>
> wrote:
> > No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in
> nested VMs.
> >
> >
> >
> >    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
> >
> >  Are you able to spin-up the development environment in Vagrant?
> >
> > cd metron-deployment/development/centosvagrant up
> >
> > See the README in that directory for more information.
> >
> >
> >
> > On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
> >
> > Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm
> 6.4.1 :(
> >
> >    "[INFO]
> ------------------------------------------------------------------------",
> >     "[ERROR] internal/modules/cjs/loader.js:582",
> >     "[ERROR]     throw err;",
> >     "[ERROR]     ^",
> >     "[ERROR] ",
> >     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
> >     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)",
> >     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)",
> >     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)",
> >     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
> >     "[INFO] ",
> >     "[INFO] > puppeteer@1.7.0 install
> /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
> >     "[INFO] > node install.js",
> >     "[INFO] ",
> >     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)",
> >     "[ERROR] internal/modules/cjs/loader.js:582",
> >     "[ERROR]     throw err;",
> >     "[ERROR]     ^",
> >     "[ERROR] ",
> >     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
> >     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)",
> >     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)",
> >     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)",
> >     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
> >     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)",
> >     "[ERROR] npm ERR! code ELIFECYCLE",
> >     "[ERROR] npm ERR! errno 1",
> >     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
> >     "[ERROR] npm ERR! Exit status 1",
> >     "[ERROR] npm ERR! ",
> >     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
> >     "[ERROR] npm ERR! This is probably not a problem with npm. There is
> likely additional logging output above.",
> >     "[ERROR] ",
> >     "[ERROR] npm ERR! A complete log of this run can be found in:",
> >     "[ERROR] npm ERR!
> /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
> >     "1/2 KB   ",
> >     "2/2 KB   ",
> >     "[ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config: Failed to run task: 'npm ci' 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"
> >
> >
> >
> >    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
> >
> >  Everything else there, except Node/NPM, seems OK.
> > Just in case I missed something this is what my environment looks like.
> I happen to build on a Mac, but I know it is definitely possible to build
> on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu
> Trusty.
> > $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config
> file = None  configured module search path =
> [u'/Users/nallen/.ansible/plugins/modules',
> u'/usr/share/ansible/plugins/modules']  ansible python module location =
> /usr/local/lib/python2.7/site-packages/ansible  executable location =
> /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018,
> 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0
> (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python
> 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava
> version: 1.8.0_66, vendor: Oracle CorporationJava home:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault
> locale: en_US, platform encoding: UTF-8OS name: "mac os x", version:
> "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build
> 4d60db4--nodev9.11.1--npm6.2.0--Configured with:
> --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple
> LLVM version 9.1.0 (clang-902.0.39.2)Target:
> x86_64-apple-darwin17.7.0Thread model: posixInstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler
> is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version
> 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
> x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM)
> i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total
> cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536
> 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%
>  4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi
> 211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU
> appears to support virtualization
> >
> >
> >
> > On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> >
> > You probably want to try a newer version of Node/NPM.  You are running
> v8.10.0/v3.5.2, while for example this is what I am running.
> > nodev9.11.1--npm6.2.0
> >
> >
> > On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
> >
> >
> >  Thanks, Figuring out what is wrong, I'll update the documentation on
> how to install it on Ubuntu with all the details.
> > I guess my next step would be Manual installation of Metron on EC2
> >
> >    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <
> nick@nickallen.org> wrote:
> >
> >  On the host where you are trying to build Metron, can you run the
> following script and send back the output?
> >
> >  metron/metron-deployment/scripts/platform-info.sh
> >  Other dependencies are documented here.  Apologies, I know it is not
> easy for first-timers to build Metron, but we will help you through it.
> >
> >
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> >
> > And also please be sure to read this warning about using the automated
> deployment scripts to EC2.
> >
> >
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> >
> >
> >
> >
> >
> > On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
> >
> >  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> >
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> >
> > First I had to guess based on the errors and description for macOS! that
> we need Vagrant, node and etc.
> >
> > So here is the process that I take on Ubuntu 18.1:
> > export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
> > export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
> > JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
> > PATH=$JAVA_HOME/bin:$PATH ssh-keygen
> > apt install maven //Version 3.3.9
> > apt install python-pip
> > pip install ansible==2.4.1
> >
> ///////////////////////////////////////////////////////////////////////////////
> > // Ansible versions higher than 2.4.1 will end up with this error:
> > // **************Task Create Virtual private cloud ***************
> > // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module
> has been removed. The module documentation may contain
> >  // hints for porting"}
> >
> ///////////////////////////////////////////////////////////////////////////////
> >
> > apt install nodejs-legacy //The system is using command node, not nodejs
> > apt install npm apt install virtualbox //Version 5.5.2
> > wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
>
> >
> ///////////////////////////////////////////////////////////////////////////////
> > // Vagrant in apt cache is version 1.8 which has a bug installing
> hostmanager
> >
> ///////////////////////////////////////////////////////////////////////////////
> >
> > dpkg -i vagrant_2.2.0_x86_64.deb
> > vagrant plugin install vagrant-hostmanager
> > git clone https://github.com/apache/metron.git
> > cd metron/metron-deployment/amazon-ec2/
> > ./run.sh
> > And I End up with failed master node with this error:
> >  [ERROR]Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]
> org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute
> goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config:Failed to run taskat
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> 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:116)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>
> > Jira Issue:
> https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> > Thanks,Babak.
> >
> >
> >
> >
> >
> >
>

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
 Sorry for the long list, I stored all the session and before the npm ci error there's another error that is happening:
 TASK [metron-builder : Build Metron RPM Packages] **************************************************************************************************************************************************************************************

failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.946454",
  "end": "2018-11-27 19:54:11.768388",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 19:54:07.821934",
  "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied",
  "stderr_lines": [
    "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=t6qm2tjpwod65j2gggva6sc01&shmsize=0&t=rpm-docker&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
  2/2 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
  3/8 KB   \r5/8 KB   \r8/8 KB   \r         \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
  3/12 KB   \r5/12 KB   \r8/12 KB   \r11/12 KB   \r12/12 KB   \r           \rDownloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)
  Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom
  Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)
  Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom
  Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.629 s]
  [INFO] metron-rpm ......................................... FAILURE [  2.243 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.982 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T19:54:11+00:00
  [INFO] Final Memory: 20M/331M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 5.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 278.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 108.4 KB/sec)",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom (2 KB at 65.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom (2 KB at 31.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom (3 KB at 107.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom (918 B at 40.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom (2 KB at 61.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom (2 KB at 55.5 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom (765 B at 35.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom",
     "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom (149 B at 6.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.pom (861 B at 40.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar (30 KB at 626.8 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar (103 KB at 1804.3 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar (20 KB at 324.6 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar (49 KB at 762.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar (79 KB at 1121.9 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar (9 KB at 106.7 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar (165 KB at 1872.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (191 KB at 2009.0 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar (77 KB at 797.3 KB/sec)",
     "Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 75.3 KB/sec)",
    "Downloaded: https://repo.maven.apache.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar (1010 KB at 7425.1 KB/sec)",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "Downloading: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/junit/junit/4.12/junit-4.12.pom (0 B at 0.0 KB/sec)",
    "Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom",
    "               ",
    "Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/35/commons-parent-35.pom (0 B at 0.0 KB/sec)",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.629 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  2.243 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.982 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T19:54:11+00:00",
    "[INFO] Final Memory: 20M/331M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}
TASK [metron-builder : Build Metron RPM Packages] *******************************************************************************************************************************************************************************************
failed: [ec2-54-244-109-101.us-west-2.compute.amazonaws.com -> localhost] (item=mvn package -DskipTests -Pbuild-rpms -T 2C) => {
  "changed": true,
  "cmd": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "delta": "0:00:03.050418",
  "end": "2018-11-27 20:22:38.873462",
  "failed": true,
  "item": "mvn package -DskipTests -Pbuild-rpms -T 2C",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-11-27 20:22:35.823044",
  "stderr": "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"
  context canceled",
  "stderr_lines": [
    "time=\"2018-11-27T20:22:38Z\" level=error msg=\"failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied\"",
    "context canceled"
  ],
  "stdout": "[INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO] 
  [INFO] metron-deployment
  [INFO] metron-rpm
  [INFO] 
  [INFO] Using the MultiThreadedBuilder implementation with a thread count of 8
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-deployment 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building metron-rpm 0.6.1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---
  [INFO] 
  [INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---
  [INFO] Executing tasks
  [echo] ******** Displaying value of property ********
  [echo] ../../../..
  [INFO] Executed tasks
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---
  [INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec
  [INFO] 
  [INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---
  [INFO] Skipping JaCoCo execution due to missing execution data file.
  [INFO] 
  [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---
  [ERROR] Command execution failed.
  org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
  at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
  at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  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:116)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
  at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] metron-deployment .................................. SUCCESS [  0.630 s]
  [INFO] metron-rpm ......................................... FAILURE [  1.362 s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.101 s (Wall Clock)
  [INFO] Finished at: 2018-11-27T20:22:38+00:00
  [INFO] Final Memory: 16M/309M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
  [ERROR] 
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn <goals> -rf :metron-rpm",
  "stdout_lines": [
    "[INFO] Scanning for projects...",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Build Order:",
    "[INFO] ",
    "[INFO] metron-deployment",
    "[INFO] metron-rpm",
    "[INFO] ",
    "[INFO] Using the MultiThreadedBuilder implementation with a thread count of 8",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-deployment 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-deployment ---",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-deployment ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-deployment ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO]                                                                         ",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Building metron-rpm 0.6.1",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] ",
    "[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ metron-rpm ---",
    "[INFO] ",
    "[INFO] --- maven-antrun-plugin:1.1:run (default) @ metron-rpm ---",
    "[INFO] Executing tasks",
    "     [echo] ******** Displaying value of property ********",
    "     [echo] ../../../..",
    "[INFO] Executed tasks",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ metron-rpm ---",
    "[INFO] argLine set to -javaagent:/home/ubuntu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ubuntu/metron/metron-deployment/packaging/docker/rpm-docker/target/jacoco.exec",
    "[INFO] ",
    "[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ metron-rpm ---",
    "[INFO] Skipping JaCoCo execution due to missing execution data file.",
    "[INFO] ",
    "[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-rpm-sources) @ metron-rpm ---",
    "[INFO] Using 'UTF-8' encoding to copy filtered resources.",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] Copying 1 resource",
    "[INFO] ",
    "[INFO] --- exec-maven-plugin:1.5.0:exec (docker-build) @ metron-rpm ---",
    "[ERROR] Command execution failed.",
    "org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)",
    " at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)",
    " at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)",
    " at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)",
    " at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)",
    " at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)",
    " at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)",
    " 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:116)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)",
    " at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)",
    " at java.util.concurrent.FutureTask.run(FutureTask.java:266)",
    " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)",
    " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)",
    " at java.lang.Thread.run(Thread.java:748)",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Reactor Summary:",
    "[INFO] ",
    "[INFO] metron-deployment .................................. SUCCESS [  0.630 s]",
    "[INFO] metron-rpm ......................................... FAILURE [  1.362 s]",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] BUILD FAILURE",
    "[INFO] ------------------------------------------------------------------------",
    "[INFO] Total time: 2.101 s (Wall Clock)",
    "[INFO] Finished at: 2018-11-27T20:22:38+00:00",
    "[INFO] Final Memory: 16M/309M",
    "[INFO] ------------------------------------------------------------------------",
    "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (docker-build) on project metron-rpm: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException",
    "[ERROR] ",
    "[ERROR] After correcting the problems, you can resume the build with the command",
    "[ERROR]   mvn <goals> -rf :metron-rpm"
  ]
}








    On Tuesday, November 27, 2018, 2:31:43 PM EST, Babak Abbaschian <ba...@yahoo.com> wrote:  
 
 Installed Node 9.11.1 and npm 6.4.1 but got the same error :(
 


    On Tuesday, November 27, 2018, 12:15:39 PM EST, Shane Ardell <sa...@apache.org> wrote:  
 
 I would recommend installing Node version v9.11.1 (which is the version specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which is used during the build, and npm doesn't always support the LTS release of Node.

I'm not sure if this will resolve this issue, but it will at least rule out a problem with the Node and npm versions being used.


On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com> wrote: 
> No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in nested VMs.
> 
>  
> 
>    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Are you able to spin-up the development environment in Vagrant?  
> 
> cd metron-deployment/development/centosvagrant up
> 
> See the README in that directory for more information.
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(
> 
>    "[INFO] ------------------------------------------------------------------------",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
>     "1/2 KB   ",
>     "2/2 KB   ",
>     "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
> 
>  
> 
>    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Everything else there, except Node/NPM, seems OK.
> Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
> $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> 
> You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
> nodev9.11.1--npm6.2.0
> 
> 
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> 
>  Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
> 
>    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  On the host where you are trying to build Metron, can you run the following script and send back the output?
> 
>  metron/metron-deployment/scripts/platform-info.sh
>  Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.
> 
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> 
> And also please be sure to read this warning about using the automated deployment scripts to EC2.  
> 
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> 
> 
> 
> 
> 
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
>  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> 
> First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.
> 
> So here is the process that I take on Ubuntu 18.1:
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
> apt install maven //Version 3.3.9 
> apt install python-pip 
> pip install ansible==2.4.1
> ///////////////////////////////////////////////////////////////////////////////
> // Ansible versions higher than 2.4.1 will end up with this error:
> // **************Task Create Virtual private cloud ***************
> // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
>  // hints for porting"}
> ///////////////////////////////////////////////////////////////////////////////
> 
> apt install nodejs-legacy //The system is using command node, not nodejs 
> apt install npm apt install virtualbox //Version 5.5.2 
> wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
> ///////////////////////////////////////////////////////////////////////////////
> // Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
> ///////////////////////////////////////////////////////////////////////////////
> 
> dpkg -i vagrant_2.2.0_x86_64.deb 
> vagrant plugin install vagrant-hostmanager 
> git clone https://github.com/apache/metron.git 
> cd metron/metron-deployment/amazon-ec2/ 
> ./run.sh 
> And I End up with failed master node with this error:
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
> Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> Thanks,Babak.
> 
> 
>  
> 
>  
>  
    

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
Installed Node 9.11.1 and npm 6.4.1 but got the same error :(
 


    On Tuesday, November 27, 2018, 12:15:39 PM EST, Shane Ardell <sa...@apache.org> wrote:  
 
 I would recommend installing Node version v9.11.1 (which is the version specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which is used during the build, and npm doesn't always support the LTS release of Node.

I'm not sure if this will resolve this issue, but it will at least rule out a problem with the Node and npm versions being used.


On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com> wrote: 
> No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in nested VMs.
> 
>  
> 
>    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Are you able to spin-up the development environment in Vagrant?  
> 
> cd metron-deployment/development/centosvagrant up
> 
> See the README in that directory for more information.
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(
> 
>    "[INFO] ------------------------------------------------------------------------",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
>     "1/2 KB   ",
>     "2/2 KB   ",
>     "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
> 
>  
> 
>    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Everything else there, except Node/NPM, seems OK.
> Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
> $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> 
> You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
> nodev9.11.1--npm6.2.0
> 
> 
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> 
>  Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
> 
>    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  On the host where you are trying to build Metron, can you run the following script and send back the output?
> 
>  metron/metron-deployment/scripts/platform-info.sh
>  Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.
> 
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> 
> And also please be sure to read this warning about using the automated deployment scripts to EC2.  
> 
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> 
> 
> 
> 
> 
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
>  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> 
> First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.
> 
> So here is the process that I take on Ubuntu 18.1:
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
> apt install maven //Version 3.3.9 
> apt install python-pip 
> pip install ansible==2.4.1
> ///////////////////////////////////////////////////////////////////////////////
> // Ansible versions higher than 2.4.1 will end up with this error:
> // **************Task Create Virtual private cloud ***************
> // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
>  // hints for porting"}
> ///////////////////////////////////////////////////////////////////////////////
> 
> apt install nodejs-legacy //The system is using command node, not nodejs 
> apt install npm apt install virtualbox //Version 5.5.2 
> wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
> ///////////////////////////////////////////////////////////////////////////////
> // Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
> ///////////////////////////////////////////////////////////////////////////////
> 
> dpkg -i vagrant_2.2.0_x86_64.deb 
> vagrant plugin install vagrant-hostmanager 
> git clone https://github.com/apache/metron.git 
> cd metron/metron-deployment/amazon-ec2/ 
> ./run.sh 
> And I End up with failed master node with this error:
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
> Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> Thanks,Babak.
> 
> 
>  
> 
>  
>  
  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Shane Ardell <sa...@apache.org>.
I would recommend installing Node version v9.11.1 (which is the version specified in metron/metron-interface/metron-alerts/.nvmrc) and the latest version on npm, v6.4.1. Npm v5.6.3 doesn't have the `npm ci` command, which is used during the build, and npm doesn't always support the LTS release of Node.

I'm not sure if this will resolve this issue, but it will at least rule out a problem with the Node and npm versions being used.


On 2018/11/27 14:52:47, Babak Abbaschian <ba...@yahoo.com> wrote: 
> No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in nested VMs.
> 
>  
> 
>     On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Are you able to spin-up the development environment in Vagrant?  
> 
> cd metron-deployment/development/centosvagrant up
> 
> See the README in that directory for more information.
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(
> 
>    "[INFO] ------------------------------------------------------------------------",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
>     "1/2 KB   ",
>     "2/2 KB   ",
>     "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"
> 
>  
> 
>     On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  Everything else there, except Node/NPM, seems OK.
> Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
> $ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization
> 
> 
> 
> On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
> 
> You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
> nodev9.11.1--npm6.2.0
> 
> 
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
> 
>  Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
> 
>     On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
>  
>  On the host where you are trying to build Metron, can you run the following script and send back the output?
> 
>  metron/metron-deployment/scripts/platform-info.sh
>  Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.
> 
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
> 
> And also please be sure to read this warning about using the automated deployment scripts to EC2.  
> 
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
> 
> 
> 
> 
> 
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:
> 
>  Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
> 
> First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.
> 
> So here is the process that I take on Ubuntu 18.1:
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
> apt install maven //Version 3.3.9 
> apt install python-pip 
> pip install ansible==2.4.1
> ///////////////////////////////////////////////////////////////////////////////
> // Ansible versions higher than 2.4.1 will end up with this error:
> // **************Task Create Virtual private cloud ***************
> // fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
>  // hints for porting"}
> ///////////////////////////////////////////////////////////////////////////////
> 
> apt install nodejs-legacy //The system is using command node, not nodejs 
> apt install npm apt install virtualbox //Version 5.5.2 
> wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
> ///////////////////////////////////////////////////////////////////////////////
> // Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
> ///////////////////////////////////////////////////////////////////////////////
> 
> dpkg -i vagrant_2.2.0_x86_64.deb 
> vagrant plugin install vagrant-hostmanager 
> git clone https://github.com/apache/metron.git 
> cd metron/metron-deployment/amazon-ec2/ 
> ./run.sh 
> And I End up with failed master node with this error:
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
> Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
> Thanks,Babak.
> 
> 
>   
> 
>   
>   

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
No, I'm using AWS machines, they are VMs, VT-x wouldn't be available in nested VMs.

 

    On Monday, November 26, 2018, 1:24:22 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 Are you able to spin-up the development environment in Vagrant?  

cd metron-deployment/development/centosvagrant up

See the README in that directory for more information.



On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <ba...@yahoo.com> wrote:

Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(

   "[INFO] ------------------------------------------------------------------------",
    "[ERROR] internal/modules/cjs/loader.js:582",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
    "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
    "[INFO] ",
    "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
    "[ERROR] internal/modules/cjs/loader.js:582",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
    "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
    "1/2 KB   ",
    "2/2 KB   ",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"

 

    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 Everything else there, except Node/NPM, seems OK.
Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
$ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization



On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:

You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
nodev9.11.1--npm6.2.0


On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:


 Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
I guess my next step would be Manual installation of Metron on EC2

    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 On the host where you are trying to build Metron, can you run the following script and send back the output?

 metron/metron-deployment/scripts/platform-info.sh
 Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.

https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites

And also please be sure to read this warning about using the automated deployment scripts to EC2.  

https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws





On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:

 Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2

First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.

So here is the process that I take on Ubuntu 18.1:
export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
apt install maven //Version 3.3.9 
apt install python-pip 
pip install ansible==2.4.1
///////////////////////////////////////////////////////////////////////////////
// Ansible versions higher than 2.4.1 will end up with this error:
// **************Task Create Virtual private cloud ***************
// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
 // hints for porting"}
///////////////////////////////////////////////////////////////////////////////

apt install nodejs-legacy //The system is using command node, not nodejs 
apt install npm apt install virtualbox //Version 5.5.2 
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
///////////////////////////////////////////////////////////////////////////////
// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
///////////////////////////////////////////////////////////////////////////////

dpkg -i vagrant_2.2.0_x86_64.deb 
vagrant plugin install vagrant-hostmanager 
git clone https://github.com/apache/metron.git 
cd metron/metron-deployment/amazon-ec2/ 
./run.sh 
And I End up with failed master node with this error:
 [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
Thanks,Babak.


  

  
  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Nick Allen <ni...@nickallen.org>.
Are you able to spin-up the development environment in Vagrant?

cd metron-deployment/development/centos
vagrant up


See the README in that directory for more information.



On Wed, Nov 21, 2018 at 12:44 PM Babak Abbaschian <
babak_abbaschian@yahoo.com> wrote:

> Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm
> 6.4.1 :(
>
>    "[INFO]
> ------------------------------------------------------------------------",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[INFO] ",
>     "[INFO] > puppeteer@1.7.0 install
> /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
>     "[INFO] > node install.js",
>     "[INFO] ",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)",
>     "[ERROR] internal/modules/cjs/loader.js:582",
>     "[ERROR]     throw err;",
>     "[ERROR]     ^",
>     "[ERROR] ",
>     "[ERROR] Error: Cannot find module
> '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
>     "[ERROR]     at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:580:15)",
>     "[ERROR]     at Function.Module._load
> (internal/modules/cjs/loader.js:506:25)",
>     "[ERROR]     at Function.Module.runMain
> (internal/modules/cjs/loader.js:741:12)",
>     "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
>     "[ERROR]     at bootstrapNodeJSCore
> (internal/bootstrap/node.js:739:3)",
>     "[ERROR] npm ERR! code ELIFECYCLE",
>     "[ERROR] npm ERR! errno 1",
>     "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
>     "[ERROR] npm ERR! Exit status 1",
>     "[ERROR] npm ERR! ",
>     "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
>     "[ERROR] npm ERR! This is probably not a problem with npm. There is
> likely additional logging output above.",
>     "[ERROR] ",
>     "[ERROR] npm ERR! A complete log of this run can be found in:",
>     "[ERROR] npm ERR!
> /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
>     "1/2 KB   ",
>     "2/2 KB   ",
>     "[ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
> metron-config: Failed to run task: 'npm ci' 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"
>
>
>
> On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <
> nick@nickallen.org> wrote:
>
>
> Everything else there, except Node/NPM, seems OK.
>
> Just in case I missed something this is what my environment looks like. I
> happen to build on a Mac, but I know it is definitely possible to build on
> Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu
> Trusty.
>
> $ ./scripts/platform-info.sh
> Metron 0.6.1
> --
> ...
> --
> ansible 2.5.0
>   config file = None
>   configured module search path =
> [u'/Users/nallen/.ansible/plugins/modules',
> u'/usr/share/ansible/plugins/modules']
>   ansible python module location =
> /usr/local/lib/python2.7/site-packages/ansible
>   executable location = /usr/local/bin/ansible
>   python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1
> Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
> --
> Vagrant 2.1.2
> --
> vagrant-hostmanager (1.8.9)
> --
> Python 2.7.15
> --
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T11:41:47-05:00)
> Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexec
> Java version: 1.8.0_66, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
> --
> Docker version 18.09.0, build 4d60db4
> --
> node
> v9.11.1
> --
> npm
> 6.2.0
> --
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
> Apple LLVM version 9.1.0 (clang-902.0.39.2)
> Target: x86_64-apple-darwin17.7.0
> Thread model: posix
> InstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> --
> Compiler is C++11 compliant
> --
> Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21
> 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
> --
> Total System Memory = 16384 MB
> Processor Model: Intel(R) Core(TM) i7-4870HQ CPU
> Processor Speed: 2.50GHz
> Total Physical Processors: 4
> Total cores: 4
> Disk information:
> /dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271
> 0%   /
> /dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803
> 0%   /private/var/vm
> /dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793
> 0%   /Volumes/Recovery
> This CPU appears to support virtualization
>
>
>
>
> On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:
>
> You probably want to try a newer version of Node/NPM.  You are running
> v8.10.0/v3.5.2, while for example this is what I am running.
>
> node
> v9.11.1
> --
> npm
> 6.2.0
>
>
>
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
>
> Thanks, Figuring out what is wrong, I'll update the documentation on how
> to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
>
> On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <
> nick@nickallen.org> wrote:
>
>
> On the host where you are trying to build Metron, can you run the
> following script and send back the output?
>
>  metron/metron-deployment/scripts/platform-info.sh
>
>
> Other dependencies are documented here.  Apologies, I know it is not easy
> for first-timers to build Metron, but we will help you through it.
>
>
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
>
>
> And also please be sure to read this warning about using the automated
> deployment scripts to EC2.
>
>
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
>
>
>
>
>
>
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
> Hi,
> I'm trying to deploy Metron on EC2, and I'm following this link:
>
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
>
> First I had to *guess* based on the errors and description for *macOS!*
> that we need Vagrant, node and etc.
>
> So here is the process that I take on *Ubuntu 18.1*:
>
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen
> apt install maven //Version 3.3.9 apt install python-pip
> pip install ansible==2.4.1///////////////////////////////////////////////////////////////////////////////// Ansible versions higher than 2.4.1 will end up with this error:// **************Task Create Virtual private cloud ***************// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain  // hints for porting"}///////////////////////////////////////////////////////////////////////////////
> apt install nodejs-legacy //The system is using command node, not nodejs apt install npm apt install virtualbox //Version 5.5.2 wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb ///////////////////////////////////////////////////////////////////////////////// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager///////////////////////////////////////////////////////////////////////////////
> dpkg -i vagrant_2.2.0_x86_64.deb
> vagrant plugin install vagrant-hostmanager
> git clone https://github.com/apache/metron.git cd metron/metron-deployment/amazon-ec2/
> ./run.sh
>
> And I End up with failed master node with this error:
>
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>
>
> Jira Issue:
> https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
>
> Thanks,
> Babak.
>
>
>

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
Tried with Node 9.11.2 and npm  5.6.3 and also with Node 10.13.0 and npm 6.4.1 :(

   "[INFO] ------------------------------------------------------------------------",
    "[ERROR] internal/modules/cjs/loader.js:582",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/@angular-devkit/build-angular/node_modules/node-sass/scripts/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
    "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
    "[INFO] ",
    "[INFO] > puppeteer@1.7.0 install /root/metron/metron-interface/metron-alerts/node_modules/puppeteer",
    "[INFO] > node install.js",
    "[INFO] ",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
    "[ERROR] internal/modules/cjs/loader.js:582",
    "[ERROR]     throw err;",
    "[ERROR]     ^",
    "[ERROR] ",
    "[ERROR] Error: Cannot find module '/root/metron/metron-interface/metron-alerts/node_modules/puppeteer/install.js'",
    "[ERROR]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)",
    "[ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)",
    "[ERROR]     at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)",
    "[ERROR]     at startup (internal/bootstrap/node.js:285:19)",
    "[ERROR]     at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)",
    "[ERROR] npm ERR! code ELIFECYCLE",
    "[ERROR] npm ERR! errno 1",
    "[ERROR] npm ERR! puppeteer@1.7.0 install: `node install.js`",
    "[ERROR] npm ERR! Exit status 1",
    "[ERROR] npm ERR! ",
    "[ERROR] npm ERR! Failed at the puppeteer@1.7.0 install script.",
    "[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.",
    "[ERROR] ",
    "[ERROR] npm ERR! A complete log of this run can be found in:",
    "[ERROR] npm ERR!     /root/.npm/_logs/2018-11-21T17_37_03_712Z-debug.log",
    "1/2 KB   ",
    "2/2 KB   ",
    "[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config: Failed to run task: 'npm ci' 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"

 

    On Wednesday, November 21, 2018, 12:09:57 PM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 Everything else there, except Node/NPM, seems OK.
Just in case I missed something this is what my environment looks like. I happen to build on a Mac, but I know it is definitely possible to build on Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu Trusty.
$ ./scripts/platform-info.shMetron 0.6.1--...--ansible 2.5.0  config file = None  configured module search path = [u'/Users/nallen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible  executable location = /usr/local/bin/ansible  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]--Vagrant 2.1.2--vagrant-hostmanager (1.8.9)--Python 2.7.15--Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexecJava version: 1.8.0_66, vendor: Oracle CorporationJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jreDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"--Docker version 18.09.0, build 4d60db4--nodev9.11.1--npm6.2.0--Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1Apple LLVM version 9.1.0 (clang-902.0.39.2)Target: x86_64-apple-darwin17.7.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin--Compiler is C++11 compliant--Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64--Total System Memory = 16384 MBProcessor Model: Intel(R) Core(TM) i7-4870HQ CPUProcessor Speed: 2.50GHzTotal Physical Processors: 4Total cores: 4Disk information:/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271    0%   //dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803    0%   /private/var/vm/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793    0%   /Volumes/RecoveryThis CPU appears to support virtualization



On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:

You probably want to try a newer version of Node/NPM.  You are running v8.10.0/v3.5.2, while for example this is what I am running.
nodev9.11.1--npm6.2.0


On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <ba...@yahoo.com> wrote:


 Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
I guess my next step would be Manual installation of Metron on EC2

    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 On the host where you are trying to build Metron, can you run the following script and send back the output?

 metron/metron-deployment/scripts/platform-info.sh
 Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.

https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites

And also please be sure to read this warning about using the automated deployment scripts to EC2.  

https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws





On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:

 Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2

First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.

So here is the process that I take on Ubuntu 18.1:
export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
apt install maven //Version 3.3.9 
apt install python-pip 
pip install ansible==2.4.1
///////////////////////////////////////////////////////////////////////////////
// Ansible versions higher than 2.4.1 will end up with this error:
// **************Task Create Virtual private cloud ***************
// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
 // hints for porting"}
///////////////////////////////////////////////////////////////////////////////

apt install nodejs-legacy //The system is using command node, not nodejs 
apt install npm apt install virtualbox //Version 5.5.2 
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
///////////////////////////////////////////////////////////////////////////////
// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
///////////////////////////////////////////////////////////////////////////////

dpkg -i vagrant_2.2.0_x86_64.deb 
vagrant plugin install vagrant-hostmanager 
git clone https://github.com/apache/metron.git 
cd metron/metron-deployment/amazon-ec2/ 
./run.sh 
And I End up with failed master node with this error:
 [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
Thanks,Babak.


  

  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Nick Allen <ni...@nickallen.org>.
Everything else there, except Node/NPM, seems OK.

Just in case I missed something this is what my environment looks like. I
happen to build on a Mac, but I know it is definitely possible to build on
Ubuntu (I know some developers do) and our Travis CI builds on Ubuntu
Trusty.

$ ./scripts/platform-info.sh
Metron 0.6.1
--
...
--
ansible 2.5.0
  config file = None
  configured module search path =
[u'/Users/nallen/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
  ansible python module location =
/usr/local/lib/python2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15 (default, Jun 26 2018, 19:46:20) [GCC 4.2.1
Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
--
Vagrant 2.1.2
--
vagrant-hostmanager (1.8.9)
--
Python 2.7.15
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T11:41:47-05:00)
Maven home: /usr/local/Cellar/maven@3.3/3.3.9/libexec
Java version: 1.8.0_66, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
--
Docker version 18.09.0, build 4d60db4
--
node
v9.11.1
--
npm
6.2.0
--
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
--
Compiler is C++11 compliant
--
Darwin HW12402.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21
22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
--
Total System Memory = 16384 MB
Processor Model: Intel(R) Core(TM) i7-4870HQ CPU
Processor Speed: 2.50GHz
Total Physical Processors: 4
Total cores: 4
Disk information:
/dev/disk1s1   466Gi  250Gi  211Gi    55% 2800536 9223372036851975271
0%   /
/dev/disk1s4   466Gi  4.0Gi  211Gi     2%       4 9223372036854775803
0%   /private/var/vm
/dev/disk1s3   466Gi  495Mi  211Gi     1%      14 9223372036854775793
0%   /Volumes/Recovery
This CPU appears to support virtualization




On Wed, Nov 21, 2018 at 12:05 PM Nick Allen <ni...@nickallen.org> wrote:

> You probably want to try a newer version of Node/NPM.  You are running
> v8.10.0/v3.5.2, while for example this is what I am running.
>
> node
> v9.11.1
> --
> npm
> 6.2.0
>
>
>
> On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
>>
>> Thanks, Figuring out what is wrong, I'll update the documentation on how
>> to install it on Ubuntu with all the details.
>> I guess my next step would be Manual installation of Metron on EC2
>>
>> On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <
>> nick@nickallen.org> wrote:
>>
>>
>> On the host where you are trying to build Metron, can you run the
>> following script and send back the output?
>>
>>  metron/metron-deployment/scripts/platform-info.sh
>>
>>
>> Other dependencies are documented here.  Apologies, I know it is not easy
>> for first-timers to build Metron, but we will help you through it.
>>
>>
>> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
>>
>>
>> And also please be sure to read this warning about using the automated
>> deployment scripts to EC2.
>>
>>
>> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
>>
>>
>>
>>
>>
>>
>> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <
>> babak_abbaschian@yahoo.com> wrote:
>>
>> Hi,
>> I'm trying to deploy Metron on EC2, and I'm following this link:
>>
>> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
>>
>> First I had to *guess* based on the errors and description for *macOS!*
>> that we need Vagrant, node and etc.
>>
>> So here is the process that I take on *Ubuntu 18.1*:
>>
>> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
>> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
>> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
>> PATH=$JAVA_HOME/bin:$PATH ssh-keygen
>> apt install maven //Version 3.3.9 apt install python-pip
>> pip install ansible==2.4.1///////////////////////////////////////////////////////////////////////////////// Ansible versions higher than 2.4.1 will end up with this error:// **************Task Create Virtual private cloud ***************// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain  // hints for porting"}///////////////////////////////////////////////////////////////////////////////
>> apt install nodejs-legacy //The system is using command node, not nodejs apt install npm apt install virtualbox //Version 5.5.2 wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb ///////////////////////////////////////////////////////////////////////////////// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager///////////////////////////////////////////////////////////////////////////////
>> dpkg -i vagrant_2.2.0_x86_64.deb
>> vagrant plugin install vagrant-hostmanager
>> git clone https://github.com/apache/metron.git cd metron/metron-deployment/amazon-ec2/
>> ./run.sh
>>
>> And I End up with failed master node with this error:
>>
>>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>>
>>
>> Jira Issue:
>> https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
>>
>> Thanks,
>> Babak.
>>
>>
>>

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Nick Allen <ni...@nickallen.org>.
You probably want to try a newer version of Node/NPM.  You are running
v8.10.0/v3.5.2, while for example this is what I am running.

node
v9.11.1
--
npm
6.2.0



On Wed, Nov 21, 2018 at 11:36 AM Babak Abbaschian <
babak_abbaschian@yahoo.com> wrote:

>
> Thanks, Figuring out what is wrong, I'll update the documentation on how
> to install it on Ubuntu with all the details.
> I guess my next step would be Manual installation of Metron on EC2
>
> On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <
> nick@nickallen.org> wrote:
>
>
> On the host where you are trying to build Metron, can you run the
> following script and send back the output?
>
>  metron/metron-deployment/scripts/platform-info.sh
>
>
> Other dependencies are documented here.  Apologies, I know it is not easy
> for first-timers to build Metron, but we will help you through it.
>
>
> https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
>
>
> And also please be sure to read this warning about using the automated
> deployment scripts to EC2.
>
>
> https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
>
>
>
>
>
>
> On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <
> babak_abbaschian@yahoo.com> wrote:
>
> Hi,
> I'm trying to deploy Metron on EC2, and I'm following this link:
>
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
>
> First I had to *guess* based on the errors and description for *macOS!*
> that we need Vagrant, node and etc.
>
> So here is the process that I take on *Ubuntu 18.1*:
>
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen
> apt install maven //Version 3.3.9 apt install python-pip
> pip install ansible==2.4.1///////////////////////////////////////////////////////////////////////////////// Ansible versions higher than 2.4.1 will end up with this error:// **************Task Create Virtual private cloud ***************// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain  // hints for porting"}///////////////////////////////////////////////////////////////////////////////
> apt install nodejs-legacy //The system is using command node, not nodejs apt install npm apt install virtualbox //Version 5.5.2 wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb ///////////////////////////////////////////////////////////////////////////////// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager///////////////////////////////////////////////////////////////////////////////
> dpkg -i vagrant_2.2.0_x86_64.deb
> vagrant plugin install vagrant-hostmanager
> git clone https://github.com/apache/metron.git cd metron/metron-deployment/amazon-ec2/
> ./run.sh
>
> And I End up with failed master node with this error:
>
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>
>
> Jira Issue:
> https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
>
> Thanks,
> Babak.
>
>
>

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
 Thanks, Figuring out what is wrong, I'll update the documentation on how to install it on Ubuntu with all the details.
I guess my next step would be Manual installation of Metron on EC2

    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 On the host where you are trying to build Metron, can you run the following script and send back the output?

 metron/metron-deployment/scripts/platform-info.sh
 Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.

https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites

And also please be sure to read this warning about using the automated deployment scripts to EC2.  

https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws





On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:

 Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2

First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.

So here is the process that I take on Ubuntu 18.1:
export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
apt install maven //Version 3.3.9 
apt install python-pip 
pip install ansible==2.4.1
///////////////////////////////////////////////////////////////////////////////
// Ansible versions higher than 2.4.1 will end up with this error:
// **************Task Create Virtual private cloud ***************
// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
 // hints for porting"}
///////////////////////////////////////////////////////////////////////////////

apt install nodejs-legacy //The system is using command node, not nodejs 
apt install npm apt install virtualbox //Version 5.5.2 
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
///////////////////////////////////////////////////////////////////////////////
// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
///////////////////////////////////////////////////////////////////////////////

dpkg -i vagrant_2.2.0_x86_64.deb 
vagrant plugin install vagrant-hostmanager 
git clone https://github.com/apache/metron.git 
cd metron/metron-deployment/amazon-ec2/ 
./run.sh 
And I End up with failed master node with this error:
 [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
Thanks,Babak.


  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Babak Abbaschian <ba...@yahoo.com>.
Metron 0.6.1
--
* master
--
commit 3c4c069b6f29824122dd93ac6f234ef1d0363e9d (HEAD -> master, origin/master, origin/HEAD)
Author: merrimanr <me...@gmail.com>
Date:   Fri Nov 16 14:38:44 2018 -0600

    METRON-1875 Expose configurable global settings in the Alerts UI (merrimanr) closes apache/metron#1266
--
 metron-interface/metron-alerts/package.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--
ansible 2.4.1.0
  config file = None
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
--
Vagrant 2.2.0
--
vagrant-hostmanager (1.8.9, global)
--
Python 2.7.15rc1
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/apache-maven/apache-maven-3.3.9
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-1027-aws", arch: "amd64", family: "unix"
--
Docker version 18.06.1-ce, build e68fc7a
--
node
v8.10.0
--
npm
3.5.2
--
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Compiler is C++11 compliant
--
Linux ip-172-31-32-104 4.15.0-1027-aws #27-Ubuntu SMP Fri Nov 2 15:14:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
--
Total System Memory = 15577 MB
Processor Model: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
Processor Speed: 3099.986 MHz
Processor Speed: 3099.995 MHz
Processor Speed: 3099.998 MHz
Processor Speed: 3099.984 MHz
Total Physical Processors: 4
Total cores: 8
Disk information:
/dev/nvme0n1p1  146G   36G  110G  25% /
/dev/loop0       13M   13M     0 100% /snap/amazon-ssm-agent/495
/dev/loop1       88M   88M     0 100% /snap/core/5328
/dev/loop2       89M   89M     0 100% /snap/core/5897
/dev/loop3       17M   17M     0 100% /snap/amazon-ssm-agent/784
/dev/loop4       18M   18M     0 100% /snap/amazon-ssm-agent/930









 

    On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen <ni...@nickallen.org> wrote:  
 
 On the host where you are trying to build Metron, can you run the following script and send back the output?

 metron/metron-deployment/scripts/platform-info.sh
 Other dependencies are documented here.  Apologies, I know it is not easy for first-timers to build Metron, but we will help you through it.

https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites

And also please be sure to read this warning about using the automated deployment scripts to EC2.  

https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws





On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <ba...@yahoo.com> wrote:

 Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2

First I had to guess based on the errors and description for macOS! that we need Vagrant, node and etc.

So here is the process that I take on Ubuntu 18.1:
export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX" 
export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx" 
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 
PATH=$JAVA_HOME/bin:$PATH ssh-keygen  
apt install maven //Version 3.3.9 
apt install python-pip 
pip install ansible==2.4.1
///////////////////////////////////////////////////////////////////////////////
// Ansible versions higher than 2.4.1 will end up with this error:
// **************Task Create Virtual private cloud ***************
// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain 
 // hints for porting"}
///////////////////////////////////////////////////////////////////////////////

apt install nodejs-legacy //The system is using command node, not nodejs 
apt install npm apt install virtualbox //Version 5.5.2 
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb 
///////////////////////////////////////////////////////////////////////////////
// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
///////////////////////////////////////////////////////////////////////////////

dpkg -i vagrant_2.2.0_x86_64.deb 
vagrant plugin install vagrant-hostmanager 
git clone https://github.com/apache/metron.git 
cd metron/metron-deployment/amazon-ec2/ 
./run.sh 
And I End up with failed master node with this error:
 [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  
Jira Issue: https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
Thanks,Babak.


  

Re: Failure Automatic Deploying Metron on Amazon EC2

Posted by Nick Allen <ni...@nickallen.org>.
On the host where you are trying to build Metron, can you run the following
script and send back the output?

 metron/metron-deployment/scripts/platform-info.sh


Other dependencies are documented here.  Apologies, I know it is not easy
for first-timers to build Metron, but we will help you through it.

https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites


And also please be sure to read this warning about using the automated
deployment scripts to EC2.

https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws






On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <
babak_abbaschian@yahoo.com> wrote:

> Hi,
> I'm trying to deploy Metron on EC2, and I'm following this link:
>
> https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
>
> First I had to *guess* based on the errors and description for *macOS!*
> that we need Vagrant, node and etc.
>
> So here is the process that I take on *Ubuntu 18.1*:
>
> export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
> export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
> JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
> PATH=$JAVA_HOME/bin:$PATH ssh-keygen
> apt install maven //Version 3.3.9 apt install python-pip
> pip install ansible==2.4.1///////////////////////////////////////////////////////////////////////////////// Ansible versions higher than 2.4.1 will end up with this error:// **************Task Create Virtual private cloud ***************// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation may contain  // hints for porting"}///////////////////////////////////////////////////////////////////////////////
> apt install nodejs-legacy //The system is using command node, not nodejs apt install npm apt install virtualbox //Version 5.5.2 wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb ///////////////////////////////////////////////////////////////////////////////// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager///////////////////////////////////////////////////////////////////////////////
> dpkg -i vagrant_2.2.0_x86_64.deb
> vagrant plugin install vagrant-hostmanager
> git clone https://github.com/apache/metron.git cd metron/metron-deployment/amazon-ec2/
> ./run.sh
>
> And I End up with failed master node with this error:
>
>  [ERROR]Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]   org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project metron-config:Failed to run taskat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>
>
> Jira Issue:
> https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
>
> Thanks,
> Babak.
>
>
>