Hi,

The certificate used in the unit test has expired. As Frank mentioned in the 
other thread, simply remove the CertServiceTest.java file from the source and 
rebuild.

> On 27-Oct-2014, at 7:34 am, zengfh2...@aliyun.com wrote:
>
> Hi CS dev group,
>
> This is Jack Zeng from CONAC Cloud Research Group. Recently we are working on 
> the CS development environment setup, we meet the some error when we ran the 
> command "mvn test"during the APM building. Could you please give us some help 
> or suggestion? Thanks a lot in advance and expect your reply.
>
> The detailed information is below:
> 1, OS version: CentOS6.3 x64
>    CS version: apache-cloudstack-4.4.0-src.tar.bz2
>         *comments: we download the source code directly on the Apache 
> website: 
> http://www.apache.org/dyn/closer.cgi/cloudstack/releases/4.4.0/apache-cloudstack-4.4.0-src.tar.bz2
> 2, The working branch:
>    4.4.0, master
> 3, Build environment:
>    only use the Maven to test.
> 4,The detailed message during the APM building.
>
> Failed tests: 
> runUploadSslCertBadkeyAlgo(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertBadkeyPair(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertBadChain(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertNoRootCert(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertNoChain(org.apache.cloudstack.network.lb.CertServiceTest)
>
> Tests in error:
> runUploadSslCertWithCAChain(org.apache.cloudstack.network.lb.CertServiceTest):
>  Error parsing certificate data Certificate expired or not valid
> runUploadSslCertSelfSignedNoPassword(org.apache.cloudstack.network.lb.CertServiceTest):
>  Error parsing certificate data Certificate expired or not valid
> runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.lb.CertServiceTest):
>  Error parsing certificate data Certificate expired or not valid
>
> Tests run: 139, Failures: 5, Errors: 3, Skipped: 1
>
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS 
> [8.201s]
> [INFO] Apache CloudStack ................................. SUCCESS [2.836s]
> [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [1.335s]
> [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [5.058s]
> [INFO] Apache CloudStack Utils ........................... SUCCESS [22.108s]
> [INFO] Apache CloudStack Framework ....................... SUCCESS [0.090s]
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [13.717s]
> [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [7.190s]
> [INFO] Apache CloudStack API ............................. SUCCESS [24.591s]
> [INFO] Apache CloudStack Framework - REST ................ SUCCESS [4.550s]
> [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [8.496s]
> [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.058s]
> [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [6.813s]
> [INFO] Apache CloudStack Framework - Security ............ SUCCESS [3.292s]
> [INFO] Apache CloudStack Core ............................ SUCCESS [17.587s]
> [INFO] Apache CloudStack Agents .......................... SUCCESS [9.923s]
> [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [4.526s]
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.240s]
> [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [22.376s]
> [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [9.565s]
> [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [5.471s]
> [INFO] Apache CloudStack Server .......................... FAILURE [1:16.272s]
> [INFO] Apache CloudStack Usage Server .................... SKIPPED
> [INFO] Apache XenSource XAPI ............................. SKIPPED
> [INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED
> [INFO] Apache CloudStack Cloud Services .................. SKIPPED
> [INFO] Apache CloudStack Secondary Storage ............... SKIPPED
> [INFO] Apache CloudStack Secondary Storage Service ....... SKIPPED
> [INFO] Apache CloudStack Engine Storage Component ........ SKIPPED
> [INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED
> [INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED
> [INFO] Apache CloudStack Engine Storage Data Motion Component SKIPPED
> [INFO] Apache CloudStack Engine Storage Cache Component .. SKIPPED
> [INFO] Apache CloudStack Engine Storage Snapshot Component SKIPPED
> [INFO] Apache CloudStack Cloud Engine API ................ SKIPPED
> [INFO] Apache CloudStack Cloud Engine Service ............ 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 - Host Anti-Affinity Processor SKIPPED
> [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SKIPPED
> [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner 
> SKIPPED
> [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SKIPPED
> [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SKIPPED
> [INFO] Apache CloudStack Plugin - Skip Heurestics Planner SKIPPED
> [INFO] Apache CloudStack Plugin - Host Allocator Random .. SKIPPED
> [INFO] Apache CloudStack Plugin - Dedicated Resources .... SKIPPED
> [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... 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 - In Memory Event Bus .... SKIPPED
> [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SKIPPED
> [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SKIPPED
> [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SKIPPED
> [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SKIPPED
> [INFO] Apache CloudStack Plugin - Network Internal Load Balancer SKIPPED
> [INFO] Apache CloudStack Framework - Spring Life Cycle ... SKIPPED
> [INFO] Apache CloudStack Plugin - Network Juniper Contrail SKIPPED
> [INFO] Apache CloudStack Plugin - Palo Alto .............. SKIPPED
> [INFO] Apache CloudStack Plugin - Network Netscaler ...... SKIPPED
> [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SKIPPED
> [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SKIPPED
> [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SKIPPED
> [INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SKIPPED
> [INFO] Apache CloudStack Plugin - Network Opendaylight ... 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 Plugin - Storage Image S3 ....... SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Image Swift provider SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Image default provider SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Image sample provider SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Volume default provider SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Volume sample provider SKIPPED
> [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SKIPPED
> [INFO] Apache CloudStack Plugin - Syslog Alerts .......... SKIPPED
> [INFO] Apache CloudStack Plugin - Network VXLAN .......... SKIPPED
> [INFO] Apache CloudStack Framework - Spring Module ....... SKIPPED
> [INFO] Apache CloudStack Secondary Storage Controller .... SKIPPED
> [INFO] Apache CloudStack Console Proxy - RDP Client ...... SKIPPED
> [INFO] Apache CloudStack Console Proxy ................... SKIPPED
> [INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED
> [INFO] Apache CloudStack System VM ....................... SKIPPED
> [INFO] Apache CloudStack Client UI ....................... SKIPPED
> [INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED
> [INFO] Apache CloudStack Test ............................ SKIPPED
> [INFO] Apache CloudStack Developer Mode .................. SKIPPED
> [INFO] Apache CloudStack Developer Tools ................. SKIPPED
> [INFO] Apache CloudStack apidocs ......................... SKIPPED
> [INFO] Apache CloudStack marvin .......................... SKIPPED
> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
> [INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 4:19.413s
> [INFO] Finished at: Fri Oct 24 06:54:36 PDT 2014
> [INFO] Final Memory: 47M/270M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on 
> project cloud-server: There are test failures.
> [ERROR]
> [ERROR] Please refer to 
> /opt/cloud/cloudstack-4.4.0/server/target/surefire-reports for the individual 
> test results.
> [ERROR] -> [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 :cloud-server
>
>
> Best regards,
> Jack Zeng
>
>
>
>
> zengfh2...@aliyun.com

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to