Hi Guys,
I was trying to install CS v.4.1.1 from scratch with fresh OS (Ubuntu).
I hit an error (see attached) when building the deb packages with maven, I
was following this docs -
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.1/html/Installation_Guide/sect-source-builddebs.html
Am I suppose to use "mvn" or "mvn3"? Is a documentation typo error?
Thanks!
Litoy
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
vm01:~/apache-cloudstack-4.1.1-src$ mvn3 clean install -P developer,systemvm
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache CloudStack
[INFO] Apache CloudStack Utils
[INFO] Apache CloudStack API
[INFO] Apache CloudStack Core
[INFO] Apache CloudStack Agents
[INFO] Apache CloudStack SystemVM Patches
[INFO] Apache CloudStack Console Proxy
[INFO] Apache CloudStack Framework
[INFO] Apache CloudStack Framework - IPC
[INFO] Apache CloudStack Framework - REST
[INFO] Apache CloudStack Cloud Engine
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Framework - Event Notification
[INFO] Apache CloudStack Server
[INFO] Apache CloudStack Usage Server
[INFO] Apache XenSource XAPI
[INFO] Apache CloudStack Plugin POM
[INFO] Apache CloudStack Plugin - API Rate Limit
[INFO] Apache CloudStack Plugin - API Discovery
[INFO] Apache CloudStack Plugin - ACL Static Role Based
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
[INFO] Apache CloudStack Plugin - Host Allocator Random
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM
[INFO] Apache CloudStack Cloud Engine Internal Components API
[INFO] Apache CloudStack Engine Storage Component
[INFO] Apache CloudStack Plugin - Open vSwitch
[INFO] Apache CloudStack Plugin - Hypervisor Xen
[INFO] Apache CloudStack Plugin - Hypervisor KVM
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus
[INFO] Apache CloudStack Plugin - Hypervisor Simulator
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
[INFO] Apache CloudStack Plugin - Network Nicira NVP
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
[INFO] Apache CloudStack Plugin - Storage Allocator Random
[INFO] Apache CloudStack Plugin - User Authenticator LDAP
[INFO] Apache CloudStack Plugin - User Authenticator MD5
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted
[INFO] Apache CloudStack Plugin - Dns Notifier Example
[INFO] Apache CloudStack Engine Storage Image Component
[INFO] Apache CloudStack Plugin - Storage Image S3
[INFO] Apache CloudStack Engine Storage Volume Component
[INFO] Apache CloudStack Plugin - Storage Volume solidfire
[INFO] Apache CloudStack Cloud Engine Compute Component
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Cloud Engine Orchestration Component
[INFO] Apache CloudStack Cloud Engine Schema Component
[INFO] Apache CloudStack Engine Storage Backup Component
[INFO] Apache CloudStack Engine Storage Image Motion Component
[INFO] Apache CloudStack Engine Storage Snapshot Component
[INFO] Apache CloudStack Client UI
[INFO] Apache CloudStack Test
[INFO] Apache CloudStack Engine Storage integration test Component
[INFO] Apache CloudStack Cloud Engine Service
[INFO] Apache CloudStack Developer Tools
[INFO] Apache CloudStack apidoc Tools
[INFO] Apache CloudStack DevCloud
[INFO] Apache CloudStack DevCloud-KVM
[INFO] Apache CloudStack Developer Tools: marvin
[INFO] Apache CloudStack Developer Tools: cloudmonkey cli
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack 4.1.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloudstack ---
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloudstack ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloudstack ---
[INFO] Installing /home/asg/apache-cloudstack-4.1.1-src/pom.xml to
/home/asg/.m2/repository/org/
apache/cloudstack/cloudstack/4.1.1/cloudstack-4.1.1.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Utils 4.1.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-utils ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-utils ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
cloud-utils ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-utils
---
[INFO] Compiling 161 source files to
/home/asg/apache-cloudstack-4.1.1-src/utils/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
cloud-utils ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
cloud-utils ---
[INFO] Compiling 22 source files to
/home/asg/apache-cloudstack-4.1.1-src/utils/target/test-clas
ses
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-utils ---
[INFO] Surefire report directory:
/home/asg/apache-cloudstack-4.1.1-src/utils/target/surefire-re
ports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.cloud.utils.log.CglibThrowableRendererTest
2013-08-11 08:04:37,865 INFO [test.context.TestContextManager] (main:)
@TestExecutionListeners is not present
for class [class com.cloud.utils.log.CglibThrowableRendererTest]: using
defaults.
2013-08-11 08:04:38,838 INFO [factory.xml.XmlBeanDefinitionReader] (main:)
Loading XML bean def initions from
class path resource [testContext.xml]
2013-08-11 08:04:40,647 INFO
[context.annotation.ClassPathBeanDefinitionScanner] (main:) JSR-33
0 'javax.inject.Named' annotation found and
supported for component scanning
2013-08-11 08:04:43,107 INFO [context.support.GenericApplicationContext]
(main:) Refreshing org
.springframework.context.support.GenericApplicationContext@2c9b42e6: startup
date [Sun Aug 11 08 :04:43 SGT 2013];
root of context hierarchy
2013-08-11 08:04:43,909 INFO
[factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:)
JSR-330 'javax.inject.Inject' annotation found and
supported for autowiring
2013-08-11 08:04:44,535 INFO [context.support.GenericApplicationContext]
(main:) Bean 'transact
ionContextBuilder' of type [class com.cloud.utils.db.TransactionContextBuilder]
is not eligible for getting processed
by all BeanPostProcessors (for example: not eligible for auto-proxying)
2013-08-11 08:04:44,846 INFO [factory.support.DefaultListableBeanFactory]
(main:) Pre-instantia ting singletons
in
org.springframework.beans.factory.support.DefaultListableBeanFactory@60cf710e
: defining beans
[org.springframework.context.annotation.internalConfigurationAnnotationProcesso
r,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframewor
k.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.
internalCommonAnnotationProcessor,dummyImpl,dbAnnotatedBaseDerived,dummyComponent,dbAnnotatedBas
e,componentContext,transactionContextBuilder,instantiatePostProcessor,org.springframework.contex
t.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
root of factory hi erarchy
2013-08-11 08:04:45,180 INFO [utils.component.ComponentContext] (main:) Setup
Spring Applicatio n context
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.581 sec
Running com.cloud.utils.StringUtilsTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running com.cloud.utils.testcase.NioTest
2013-08-11 08:04:45,900 INFO [utils.testcase.NioTest] (main:) Test
2013-08-11 08:04:46,123 INFO [utils.nio.NioServer] (NioTestServer-Selector:)
NioConnection star ted and listening on
0.0.0.0/0.0.0.0:7777
2013-08-11 08:04:46,176 INFO [utils.nio.NioClient] (NioTestServer-Selector:)
Connecting to 127. 0.0.1:7777
2013-08-11 08:04:46,287 WARN [utils.nio.Link] (NioTestServer-Selector:) SSL:
Fail to find the g enerated keystore.
Loading fail-safe one to continue.
2013-08-11 08:04:49,382 INFO [utils.nio.NioClient] (NioTestServer-Selector:)
SSL: Handshake don e
2013-08-11 08:04:49,398 INFO [utils.testcase.NioTest]
(NioTestServer-Handler-1:) Client: Receiv
ed CONNECT task
2013-08-11 08:04:49,402 INFO [utils.testcase.NioTest]
(NioTestServer-Handler-1:) Server: Receiv
ed CONNECT task
2013-08-11 08:04:50,532 INFO [utils.testcase.NioTest] (main:) Client: Data sent
2013-08-11 08:04:50,536 INFO [utils.testcase.NioTest] (main:) Client: Data sent
2013-08-11 08:04:51,361 INFO [utils.testcase.NioTest]
(NioTestServer-Handler-2:) Server: Receiv
ed DATA task
2013-08-11 08:04:51,674 INFO [utils.testcase.NioTest]
(NioTestServer-Handler-3:) Server: Receiv
ed DATA task
2013-08-11 08:04:52,585 INFO [utils.testcase.NioTest] (main:) Client stopped.
2013-08-11 08:04:52,591 INFO [utils.testcase.NioTest] (main:) Server stopped.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.778 sec
Running com.cloud.utils.net.NetUtilsTest
2013-08-11 08:04:52,876 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1
2013-08-11 08:04:52,914 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1
2013-08-11 08:04:52,932 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1
2013-08-11 08:04:52,965 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1
2013-08-11 08:04:52,983 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1
2013-08-11 08:04:53,012 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::e157:ff1f:2b8d:9 2b6
2013-08-11 08:04:53,040 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1413:e1cb:c838:3 aeb
2013-08-11 08:04:53,076 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::b5b0:30e0:5487:8 1ae
2013-08-11 08:04:53,100 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::f90e:e2e1:c97b:1 bfb
2013-08-11 08:04:53,135 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::ec00:c743:8bf1:5 52f
2013-08-11 08:04:53,163 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::70ce:3a89:af52:6 f67
2013-08-11 08:04:53,206 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1477:c50d:4ed4:3 8f8
2013-08-11 08:04:53,230 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::8c83:da9a:21ad:b 803
2013-08-11 08:04:53,276 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::deca:571c:c47a:f 043
2013-08-11 08:04:53,343 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::7feb:2376:4864:a dc7
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.82 sec
Running com.cloud.utils.TestProfiler
Configure log4j with default properties
2013-08-11 08:04:53,516 INFO [cloud.utils.TestProfiler] (main:) testProfiler()
started
2013-08-11 08:04:54,210 INFO [utils.testcase.NioTest]
(NioTestServer-Handler-2:) Verify done.
2013-08-11 08:04:54,253 INFO [utils.testcase.NioTest]
(NioTestServer-Handler-3:) Verify done.
2013-08-11 08:04:54,535 INFO [cloud.utils.TestProfiler] (main:) Duration : 1001
2013-08-11 08:04:54,536 INFO [cloud.utils.TestProfiler] (main:) testProfiler()
stopped
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.04 sec
Running com.cloud.utils.xmlobject.TestXmlObject2
no key1, add new
no key2, add new
<test key2="value2" key1="value1" />
no ckey1, add new
no child2, add new
no child1, add new
<test key2="value2" key1="value1"><child1><child2 ckey1="value1"
/></child1></test>
no key1, add new
no child1, add new
no key3, add new
no child3, add new
no child2, add new
not list list child1, add list
<test2 key1="value1"><child1>yyy</child1><child1><child2><child3
key3="value3">xxxxx</child3></c
hild2></child1></test2>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running com.cloud.utils.xmlobject.TestXmlObject
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
2013-08-11 08:04:54,687 INFO [context.support.GenericApplicationContext]
(Thread-0:) Closing or
g.springframework.context.support.GenericApplicationContext@2c9b42e6: startup
date [Sun Aug 11 0 8:04:43 SGT 2013];
root of context hierarchy
2013-08-11 08:04:54,706 INFO [factory.support.DefaultListableBeanFactory]
(Thread-0:) Destroyin g singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@60cf710e:
d efining beans
[org.springframework.context.annotation.internalConfigurationAnnotationProcessor,o
rg.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.c
ontext.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.int
ernalCommonAnnotationProcessor,dummyImpl,dbAnnotatedBaseDerived,dummyComponent,dbAnnotatedBase,c
omponentContext,transactionContextBuilder,instantiatePostProcessor,org.springframework.context.a
nnotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root
of factory hiera rchy
Results :
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-utils ---
[INFO] Building jar:
/home/asg/apache-cloudstack-4.1.1-src/utils/target/cloud-utils-4.1.1.jar
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloud-utils ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ cloud-utils ---
[INFO] Building jar:
/home/asg/apache-cloudstack-4.1.1-src/utils/target/cloud-utils-4.1.1-tests.
jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-utils
---
[INFO] Installing
/home/asg/apache-cloudstack-4.1.1-src/utils/target/cloud-utils-4.1.1.jar to /h
ome/asg/.m2/repository/org/apache/cloudstack/cloud-utils/4.1.1/cloud-utils-4.1.1.jar
[INFO] Installing /home/asg/apache-cloudstack-4.1.1-src/utils/pom.xml to
/home/asg/.m2/repositor
y/org/apache/cloudstack/cloud-utils/4.1.1/cloud-utils-4.1.1.pom
[INFO] Installing
/home/asg/apache-cloudstack-4.1.1-src/utils/target/cloud-utils-4.1.1-tests.jar
to
/home/asg/.m2/repository/org/apache/cloudstack/cloud-utils/4.1.1/cloud-utils-4.1.1-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack API 4.1.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-api ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-api
---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/asg/apache-cloudstack-4.1.1-src/api/src/main/re
sources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-api ---
[INFO] Compiling 876 source files to
/home/asg/apache-cloudstack-4.1.1-src/api/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
cloud-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/asg/apache-cloudstack-4.1.1-src/api/src/test/re
sources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
cloud-api ---
[INFO] Compiling 29 source files to
/home/asg/apache-cloudstack-4.1.1-src/api/target/test-classe
s
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-api ---
[INFO] Surefire report directory:
/home/asg/apache-cloudstack-4.1.1-src/api/target/surefire-repo
rts
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running src.com.cloud.agent.api.test.ResizeVolumeCommandTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.369 sec
Running org.apache.cloudstack.api.command.test.AddClusterCmdTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.726 sec
Running org.apache.cloudstack.api.command.test.UsageCmdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running org.apache.cloudstack.api.command.test.AddHostCmdTest
log4j:WARN No appenders could be found for logger
(org.apache.cloudstack.api.command.admin.host.
AddHostCmd).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.302 sec
Running org.apache.cloudstack.api.command.test.AddAccountToProjectCmdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.233 sec
Running org.apache.cloudstack.api.command.test.AddNetworkServiceProviderCmdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.325 sec
Running org.apache.cloudstack.api.command.test.AddVpnUserCmdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.378 sec
Running org.apache.cloudstack.api.command.test.AddSecondaryStorageCmdTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.apache.cloudstack.api.command.test.RegionCmdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.293 sec
Running org.apache.cloudstack.api.command.test.AddSwiftCmdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec
Running org.apache.cloudstack.api.command.test.ActivateProjectCmdTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.apache.cloudstack.api.agent.test.CheckNetworkAnswerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
Running org.apache.cloudstack.api.agent.test.CheckHealthAnswerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.apache.cloudstack.api.agent.test.CheckHealthCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.cloudstack.api.agent.test.AttachVolumeAnswerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.cloudstack.api.agent.test.AttachIsoCommandTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.apache.cloudstack.api.agent.test.CancelCommandTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.apache.cloudstack.api.agent.test.AgentControlAnswerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.cloudstack.api.agent.test.BackupSnapshotCommandTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
Running org.apache.cloudstack.api.agent.test.BumpUpPriorityCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.cloudstack.api.agent.test.SnapshotCommandTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.apache.cloudstack.api.agent.test.AgentControlCommandTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.cloudstack.api.agent.test.ChangeAgentAnswerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.cloudstack.api.agent.test.BackupSnapshotAnswerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 sec
Running org.apache.cloudstack.api.agent.test.CheckOnHostCommandTest
Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
Running org.apache.cloudstack.api.agent.test.CheckNetworkCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.apache.cloudstack.api.agent.test.AttachVolumeCommandTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Running org.apache.cloudstack.api.agent.test.ChangeAgentCommandTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.apache.cloudstack.api.agent.test.AnswerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Results :
Tests run: 148, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-api ---
[INFO] Building jar:
/home/asg/apache-cloudstack-4.1.1-src/api/target/cloud-api-4.1.1.jar
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloud-api ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-api ---
[INFO] Installing
/home/asg/apache-cloudstack-4.1.1-src/api/target/cloud-api-4.1.1.jar to /home/
asg/.m2/repository/org/apache/cloudstack/cloud-api/4.1.1/cloud-api-4.1.1.jar
[INFO] Installing /home/asg/apache-cloudstack-4.1.1-src/api/pom.xml to
/home/asg/.m2/repository/
org/apache/cloudstack/cloud-api/4.1.1/cloud-api-4.1.1.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Core 4.1.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
cloud-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/asg/apache-cloudstack-4.1.1-src/core/src/main/r
esources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-core
---
[INFO] Compiling 156 source files to
/home/asg/apache-cloudstack-4.1.1-src/core/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
cloud-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/asg/apache-cloudstack-4.1.1-src/core/src/test/r
esources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
cloud-core ---
[INFO] Compiling 1 source file to
/home/asg/apache-cloudstack-4.1.1-src/core/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-core ---
[INFO] Surefire report directory:
/home/asg/apache-cloudstack-4.1.1-src/core/target/surefire-rep
orts
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.cloud.agent.transport.RequestTest
log4j:WARN No appenders could be found for logger
(com.cloud.agent.transport.RequestTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.811 sec
Results :
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-core ---
[INFO] Building jar:
/home/asg/apache-cloudstack-4.1.1-src/core/target/cloud-core-4.1.1.jar
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloud-core ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cloud-core ---
[INFO] Installing
/home/asg/apache-cloudstack-4.1.1-src/core/target/cloud-core-4.1.1.jar to /hom
e/asg/.m2/repository/org/apache/cloudstack/cloud-core/4.1.1/cloud-core-4.1.1.jar
[INFO] Installing /home/asg/apache-cloudstack-4.1.1-src/core/pom.xml to
/home/asg/.m2/repository
/org/apache/cloudstack/cloud-core/4.1.1/cloud-core-4.1.1.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Agents 4.1.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-agent ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-agent ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-agent ---
[INFO] Executing tasks
main:
[copy] Copying 1 file to
/home/asg/apache-cloudstack-4.1.1-src/agent/target/transformed
[copy] Copying 2 files to
/home/asg/apache-cloudstack-4.1.1-src/agent/target/transformed
[copy] Copying 2 files to
/home/asg/apache-cloudstack-4.1.1-src/agent/target/transformed
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
cloud-agent ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/asg/apache-cloudstack-4.1.1-src/agent/src/main/
resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-agent
---
[INFO] Compiling 16 source files to
/home/asg/apache-cloudstack-4.1.1-src/agent/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
cloud-agent ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/asg/apache-cloudstack-4.1.1-src/agent/src/test/
resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
cloud-agent ---
[INFO] Compiling 1 source file to
/home/asg/apache-cloudstack-4.1.1-src/agent/target/test-classe
s
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-agent ---
[INFO] Surefire report directory:
/home/asg/apache-cloudstack-4.1.1-src/agent/target/surefire-re
ports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.cloud.agent.TestAgentShell
log4j:WARN No appenders could be found for logger
(org.apache.commons.httpclient.params.DefaultH
ttpParams).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.447 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-agent ---
[INFO] Building jar:
/home/asg/apache-cloudstack-4.1.1-src/agent/target/cloud-agent-4.1.1.jar
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloud-agent ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ cloud-agent ---
[INFO] Building jar:
/home/asg/apache-cloudstack-4.1.1-src/agent/target/cloud-agent-4.1.1-tests.
jar
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:copy-dependencies (copy-dependencies)
@ cloud-agent ---
[WARNING] The POM for org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10 is
missing, no depe ndency information
available
[WARNING] The POM for org.apache.maven.reporting:maven-reporting-impl:jar:2.0.5
is missing, no d ependency information
available
[WARNING] The POM for org.apache.maven.doxia:doxia-site-renderer:jar:1.0 is
missing, no dependen cy information
available
[WARNING] The POM for org.codehaus.plexus:plexus-archiver:jar:2.1.1 is missing,
no dependency in formation available
[WARNING] The POM for org.apache.maven.shared:file-management:jar:1.2.1 is
missing, no dependenc y information
available
[WARNING] The POM for org.codehaus.plexus:plexus-io:jar:2.0.3 is missing, no
dependency informat ion available
[WARNING] The POM for org.apache.maven.shared:maven-dependency-analyzer:jar:1.2
is missing, no d ependency information
available
[WARNING] The POM for org.apache.maven.shared:maven-dependency-tree:jar:2.0 is
missing, no depen dency information
available
[WARNING] The POM for
org.apache.maven.shared:maven-common-artifact-filters:jar:1.2 is missing,
no dependency information available
[WARNING] The POM for org.apache.maven.shared:maven-invoker:jar:2.0.11 is
missing, no dependency information
available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack ................................. SUCCESS [20.166s]
[INFO] Apache CloudStack Utils ........................... SUCCESS [1:45.420s]
[INFO] Apache CloudStack API ............................. SUCCESS [1:37.661s]
[INFO] Apache CloudStack Core ............................ SUCCESS [55.330s]
[INFO] Apache CloudStack Agents .......................... FAILURE [46.315s]
[INFO] Apache CloudStack SystemVM Patches ................ SKIPPED
[INFO] Apache CloudStack Console Proxy ................... SKIPPED
[INFO] Apache CloudStack Framework ....................... SKIPPED
[INFO] Apache CloudStack Framework - IPC ................. SKIPPED
[INFO] Apache CloudStack Framework - REST ................ SKIPPED
[INFO] Apache CloudStack Cloud Engine .................... SKIPPED
[INFO] Apache CloudStack Cloud Engine API ................ SKIPPED
[INFO] Apache CloudStack Framework - Event Notification .. SKIPPED
[INFO] Apache CloudStack Server .......................... SKIPPED
[INFO] Apache CloudStack Usage Server .................... SKIPPED
[INFO] Apache XenSource XAPI ............................. SKIPPED
[INFO] Apache CloudStack Plugin POM ...................... SKIPPED
[INFO] Apache CloudStack Plugin - API Rate Limit ......... SKIPPED
[INFO] Apache CloudStack Plugin - API Discovery .......... SKIPPED
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SKIPPED
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
SKIPPED
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SKIPPED
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SKIPPED
[INFO] Apache CloudStack Cloud Engine Internal Components API SKIPPED
[INFO] Apache CloudStack Engine Storage Component ........ SKIPPED
[INFO] Apache CloudStack Plugin - Open vSwitch ........... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SKIPPED
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SKIPPED
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SKIPPED
[INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SKIPPED
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SKIPPED
[INFO] Apache CloudStack Plugin - Storage Allocator Random SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator LDAP SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator MD5 . SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text SKIPPED
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SKIPPED
[INFO] Apache CloudStack Plugin - Dns Notifier Example ... SKIPPED
[INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED
[INFO] Apache CloudStack Plugin - Storage Image S3 ....... SKIPPED
[INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED
[INFO] Apache CloudStack Plugin - Storage Volume solidfire SKIPPED
[INFO] Apache CloudStack Cloud Engine Compute Component .. SKIPPED
[INFO] Apache CloudStack Cloud Engine API ................ SKIPPED
[INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED
[INFO] Apache CloudStack Cloud Engine Schema Component ... SKIPPED
[INFO] Apache CloudStack Engine Storage Backup Component . SKIPPED
[INFO] Apache CloudStack Engine Storage Image Motion Component SKIPPED
[INFO] Apache CloudStack Engine Storage Snapshot Component SKIPPED
[INFO] Apache CloudStack Client UI ....................... SKIPPED
[INFO] Apache CloudStack Test ............................ SKIPPED
[INFO] Apache CloudStack Engine Storage integration test Component SKIPPED
[INFO] Apache CloudStack Cloud Engine Service ............ SKIPPED
[INFO] Apache CloudStack Developer Tools ................. SKIPPED
[INFO] Apache CloudStack apidoc Tools .................... SKIPPED
[INFO] Apache CloudStack DevCloud ........................ SKIPPED
[INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
[INFO] Apache CloudStack Developer Tools: marvin ......... SKIPPED
[INFO] Apache CloudStack Developer Tools: cloudmonkey cli SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:40.758s
[INFO] Finished at: Sun Aug 11 08:08:18 SGT 2013
[INFO] Final Memory: 23M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.5.1:copy-depen
dencies (copy-dependencies) on project cloud-agent:
Execution copy-dependencies of goal org.apac
he.maven.plugins:maven-dependency-plugin:2.5.1:copy-dependencies failed:
Plugin org.apache.maven
.plugins:maven-dependency-plugin:2.5.1 or one of its dependencies could not be
resolved: The fol lowing artifacts
could not be resolved: org.apache.maven.reporting:maven-reporting-impl:jar:2.0.
5,
org.apache.maven.doxia:doxia-sink-api:jar:1.0,
org.apache.maven.doxia:doxia-site-renderer:jar
:1.0, org.codehaus.plexus:plexus-archiver:jar:2.1.1,
org.apache.maven.shared:file-management:jar
:1.2.1, org.codehaus.plexus:plexus-io:jar:2.0.3,
org.apache.maven.shared:maven-dependency-analyz
er:jar:1.2, org.apache.maven.shared:maven-dependency-tree:jar:2.0,
org.apache.maven.shared:maven
-common-artifact-filters:jar:1.2,
org.apache.maven.shared:maven-invoker:jar:2.0.11: Failure to f
ind
org.apache.maven.reporting:maven-reporting-impl:jar:2.0.5 in
http://repo.maven.apache.org/ma ven2
was cached in the local repository, resolution will not be reattempted until
the update int erval of central has
elapsed or updates are forced -> [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/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :cloud-agent
vm01:~/apache-cloudstack-4.1.1-src$