Now that my OWM3 test failures are fixed I figured I would also alert the world 
to failures I am seeing on the midonet tests.  Again I am building in Cygwin on 
a windows 7 system.  I am attaching a text file of the errors I am seeing.

Roger 
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Plugin - Midokura Midonet 4.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.libvirt:libvirt:jar:0.5.1 is missing, no dependency 
information available
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-plugin-network-midonet ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-network-midonet ---
[WARNING] Missing POM for org.libvirt:libvirt:jar:0.5.1
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-network-midonet ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-plugin-network-midonet ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-network-midonet ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
C:\workspaces\Cloudstack\WS1\cloudstack\plugins\network-elements\midonet\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-plugin-network-midonet ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
cloud-plugin-network-midonet ---
[INFO] Surefire report directory: 
C:\workspaces\Cloudstack\WS1\cloudstack\plugins\network-elements\midonet\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.cloud.network.element.MidoNetElementTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.531 sec <<< 
FAILURE! - in com.cloud.network.element.MidoNetElementTest
testAddDhcpEntry(com.cloud.network.element.MidoNetElementTest)  Time elapsed: 
0.422 sec  <<< ERROR!
java.lang.ClassCastException: 
org.midonet.client.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$64778f94 
cannot be cast to org.midonet.client.resource.Bridge
        at 
com.cloud.network.element.MidoNetElementTest.testAddDhcpEntry(MidoNetElementTest.java:83)

testImplement(com.cloud.network.element.MidoNetElementTest)  Time elapsed: 
0.062 sec  <<< ERROR!
java.lang.ClassCastException: 
org.midonet.client.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$64778f94 
cannot be cast to org.midonet.client.resource.Bridge
        at 
com.cloud.network.element.MidoNetElementTest.testImplement(MidoNetElementTest.java:168)


Results :

Tests in error: 
  MidoNetElementTest.testAddDhcpEntry:83 ClassCast 
org.midonet.client.resource.R...
  MidoNetElementTest.testImplement:168 ClassCast 
org.midonet.client.resource.Res...

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.313 s
[INFO] Finished at: 2015-03-27T10:30:03-04:00
[INFO] Final Memory: 26M/148M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project cloud-plugin-network-midonet: There are test failures.
[ERROR] 
[ERROR] Please refer to 
C:\workspaces\Cloudstack\WS1\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 
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

Reply via email to