You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Rohit Yadav (JIRA)" <ji...@apache.org> on 2013/02/21 09:54:14 UTC

[jira] [Commented] (CLOUDSTACK-1354) Could not pass the test phase when building nvp plugin

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583018#comment-13583018 ] 

Rohit Yadav commented on CLOUDSTACK-1354:
-----------------------------------------

I too got it, assigning to Hugo as it's his baby.
                
> Could not pass the test phase when building nvp plugin
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-1354
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1354
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Devices
>    Affects Versions: 4.2.0
>         Environment: osx 10.8.2
> apache-maven-3.0.4 
>            Reporter: gavin lee
>              Labels: build-failure, master
>             Fix For: 4.2.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Pull the latest code on master and build:
> bash$ mvn clean install -P developer,systemvm
> results :
> Failed tests:   testImplement(com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest)
>   testImplementWithCidr(com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest)
>   testImplementURIException(com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest): (..)
> Tests run: 72, Failures: 3, Errors: 0, Skipped: 0
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-network-nvp: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /Users/gavin_lee/projects/cs-apache/incubator-cloudstack/plugins/network-elements/nicira-nvp/target/surefire-reports for the individual test results.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloud-plugin-network-nvp: There are test failures.
> Please refer to /Users/gavin_lee/projects/cs-apache/incubator-cloudstack/plugins/network-elements/nicira-nvp/target/surefire-reports for the individual test results.
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
> For the above 3 failures, maven surefire plugin reports as following:
> testImplement(com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest)  Time elapsed: 0.052 sec  <<< FAILURE!
> java.lang.AssertionError
> 	at org.junit.Assert.fail(Assert.java:92)
> 	at org.junit.Assert.assertTrue(Assert.java:43)
> 	at org.junit.Assert.assertTrue(Assert.java:54)
> 	at com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest.testImplement(NiciraNvpGuestNetworkGuruTest.java:282)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> testImplementWithCidr(com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest)  Time elapsed: 0 sec  <<< FAILURE!
> java.lang.AssertionError
> 	at org.junit.Assert.fail(Assert.java:92)
> 	at org.junit.Assert.assertTrue(Assert.java:43)
> 	at org.junit.Assert.assertTrue(Assert.java:54)
> 	at com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest.testImplementWithCidr(NiciraNvpGuestNetworkGuruTest.java:339)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> testImplementURIException(com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest)  Time elapsed: 0.011 sec  <<< FAILURE!
> Wanted but not invoked:
> agentManager.easySend(42, <any>);
> -> at com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest.testImplementURIException(NiciraNvpGuestNetworkGuruTest.java:396)
> Actually, there were zero interactions with this mock.
> 	at com.cloud.network.guru.NiciraNvpGuestNetworkGuruTest.testImplementURIException(NiciraNvpGuestNetworkGuruTest.java:396)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

--
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