Re: [Dev] Don't commit to APIM old test modules

2015-03-14 Thread Krishantha Samaraweera
Following modules have been removed from product build. There are 19 test
cases running and last Jenkins build was successful [1]. We will keep on
migrating/adding new test cases to the APIM.

1. tests-new
2. tests-ui
3. tests.

[1] https://wso2.org/jenkins/job/product-apim/157/testReport/

Thanks,
Krishantha.

On Fri, Mar 13, 2015 at 6:36 PM, Krishantha Samaraweera  wrote:

> I will remove old test modules within another few hours. Please shout if
> you are middle of writing a test. Anyway you can move the tests into "
> *tests-integration/tests-backend*" module which is already committed.
>
> Thanks,
> Krishantha.
>
> On Fri, Mar 13, 2015 at 12:58 PM, Uvindra Dias Jayasinha  > wrote:
>
>> If anyone is in the middle of writing a test in the module please reply
>> to this thread. We need to ensure that we have stable pack with all tests
>> in newly created modules passing before we can remove the old test modules.
>> Lets try and get this done ASAP.
>>
>> I think there are a few new team members missing on this mail, can
>> someone please add them?(Im not sure who they are :) )
>>
>> On 13 March 2015 at 12:19, Krishantha Samaraweera 
>> wrote:
>>
>>> Hi APIM Team,
>>>
>>> Automation team is migrating test suites from old test framework to new
>>> one. I've already removed old test modules from integration module POM and
>>> applied the pull request four days ago, updated mail thread can be found at
>>>  "[APIM] Please merge pull request"
>>>
>>> Note that only following modules are enabled now.
>>>
>>>
>>> tests-commontests-integration
>>> 
>>>  
>>>
>>> Can you please refine from committing to old test modules. We kept those
>>> old modules until test migration is over. Now I think its not a good idea
>>> to keep those modules and will remove them soon.
>>>
>>> Let me know if you have any concern with removing old test modules.
>>>
>>> Following test modules will be removed shortly. And we will take care of
>>> migrating tests in those modules to our new modules properly.
>>>
>>> 1. tests-new
>>> 2. tests-ui
>>> 3. tests.
>>>
>>> Thanks,
>>> Krishatnha.
>>>
>>>
>>> --
>>> Krishantha Samaraweera
>>> Senior Technical Lead - Test Automation
>>> Mobile: +94 77 7759918
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>>
>>
>> --
>> Regards,
>> Uvindra
>>
>> Mobile: 33962
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge

2015-03-14 Thread Godwin Amila Shrimal
Hi,

Please review and merge PR [1]

[1] https://github.com/wso2/carbon-identity/pull/132

Thanks
Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 G-Reg 5.0.0 M3 Released

2015-03-14 Thread Prasanna Dangalla
Hi all,

Please download WSO2 G-Reg 5.0.0 M3 from this location [1]. Following are
the bug fixes, improvements and the new features included in this milestone
release.

*Improvements*

REGISTRY-2371 -Updating Solr version to 5.
REGISTRY-2443 -Java 7 support for Registry, Governance and Product.
REGISTRY-2405 -Store , Publisher Integration - Phase 2.
REGISTRY-2444 -G-Reg Impact Analysis - Phase 2.
REGISTRY-2442- Ability to display difference of two resources of same
type.

*Bugs fixes*

REGISTRY-2399 -Impact analysis view is not working.
REGISTRY-2423 -Handled exception when adding an artifact when the
relevant rxt is not in registry.
REGISTRY-2435 -"Show Dependency" is missing in G-Reg publisher.


*Tasks*

REGISTRY-2436 -Integration test failures in search-version-test module.
REGISTRY-2437 -Integration test failures in meta-data tests module.
REGISTRY-2438 -Disabling coverage(emma) reports.
REGISTRY-2440 -UI-test failure due to lifecycle improvement.

Please report issues at [2] and specify the affect version as 5.0.0-M3.

[1]
https://svn.wso2.org/repos/wso2/people/chandana/G-REG-5.0.0/M3/wso2greg-5.0.0-SNAPSHOT.zip
[2] https://wso2.org/jira/browse/REGISTRY

Regards,
G-Reg Team


Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge

2015-03-14 Thread Godwin Amila Shrimal
Hi,

Please review and merge PR [1]

[1] https://github.com/wso2/carbon-identity/pull/133

Thanks
Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D *
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC2015] Proposal 18: Extensible Visual Composer Siddhi Language

2015-03-14 Thread Mohanadarshan Vivekanandalingam
[Adding Srinath as well]


On Sat, Mar 14, 2015 at 10:44 AM, Pubudu Dodangoda  wrote:

> Hi,
>
> I am Pubudu Dodangoda, an Engineering undergraduate from Computer Science
> and Engineering department, University of Moratuwa.
> At the moment I am an intern, here, at WSO2, assigned to BAM.
>
> I went through the GSoC proposal list. I am interested in proposal [1]
> 
>  and looking forward to contribute.
> I would like to have a discussion on further details regarding the
> $subject and how I can contribute for the Project.
>
> Prior Experience -
>
>1. My fast track training project was on a similar tech-scope, which
>was to develop a visualization JS library(IGVIZ) using D3JS and currently
>being improved by us(Dunith, Tharindu, Fawsan, and I) which will be used in
>CEP and BAM in the upcoming releases.
>2. Ongoing project for the Analytics- Dashboard which involves JS,
>Bootstrap,  HTML, JSP, SOAP-backend(now), Rest(earlier),etc is now under
>development(final phases).
>
> Please let me know when you could share your time for this.
>
> [1] ExtensibleVisualComposerSiddhiLanguage
> 
>
> Thank You and Kind Regards
> --
> *Pubudu Dodangoda*
> BSc Engineering(Hon's) Undergraduate
> Department of Computer Science Engineering(CSE)
> University of Moratuwa
> *0716053681* / 0775192994
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge

2015-03-14 Thread Johann Nallathamby
Merged both PRs.

Thanks.

On Sat, Mar 14, 2015 at 3:53 PM, Godwin Amila Shrimal 
wrote:

> Hi,
>
> Please review and merge PR [1]
>
> [1] https://github.com/wso2/carbon-identity/pull/133
>
> Thanks
> Godwin
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D *
> twitter: https://twitter.com/godwinamila
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Random test failures in Jenkins

2015-03-14 Thread Sagara Gunathunga
I have noticed random test failures in Jenkins is getting increase
specially in Java7 builds, as an example among 5 product-greg[1] builds 4
were unstable due to random test failures ( each time due to different test
cases ).  In our local builds we are not getting any of these random
failures and no SCM changes as well, it looks like Jenkins issue to me.

G-Reg team looked into this but still no luck, can Jenkins volunteers team
look into these issues ?


FYI product-greg job info during 5 consecutive runs.

Build #439 - No SCM changes

org.wso2.carbon.registry.app.test.CommentTestCase.AddComment


Build #440 - No SCM changes
---
org.wso2.carbon.registry.reporting.test.ReportClassTestCases.testgetAttributeNames
org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs
org.wso2.carbon.registry.tck.cmis.CMISTck.runTckTest


Build #441 - No SCM changes
--
org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs

Build #442 - No SCM changes
-
org.wso2.carbon.registry.app.test.FileSystemImportExportTestCase.FileImportTest


Build #443 - No SCM changes
--
Success


[1] - https://wso2.org/jenkins/view/product-builds/job/product-greg/


Thanks !
-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] We are getting some class not found issues intermittently

2015-03-14 Thread Prasad Tissera
Hi Kasun,

This issues still seems to be there in spring.framework_3.2.9.wso2v1 even
though the suggested fix has been applied in [1]. Class not found exception
occurred intermittently in IS 5.1.0 pack when calling OAuth endpoints. The
issue has been reported in [2] and has marked as resolved. How should we
proceed in this? Thanks.

root cause java.lang.ClassNotFoundException:
org.wso2.carbon.identity.oauth.cache.CacheKey
org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:154)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
java.lang.Class.getConstructor0(Class.java:2708)
java.lang.Class.getDeclaredConstructor(Class.java:1987)
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910)

[1].
https://github.com/wso2/orbit/commit/d947214c470b257a9fe3083d8c4c7baf49d46f87
[2]. https://wso2.org/jira/browse/CARBON-14864

Regards,
Prasad.

On Fri, Jul 18, 2014 at 9:52 AM, Pulasthi Supun  wrote:

> Hi Sameera,
>
> Was this change applied to the 4.3.0 branch on git?. we are getting a
> similar random server not starting up issue. seems it is the same reason.
> If this is not already allied can we get this added to 4.3.0 branch. We are
> trying to fix integration test in greg and this random server hangup is
> causing a lot of time to be wasted.
>
> Regards,
> Pulasthi
>
>
> On Mon, Jul 14, 2014 at 8:56 PM, Sameera Jayasoma 
> wrote:
>
>> Done.
>>
>>
>>
>>
>> On Mon, Jul 14, 2014 at 6:54 PM, Kasun Gajasinghe 
>> wrote:
>>
>>> Hi kernel team,
>>>
>>> Please commit the patch at [1] for this issue.
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-14864
>>>
>>> Thanks,
>>> KasunG
>>>
>>>
>>> On Mon, Jul 14, 2014 at 5:15 PM, Vijayaratha Vijayasingam <
>>> rat...@wso2.com> wrote:
>>>
 tried with kasun's modified spring lib, looks like it is working..


 On 14 July 2014 16:54, Vijayaratha Vijayasingam 
 wrote:

> kasun , as you said i tried..after that i get some spring class
> loading issue..May be the way edited the jar is wrong..
> please commit the fix..we need to build the pack
>
> 2014-07-14 16:50:42,213]  INFO
> {org.wso2.carbon.server.util.PatchUtils.console} -  Patch verification
> successfully completed without encountering any issues.
>
> Could not start:
> null(reference:file:../plugins/spring.framework_3.1.0.wso2v1.jar:482). 
> It's
> state is uninstalled.
>
> log4j:ERROR Could not instantiate class
> [org.wso2.carbon.logging.appender.CarbonMemoryAppender].
>
> java.lang.ClassNotFoundException:
> org.wso2.carbon.logging.appender.CarbonMemoryAppender
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
> at java.lang.Class.forName0(Native Method)
>
> at java.lang.Class.forName(Class.java:171)
>
> at org.apache.log4j.helpers.Loader.loadClass(Loader.java:178)
>
> at
> org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:317)
>
> at
> org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:120)
>
> at
> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:629)
>
> at
> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
>
> at
> org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
>
> at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
>
> at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
>
> at
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
>
> at org.apache.log4j.LogManager.(LogManager.java:122)
>
> at org.apache.log4j.Logger.getLogger(Logger.java:104)
>
> at
> org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
>
> at
> org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:109)
>
> at sun.reflect.Native

Re: [Dev] Random test failures in Jenkins

2015-03-14 Thread Jayanga Dissanayake
Hi Sagara,

While analyzing the configuration history of product-greg [1] (those who
have permission can view this) found that jdk version is changed from
Oracle-JDK-1.6.0_33
to Oracle-JDK-1.7.0_51. I think this issue was introduced by this JDK
change.

When the unit test are run in Java7 it may run in different order, Order of
test cases are not guaranteed unless it is specifically specified.
So you have to add "@FixMethodOrder(MethodSorters.NAME_ASCENDING)" to all
your test classes to guarantee the order.

Please try with the above fix.

[1]
https://wso2.org/jenkins/job/product-greg/jobConfigHistory/showDiffFiles?timestamp1=2015-03-07_21-35-42×tamp2=2015-03-11_12-14-37

Thanks,
Jayanga.

*Jayanga Dissanayake*
Senior Software Engineer
WSO2 Inc. - http://wso2.com/
lean . enterprise . middleware
email: jaya...@wso2.com
mobile: +94772207259

On Sun, Mar 15, 2015 at 8:22 AM, Sagara Gunathunga  wrote:

>
> I have noticed random test failures in Jenkins is getting increase
> specially in Java7 builds, as an example among 5 product-greg[1] builds 4
> were unstable due to random test failures ( each time due to different test
> cases ).  In our local builds we are not getting any of these random
> failures and no SCM changes as well, it looks like Jenkins issue to me.
>
> G-Reg team looked into this but still no luck, can Jenkins volunteers team
> look into these issues ?
>
>
> FYI product-greg job info during 5 consecutive runs.
>
> Build #439 - No SCM changes
> 
> org.wso2.carbon.registry.app.test.CommentTestCase.AddComment
>
>
> Build #440 - No SCM changes
> ---
>
> org.wso2.carbon.registry.reporting.test.ReportClassTestCases.testgetAttributeNames
>
> org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs
> org.wso2.carbon.registry.tck.cmis.CMISTck.runTckTest
>
>
> Build #441 - No SCM changes
> --
>
> org.wso2.carbon.registry.server.mgt.test.ServerStartupTestCase.testVerifyLogs
>
> Build #442 - No SCM changes
> -
>
> org.wso2.carbon.registry.app.test.FileSystemImportExportTestCase.FileImportTest
>
>
> Build #443 - No SCM changes
> --
> Success
>
>
> [1] - https://wso2.org/jenkins/view/product-builds/job/product-greg/
>
>
> Thanks !
> --
> Sagara Gunathunga
>
> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev