Thank you for responding... I downloaded 4.11 branch and compiled on CentOS 7....this are my errors.
------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.cloud.hypervisor.kvm.resource.wrapper.LibvirtUtilitiesHelperTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec - in com.cloud.hypervisor.kvm.resource.wrapper.LibvirtUtilitiesHelperTest Running com.cloud.hypervisor.kvm.resource.wrapper.LibvirtNetworkElementCommandWrapperTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec - in com.cloud.hypervisor.kvm.resource.wrapper.LibvirtNetworkElementCommandWrapperTest Running com.cloud.hypervisor.kvm.resource.wrapper.LibvirtMigrateCommandWrapperTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in com.cloud.hypervisor.kvm.resource.wrapper.LibvirtMigrateCommandWrapperTest Running com.cloud.hypervisor.kvm.resource.wrapper.LibvirtReplugNicCommandWrapperTest log4j:WARN No appenders could be found for logger (com.cloud.hypervisor.kvm.resource.OvsVifDriver). 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: 1.062 sec - in com.cloud.hypervisor.kvm.resource.wrapper.LibvirtReplugNicCommandWrapperTest Running com.cloud.hypervisor.kvm.resource.LibvirtSecretDefTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in com.cloud.hypervisor.kvm.resource.LibvirtSecretDefTest Running com.cloud.hypervisor.kvm.resource.LibvirtDomainXMLParserTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in com.cloud.hypervisor.kvm.resource.LibvirtDomainXMLParserTest Running com.cloud.hypervisor.kvm.resource.LibvirtVMDefTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in com.cloud.hypervisor.kvm.resource.LibvirtVMDefTest Running com.cloud.hypervisor.kvm.resource.LibvirtVifDriverTest log4j:WARN No appenders could be found for logger (com.cloud.hypervisor.kvm.resource.LibvirtComputingResource). 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: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in com.cloud.hypervisor.kvm.resource.LibvirtVifDriverTest Running com.cloud.hypervisor.kvm.resource.LibvirtStoragePoolDefTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in com.cloud.hypervisor.kvm.resource.LibvirtStoragePoolDefTest Running com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest Tests run: 150, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.174 sec <<< FAILURE! - in com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest) Time elapsed: 0.006 sec <<< ERROR! java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna6983754685744795560.tmp: /tmp/jna-3506402/jna6983754685744795560.tmp: failed to map segment from shared object: Operation not permitted at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:761) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736) at com.sun.jna.Native.<clinit>(Native.java:131) at com.sun.jna.Pointer.<clinit>(Pointer.java:42) at com.sun.jna.Structure.<clinit>(Structure.java:1933) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.createMemoryStatisticFreeMemory100(LibvirtComputingResourceTest.java:5145) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics(LibvirtComputingResourceTest.java:5127) Running com.cloud.hypervisor.kvm.storage.KVMPhysicalDiskTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in com.cloud.hypervisor.kvm.storage.KVMPhysicalDiskTest Running com.cloud.hypervisor.kvm.storage.KVMStorageProcessorTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in com.cloud.hypervisor.kvm.storage.KVMStorageProcessorTest Running com.cloud.hypervisor.kvm.storage.LibvirtStoragePoolTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in com.cloud.hypervisor.kvm.storage.LibvirtStoragePoolTest Running org.apache.cloudstack.utils.linux.MemStatTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.cloudstack.utils.linux.MemStatTest Running org.apache.cloudstack.kvm.ha.KVMHostHATest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in org.apache.cloudstack.kvm.ha.KVMHostHATest Results : Tests in error: LibvirtComputingResourceTest.testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics:5127->createMemoryStatisticFreeMemory100:5145 » UnsatisfiedLink Tests run: 198, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS [0.864s] [INFO] Apache CloudStack ................................. SUCCESS [0.725s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [3.313s] [INFO] Apache CloudStack Framework ....................... SUCCESS [0.040s] [INFO] Apache CloudStack Framework - Certificate Authority SUCCESS [0.823s] [INFO] Apache CloudStack Utils ........................... SUCCESS [38.589s] [INFO] Apache CloudStack Framework - Database ............ SUCCESS [4.987s] [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [2.890s] [INFO] Apache CloudStack Framework - Direct Download to Primary Storage SUCCESS [0.703s] [INFO] Apache CloudStack API ............................. SUCCESS [10.635s] [INFO] Apache CloudStack Framework - REST ................ SUCCESS [2.079s] [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [3.041s] [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.026s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [3.124s] [INFO] Apache CloudStack Framework - Security ............ SUCCESS [1.469s] [INFO] Apache CloudStack Core ............................ SUCCESS [14.573s] [INFO] Apache CloudStack Agents .......................... SUCCESS [4.818s] [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [3.360s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.198s] [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [15.714s] [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [3.282s] [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [1.938s] [INFO] Apache CloudStack Agent Management Servers Load Balancer SUCCESS [0.735s] [INFO] Apache CloudStack Server .......................... SUCCESS [1:08.228s] [INFO] Apache CloudStack Framework - Quota ............... SUCCESS [4.482s] [INFO] Apache CloudStack Usage Server .................... SUCCESS [4.779s] [INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [6.134s] [INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.024s] [INFO] Apache CloudStack Secondary Storage ............... SUCCESS [0.311s] [INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [10.697s] [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [4.731s] [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [2.123s] [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [3.250s] [INFO] Apache CloudStack Engine Storage Data Motion Component SUCCESS [4.252s] [INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [1.661s] [INFO] Apache CloudStack Engine Storage Snapshot Component SUCCESS [6.408s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [1.158s] [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [4.291s] [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.322s] [INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [4.916s] [INFO] Apache CloudStack Plugin - Storage Volume default provider SUCCESS [2.863s] [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SUCCESS [3.469s] [INFO] Apache CloudStack Plugin - API SolidFire Integration Testing SUCCESS [1.661s] [INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [3.187s] [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [1.516s] [INFO] Apache CloudStack Plugin - ACL Dynamic Role Based . SUCCESS [3.017s] [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS [1.480s] [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SUCCESS [1.606s] [INFO] Apache CloudStack Plugin - Inbuilt Root Certificate Authority SUCCESS [4.922s] [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SUCCESS [1.373s] [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SUCCESS [1.388s] [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SUCCESS [4.660s] [INFO] Apache CloudStack Plugin - Skip Heurestics Planner SUCCESS [1.325s] [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [1.577s] [INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [5.080s] [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [2.308s] [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [2.446s] [INFO] Apache CloudStack Plugin - Hypervisor XenServer ... SUCCESS [44.542s] [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... FAILURE [10.404s] [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SKIPPED [INFO] Apache CloudStack Plugin - In Memory Event Bus .... SKIPPED [INFO] Apache CloudStack Plugin - Kafka 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 - Hypervisor OracleVM3 ... SKIPPED [INFO] Apache CloudStack Plugin - Metrics ................ 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 - Nuage VSP .............. SKIPPED [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SKIPPED [INFO] Apache CloudStack Plugin - Network Brocade VCS .... SKIPPED [INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SKIPPED [INFO] Apache CloudStack Plugin - Network Opendaylight ... SKIPPED [INFO] Apache CloudStack Plugin - Power Management Driver ipmitool SKIPPED [INFO] Apache CloudStack Plugin - Power Management Driver nested-cloudstack 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 PBKDF2-SHA-256 SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator Plain Text SKIPPED [INFO] Apache CloudStack Plugin - User Authenticator SAML2 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 provider 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 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 Plugin - GloboDNS ............... SKIPPED [INFO] Apache CloudStack Plugin - Quota Service .......... SKIPPED [INFO] Apache CloudStack Plugin - Cloudian Connector ..... SKIPPED [INFO] Apache CloudStack Plugin - Prometheus Exporter .... 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 DevCloud4 ....................... SKIPPED [INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5:46.915s [INFO] Finished at: Wed Apr 25 19:57:59 GMT 2018 [INFO] Final Memory: 80M/401M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project cloud-plugin-hypervisor-kvm: There are test failures. [ERROR] [ERROR] Please refer to /opt/cloudstack/cloudstack/plugins/hypervisors/kvm/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-plugin-hypervisor-kvm On 2018/04/25 19:52:44, Rafael Weingärtner <[email protected]> wrote: > you need to checkout the 4.11 branch. > > git checkout 4.11 > > > > On Wed, Apr 25, 2018 at 4:51 PM, [email protected] < > [email protected]> wrote: > > > Hi, > > I git clone'd "https://github.com/apache/cloudstack.git" on CentOS 7.4 > > and tried to compile it using maven, but it didn't compile (sorry I don't > > have the errors from it). > > However, I did that same thing on CentOS 6.8 and I could successfully > > build the packages and install them: > > > > /opt/cloudstack/dist/rpmbuild/RPMS/x86_64/ > > ├── cloudstack-agent-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > ├── cloudstack-baremetal-agent-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > ├── cloudstack-cli-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > ├── cloudstack-common-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > ├── cloudstack-integration-tests-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > ├── cloudstack-management-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > ├── cloudstack-marvin-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > └── cloudstack-usage-4.12.0.0-SNAPSHOT.el6.x86_64.rpm > > > > Shouldn't it be 4.11.1.0 since this is the next version? > > > > Has anyone tried to compile this on CentOS 7? > > > > Thanks > > # mukarram > > > > > > -- > Rafael Weingärtner >
