OSDir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't compile the git clone cloudstack on CentOS 7, but only compiles on CentOS 6


If you only need to build the RPMs you can install Docker on your machine
and use the following. Note that you can run the following guide anywhere,
it means you don't need to *be* on a CentOS7 to build a CentOS7 RPMs,
you can even run it on your, let's say, Macbook or Windows laptop.

Follow the instructions here:
https://github.com/khos2ow/cloudstack-rpm-builder#build-rpm-packages

And if you ever wanted to build DEB packages, you can follow the guide
here: https://github.com/khos2ow/cloudstack-deb-builder

Cheers

Khosrow Moossavi

Cloud Infrastructure Developer

t 514.447.3456

<https://goo.gl/NYZ8KK>




On Wed, Apr 25, 2018 at 10:49 PM Mukarram Syed <mukarram.syed@xxxxxxx>
wrote:

> Thanks for the help.
>
> For the RECORD.  I did all this to get it to work:
> Hope this would help someone who gets stuck like I did!
>
> Cloned the correct branch:
>
> git clone -b 4.11 https://github.com/apache/cloudstack.git
>
> I got the good branch and my java version and centos release:
>
> [root@cloudst02-corp cloudstack]# git branch
> * 4.11
>
> [root@cloudst02-corp cloudstack]# java -version
> openjdk version "1.8.0_161"
> OpenJDK Runtime Environment (build 1.8.0_161-b14)
> OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
>
> [root@cloudst02-corp cloudstack]# cat /etc/centos-release
> CentOS Linux release 7.4.1708 (Core)
>
> Getting Error on Cloudstack Utils:
>
> [root@cloudst02-corp cloudstack]# mvn clean install -P systemvm,developer
> ....
> ....
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-surefire-plugin:2.18.1:test (default-test) on project cloud-utils:
> There are test failures.
> [ERROR]
> [ERROR] Please refer to /opt/cloudstack/utils/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-utils
>
> Ran this again:
>
> mvn clean install -P systemvm,developer -rf :cloud-utils
>
> Got more errors:
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
> (package) on project cloud-apidoc: Command execution failed. Process exited
> with an error: 2 (Exit value: 2) -> [Help 1]
>
> Ran this again:
>
> mvn clean install -P systemvm,developer -rf :cloud-apidoc
>
> Needed  to install bzip2
>
> yum -y install bzip2
>
> And Ran this for the last time:
>
> mvn clean install -P systemvm,developer -rf :cloud-apidoc
>
> That worked!
>
> NOW BUILDING RPM:
>
>  yum -y install rpm-build ws-commons-util gcc glibc-devel MySQL-python
> mysql-connector-python
>
> INSTALL MVN 3.0 because 3.0.5 does not compile (Not sure if this was even
> necessary):
>
> Downloaded apache-maven-3.0-bin.tar.gz from somewhere!
>
> Unpacked it in /usr/local/src:
>
> Comment out in ~/.bashrc, remove /usr/local/maven/bin and source it:
> ##export M2_HOME=/usr/local/maven
> export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/
> sbin:/usr/bin:/root/bin
>
> source ~/.bashrc
>
> Remove the /usr/local/maven link:
> cd /usr/local
> rm maven
>
> Link /usr/local/src/apache-maven-3.0/bin/mvn to /usr/local/bin/mvn
>
> ln -s /usr/local/src/apache-maven-3.0/bin/mvn /usr/local/bin/mvn
>
> Now run the package.sh command:
>
>  ./package.sh -p oss -d centos7 -r 1
>
> Again got this error:
> [root@cloudst02-corp packaging]# ./package.sh --pack oss --distribution
> centos7
> ./package.sh: unrecognized option '--distribution'
>  --pack:simulator:distribution:release oss -- centos7
> Error: Could not find or load main class org.codehaus.plexus.
> classworlds.launcher.Launcher
> Preparing to package Apache CloudStack
> . preparing source tarball
> . executing rpmbuild
> cp: cannot stat ‘/cloud.spec’: No such file or directory
> error: Macro %_ver has empty body
> error: Macro %_ver has empty body
> error: File /opt/cloudstack/dist/rpmbuild/SOURCES/cloudstack-%{_ver}.tgz:
> No such file or directory
> RPM Build Failed
>
> Running mvn..:
>
> [root@cloudst02-corp packaging]# /usr/local/bin/mvn
> org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate
> -Dexpression=project.version
> Warning: JAVA_HOME environment variable is not set.
> Error: Could not find or load main class org.codehaus.plexus.
> classworlds.launcher.Launcher
>
> Set the ENV Variables:
>
> export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.
> el7_4.x86_64/
> export M2_HOME=/usr/local/src/apache-maven-3.0
>
> Edited the following cloud.spec file and commented out the line: maven =>
> 3.0.0
>
> /opt/cloudstack/packaging/centos7
>
> Edited the cloud.spec file.
> Commented out this line like so:
>
> #BuildRequires: maven => 3.0.0
>
> Ran this command again:
>
> ./package.sh -p oss -d centos7 -r 1
>
> And after sometime got the RPMS!
>
> [root@cloudst02-corp x86_64]# pwd
> /opt/cloudstack/dist/rpmbuild/RPMS/x86_64
>
> [root@cloudst02-corp x86_64]# tree
> .
> ├── cloudstack-agent-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
> ├── cloudstack-baremetal-agent-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
> ├── cloudstack-cli-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
> ├── cloudstack-common-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
> ├── cloudstack-integration-tests-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
> ├── cloudstack-management-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
> ├── cloudstack-marvin-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
> └── cloudstack-usage-4.11.1.0-SNAPSHOT1.el7.centos.x86_64.rpm
>
> # mukarram
>
> On Wed, Apr 25, 2018 at 1:31 PM, Rafael Weingärtner <
> rafaelweingartner@xxxxxxxxx> wrote:
>
> > What is the last commit of this branch?
> >
> > > git log -1
> > >
> > Is it the last commit that we have in 4.11 branch in our Git remote
> > repository?
> >
> > How are you generating the RPMs?
> >
> > > cd cloudstack/packaging
> > >
> > ./package.sh -p oss -d centos63 -r 1
> > >
> > or
> >
> > > ./package.sh -p oss -d centos7 -r 1
> > >
> >
> > On Wed, Apr 25, 2018 at 5:27 PM, mukarram.syed@xxxxxxx <
> > mukarram.syed@xxxxxxx> wrote:
> >
> > > 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.LibvirtUtilitiesHe
> > lperTest
> > > 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/jna6983754685
> > 744795560.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.loadNativeDispatchLibraryFromC
> > > lasspath(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.LibvirtComputingResourceTe
> > st.
> > > createMemoryStatisticFreeMemory100(LibvirtComputingResourceT
> > est.java:5145)
> > >         at com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTe
> > st.
> > > 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.testMemoryFreeInKBsDomainRetur
> > >
> ningOfSomeMemoryStatistics: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 <
> rafaelweingartner@xxxxxxxxx>
> > > wrote:
> > > > you need to checkout the 4.11 branch.
> > > >
> > > > git checkout 4.11
> > > > >
> > > >
> > > > On Wed, Apr 25, 2018 at 4:51 PM, mukarram.syed@xxxxxxx <
> > > > mukarram.syed@xxxxxxx> 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
> > > >
> > >
> >
> >
> >
> > --
> > Rafael Weingärtner
> >
>