Same issue here [1]

[1] http://markmail.org/message/kf46xhaqirq3za4d

On Fri, Dec 5, 2008 at 2:30 PM, Simon Nash <[EMAIL PROTECTED]> wrote:
> When doing a full build of the 1.4 branch, I got a failure in
> vtest/java-api/annotations.  I reran the build on just this module,
> and it succeeded.  Any ideas?
>
>  Simon
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Tuscany SCA vTest Java APIs and Annotations
> Verification
> Tests - Annotations - @Scope
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [WARNING] File encoding has not been set, using platform encoding Cp1252,
> i.e. b
> uild is platform dependent!
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources,
> i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] Copying 0 resource to META-INF
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources,
> i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> F:\tuscany14-1\sca-java-1.4\vtest\jav
> a-api\annotations\scope\src\test\resources
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> F:\tuscany14-1\sca-java-1.4\vtest\java-api\ann
> otations\scope\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
> org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotationTe
> stCase
> Setting up
> 05-Dec-2008 22:23:36 org.apache.tuscany.sca.node.impl.NodeImpl <init>
> INFO: Creating node: scope.composite
> 05-Dec-2008 22:23:37 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
> INFO: Loading contribution:
> file:/F:/tuscany14-1/sca-java-1.4/vtest/java-api/ann
> otations/scope/target/classes/
> 05-Dec-2008 22:23:37 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
> INFO: Loading composite:
> file:/F:/tuscany14-1/sca-java-1.4/vtest/java-api/annota
> tions/scope/target/classes/scope.composite
> 05-Dec-2008 22:23:37 org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: scope.composite
> GService->initGService
> atScope1
> ThreadC1->CService4
> ThreadC2->CService3
> ThreadB1->BService4
> ThreadB2->BService3
>
> atScope2
> DService1->initDService
> DService3->initDService
> DService2->initDService
> DService4->initDService
> DService5->initDService
> ThreadD2->DService1
> ThreadD3->DService3
> ThreadD4->DService5
> ThreadD1->DService2
> ThreadD0->DService4
>
> atScope3
> FService1->initFService
> ThreadF1->FService1
> ThreadF0->FService1
> ThreadF3->FService1
> ThreadF2->FService1
> ThreadF4->FService1
>
> atScope4
> initCalledCounter=1
> destroyCalledCounter=0
>
> atScope5
> IService2->initIService
> IService1->initIService
> IService1->endConversation
> IService1->destroyIService
> IService2->endConversation
> IService2->destroyIService
> IService3->initIService
> IService4->initIService
> IService3->endConversation
> IService3->destroyIService
> IService4->endConversation
> IService4->destroyIService
> IService5->initIService
> IService5->endConversation
> IService5->destroyIService
> IService6->initIService
> instanceCounter=6
> initCalledCounter=5
> destroyCalledCounter=5
>
> atScope6
> JService->initJService
> KService1 calls LService 1st time:
> LService1->initLService
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 2nd time:
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 3rd time:
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 4th time
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 5th time
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 6th time
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 7th time
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 8th time
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 9th time
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
> KService1 calls LService 10th time
>    Name=LService1, #Instance=1, #InitCalled=1, #DestroyCalled=0
>
> Cleaning up
> 05-Dec-2008 22:23:39 org.apache.tuscany.sca.node.impl.NodeImpl stop
> INFO: Stopping node: scope.composite
> FService1->destroyFService
> GService->destroyGService
> JService->destroyJService
> Tests run: 7, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 3.026 sec
> <<< FA
> ILURE!
> atScope5(org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotationT
> estCase)  Time elapsed: 0.071 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: null expected:<[None]> but
> was:<[IncorrectIni
> tCalledCounter]>
>        at junit.framework.Assert.assertEquals(Assert.java:81)
>        at junit.framework.Assert.assertEquals(Assert.java:87)
>        at
> org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotatio
> nTestCase.atScope5(ScopeAnnotationTestCase.java:243)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
> Method.java:44)
>        at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
> lable.java:15)
>        at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
> thod.java:41)
>        at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
> hod.java:20)
>        at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
> java:28)
>        at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
> va:31)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
> ner.java:73)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
> ner.java:46)
>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>        at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>        at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
> java:28)
>        at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
> va:31)
>        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>        at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
> java:62)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.java:125)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:308)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:879)
>
>
> Results :
>
> Failed tests:
>  
> atScope5(org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotatio
> nTestCase)
>
> Tests run: 7, Failures: 1, Errors: 0, Skipped: 1
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> F:\tuscany14-1\sca-java-1.4\vtest\java-api\annotations\scope\tar
> get\surefire-reports for the individual test results.
>
>
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to