Hi Shankar,

The root cause of this test failure seems to be

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
Failed to get the resource at path /_system/config. Timeout trying to lock
table "REG_RESOURCE"; SQL statement:
SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID FROM
REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS NULL AND REG_TENANT_ID=?
[50200-140]
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceMetaData(JDBCResourceDAO.java:1142)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResource(JDBCResourceDAO.java:1172)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.get(JDBCResourceDAO.java:229)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.get(JDBCResourceDAO.java:225)
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:353)
... 44 more
Caused by: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
"REG_RESOURCE"; SQL statement:
SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID FROM
REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS NULL AND REG_TENANT_ID=?
[50200-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.table.RegularTable.doLock(RegularTable.java:466)
at org.h2.table.RegularTable.lock(RegularTable.java:404)
at org.h2.table.TableFilter.lock(TableFilter.java:139)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
at org.h2.command.dml.Query.query(Query.java:241)
at org.h2.command.CommandContainer.query(CommandContainer.java:80)
at org.h2.command.Command.executeQuery(Command.java:132)
at
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceMetaData(JDBCResourceDAO.java:1112)
... 48 more
[2011-04-06 16:52:22,484]  INFO
{org.wso2.carbon.integration.core.ServerLogin} -  Successfully logged :
JSESSIONID=806515D9D0F076E8F99815900511CAFC; Path=/; Secure=null;
HttpOnly=null

...

Results :

Failed tests:
  testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorFullLevelTest)
  testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorHeaderLevelTest)
  testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorCustomLevelTest)

Tests run: 4, Failures: 3, Errors: 0, Skipped: 0

This is discussed on a separate thread : "carbon-dev: Latest ESB build is
unusable due to Registry issues"

On Wed, Apr 6, 2011 at 2:53 PM, Chamara Silva <cham...@wso2.com> wrote:

> i will look in to this
>
> regards,
> Chamara
>
> On Wed, Apr 6, 2011 at 10:45 AM, Selvaratnam Uthaiyashankar <
> shan...@wso2.com> wrote:
>
>> $subject.
>>
>> Attached is the surefire report. Is this working for anyone?
>>
>> Failed tests:
>>
>> testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorHeaderLevelTest)
>>
>> testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorCustomLevelTest)
>>
>> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0
>>
>> Saving Code Coverage Details...
>> Completed Saving Code Coverage Details.
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] There are test failures.
>>
>> Please refer to
>> /home/shankar/src/carbon/products/esb/modules/integration/mediators/log-mediator/target/surefire-reports
>> for the individual test results.
>>
>>
>> Shankar
>>
>> --
>> S.Uthaiyashankar
>> Senior Architect & Senior Manager
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Suminda Chamara Silva
> WSO2 Inc.
> Mobile: +94 718 302858
> blog: http://chamaras.blogspot.com
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kasun Indrasiri
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to