As you are building from source tarball, the simplest way to fix is to delete CertServiceTest.java
> -----Original Message----- > From: Ian Duffy [mailto:i...@ianduffy.ie] > Sent: Friday, October 24, 2014 9:54 AM > To: CloudStack Dev > Subject: Re: [HELP] cloudstack 4.4.0 src build failed > > This looks like the certificate issue that has been mentioned in another > thread > on the list. > > On 24 October 2014 16:48, Nux! <n...@li.nux.ro> wrote: > > > Hello, > > > > Any reason you are not building 4.4.1? Perhaps it's fixed there. > > > > -- > > Sent from the Delta quadrant using Borg technology! > > > > Nux! > > www.nux.ro > > > > ----- Original Message ----- > > > From: zengfh2...@aliyun.com > > > To: "dev" <dev@cloudstack.apache.org> > > > Sent: Friday, 24 October, 2014 15:13:19 > > > Subject: [HELP] cloudstack 4.4.0 src build failed > > > > > 您好: > > > OS: CentOS6.3 x64 > > > cloudstack: apache-cloudstack-4.4.0-src.tar.bz2 > > > > > > As building RPM,excute > > cloudstack-4.4.0/packaging/centos63/package.sh ,the error > > > as followed, please help me to resolve it, Thanks! > > > > > > Failed tests: > > > > > runUploadSslCertBadkeyAlgo(org.apache.cloudstack.network.lb.CertServic > > eTest) > > > > > runUploadSslCertBadkeyPair(org.apache.cloudstack.network.lb.CertServic > > eTest) > > > > > runUploadSslCertBadChain(org.apache.cloudstack.network.lb.CertServiceT > > est) > > > > > runUploadSslCertNoRootCert(org.apache.cloudstack.network.lb.CertServic > > eTest) > > > runUploadSslCertNoChain(org.apache.cloudstack.network.lb.CertService > > > Test) > > > > > > Tests in error: > > > > > > runUploadSslCertWithCAChain(org.apache.cloudstack.network.lb.CertServiceTe > st): > > > Error parsing certificate data Certificate expired or not valid > > > > > > runUploadSslCertSelfSignedNoPassword(org.apache.cloudstack.network.lb.Cert > ServiceTest): > > > Error parsing certificate data Certificate expired or not valid > > > > > > runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.lb.Ce > rtServiceTest): > > > 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/MojoFailureExceptio > > > n > > > [ERROR] > > > [ERROR] After correcting the problems, you can resume the build with > > > the > > command > > > [ERROR] mvn <goals> -rf :cloud-server > > > > > > > > > > > > > > > zengfh2...@aliyun.com > >