Hi ONAP team,

I'm getting error on building code of multicloud framework. Kindly please look 
into error.

#####Approach1 (For building multicloud framework code) : I have used === mvn 
clean install -Pdocker command then I got following error::::

[INFO] Scanning for projects...
[INFO] Inspecting build with total of 11 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 11 executions of maven-deploy-plugin replaced with 
nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] multicloud-framework-broker                                        [pom]
[INFO] multicloud-framework-artifactbroker                                [pom]
[INFO] multicloud-framework-artifactbroker-model                          [jar]
[INFO] multicloud-framework-artifactbroker-forwarding                     [jar]
[INFO] multicloud-framework-artifactbroker-reception                      [jar]
[INFO] multicloud-framework-artifactbroker-main                           [jar]
[INFO] multicloud-framework-artifactbroker-plugins                        [pom]
[INFO] multicloud-framework-artifactbroker-reception-plugins              [jar]
[INFO] multicloud-framework-artifactbroker-forwarding-plugins             [jar]
[INFO] multicloud-framework-artifactbroker-package                        [jar]
[INFO] multicloud-framework                                               [pom]
[INFO]
[INFO] -----< org.onap.multicloud.framework:multicloud-framework-broker >------
[INFO] Building multicloud-framework-broker 1.3.4-SNAPSHOT               [1/11]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
multicloud-framework-broker ---
[INFO] Deleting /home/ubuntu/multicloud/framework/multivimbroker/target
[INFO]
[INFO] --- exec-maven-plugin:1.1.1:exec (clean phase script) @ 
multicloud-framework-broker ---
[INFO] running script: 
[/home/ubuntu/multicloud/framework/multivimbroker/sonar.sh] for module [__] at 
stage [clean]
[INFO] MVN_PROJECT_MODULEID is            []
[INFO] MVN_PHASE is                       [clean]
[INFO] MVN_PROJECT_GROUPID is             [org.onap.multicloud.framework]
[INFO] MVN_PROJECT_ARTIFACTID is          [multicloud-framework-broker]
[INFO] MVN_PROJECT_VERSION is             [1.3.4-SNAPSHOT]
[INFO] ==> clean phase script
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ 
multicloud-framework-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (pre-unit-test) 
@ multicloud-framework-broker ---
[INFO] surefireArgLine set to 
-javaagent:/home/ubuntu/cds/maven_repo/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/ubuntu/multicloud/framework/multivimbroker/target/code-coverage/jacoco-ut.exec,excludes=**/gen/**:**/generated-sources/**:**/yang-gen/**:**/pax/**
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (onap-license) @ 
multicloud-framework-broker ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (onap-java-style) @ 
multicloud-framework-broker ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ 
multicloud-framework-broker ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- exec-maven-plugin:1.1.1:exec (test script) @ 
multicloud-framework-broker ---
[INFO] running script: 
[/home/ubuntu/multicloud/framework/multivimbroker/sonar.sh] for module [__] at 
stage [test]
[INFO] MVN_PROJECT_MODULEID is            []
[INFO] MVN_PHASE is                       [test]
[INFO] MVN_PROJECT_GROUPID is             [org.onap.multicloud.framework]
[INFO] MVN_PROJECT_ARTIFACTID is          [multicloud-framework-broker]
[INFO] MVN_PROJECT_VERSION is             [1.3.4-SNAPSHOT]
[INFO] ==> test phase script
[INFO] ++ pwd
[INFO] + CURDIR=/home/ubuntu/multicloud/framework/multivimbroker
[INFO] ++ find . -name tox.ini
[INFO] + TOXINIS=./tox.ini
[INFO] + for TOXINI in '"${TOXINIS[@]}"'
[INFO] ++ rev
[INFO] ++ cut -f2- -d/
[INFO] ++ rev
[INFO] ++ echo ./tox.ini
[INFO] + DIR=.
[INFO] + cd /home/ubuntu/multicloud/framework/multivimbroker/.
[INFO] + rm -rf ./venv-tox ./.tox
[INFO] + virtualenv ./venv-tox
[INFO] /home/ubuntu/multicloud/framework/multivimbroker/sonar.sh: line 54: 
virtualenv: command not found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for multicloud-framework 1.3.4-SNAPSHOT:
[INFO]
[INFO] multicloud-framework-broker ........................ FAILURE [  6.999 s]
[INFO] multicloud-framework-artifactbroker ................ SKIPPED
[INFO] multicloud-framework-artifactbroker-model .......... SKIPPED
[INFO] multicloud-framework-artifactbroker-forwarding ..... SKIPPED
[INFO] multicloud-framework-artifactbroker-reception ...... SKIPPED
[INFO] multicloud-framework-artifactbroker-main ........... SKIPPED
[INFO] multicloud-framework-artifactbroker-plugins ........ SKIPPED
[INFO] multicloud-framework-artifactbroker-reception-plugins SKIPPED
[INFO] multicloud-framework-artifactbroker-forwarding-plugins SKIPPED
[INFO] multicloud-framework-artifactbroker-package ........ SKIPPED
[INFO] multicloud-framework ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.650 s
[INFO] Finished at: 2019-06-26T07:41:44Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "docker" could not be activated because it does 
not exist.
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:exec 
(test script) on project multicloud-framework-broker: Result of /bin/sh -c cd 
/home/ubuntu/multicloud/framework/multivimbroker && 
/home/ubuntu/multicloud/framework/multivimbroker/sonar.sh __ test execution is: 
'127'. -> [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

#####Approach2 : I used command mvn clean install -DskipTests=true 
-Dmaven.test.skip=true -Dmaven.javadoc.skip=true 
-Dadditionalparam=-Xdoclint:none

Then also I got the same error (No change in the error)

####Approach3: I used a command mvn clean install -DskipTests=true -Pdocker

Then also I got the same error

Kindly If possible please tell me where I went wrong and what any other thing I 
can try to build the code and generate docker image.
Thanks in advance!!!!!!

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17755): https://lists.onap.org/g/onap-discuss/message/17755
Mute This Topic: https://lists.onap.org/mt/32214394/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to