[Dev] GReg Integration test failures [update]

2012-11-07 Thread Shelan Perera
Hi,

Now test failures have been reduced to 3. But those tests are fine when
they are running standalone. What could be the reason for it? Any
suggestion to locate the error.

Thanks

Results :

Failed tests:

testAllowCreateAndListServices(org.wso2.carbon.registry.permission.test.LifeCyclePermissionTestCase):
Failed to add artifact: artifact id: 99e32292-995a-4420-bb16-3fa0948bb24d.
Failed to add new resource. User testuser1 does not have authorization to
update the collection /_system/governance/trunk.

testConsoleSubscription(org.wso2.carbon.registry.jira.issues.test.Registry1170):
expected: but was:

verifyCAppSearchContent(org.wso2.carbon.registry.search.metadata.test.RegistrySpecialSearchTestCase):
No Record Found expected object to not be null

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


-- 
*Shelan Perera*

Software Engineer
**
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Home Page*  :shelan.org
*Blog* : blog.shelan.org
*Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

*Mobile*  : +94 772 604 402
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GReg Integration test failures [update]

2012-11-07 Thread Krishantha Samaraweera
Hi Shelan,

Please exclude these test cases and proceed. You can set enabled=false to
exclude test cases.

Can you post the sure-fire reports here. so I can check what is going wrong
with these test cases.

Thanks,
Krishantha.

On Thu, Nov 8, 2012 at 11:24 AM, Shelan Perera  wrote:

> Hi,
>
> Now test failures have been reduced to 3. But those tests are fine when
> they are running standalone. What could be the reason for it? Any
> suggestion to locate the error.
>
> Thanks
>
> Results :
>
> Failed tests:
>
> testAllowCreateAndListServices(org.wso2.carbon.registry.permission.test.LifeCyclePermissionTestCase):
> Failed to add artifact: artifact id: 99e32292-995a-4420-bb16-3fa0948bb24d.
> Failed to add new resource. User testuser1 does not have authorization to
> update the collection /_system/governance/trunk.
>
> testConsoleSubscription(org.wso2.carbon.registry.jira.issues.test.Registry1170):
> expected: but was:
>
> verifyCAppSearchContent(org.wso2.carbon.registry.search.metadata.test.RegistrySpecialSearchTestCase):
> No Record Found expected object to not be null
>
> Tests run: 1221, Failures: 3, Errors: 0, Skipped: 3
>
>
> --
> *Shelan Perera*
>
> Software Engineer
> **
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Home Page*  :shelan.org
> *Blog* : blog.shelan.org
> *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter* :https://twitter.com/#!/shelan
>
> *Mobile*  : +94 772 604 402
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GReg Integration test failures [update]

2012-11-07 Thread Shelan Perera
Hi,

I am running the tests again as i have cleaned up previous one. Will attach
them after finishing the build.

THanks

On Thu, Nov 8, 2012 at 11:58 AM, Krishantha Samaraweera  wrote:

> Hi Shelan,
>
> Please exclude these test cases and proceed. You can set enabled=false to
> exclude test cases.
>
> Can you post the sure-fire reports here. so I can check what is going
> wrong with these test cases.
>
> Thanks,
> Krishantha.
>
> On Thu, Nov 8, 2012 at 11:24 AM, Shelan Perera  wrote:
>
>> Hi,
>>
>> Now test failures have been reduced to 3. But those tests are fine when
>> they are running standalone. What could be the reason for it? Any
>> suggestion to locate the error.
>>
>> Thanks
>>
>> Results :
>>
>> Failed tests:
>>
>> testAllowCreateAndListServices(org.wso2.carbon.registry.permission.test.LifeCyclePermissionTestCase):
>> Failed to add artifact: artifact id: 99e32292-995a-4420-bb16-3fa0948bb24d.
>> Failed to add new resource. User testuser1 does not have authorization to
>> update the collection /_system/governance/trunk.
>>
>> testConsoleSubscription(org.wso2.carbon.registry.jira.issues.test.Registry1170):
>> expected: but was:
>>
>> verifyCAppSearchContent(org.wso2.carbon.registry.search.metadata.test.RegistrySpecialSearchTestCase):
>> No Record Found expected object to not be null
>>
>> Tests run: 1221, Failures: 3, Errors: 0, Skipped: 3
>>
>>
>> --
>> *Shelan Perera*
>>
>> Software Engineer
>> **
>> *WSO2, Inc. : wso2.com*
>> lean.enterprise.middleware.
>>
>> *Home Page*  :shelan.org
>> *Blog* : blog.shelan.org
>> *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
>> *Twitter* :https://twitter.com/#!/shelan
>>
>> *Mobile*  : +94 772 604 402
>>
>>
>>
>


-- 
*Shelan Perera*

Software Engineer
**
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Home Page*  :shelan.org
*Blog* : blog.shelan.org
*Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

*Mobile*  : +94 772 604 402
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GReg Integration test failures [update]

2012-11-08 Thread Krishantha Samaraweera
All G-Reg tests have been executed and found only one failure which is due
to known issue with service filtering. Earlier failures could be due to
using older registry core and api jars in test framework which was fixed
now.

Failed tests:
testCreateService(org.wso2.carbon.registry.governance.api.test.FilterServicesWithAdminTestCase):
Expect only 1 Search result expected:<1> but was:<5>

Tests run: 1221, Failures: 1, Errors: 0, Skipped: 0

Thanks,
Krishantha.

On Thu, Nov 8, 2012 at 12:14 PM, Shelan Perera  wrote:

> Hi,
>
> I am running the tests again as i have cleaned up previous one. Will
> attach them after finishing the build.
>
> THanks
>
>
> On Thu, Nov 8, 2012 at 11:58 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Shelan,
>>
>> Please exclude these test cases and proceed. You can set enabled=false to
>> exclude test cases.
>>
>> Can you post the sure-fire reports here. so I can check what is going
>> wrong with these test cases.
>>
>> Thanks,
>> Krishantha.
>>
>> On Thu, Nov 8, 2012 at 11:24 AM, Shelan Perera  wrote:
>>
>>> Hi,
>>>
>>> Now test failures have been reduced to 3. But those tests are fine when
>>> they are running standalone. What could be the reason for it? Any
>>> suggestion to locate the error.
>>>
>>> Thanks
>>>
>>> Results :
>>>
>>> Failed tests:
>>>
>>> testAllowCreateAndListServices(org.wso2.carbon.registry.permission.test.LifeCyclePermissionTestCase):
>>> Failed to add artifact: artifact id: 99e32292-995a-4420-bb16-3fa0948bb24d.
>>> Failed to add new resource. User testuser1 does not have authorization to
>>> update the collection /_system/governance/trunk.
>>>
>>> testConsoleSubscription(org.wso2.carbon.registry.jira.issues.test.Registry1170):
>>> expected: but was:
>>>
>>> verifyCAppSearchContent(org.wso2.carbon.registry.search.metadata.test.RegistrySpecialSearchTestCase):
>>> No Record Found expected object to not be null
>>>
>>> Tests run: 1221, Failures: 3, Errors: 0, Skipped: 3
>>>
>>>
>>> --
>>> *Shelan Perera*
>>>
>>> Software Engineer
>>> **
>>> *WSO2, Inc. : wso2.com*
>>> lean.enterprise.middleware.
>>>
>>> *Home Page*  :shelan.org
>>> *Blog* : blog.shelan.org
>>> *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
>>> *Twitter* :https://twitter.com/#!/shelan
>>>
>>> *Mobile*  : +94 772 604 402
>>>
>>>
>>>
>>
>
>
> --
> *Shelan Perera*
>
> Software Engineer
> **
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Home Page*  :shelan.org
> *Blog* : blog.shelan.org
> *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter* :https://twitter.com/#!/shelan
>
> *Mobile*  : +94 772 604 402
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GReg Integration test failures [update]

2012-11-08 Thread Shelan Perera
Hi,

This service filtering issue has been fixed in r147532. Please update
governance/org.wso2.carbon.governance.list/4.0.4

Thanks

On Thu, Nov 8, 2012 at 2:48 PM, Krishantha Samaraweera
wrote:

> All G-Reg tests have been executed and found only one failure which is due
> to known issue with service filtering. Earlier failures could be due to
> using older registry core and api jars in test framework which was fixed
> now.
>
> Failed tests:
> testCreateService(org.wso2.carbon.registry.governance.api.test.FilterServicesWithAdminTestCase):
> Expect only 1 Search result expected:<1> but was:<5>
>
> Tests run: 1221, Failures: 1, Errors: 0, Skipped: 0
>
> Thanks,
> Krishantha.
>
> On Thu, Nov 8, 2012 at 12:14 PM, Shelan Perera  wrote:
>
>> Hi,
>>
>> I am running the tests again as i have cleaned up previous one. Will
>> attach them after finishing the build.
>>
>> THanks
>>
>>
>> On Thu, Nov 8, 2012 at 11:58 AM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi Shelan,
>>>
>>> Please exclude these test cases and proceed. You can set enabled=false
>>> to exclude test cases.
>>>
>>> Can you post the sure-fire reports here. so I can check what is going
>>> wrong with these test cases.
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>> On Thu, Nov 8, 2012 at 11:24 AM, Shelan Perera  wrote:
>>>
 Hi,

 Now test failures have been reduced to 3. But those tests are fine when
 they are running standalone. What could be the reason for it? Any
 suggestion to locate the error.

 Thanks

 Results :

 Failed tests:

 testAllowCreateAndListServices(org.wso2.carbon.registry.permission.test.LifeCyclePermissionTestCase):
 Failed to add artifact: artifact id: 99e32292-995a-4420-bb16-3fa0948bb24d.
 Failed to add new resource. User testuser1 does not have authorization to
 update the collection /_system/governance/trunk.

 testConsoleSubscription(org.wso2.carbon.registry.jira.issues.test.Registry1170):
 expected: but was:

 verifyCAppSearchContent(org.wso2.carbon.registry.search.metadata.test.RegistrySpecialSearchTestCase):
 No Record Found expected object to not be null

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


 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *Blog* : blog.shelan.org
 *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402



>>>
>>
>>
>> --
>> *Shelan Perera*
>>
>> Software Engineer
>> **
>> *WSO2, Inc. : wso2.com*
>> lean.enterprise.middleware.
>>
>> *Home Page*  :shelan.org
>> *Blog* : blog.shelan.org
>> *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
>> *Twitter* :https://twitter.com/#!/shelan
>>
>> *Mobile*  : +94 772 604 402
>>
>>
>>
>


-- 
*Shelan Perera*

Software Engineer
**
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Home Page*  :shelan.org
*Blog* : blog.shelan.org
*Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

*Mobile*  : +94 772 604 402
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev