So now we have ZooKeeper as well? 3 different group management frameworks
(Tribes, JGroups & ZooKeeper) within a single Carbon framework! This is
going to get really messy, specially on Cloud deployments.

On Tue, Dec 13, 2011 at 12:38 PM, Sanjeewa Malalgoda <sanje...@wso2.com>wrote:

> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building WSO2 Carbon - Coordination Core
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target
> [INFO] [incremental-build:incremental-build {execution: default}]
> [INFO] Verifying module descriptor ...
> [INFO] Pom descriptor modification detected.
> [INFO] Deleting
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target
> [INFO] [clean:clean {execution: auto-clean}]
> [INFO] Deleting
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 15 source files to
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/classes
> [INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
> [INFO] Generating 2 MetaType Descriptors to
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
> [INFO] Writing abstract service descriptor
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
> with 1 entries.
> [INFO] Generating 1 Service Component Descriptors to
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 5 source files to
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory:
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.wso2.carbon.coordination.core.test.QueueTest
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.coordination.server.CoordinationServer).
> log4j:WARN Please initialize the log4j system properly.
>
> *** QUEUE TEST 1 ***
>
> ExceptionCode: GENERIC_ERROR
> Nested Exception: null
>
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129)
>  at
> org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64)
> at
> org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102)
> Caused by:
> ExceptionCode: GENERIC_ERROR
> Nested Exception: KeeperErrorCode = ConnectionLoss for
> /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b0000000120
>
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:80)
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:116)
>  ... 2 more
> Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for
> /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b0000000120
>  at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>  at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:734)
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:75)
>  ... 3 more
>
> ExceptionCode: GENERIC_ERROR
> Nested Exception: null
>
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129)
>  at
> org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64)
> at
> org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102)
> Caused by:
> ExceptionCode: GENERIC_ERROR
> Nested Exception: KeeperErrorCode = ConnectionLoss for
> /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b0000000121
>
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:80)
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:116)
>  ... 2 more
> Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for
> /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b0000000121
>  at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>  at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:927)
> at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:956)
>  at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:73)
> ... 3 more
>
> ExceptionCode: GENERIC_ERROR
> Nested Exception: null
>
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:129)
>  at
> org.wso2.carbon.coordination.core.test.QueueTest.execute(QueueTest.java:64)
> at
> org.wso2.carbon.coordination.core.test.BaseTestCase$Executor.run(BaseTestCase.java:102)
> Caused by:
> ExceptionCode: GENERIC_ERROR
> Nested Exception: KeeperErrorCode = ConnectionLoss for
> /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b0000000121
>
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:80)
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.blockingDequeue(ZKQueue.java:116)
>  ... 2 more
> Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for
> /org/wso2/carbon/tenants/0/org.wso2.carbon.coordination.core.sync.impl.ZKQueue/q1/b0000000121
>  at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>  at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:734)
> at
> org.wso2.carbon.coordination.core.sync.impl.ZKQueue.extractEntry(ZKQueue.java:75)
>  ... 3 more
>
> *** QUEUE TEST 2 ***
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.828 sec
> <<< FAILURE!
> Running org.wso2.carbon.coordination.core.test.LockTest
>
> *** LOCK TEST 1 ***
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.751 sec
> Running org.wso2.carbon.coordination.core.test.GroupTest
>
> *** GROUP TEST 1 ***
> Member Departed: node0000000001
>
> *** GROUP TEST 2 ***
> Member Departed: node0000000001
> Member Departed: node0000000001
> Member Departed: node0000000001
> Member Departed: node0000000002
> Member Departed: node0000000002
> Member Departed: node0000000003
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.94 sec
> Running org.wso2.carbon.coordination.core.test.BarrierTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
>
> Results :
>
> Failed tests:
>   testQueue1(org.wso2.carbon.coordination.core.test.QueueTest)
>
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> /home/carbon320/323build/3.2.0/components/coordination/org.wso2.carbon.coordination.core/3.2.3/target/surefire-reports
> for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 89 minutes 51 seconds
> [INFO] Finished at: Mon Dec 12 23:02:57 PST 2011
> [INFO] Final Memory: 635M/1966M
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
> *Sanjeewa Malalgoda*
> Software Engineer
> **
> *WSO2, Inc.*
> lean.enterprise.middleware.
>
> mobile : +94 713068779
> web: http://wso2.com
>  <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>
> [image:
> http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to