Are you trying to compile on 4.3 branch? What is the mvn command you used?
did you try a mvn clean first? If you are not trying to run tests, you can add -DskipTests=true to the mvn command ~Rajani On 27-Mar-2014, at 8:46 pm, heidcloud <heidso...@gmail.com> wrote: > erro: > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running com.cloud.network.element.MidoNetElementTest > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.405 sec > <<< FA > ILURE! > > Results : > > Tests in error: > testAddDhcpEntry(com.cloud.network.element.MidoNetElementTest): > org.midonet.cl > ient.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$78fa155 cannot be > cast t > o org.midonet.client.resource.Bridge > testImplement(com.cloud.network.element.MidoNetElementTest): > org.midonet.clien > t.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$78fa155 cannot be cast > to o > rg.midonet.client.resource.Bridge > > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache CloudStack ................................. SUCCESS [5.619s] > [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [0.062s] > [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [1.505s] > [INFO] Apache CloudStack Utils ........................... SUCCESS > [1:24.277s] > [INFO] Apache CloudStack Framework ....................... SUCCESS [0.051s] > [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.282s] > [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [2.018s] > [INFO] Apache CloudStack API ............................. SUCCESS [6.097s] > [INFO] Apache CloudStack Framework - REST ................ SUCCESS [0.947s] > [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [2.366s] > [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.046s] > [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [3.058s] > [INFO] Apache CloudStack Core ............................ SUCCESS [3.500s] > [INFO] Apache CloudStack Agents .......................... SUCCESS [3.063s] > [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [1.602s] > [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [1.386s] > [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [7.156s] > [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.312s] > [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS > [1.699s] > [INFO] Apache CloudStack Server .......................... SUCCESS [22.904s] > [INFO] Apache CloudStack Usage Server .................... SUCCESS [2.135s] > [INFO] Apache XenSource XAPI ............................. SUCCESS [1.552s] > [INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS > [1.051s] > [INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.046s] > [INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [0.882s] > [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [4.813s] > [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [1.267s] > [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [0.970s] > [INFO] Apache CloudStack Engine Storage Data Motion Component SUCCESS > [1.157s] > [INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [1.449s] > [INFO] Apache CloudStack Engine Storage Snapshot Component SUCCESS [4.388s] > [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [1.983s] > [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [5.417s] > [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.368s] > [INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [18.344s] > [INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [1.926s] > [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [2.897s] > [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS > [4.893s] > > [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SUCCESS > [1.299s > ] > [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner > SUCC > ESS [3.179s] > [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner > SUCCESS [1 > .038s] > [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SUCCESS > [4.049s] > [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [1.011s] > [INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [2.543s] > [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [1.067s] > [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [1.238s] > [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SUCCESS [4.189s] > [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [5.415s] > [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [1.025s] > [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [7.412s] > [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [1.187s] > [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SUCCESS [1.219s] > [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SUCCESS > [1.514s > ] > [INFO] Apache CloudStack Plugin - Network Internal Load Balancer SUCCESS > [5.061 > s] > [INFO] Apache CloudStack Plugin - Network Juniper Contrail SUCCESS [3.035s] > [INFO] Apache CloudStack Plugin - Palo Alto .............. SUCCESS [2.934s] > [INFO] Apache CloudStack Checkstyle Configuration ........ SUCCESS [0.671s] > [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [4.291s] > [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment > SUCCESS [2. > 216s] > [INFO] Apache CloudStack Plugin - Midokura Midonet ....... FAILURE [3.173s] > [INFO] Apache Cloudstack Plugin - Stratosphere SSP ....... 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 SolidFire Provider SKIPPED > [INFO] Apache CloudStack Plugin - Storage Volume default 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 Life Cycle ... SKIPPED > [INFO] cloud-framework-spring-module ..................... SKIPPED > [INFO] Apache CloudStack Test ............................ SKIPPED > [INFO] Apache CloudStack Client UI ....................... SKIPPED > [INFO] Apache CloudStack Console Proxy ................... SKIPPED > [INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED > [INFO] Apache CloudStack Console Proxy - RDP Client ...... SKIPPED > [INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4:26.383s > [INFO] Finished at: Thu Mar 27 22:39:26 CST 2014 > [INFO] Final Memory: 50M/220M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2. > 12:test (default-test) on project cloud-plugin-network-midonet: There are > test f > ailures. > [ERROR] > [ERROR] Please refer to > D:\Documents\GitHub\cloudstack\plugins\network-elements\ > midonet\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 > swit > ch. > [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 rea > d the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc > eption > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > > [ERROR] mvn <goals> -rf :cloud-plugin-network-midonet > D:\Documents\GitHub\cloudstack> > D:\Documents\GitHub\cloudstack>cd cloudstack > </project>es>>s>vmware-base</module>odule > -->d.cfg</marvin.config>ecificationEnt > > > > > > > > > > > > > > > > > > > * Cl**o**ud A**rc**hite**ct* > *https://github.com/heidsoft <https://github.com/heidsoft>* > *http://cn.linkedin.com/in/heidsoft <http://cn.linkedin.com/in/heidsoft>* > *Research: Cloud computing (cloud security), Big Data (data analysis)* > *Key Learn**ing**: **Linux / C / C + + / JAVA / Python/ R*