> Or a timing issue?
are you talking about execution order? it was the first thing that
came into my mind, but as far as I can see (I probably know chain less
than you) it is not an order-related issue (the test tries to open
simply an xml file and load some element into a collection, then it
checks the collection size).

Maurizio Cucchiara



On 22 September 2011 11:31, sebb <seb...@gmail.com> wrote:
> On 22 September 2011 10:24, Maurizio Cucchiara <mcucchi...@apache.org> wrote:
>> Hi guys,
>> I tested on the below environment and it works like a charm. I suspect
>> it is something related to continuum environment.
>
> Or a timing issue?
>
> I don't think the issue can just be dismissed - after all, a user
> might have the same environment as Continuum ...
>
> I don't know chain at all - can the test be instrumented more? Or
> additional checks added?
>
>> --------------------------------------------------------------------------------------------------
>> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
>> Java version: 1.6.0_14
>> Java home: /opt/jdk1.6.0_14/jre
>> Default locale: it_IT, platform encoding: UTF-8
>> OS name: "linux" version: "2.6.38-10-generic" arch: "i386" Family: "unix"
>>
>> --------------------------------------------------------------------------------------------------
>> Maurizio Cucchiara
>>
>>
>>
>> On 22 September 2011 10:52, Simone Tripodi <simonetrip...@apache.org> wrote:
>>> tested both with java5 and java6 using mvn3... should we expect
>>> different results when using mvn2 to run tests?
>>> Many thanks in advance, have a noce day!!!
>>> Simo
>>>
>>> http://people.apache.org/~simonetripodi/
>>> http://www.99soft.org/
>>>
>>>
>>>
>>> On Wed, Sep 21, 2011 at 10:21 PM, Continuum@vmbuild
>>> <contin...@apache.org> wrote:
>>>> Online report : 
>>>> http://vmbuild.apache.org/continuum/buildResult.action?buildId=12403&projectId=69
>>>>
>>>> Build statistics:
>>>>  State: Failed
>>>>  Previous State: Failed
>>>>  Started at: Wed 21 Sep 2011 20:20:51 +0000
>>>>  Finished at: Wed 21 Sep 2011 20:21:09 +0000
>>>>  Total time: 17s
>>>>  Build Trigger: Schedule
>>>>  Build Number: 10
>>>>  Exit code: 1
>>>>  Building machine hostname: vmbuild
>>>>  Operating system : Linux(unknown)
>>>>  Java Home version :
>>>>          java version "1.6.0_24"
>>>>          Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
>>>>          Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>>>>
>>>>  Builder version :
>>>>          Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
>>>>          Java version: 1.6.0_24
>>>>          Java home: /usr/lib/jvm/java-6-sun-1.6.0.24/jre
>>>>          Default locale: en_AU, platform encoding: UTF-8
>>>>          OS name: "linux" version: "2.6.32-31-server" arch: "amd64" 
>>>> Family: "unix"
>>>>
>>>> ****************************************************************************
>>>> SCM Changes:
>>>> ****************************************************************************
>>>> Changed: simonetripodi @ Wed 21 Sep 2011 20:00:30 +0000
>>>> Comment: [CHAIN-59] move layout dir to standard maven
>>>> Files changed:
>>>>  /commons/proper/chain/trunk/pom.xml ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/assembly ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/main/assembly (from 
>>>> /commons/proper/chain/trunk/src/assembly:1172686) ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config-2.xml
>>>>  ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config.xml
>>>>  ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources/org ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources/org/apache ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources/org/apache/commons ( 
>>>> 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain ( 
>>>> 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config
>>>>  ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config/test-config-2.xml
>>>>  (from 
>>>> /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config-2.xml:1172686)
>>>>  ( 1173817 )
>>>>  /commons/proper/chain/trunk/src/test/resources/org/apache/commons/chain/config/test-config.xml
>>>>  (from 
>>>> /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/config/test-config.xml:1172686)
>>>>  ( 1173817 )
>>>>
>>>> Changed: simonetripodi @ Wed 21 Sep 2011 20:02:11 +0000
>>>> Comment: parent reference updated to version 22
>>>> Files changed:
>>>>  /commons/proper/chain/trunk/pom.xml ( 1173818 )
>>>>
>>>> Changed: simonetripodi @ Wed 21 Sep 2011 20:03:47 +0000
>>>> Comment: added missing release metadata
>>>> Files changed:
>>>>  /commons/proper/chain/trunk/pom.xml ( 1173819 )
>>>>
>>>> Changed: simonetripodi @ Wed 21 Sep 2011 20:05:35 +0000
>>>> Comment: 4 spaces replaced with 2 spaces, as generally adopted in commons
>>>> Files changed:
>>>>  /commons/proper/chain/trunk/pom.xml ( 1173821 )
>>>>
>>>> ****************************************************************************
>>>> Dependencies Changes:
>>>> ****************************************************************************
>>>> No dependencies changed
>>>>
>>>>
>>>> ****************************************************************************
>>>> Build Definition:
>>>> ****************************************************************************
>>>> POM filename: pom.xml
>>>> Goals: clean deploy
>>>> Arguments: --batch-mode -Pjava-1.5
>>>> Build Fresh: false
>>>> Always Build: false
>>>> Default Build Definition: true
>>>> Schedule: COMMONS_SCHEDULE
>>>> Profile Name: Maven 2.2.1
>>>> Description: Default Maven 2 Build Definition (Java 1.5)
>>>>
>>>> ****************************************************************************
>>>> Test Summary:
>>>> ****************************************************************************
>>>> Tests: 125
>>>> Failures: 1
>>>> Errors: 0
>>>> Success Rate: 99
>>>> Total time: 1.1960001
>>>>
>>>> ****************************************************************************
>>>> Test Failures:
>>>> ****************************************************************************
>>>>
>>>> ConfigParserTestCase
>>>>    testDefault :
>>>>  java.lang.AssertionError
>>>>  java.lang.AssertionError: Correct command count expected:<17> but was:<19>
>>>>        at org.junit.Assert.fail(Assert.java:93)
>>>>        at org.junit.Assert.failNotEquals(Assert.java:647)
>>>>        at org.junit.Assert.assertEquals(Assert.java:128)
>>>>        at org.junit.Assert.assertEquals(Assert.java:472)
>>>>        at 
>>>> org.apache.commons.chain.config.ConfigParserTestCase.checkCommandCount(ConfigParserTestCase.java:322)
>>>>        at 
>>>> org.apache.commons.chain.config.ConfigParserTestCase.testDefault(ConfigParserTestCase.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:592)
>>>>        at 
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>        at 
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>        at 
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>        at 
>>>> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>>>>        at 
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>        at 
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>>>>        at 
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
>>>>        at 
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
>>>>        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>>>>        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>>>>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>>>>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>>>>        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>>>>        at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
>>>>        at 
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
>>>>        at 
>>>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
>>>>        at 
>>>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
>>>>        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:592)
>>>>        at 
>>>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
>>>>        at 
>>>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
>>>>        at 
>>>> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
>>>>        at 
>>>> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
>>>>        at 
>>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to