[
https://issues.apache.org/jira/browse/CLOUDSTACK-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637865#comment-13637865
]
ZhaiXuepan commented on CLOUDSTACK-2125:
----------------------------------------
I re-execute the "git clone
https://git-wip-us.apache.org/repos/asf/cloudstack.git", and then run "mvn-P
developer clean install",The Apache CloudStack Marvin failed.
Errors Messages:
[INFO] Installing
/home/xuepan/Workspaces/workspace/cloudstack/tools/marvin/pom.xml to
/home/xuepan/dev/apache-maven-3.0.5/repo/org/apache/cloudstack/cloud-marvin/4.2.0-SNAPSHOT/cloud-marvin-4.2.0-SNAPSHOT.pom
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (install) @ cloud-marvin ---
Traceback (most recent call last):
File "setup.py", line 22, in <module>
from distribute_setup import use_setuptools
ImportError: No module named distribute_setup
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack ................................. SUCCESS [3.528s]
[INFO] Apache CloudStack Utils ........................... SUCCESS [15.399s]
[INFO] Apache CloudStack API ............................. SUCCESS [12.443s]
[INFO] Apache CloudStack Framework ....................... SUCCESS [0.097s]
[INFO] cloud-framework-api ............................... SUCCESS [1.962s]
[INFO] Apache CloudStack Framework - REST ................ SUCCESS [4.028s]
[INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.081s]
[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [4.844s]
[INFO] Apache CloudStack Core ............................ SUCCESS [6.387s]
[INFO] Apache CloudStack Agents .......................... SUCCESS [11.668s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.881s]
[INFO] Apache CloudStack Server .......................... SUCCESS [1:57.730s]
[INFO] Apache CloudStack Usage Server .................... SUCCESS [5.472s]
[INFO] Apache XenSource XAPI ............................. SUCCESS [5.343s]
[INFO] Apache CloudStack Framework - IPC ................. SUCCESS [4.064s]
[INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [1.935s]
[INFO] Apache CloudStack Cloud Engine Compute Component .. SUCCESS [1.975s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [4.600s]
[INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [3.660s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [3.868s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [2.622s]
[INFO] Apache CloudStack Engine Storage Image Motion Component SUCCESS [2.599s]
[INFO] Apache CloudStack Engine Storage Backup Component . SUCCESS [2.012s]
[INFO] Apache CloudStack Engine Storage Snapshot Component SUCCESS [4.301s]
[INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.360s]
[INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [2.739s]
[INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SUCCESS [8.087s]
[INFO] Apache CloudStack Engine Storage integration test Component SUCCESS
[3.437s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [0.699s]
[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [1.824s]
[INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [5.552s]
[INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [6.672s]
[INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [4.504s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [2.421s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS [2.165s]
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
SUCCESS [2.337s]
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SUCCESS
[2.461s]
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.184s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [3.145s]
[INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [13.148s]
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [2.885s]
[INFO] Apache CloudStack SystemVM Patches ................ SUCCESS [0.359s]
[INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.079s]
[INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [3.319s]
[INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SUCCESS [3.799s]
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [3.583s]
[INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [2.596s]
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SUCCESS
[2.668s]
[INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [7.556s]
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SUCCESS
[5.558s]
[INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [6.241s]
[INFO] Apache CloudStack Plugin - Storage Allocator Random SUCCESS [2.016s]
[INFO] Apache CloudStack Plugin - User Authenticator LDAP SUCCESS [2.040s]
[INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [1.905s]
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text SUCCESS
[1.984s]
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SUCCESS
[3.522s]
[INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [1.917s]
[INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [0.612s]
[INFO] Apache CloudStack Plugin - Storage Volume solidfire SUCCESS [3.433s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider SUCCESS
[2.067s]
[INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [4.337s]
[INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [3.631s]
[INFO] Apache CloudStack Console Proxy Service ........... SUCCESS [0.069s]
[INFO] Apache CloudStack Console Proxy Plugin ............ SUCCESS [0.069s]
[INFO] Apache CloudStack Console Proxy ................... SUCCESS [8.694s]
[INFO] Apache CloudStack Test ............................ SUCCESS [3.985s]
[INFO] Apache CloudStack Client UI ....................... SUCCESS [10.838s]
[INFO] Apache CloudStack Developer Tools ................. SUCCESS [2.501s]
[INFO] Apache CloudStack Developer Tools ................. SUCCESS [0.058s]
[INFO] Apache CloudStack apidocs ......................... SUCCESS [27.062s]
[INFO] Apache CloudStack marvin .......................... FAILURE [2.735s]
[INFO] Apache CloudStack cloudmonkey cli ................. SKIPPED
[INFO] Apache CloudStack DevCloud ........................ SKIPPED
[INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:48.623s
[INFO] Finished at: Mon Apr 22 17:17:51 CST 2013
[INFO] Final Memory: 51M/326M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
(install) on project cloud-marvin: Command execution failed. Process exited
with an error: 1 (Exit value: 1) -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :cloud-marvin
> MidoNetElementTest Error.
> -------------------------
>
> Key: CLOUDSTACK-2125
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2125
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Network Controller
> Affects Versions: 4.2.0
> Reporter: ZhaiXuepan
> Assignee: Dave Cahill
> Priority: Minor
>
> com.cloud.network.element.MidoNetElementTest.java
> This class is not defined package.
> Modified mvn test fails.
> Errors Message:
> -------------------------------------------------------------------------------
> Test set: com.cloud.network.element.MidoNetElementTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.487 sec <<<
> FAILURE!
> testAddDhcpEntry(com.cloud.network.element.MidoNetElementTest) Time elapsed:
> 0.364 sec <<< ERROR!
> java.lang.ClassCastException:
> com.midokura.midonet.client.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$74ef2a7a
> cannot be cast to com.midokura.midonet.client.resource.Bridge
> at
> com.cloud.network.element.MidoNetElementTest.testAddDhcpEntry(MidoNetElementTest.java:72)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> testImplement(com.cloud.network.element.MidoNetElementTest) Time elapsed:
> 0.062 sec <<< ERROR!
> java.lang.ClassCastException:
> com.midokura.midonet.client.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$74ef2a7a
> cannot be cast to com.midokura.midonet.client.resource.Bridge
> at
> com.cloud.network.element.MidoNetElementTest.testImplement(MidoNetElementTest.java:149)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira