cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Pretorious <pdxpi....@gmail.com>
Subject Apache-Cloudstack 4.11.2.0: Maven Error - java.lang.UnsatisfiedLinkError (com/sun/jna/linux-aarch64/libjnidispatch.so not found)
Date Tue, 21 May 2019 03:58:02 GMT
Hello:

I'm attempting to build/install Cloudstack 4.11.2.0 on a Pine64 Rock64
<https://wiki.pine64.org/index.php/ROCK64_Main_Page> running Armbian 5.75
(Debian-9 [Stretch]):

root@rock64:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.9 (stretch)
Release: 9.9
Codename: stretch


...using the instructions that are available on the Apache Cloudstack
Documentation page
<http://docs.cloudstack.apache.org/en/latest/installguide/buil>. But when I
get to the "Building DEB packages
<http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-deb-packages>"
section and
I execute the command...

root@rock64:/usr/local/src/apache-cloudstack-4.11.2.0-src/plugins/hypervisors/kvm/target/surefire-reports#
mvn -P deps


...the command fails (after 38 minutes on execution time):

Tests in error:

LibvirtComputingResourceTest.testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics:5129->createMemoryStatisticFreeMemory100:5147
ยป UnsatisfiedLink

Tests run: 200, Failures: 0, Errors: 1, Skipped: 0

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS
[ 23.658 s]
[INFO] Apache CloudStack .................................. SUCCESS [
29.960 s]
[INFO] Apache CloudStack Maven Conventions Parent ......... SUCCESS [
10.388 s]
[INFO] Apache CloudStack Framework - Managed Context ...... SUCCESS [
19.087 s]
[INFO] Apache CloudStack Framework ........................ SUCCESS [
 0.581 s]
[INFO] Apache CloudStack Framework - Certificate Authority  SUCCESS [
 4.999 s]
[INFO] Apache CloudStack Utils ............................ SUCCESS [02:12
min]
[INFO] Apache CloudStack Framework - Database ............. SUCCESS [
42.571 s]
[INFO] Apache CloudStack Framework - Configuration ........ SUCCESS [
19.501 s]
[INFO] Apache CloudStack Framework - Direct Download to Primary Storage
SUCCESS [  4.300 s]
[INFO] Apache CloudStack API .............................. SUCCESS [01:25
min]
[INFO] Apache CloudStack Framework - REST ................. SUCCESS [
15.021 s]
[INFO] Apache CloudStack Framework - IPC .................. SUCCESS [
20.842 s]
[INFO] Apache CloudStack Cloud Engine ..................... SUCCESS [
 0.261 s]
[INFO] Apache CloudStack Cloud Engine API ................. SUCCESS [
21.545 s]
[INFO] Apache CloudStack Framework - Security ............. SUCCESS [
11.967 s]
[INFO] Apache CloudStack Core ............................. SUCCESS [01:51
min]
[INFO] Apache CloudStack Agents ........................... SUCCESS [
34.383 s]
[INFO] Apache CloudStack Framework - Clustering ........... SUCCESS [
22.559 s]
[INFO] Apache CloudStack Framework - Event Notification ... SUCCESS [
 7.264 s]
[INFO] Apache CloudStack Cloud Engine Schema Component .... SUCCESS [01:58
min]
[INFO] Apache CloudStack Framework - Jobs ................. SUCCESS [
23.874 s]
[INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [
15.781 s]
[INFO] Apache CloudStack Agent Management Servers Load Balancer SUCCESS [
 3.895 s]
[INFO] Apache CloudStack Framework - Storage Config Drive Component SUCCESS
[01:48 min]
[INFO] Apache CloudStack Server ........................... SUCCESS [06:42
min]
[INFO] Apache CloudStack Framework - Quota ................ SUCCESS [
30.627 s]
[INFO] Apache CloudStack Usage Server ..................... SUCCESS [
33.192 s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [
47.768 s]
[INFO] Apache CloudStack Cloud Services ................... SUCCESS [
 0.232 s]
[INFO] Apache CloudStack Secondary Storage ................ SUCCESS [
 2.343 s]
[INFO] Apache CloudStack Secondary Storage Service ........ SUCCESS [01:13
min]
[INFO] Apache CloudStack Engine Storage Component ......... SUCCESS [
33.673 s]
[INFO] Apache CloudStack Engine Storage Image Component ... SUCCESS [
15.701 s]
[INFO] Apache CloudStack Engine Storage Volume Component .. SUCCESS [
23.089 s]
[INFO] Apache CloudStack Engine Storage Data Motion Component SUCCESS [
29.066 s]
[INFO] Apache CloudStack Engine Storage Cache Component ... SUCCESS [
11.275 s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [
39.916 s]
[INFO] Apache CloudStack Cloud Engine API ................. SUCCESS [
 7.367 s]
[INFO] Apache CloudStack Cloud Engine Service ............. SUCCESS [
18.709 s]
[INFO] Apache CloudStack Plugin POM ....................... SUCCESS [
 3.658 s]
[INFO] Apache CloudStack Plugin - API Rate Limit .......... SUCCESS [
23.948 s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider SUCCESS [
19.529 s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SUCCESS
[ 27.361 s]
[INFO] Apache CloudStack Plugin - API SolidFire Integration Testing SUCCESS
[ 11.435 s]
[INFO] Apache CloudStack Plugin - API Discovery ........... SUCCESS [
20.049 s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based ... SUCCESS [
 9.181 s]
[INFO] Apache CloudStack Plugin - ACL Dynamic Role Based .. SUCCESS [
17.788 s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS [
 9.320 s]
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor SUCCESS [
13.028 s]
[INFO] Apache CloudStack Plugin - Inbuilt Root Certificate Authority
SUCCESS [ 35.294 s]
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
SUCCESS [  8.795 s]
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
SUCCESS [  9.395 s]
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner SUCCESS [
29.496 s]
[INFO] Apache CloudStack Plugin - Skip Heurestics Planner . SUCCESS [
 9.209 s]
[INFO] Apache CloudStack Plugin - Host Allocator Random ... SUCCESS [
 9.302 s]
[INFO] Apache CloudStack Plugin - Dedicated Resources ..... SUCCESS [
28.545 s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM ..... SUCCESS [
15.654 s]
[INFO] Apache CloudStack Plugin - Open vSwitch ............ SUCCESS [
16.032 s]
[INFO] Apache CloudStack Plugin - *Hypervisor XenServer .... SUCCESS* [02:47
min]
[INFO] Apache CloudStack Plugin - *Hypervisor KVM .......... FAILURE* [01:18
min]
...<SNIP>...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 37:18 min
[INFO] Finished at: 2019-05-19T00:43:15+00:00
[INFO] Final Memory: 88M/422M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "deps" could not be activated because it
does not exist.
[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.


*First:* What caused the error?

The recommended reading...

[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


...didn't really shed any light on the failure. And the report that
contained the error message wasn't anything that I could understand:

root@rock64:/usr/local/src/apache-cloudstack-4.11.2.0-
src/plugins/hypervisors/kvm/target/surefire-reports# cat
*com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.txt*
-------------------------------------------------------------------------------
Test set: com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest
-------------------------------------------------------------------------------
Tests run: 152, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.094 sec
<<< FAILURE! - in
com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest
testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
 Time elapsed: 0.072 sec  <<< ERROR!
java.lang.UnsatisfiedLinkError: Native library
(com/sun/jna/linux-aarch64/libjnidispatch.so) not found in resource path
([file:/usr/local/src/apache-cloudstack-4.11.2.0-src/plugins/hypervisors/kvm/target/surefire/surefirebooter1769709325062728267.jar])
at
com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:776)
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:5147)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testMemoryFreeInKBsDomainReturningOfSomeMemoryStatistics(LibvirtComputingResourceTest.java:5129)


*Second:* I'm only planning on managing a cluster of XenServer hosts (i.e.,
A XenServer resource pool). Can I skip the *other* hypervisor plugins?
e.g.,

   - Hypervisor KVM
   - Hypervisor Baremetal
   - Hypervisor UCS
   - Hypervisor Hyper-V
   - Hypervisor OracleVM3

How would I do *that*?

TIA,
Eric Pretorious
Portland, Oregon

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message