cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject Re: Test Failures
Date Thu, 24 Jul 2014 12:04:39 GMT
Priyanka,

I just ran this on a windows machine in cygwin with latest master. It
passed the server package without problems. I am afraid you are on
your own at this point unless you can give more data.

On Thu, Jul 24, 2014 at 11:23 AM, Daan Hoogland <daan.hoogland@gmail.com> wrote:
> on the latest master?
>
> I run on a mac and it passes. I'll give it a try on windows later.
>
> On Thu, Jul 24, 2014 at 11:21 AM, Priyanka Deepala
> <priyanka.deepala18@gmail.com> wrote:
>> Ya I run it several times but it is displaying the same error.I'm using
>> Cygwin terminal in Windows7
>>
>>
>> On Thu, Jul 24, 2014 at 2:22 PM, Daan Hoogland <daan.hoogland@gmail.com>
>> wrote:
>>
>>> You can cut and paste it to the java stacktrace console in eclipse to
>>> query the stack for the origin of the error. To determine whether it
>>> is an error in the test or in the tested code you would need to have
>>> your version of the checked out code.
>>>
>>> Did you run it repeatedly and bumped into the same error?
>>> Are you running on master?
>>>
>>>
>>>
>>> On Thu, Jul 24, 2014 at 9:02 AM, Priyanka Deepala
>>> <priyanka.deepala18@gmail.com> wrote:
>>> > ya I got the file and xml document also. The content in the file is
>>> >
>>> -------------------------------------------------------------------------------
>>> > Test set:
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest
>>> >
>>> -------------------------------------------------------------------------------
>>> > Tests run: 20, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.027
>>> sec
>>> > <<< FAILURE!
>>> >
>>> testFirewallRulesCommand(com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest)
>>> >  Time elapsed: 0.01 sec  <<< FAILURE!
>>> > org.junit.ComparisonFailure: expected:<...1.2/24:,64.10.10.10:
>>> > [reverted:0:0:0:,64.10.10.10:TCP:22:80:10.10.1.1/24-10.10.1.2/24]:,>
but
>>> > was:<...1.2/24:,64.10.10.10:[TCP:22:80:10.10.1.1/24-10.10.1.2/24
>>> > :,64.10.10.10:reverted:0:0:0]:,>
>>> > at org.junit.Assert.assertEquals(Assert.java:115)
>>> > at org.junit.Assert.assertEquals(Assert.java:144)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.verifyArgs(VirtualRoutingResourceTest.java:670)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.verifyCommand(VirtualRoutingResourceTest.java:178)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.executeInVR(VirtualRoutingResourceTest.java:102)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.applyConfigToVR(VirtualRoutingResource.java:164)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.applyConfigToVR(VirtualRoutingResource.java:155)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.applyConfig(VirtualRoutingResource.java:179)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.executeRequest(VirtualRoutingResource.java:125)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.testFirewallRulesCommand(VirtualRoutingResourceTest.java:648)
>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > at
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> > at
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> > at java.lang.reflect.Method.invoke(Method.java:483)
>>> > at
>>> >
>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>>> > at
>>> >
>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>>> > at
>>> >
>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>>> > at
>>> >
>>> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>>> > at
>>> >
>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
>>> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
>>> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
>>> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
>>> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
>>> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
>>> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
>>> > 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:62)
>>> > at
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> > at java.lang.reflect.Method.invoke(Method.java:483)
>>> > 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)
>>> >
>>> testAggregationCommands(com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest)
>>> >  Time elapsed: 0.018 sec  <<< FAILURE!
>>> > org.junit.ComparisonFailure: expected:<...1.2/24:,64.10.10.10:
>>> > [reverted:0:0:0:,64.10.10.10:TCP:22:80:10.10.1.1/24-10.10.1.2/24]:,
>>> > </script>
>>> > <script...> but was:<...1.2/24:,64.10.10.10:[TCP:22:80:
>>> > 10.10.1.1/24-10.10.1.2/24:,64.10.10.10:reverted:0:0:0]:,
>>> > </script>
>>> > <script...>
>>> > at org.junit.Assert.assertEquals(Assert.java:115)
>>> > at org.junit.Assert.assertEquals(Assert.java:144)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.verifyFile(VirtualRoutingResourceTest.java:1003)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.verifyFile(VirtualRoutingResourceTest.java:148)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.createFileInVR(VirtualRoutingResourceTest.java:109)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.applyConfigToVR(VirtualRoutingResource.java:161)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.applyConfigToVR(VirtualRoutingResource.java:155)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.execute(VirtualRoutingResource.java:365)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.executeRequest(VirtualRoutingResource.java:109)
>>> > at
>>> >
>>> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest.testAggregationCommands(VirtualRoutingResourceTest.java:988)
>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > at
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> > at
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> > at java.lang.reflect.Method.invoke(Method.java:483)
>>> > at
>>> >
>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>>> > at
>>> >
>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>>> > at
>>> >
>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>>> > at
>>> >
>>> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>>> > at
>>> >
>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
>>> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
>>> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
>>> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
>>> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
>>> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
>>> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>>> > at
>>> >
>>> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
>>> > 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:62)
>>> > at
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> > at java.lang.reflect.Method.invoke(Method.java:483)
>>> > 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)
>>> >
>>> >
>>> >
>>> > On Thu, Jul 24, 2014 at 12:21 PM, Daan Hoogland <daan.hoogland@gmail.com
>>> >
>>> > wrote:
>>> >
>>> >> On Thu, Jul 24, 2014 at 8:47 AM, Priyanka Deepala
>>> >> <priyanka.deepala18@gmail.com> wrote:
>>> >> >
>>> >>
>>> C:\cygwin64\home\priya\cloudstack-oss\cloudstack\core\target\surefire-reports
>>> >>
>>> >> in this directory you should find files with stacktraces for the
>>> following:
>>> >>
>>> >> Failed tests:
>>> >> testFirewallRulesCommand(com.
>>> >> cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest):
>>> >> expected:<...1.2/24:,64.10.10.10:[reverted:0:0:0:,64.10.10.10:
>>> TCP:22:80:
>>> >> 10.10.1.1/24-10.10.1.2/24]:,> but was:<...1.2/24:,64.10.10.10:
>>> [TCP:22:80:
>>> >> 10.10.1.1/24-10.10.1.2/24:,64.10.10.10:reverted:0:0:0]:,>
>>> >>
>>> >>
>>> >>
>>> testAggregationCommands(com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest):
>>> >> expected:<...1.2/24:,64.10.10.10:[reverted:0:0:0:,64.10.10.10:
>>> TCP:22:80:
>>> >> 10.10.1.1/24-10.10.1.2/24]:,(..)
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Daan
>>> >>
>>>
>>>
>>>
>>> --
>>> Daan
>>>
>
>
>
> --
> Daan



-- 
Daan

Mime
View raw message