Re: [Dev] Platform Build Failed .. !

2013-04-26 Thread Krishantha Samaraweera
Hi, What is your JDK version? Thanks, Krishantha. On Fri, Apr 26, 2013 at 10:52 AM, Malaka Silva wrote: > Hi, > > Any Idea? > > > [INFO] > > [INFO] Reactor Build Order: > [INFO] > [INFO] WSO2 Platform Automated Suite - E

Re: [Dev] Platform Build Failed .. !

2013-04-26 Thread Krishantha Samaraweera
Can you take svn up and check again. Reactor build order should have more than four modules, let us know your maven and JDK versions, if the issue exists. Thanks, Krishantha. On Fri, Apr 26, 2013 at 10:52 AM, Malaka Silva wrote: > Hi, > > Any Idea? > > > [INFO] > -

[Dev] Invitation: Code review - New Context provider API of Automation Fram... @ Tue Apr 30, 2013 2:30pm - 3:30pm (krishan...@wso2.com)

2013-04-26 Thread Krishantha Samaraweera
:mailto:am...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Nuwan Wimalasekara;X-NUM-GUESTS=0:mailto:nuw...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Krishantha Samaraweera;X-NUM-GUESTS=0:mailto:krishan...@wso2

Re: [Dev] [Integration Testing] Dynamically change a value in configuration file

2013-04-22 Thread Krishantha Samaraweera
in data-bridge-config.xml before server start > and verify I'm getting the same value in the runtime. > > Thanks, > Gihan > > > On Mon, Apr 22, 2013 at 12:23 PM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> Do you want to restart the server after cha

Re: [Dev] [Integration Testing] Dynamically change a value in configuration file

2013-04-21 Thread Krishantha Samaraweera
Do you want to restart the server after changing values. Thanks, Krishantha. On Mon, Apr 22, 2013 at 12:17 PM, Gihan Anuruddha wrote: > Hi, > > For one of the integration testing I need dynamically change the value in > data-bridge-config.xml. How do I proceed ? > > Thanks. > Gihan > > -- > --

Re: [Dev] [Commits] [Carbon-platform] svn commit r170602 - in carbon/platform/branches/4.1.0/patch-releases/4.1.2: components service-stubs

2013-04-18 Thread Krishantha Samaraweera
Seems like 4.1.2 patch release build is still broken. [ERROR] Two or more projects in the reactor have the same identifier, please make sure that :: is unique for each project: {org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.stub:4.1.0=[/home/krishantha/svn/trunk/carbon/platform/

Re: [Dev] [Blocker] Integration tests hang up when the whole test suite is run

2013-04-18 Thread Krishantha Samaraweera
Hi, Is this the first time you guys experience this behavior. BAM integration tests still depends on old test automation framework which we haven't touched for years. Thanks, Krishantha. On Thu, Apr 18, 2013 at 11:32 AM, Tharindu Mathew wrote: > Hi, > > When we run our test suite, after some

Re: [Dev] API-M: Make sure all samples are covered by integration tests

2013-04-06 Thread Krishantha Samaraweera
We have added JMeter support to framework recently only API mgt is using that feature. Yes it is taking a Maven dependency on JMeter. Thanks, Krishantha. On Sat, Apr 6, 2013 at 10:54 AM, Afkham Azeez wrote: > > > On Sat, Apr 6, 2013 at 10:43 AM, Krishantha Samaraweera < > kris

Re: [Dev] API-M: Make sure all samples are covered by integration tests

2013-04-05 Thread Krishantha Samaraweera
nd run the scripts. As Sumedha mentioned, API manager team has started writing integration tests. However we still need to improve test coverage. That's why i requested for test auto hackathon. Thanks, Krishantha. > >> >> On Saturday, April 6, 2013, Afkham Azeez wrote: >> >

Re: [Dev] API-M: Make sure all samples are covered by integration tests

2013-04-05 Thread Krishantha Samaraweera
Lets go for test automation hackathon for API Manager after the release. I will talk to Sumedha and arrange this. Thanks, Krishantha. On Fri, Mar 29, 2013 at 12:47 PM, Lalaji Sureshika wrote: > Hi, > > Noted. Created APIMANAGER-1046 > to > track

Re: [Dev] App Server integration test failures

2013-03-19 Thread Krishantha Samaraweera
Result cannot be null expected object to not be null Tests run: 115, Failures: 5, Errors: 0, Skipped: Thanks, Krishantha. On Tue, Mar 19, 2013 at 2:39 PM, Krishantha Samaraweera wrote: > --- Test set:

[Dev] App Server integration test failures

2013-03-19 Thread Krishantha Samaraweera
___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Build Fail on project org.wso2.carbon.automation.test.platform.scenario

2013-03-15 Thread Krishantha Samaraweera
Removed test dependencies temporary. Thanks, Krishantha. On Fri, Mar 15, 2013 at 1:37 PM, Krishantha Samaraweera wrote: > This failure is because of not having org.wso2.carbon.esb.tests-4.6.0.jar > in your local repo. Maven cannot find the jar in online repos as well, > which is th

Re: [Dev] Build Fail on project org.wso2.carbon.automation.test.platform.scenario

2013-03-15 Thread Krishantha Samaraweera
This failure is because of not having org.wso2.carbon.esb.tests-4.6.0.jar in your local repo. Maven cannot find the jar in online repos as well, which is the problem here. You have to build ESB 4.6.0 with tests to solve this problem. In order to support for cross product/version scenarios we have

[Dev] Kernel 4.1.0 build failure

2013-03-13 Thread Krishantha Samaraweera
Latest kernel 4.1.0 build failed due to following error. What could be the reason here ? Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (default) on project wso2carbon-core: Error executing ant tasks: /home/krishantha/svn/trunk/carbon/kernel/branches/4.1.0/distribution

[Dev] What is the best browser and approach to execute UI integration test with product builds.

2013-03-11 Thread Krishantha Samaraweera
Hi all, We are in the process of writing UI integration tests for our products. All tests are going to be added under product integration tests and included to product builds. Currently tests are configured to run on Firefox browser by using latest selenium WebDriver version (2.31.0). There are f

Re: [Dev] Integrating Jmeter test script execution with test automation framework 4.0.8

2013-03-08 Thread Krishantha Samaraweera
On Fri, Mar 8, 2013 at 2:25 PM, Nuwan Wimalasekara wrote: > > > On Fri, Mar 8, 2013 at 10:11 AM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> Hi Nuwan, >> >> It would be a great idea to write a simple "how to use" doc based on &g

Re: [Dev] Integrating Jmeter test script execution with test automation framework 4.0.8

2013-03-08 Thread Krishantha Samaraweera
;> generate reports easliy from the test file. >> > > Thanks Nirodha. will consider this as well > > Thanks, > Nuwanw > >> >> regards, >> Nirodha >> >> >> On Thu, Mar 7, 2013 at 8:43 PM, Nuwan Wimalasekara wrote: >> >>>

Re: [Dev] Integrating Jmeter test script execution with test automation framework 4.0.8

2013-03-07 Thread Krishantha Samaraweera
Hi Nuwan, It would be a great idea to write a simple "how to use" doc based on instructions in this mail. So we can add that to our documentation space. Thanks, Krishantha. On Fri, Mar 8, 2013 at 10:06 AM, Nuwan Wimalasekara wrote: > Hi > We have already added the basic Jmeter reports with the

Re: [Dev] Integrating Jmeter test script execution with test automation framework 4.0.8

2013-03-07 Thread Krishantha Samaraweera
Excellent work Nuwan and Dharshana! QA team/Product teams hope you guys can add the jmeter scripts that used for day to day testing in to automation framework and enable them to run daily with our build system. Thanks, Krishantha. On Thu, Mar 7, 2013 at 7:42 PM, Nuwan Wimalasekara wrote: > Hi

Re: [Dev] Test failures due to changes of org.wso2.carbon.user.mgt

2013-02-28 Thread Krishantha Samaraweera
Hi Dimuthud, Can you please check this issue. Seems like user mgt API has been changed. We will have to change the framework accordingly. Thanks, Krishantha. On Thu, Feb 28, 2013 at 5:05 PM, Eranda Sooriyabandara wrote: > Hi Krishantha, > We face this problem due to clarity framework doesn't ha

Re: [Dev] Invitation: Invitation: Code review - Automation Framework , Context p... @ Thu Feb 28, 2013 1:30pm - 2:30pm (krishan...@wso2.com)

2013-02-28 Thread Krishantha Samaraweera
aps?q=LK+%2359+2nd+Floor+Room&hl=en> > ) > *Calendar* > krishan...@wso2.com > *Who* > • > Dharshana Warusavitharana - organizer > • > Chamara Silva > • > Amila Maha Arachchi > • > Randika Ratnayake > • > Pradeep Fernando > • > Nuwan Wimalasekara &

Re: [Dev] [Test Automation] Tests unable to import resources via URLs

2013-01-22 Thread Krishantha Samaraweera
Hi Vijitha, Most tests are failed because of below error. javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at ' https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/platform-integration/clarity-tests/1.0.6/org.wso2.carbon.automation.tes

Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #63 has FAILED (11 tests failed, no failures were new). Change made by nuwanw.

2013-01-21 Thread Krishantha Samaraweera
h next bamboo build > > Thanks, > Nuwanw > > On Mon, Jan 21, 2013 at 10:55 AM, Nuwan Wimalasekara wrote: > >> >> >> On Fri, Jan 18, 2013 at 8:20 PM, Krishantha Samaraweera < >> krishan...@wso2.com> wrote: >> >>> Hi Nuwan, >>>

Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #63 has FAILED (11 tests failed, no failures were new). Change made by nuwanw.

2013-01-18 Thread Krishantha Samaraweera
Hi Nuwan, Can you check why these test failures are ? need to check whether these failures are specific to bamboo. Thanks, Krishantha. On Fri, Jan 18, 2013 at 8:00 PM, Bamboo wrote: > [image: Failed] WSO2 Carbon > 4.0.x› Products > 4.0.6

Re: [Dev] [BUILD FAILED] WSO2 Carbon 4.0.x - Kernel 4.0.5 build #58

2012-12-13 Thread Krishantha Samaraweera
Please refer to the mail thread at dev with subject "[Dev] Kernel test failures in PersistenceManagerTest" Thanks, Krishantha. On Fri, Dec 14, 2012 at 10:52 AM, Maheshika Goonetilleke wrote: > Hi All > > Kernel 4.0.5 build #58 has failed due test failures. Please refer below > for the error det

[Dev] Blocker for ESB integration test execution

2012-12-12 Thread Krishantha Samaraweera
ESB test execution hangs intermittently due to the issue at [1]. This is a blocker for smooth integration test execution. Any possibility to get this fixed for 4.0.5 release. Thanks, Krishnatha. [1]https://wso2.org/jira/browse/ESBJAVA-1651 - ESB server hangs when synapse configuration has a Spri

Re: [Dev] Kernel test failures in PersistenceManagerTest

2012-12-12 Thread Krishantha Samaraweera
Hi Dileepa, Last bamboo kernel build[1] also failed due to following failures. Did you commit the fixes to branch? build 12-Dec-2012 21:00:49 Tests in error: build 12-Dec-2012 21:00:49 testNewServiceGroupAddition(org.wso2.carbon.core.test.persistence.PersistenceManagerTest) build 12-Dec-

Re: [Dev] WSO2 Governance Registry 4.5.3-RC1

2012-12-09 Thread Krishantha Samaraweera
Hi Subash, Any chance to run G-Reg integration tests. I think most G-Reg integration tests are at broken stage due to recent changes. We better start fixing the test cases as we have come to RC releases. Thanks, Krishantha. On Sat, Dec 8, 2012 at 12:18 AM, Subash Chaturanga wrote: > Hi all, >

Re: [Dev] Package Contents Validation Tests

2012-12-05 Thread Krishantha Samaraweera
On Wed, Dec 5, 2012 at 3:02 PM, Senaka Fernando wrote: > Hi all, > > Have we done at least a part of this, https://wso2.org/jira/browse/TA-598? > Nope we didn't get much time to work on this item yet. Thanks, Krishantha. > > Thanks, > Senaka. > > > On Mon,

Re: [Dev] Svn externals in App server integration tests.

2012-12-04 Thread Krishantha Samaraweera
Fixed. Thanks, Krishantha. On Wed, Dec 5, 2012 at 11:07 AM, Samisa Abeysinghe wrote: > > > On Wed, Dec 5, 2012 at 10:32 AM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> I do see lot of externals in App server integration tests. And all are >>

[Dev] Svn externals in App server integration tests.

2012-12-04 Thread Krishantha Samaraweera
I do see lot of externals in App server integration tests. And all are pointing to /jaggery/0.9.0.ALPHA2-wso2v1 which is not the latest. Given that svn update delayed due to these kind of externals, we better eliminate all these externals, or we can have a single external to resource directory rath

[Dev] Integration test module added to API manager

2012-12-04 Thread Krishantha Samaraweera
New integration test module has been added to api-manager. Only one test case added to verify server startup. Please proceed with adding new integration tests. Thanks, Krishantha. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinf

Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.0.x - Nightly > Kernel_4.0.5 > #20 has FAILED

2012-12-03 Thread Krishantha Samaraweera
Axis2 integration tests are failing. Can someone please have a look. Thanks, Krishantha. On Tue, Dec 4, 2012 at 2:48 AM, Bamboo wrote: > [image: Failed] WSO2 Carbon 4.0.x - > Nightly› > Kernel_4.0.5

Re: [Dev] [BUILD FAILED] WSO2 Carbon 4.0.x Platform_4.0.5 build #57

2012-12-02 Thread Krishantha Samaraweera
This was due to recent changes to ResourceAdminService.wsdl contact. Fixed already. build #58 was successful. Thanks, Krishantha. On Mon, Dec 3, 2012 at 11:16 AM, Maheshika Goonetilleke wrote: > Hi All > > Platform_4.0.5 build #57 has failed due to the following error; > > > 02-Dec-2012 17:45:18

Re: [Dev] compilation error : addResource(java.lang.String, java.lang.String, java.lang.String, javax.activation.DataHandler, java.lang.String, org.wso2.carbon.registry.resource.stub.services.ArrayOfS

2012-12-02 Thread Krishantha Samaraweera
Fixed now. This is due to recent changes to ResourceAdminService.wsdl, those who changing the wsdl contact please make sure to build the platform at least up to clarity-framework and verify your changes doesn't harm anything. Thanks, Krishantha. On Mon, Dec 3, 2012 at 12:06 AM, Sumedha Rubasingh

Re: [Dev] G-Reg 4.5.3 integration test failures

2012-11-28 Thread Krishantha Samaraweera
): expected: but was: Tests run: 1088, Failures: 4, Errors: 0, Skipped: 5 Thanks, Krishantha. On Thu, Nov 29, 2012 at 1:16 AM, Krishantha Samaraweera wrote: > Hi G-Reg team, > > I have fixed most test cases which was broken due to UM design issue > etc... As per the offline discussion had

Re: [Dev] [BUILD FAILED] WSO2 Carbon 4.0.x Kernel 4.0.5 build #26

2012-11-28 Thread Krishantha Samaraweera
Following modules have also been failed. Could be the reason for these integration failures. BTW, how kernel distribution was build even with these failures? Apache Axis2 - JAXWS .. FAILURE [1:14.167s] Apache Axis2 - JAXWS Integration Tests SKIPPED Apache A

[Dev] G-Reg 4.5.3 integration test failures

2012-11-28 Thread Krishantha Samaraweera
Hi G-Reg team, I have fixed most test cases which was broken due to UM design issue etc... As per the offline discussion had with Prabath, Clarity user and role creation logic has been changed as a workaround. Subscriptions test package has been disabled because JMX and management console subscri

Re: [Dev] G-Reg integration test failures due to user mgt issue.

2012-11-23 Thread Krishantha Samaraweera
Any update ? Thanks, Krishantha. On Thu, Nov 22, 2012 at 2:39 PM, Krishantha Samaraweera wrote: > Most G-Reg permission tests got failed in 4.5.3 build, and after analysing > the failures found that following steps casing it. > > 1. Add a new user and assign him to admin role. Let

Re: [Dev] [GReg] Integration test compilation failure

2012-11-22 Thread Krishantha Samaraweera
This was due to a missing commit. Fixed now. -Krishantha. On Fri, Nov 23, 2012 at 1:37 AM, Subash Chaturanga wrote: > Hi $subject,. > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile > (default-testCompile) on project org.wso2.carbon.registry

[Dev] G-Reg integration test failures due to user mgt issue.

2012-11-22 Thread Krishantha Samaraweera
Most G-Reg permission tests got failed in 4.5.3 build, and after analysing the failures found that following steps casing it. 1. Add a new user and assign him to admin role. Lets refer this user as newAdminUser. 2. Create a new role and grant all permissions in tree. 3. Add another two users and a

Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Kernel 4.0.4 > #24 was SUCCESSFUL. Change made by 4 authors.

2012-11-19 Thread Krishantha Samaraweera
The test failures in kernel level seems to be intermittent. Possible reasons for these failures are 1. Issue with test case itself. 2. Bamboo load causing test failures. 3. Failure introduced by carbon core. The same set of tests have been executing successfully over last year. And changes introd

Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.5 > #20 has FAILED. Change made by dharshanaw and subash.

2012-11-18 Thread Krishantha Samaraweera
Hi Dharshana, Please check this failure. Thanks, Krishantha. On Mon, Nov 19, 2012 at 10:43 AM, Bamboo wrote: > [image: Failed] WSO2 Carbon > 4.0.x› Platform > 4.0.5 › > #20

Re: [Dev] [BUILD FAILED] WSO2 Carbon 4.0.x Platform_4.0.5 build #5

2012-11-15 Thread Krishantha Samaraweera
We haven't created Clarity 4.0.5 branch yet. Will add it once done. Please proceed with removing it from builder profile. Thanks, Krishantha. On Thu, Nov 15, 2012 at 5:56 PM, Muhammed Shariq wrote: > Hi Maheshika, > > This error occurs because the following module is listed in the root pom's >

Re: [Dev] BUILD FAILED] WSO2 Carbon 4.0.x - Nightly Kernel_4.0.4 build #15

2012-11-14 Thread Krishantha Samaraweera
I was able to run the kernel integration tests locally. It seems to be intermittent failure on bamboo machine as WCB002-NKER002-14 was successful. Following warning was thrown at the server shutdown in one test case and it cased server process to hang. Carbon team, any idea what is going wrong he

[Dev] Some new features are not MT enabled.

2012-11-11 Thread Krishantha Samaraweera
Hi all, I was facing lot of troubles when executing automation tests on Stratos setup. Some of the new features are not really MT enabled and cannot be tested on Stratos. So this clarification is about product features which is not MT enabled, Are we going to fix the MT aspects for those features

Re: [Dev] [4.0.4] Test failure in branch

2012-11-09 Thread Krishantha Samaraweera
Hi Sanjeewa, Can you check whether the G-Reg server instance is still running? or any of the files inside "integration/registry/tests/target/" is open? We haven't encounter this kind of file locking situation before when running integration tests. Thanks, Krishantha. On Fri, Nov 9, 2012 at 6:07

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

2012-11-08 Thread Krishantha Samaraweera
eaned 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 ena

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 t

Re: [Dev] [BUILD FAILED] WSO2 Carbon 4.0.x Platform_4.0.4 build #9

2012-11-07 Thread Krishantha Samaraweera
On Wed, Nov 7, 2012 at 7:04 PM, Lalaji Sureshika wrote: > Hi, > > On Wed, Nov 7, 2012 at 6:02 PM, Chamara Silva wrote: > >> Reason is there's no platform-integration module in 4.0.4 patch >> -releases. Either we need to add clarity-framework inside to the 4.0.4 >> branch or need to remove clarit

Re: [Dev] Integration Tests Failure 4.0.4

2012-11-06 Thread Krishantha Samaraweera
Hi Sanjeewa, Can you check whether the path /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/../../../kernel/4.0.3/target/wso2carbon-core-4.0.4.zip is exists? I think this is related to carbon-core distro version. Thanks, Krishantha. On Tue, Nov 6, 2012 at 7:24 PM, S

[Dev] How to get G-Reg management console subscription works on MT mode.

2012-11-05 Thread Krishantha Samaraweera
Hi G-Reg team, I'm trying to execute mgt console subscription tests on MT mode. Worklist configuration has set as below. But this feature doesn't seems to work on MT mode. Changing local transport URL into https://localhost:9443/services/doesn't help either. admin...@wso2autoqa0001.org

Re: [Dev] How to write integration tests?

2012-10-31 Thread Krishantha Samaraweera
We do have unit tests only for some components such as org.wso2.carbon.dataservices.core and org.wso2.carbon.registry.core. No documents available on the subject yet. Rajika's suggestion would be the best approach. Thanks, Krishantha. On Wed, Oct 31, 2012 at 10:23 PM, Chintana Wilamuna wrote: >

Re: [Dev] Tests are not running on Windows

2012-10-23 Thread Krishantha Samaraweera
Fix committed. Thanks, Krishantha. On Fri, Oct 12, 2012 at 11:54 PM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Fixed the issue. I will commit the changes after running product > integration tests on Windows and Linux. > > Thanks, > Krishantha. > > On Th

Re: [Dev] Environmental based mixed mode test execution facility is added with Clarity

2012-10-22 Thread Krishantha Samaraweera
Thanks Dharshana. This will be a great addition to the Clarity framework. Lets apply this to a product like DSS with average test count and get all integration tests run on MT mode. We need to measure the time taken for all tests and fine tune the code if this introduce any extra delays. Thanks,

[Dev] Migrate all App Server tests to Clarity framework.

2012-10-22 Thread Krishantha Samaraweera
Hi Chamara, App Server tests are not yet compatible with Clarity and we need to get the $subject done in order to run App server tests on 1. Clustered environment / Product platform. 2. Stratos environment. Thanks, Krishantha. ___ Dev mailing list Dev@

Re: [Dev] Package Contents Validation Tests

2012-10-22 Thread Krishantha Samaraweera
Hi Senaka, +1, Please go ahead and raise a TA JIRA. We will start work on this after prioritizing the requirement with remaining work. Thanks, Krishantha. On Mon, Oct 22, 2012 at 10:31 AM, Dharshana Warusavitharana < dharsha...@wso2.com> wrote: > Hi Senaka, > > Currently we don't currently hav

Re: [Dev] Clarity-core enhanced to work with the worker-manager separated architecture

2012-10-16 Thread Krishantha Samaraweera
(). // getting manager configs > > ex : > environment.getAs().getWorkerVariables().getHostName() > > > > Thanks, > Chamara Silva > > > > On Tue, Oct 16, 2012 at 12:35 PM, Krishantha Samaraweera > wrote: > > Hi Chamara, > > > > Can you please

Re: [Dev] Clarity-core enhanced to work with the worker-manager separated architecture

2012-10-16 Thread Krishantha Samaraweera
Hi Chamara, Can you please illustrate how to use this new feature for Clustered environment (worker manager separated) A simple example would be great. Thanks, Krishantha. On Tue, Oct 16, 2012 at 11:20 AM, Chamara Silva wrote: > With the above feature, existing tests can be run on top of the

Re: [Dev] Improvements need for clarity tests

2012-10-15 Thread Krishantha Samaraweera
Hi Ajith, Thanks for the pointers. I will re-factor the test code to after the release and fix whatever test convention violations. I just pasted the testNG best practices and tips mail I have sent to the list sometime back. I will write a best practices guide for integration test with all of the

Re: [Dev] Something wrong in the PA builder

2012-10-15 Thread Krishantha Samaraweera
AFAIK, this is bug in our products, even though we call graceful shutdown the server process doesn't get terminated properly. Because of this issue, we had to use the forceful shutdown in new integration framework. I have tried several times to identify the steps to reproduce the issue but this see

Re: [Dev] Integration test failure in Carbon 4.0.2

2012-10-13 Thread Krishantha Samaraweera
21 PM, Amila Maha Arachchi wrote: > I have reported another weird failure in kernel. I think these are > happening only in the PA builder. > > On Sat, Oct 13, 2012 at 9:11 PM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> I did a build again with lat

Re: [Dev] Integration test failure in Carbon 4.0.2

2012-10-13 Thread Krishantha Samaraweera
I did a build again with latest changes and haven't got such a failure. Thanks, Krishantha. On Fri, Oct 12, 2012 at 8:37 PM, Dileepa Jayakody wrote: > Hi all, > > I see the below failure in 4.0.2 kernel integration > > Test class: org.wso2.carbon.integration.tests.MaintenanceModeTestCase > Tes

Re: [Dev] Integration test failure in Carbon 4.0.2

2012-10-12 Thread Krishantha Samaraweera
Can someone from carbon core team please check this. Thanks, Krishantha. On Fri, Oct 12, 2012 at 8:37 PM, Dileepa Jayakody wrote: > Hi all, > > I see the below failure in 4.0.2 kernel integration > > Test class: org.wso2.carbon.integration.tests.MaintenanceModeTestCase > Test Method: startMaint

Re: [Dev] Tests are not running on Windows

2012-10-12 Thread Krishantha Samaraweera
Fixed the issue. I will commit the changes after running product integration tests on Windows and Linux. Thanks, Krishantha. On Thu, Oct 11, 2012 at 10:21 AM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Hi Samisa, > > On Thu, Oct 11, 2012 at 7:30 AM, Samisa Abeysinghe

Re: [Dev] Tests are not running on Windows

2012-10-10 Thread Krishantha Samaraweera
out whether any process locking the jar under instrumentation. So it might take some more time to find the correct fix for this. Thanks, Krishantha. > > > On Wed, Oct 10, 2012 at 9:57 PM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> Command line jar instrume

Re: [Dev] Tests are not running on Windows

2012-10-10 Thread Krishantha Samaraweera
tha. On Wed, Oct 10, 2012 at 12:49 PM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > It seems like this is windows specific issue. I will check this. > > Thanks, > Krishantha. > > On Wed, Oct 10, 2012 at 8:06 AM, Samisa Abeysinghe wrote: > >> Running

[Dev] Server startup verification test fails in builder machine

2012-10-10 Thread Krishantha Samaraweera
ServerStartup Verification tests fails in builder machine with the following issue. But the same test works fine on local machine. We investigate the test failure in builder machine and found that calling getAllSystemLogs operation from LogViewer admin service timeouts. Setting 180 sec timeout inte

Re: [Dev] Tests are not running on Windows

2012-10-10 Thread Krishantha Samaraweera
It seems like this is windows specific issue. I will check this. Thanks, Krishantha. On Wed, Oct 10, 2012 at 8:06 AM, Samisa Abeysinghe wrote: > Running TestSuite > Configuring TestNG with: > org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@54fc9944 > [2012-10-10 08:05:21,246] INFO

Re: [Dev] DSS integration test failure

2012-10-09 Thread Krishantha Samaraweera
Fixed the two failure, all tests were successful in clean repo build. Thanks, Krishantha. On Mon, Oct 8, 2012 at 5:14 PM, Dinusha Senanayaka wrote: > Hi Amila, > > will check this.. Already there is a carbon JIRA reported for this. > > Regards, > > > On Mon, Oct 8, 2012 at 4:55 PM, Amila Maha

Re: [Dev] G-Reg integration test failures

2012-10-09 Thread Krishantha Samaraweera
I do not see these failures with clean repo build. Test execution is still in progress. Thanks, Krishantha. On Mon, Oct 8, 2012 at 7:12 PM, Amila Maha Arachchi wrote: > Report attached. There are thousands of tests and about 250 has failed. > > -- > *Amila Maharachchi* > Technical Lead > Member

Re: [Dev] CEP integration test failure

2012-10-09 Thread Krishantha Samaraweera
All CEP tests were passed even after build in a clean repo. Thanks, Krishantha. On Mon, Oct 8, 2012 at 11:08 PM, Krishantha Samaraweera wrote: > Test was successful with latest CEP build. But need to double check with > clean repo build. > > Thanks, > Krishantha. > > On

[Dev] Automation tests as a deliverable artifact

2012-10-09 Thread Krishantha Samaraweera
Hi, I'm working on $subject to package all product integration tests as a distribution and make it available to run OOB with any platform (Stratos or product). So the users can download the distribution then point it to product or Stratos setup and run. This will reduce the time taken to setup th

Re: [Dev] CEP integration test failure

2012-10-08 Thread Krishantha Samaraweera
lient.HttpMethodBase.execute(HttpMethodBase.java:1098) > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at > org.apac

Re: [Dev] CEP integration test failure

2012-10-08 Thread Krishantha Samaraweera
Fixed the order of test execution. Please update integration test module and build again. Thanks, Krishantha. On Mon, Oct 8, 2012 at 4:02 PM, Amila Maha Arachchi wrote: > > --- > Test set: TestSuite > >

[Dev] Integration test to verify server startup errors

2012-10-03 Thread Krishantha Samaraweera
You can extend ServerStartupBaseTest from Clarity-framework to check the errors on server startup. In order to guarantee that the test runs immediately after server startup, you need to put the test case into new test package and create new test suite xml by setting preserve-order="true" option. Th

Re: [Dev] Integration test failures in kernel

2012-10-02 Thread Krishantha Samaraweera
I was able to run Kernel integration tests after updating to latest integration test core version. However, i see most of the tests failed due to port binding issue - "Caused by: java.net.BindException: Address already in use' Please make sure to terminate all carbon server processes in the build

Re: [Dev] Exceptions thrown when shutting down server during integration test

2012-10-02 Thread Krishantha Samaraweera
Fixed the "*java.io.IOException: Stream closed" *error. I got the same "DB already closed error". Need some time to figure out whether it is cased by forceful shutdown. Thanks, Krishantha. On Tue, Oct 2, 2012 at 11:45 AM, Krishantha Samaraweera wrote: > The error "

Re: [Dev] Exceptions thrown when shutting down server during integration test

2012-10-01 Thread Krishantha Samaraweera
The error "*Database is already closed" *either could be a bug with carbon server shut down or calling forceful shutdown cased it. I did try to reproduce this issue with a latest CEP build and couldn't get the same error. However I have seen the same error with G-Reg while running integration test

[Dev] Hadoop dependency build failure

2012-09-26 Thread Krishantha Samaraweera
I'm getting following error when building hadoop -0.20.203.1-wso2v2. :: [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: [ivy:resolve] :: [ivy:resolve] :: org.mortbay.jetty#jsp-2.1;6.1.14: configura

Re: [Dev] G-Reg test integration hangs

2012-09-24 Thread Krishantha Samaraweera
Hi Eranda, This is due a infinite loop caused by error condition. Fixed the infinite loop. So now you will get the real failure. Thanks, Krishantha. On Mon, Sep 24, 2012 at 8:00 AM, Krishantha Samaraweera wrote: > Hi Eranda, > > Will check this after building the branch. BTW,

[Dev] New integration test module added to CEP

2012-09-24 Thread Krishantha Samaraweera
Hi, Clarity framework based new integration test module has been added to CEP. You can find the new module at [1] Please start migrating existing CEP tests into that module. Thanks, Krishantha. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/cep/2.0.0/modules/integra

Re: [Dev] G-Reg test integration hangs

2012-09-23 Thread Krishantha Samaraweera
Hi Eranda, Will check this after building the branch. BTW, I haven't encountered such an issue while running all G-Reg tests on 4.5.0 build. Thanks, Krishantha. On Sun, Sep 23, 2012 at 9:59 AM, Eranda Sooriyabandara wrote: > Hi Krishantha, > I see the test framework hangs for long time in testD

Re: [Dev] Clarity Test Executor Package is ready to use.

2012-09-20 Thread Krishantha Samaraweera
Excellent work Dharshana. With this new feature addition, product integration tests can be reused and executed on product platform or Stratos setup very easily. Thanks, Krishantha. On Thu, Sep 20, 2012 at 7:54 PM, Dharshana Warusavitharana < dharsha...@wso2.com> wrote: > Hi All, > > The clarity

[Dev] Migrating existing Clarity tests into DSS integration module

2012-09-11 Thread Krishantha Samaraweera
I have created new module at [1] to use as new location for integration tests. All existing Clarity tests which can be located at [2] will be migrated to this module. We need DSS team help for this migration effort. Please make sure to update automation status column of DSS high level test cases

Re: [Dev] Latest G-Reg test failures.

2012-09-06 Thread Krishantha Samaraweera
Did a possible fix to CustomPermissionTestCase. Now all permission tests are passing. Need to do full test run again. Thanks, Krishantha. On Thu, Sep 6, 2012 at 1:11 PM, Ajith Vitharana wrote: > > > On Thu, Sep 6, 2012 at 11:49 AM, Ajith Vitharana wrote: > >> >> Results : >> >> Failed tests: >

Re: [Dev] New integration test module added to G-Reg build

2012-09-04 Thread Krishantha Samaraweera
.carbon.registry.utfsupport.test.UTFSupportForMetadataTestCase): expected: but was: testActivitySearchOnly(org.wso2.carbon.registry.permission.test.CustomPermissionTestCase): expected: but was: Thanks, Krishantha. On Tue, Sep 4, 2012 at 12:32 PM, Krishantha Samaraweera wrote: > > > On Tue, Sep 4, 2012 at 12:31 PM, Senaka Fernando wrote

Re: [Dev] New integration test module added to G-Reg build

2012-09-04 Thread Krishantha Samaraweera
On Tue, Sep 4, 2012 at 12:31 PM, Senaka Fernando wrote: > Hi Krishantha, > > We will check on those, but we'll have to stop adding any new tests, > because we need to release. > +1 Thanks, Krishantha. > > Thanks, > Senaka. > > > On Tue, Sep 4, 2

Re: [Dev] New integration test module added to G-Reg build

2012-09-03 Thread Krishantha Samaraweera
ed to do > the release and the branch will be frozen. And, the tests are failing due > to issues in them from what I understand, and we do not have the time to > fix those (ex:- Registry916). > > Thanks, > Senaka. > > > On Tue, Sep 4, 2012 at 4:57 AM, Krishantha Samaraweera <

Re: [Dev] New integration test module added to G-Reg build

2012-09-03 Thread Krishantha Samaraweera
4, 2012 at 2:00 AM, Krishantha Samaraweera wrote: > New integration tests module "tests-new" has been added G-Reg build. This > module contain 1200+ new test cases which take around 40 min for execution. > Migrated tests are also included in this module but those tests were not > enabl

[Dev] New integration test module added to G-Reg build

2012-09-03 Thread Krishantha Samaraweera
New integration tests module "tests-new" has been added G-Reg build. This module contain 1200+ new test cases which take around 40 min for execution. Migrated tests are also included in this module but those tests were not enabled, as I need to fix some tests resource leakage issues. So you will fi

Re: [Dev] G-Reg graceful server restart fails.

2012-08-26 Thread Krishantha Samaraweera
ement Console work? > > Thanks, > Senaka. > > > On Sun, Aug 26, 2012 at 2:32 PM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >> I have added 2000 resources in to G-Reg before restarting. And you need >> to wait for indexing to be up and running a

Re: [Dev] G-Reg graceful server restart fails.

2012-08-26 Thread Krishantha Samaraweera
racefully > Restart the server from the Management Console right? Do I have to wait for > sometime for Indexing to be up and running etc? > > Thanks, > Senaka. > > > On Sat, Aug 25, 2012 at 10:44 PM, Krishantha Samaraweera < > krishan...@wso2.com> wrote: > >>

Re: [Dev] G-Reg graceful server restart fails.

2012-08-25 Thread Krishantha Samaraweera
> As discussed, let's delay the wait time further to see whether the server > actually comes to a halt eventually, if it does not we'll have to debug and > fix. > > Thanks, > Senaka. > > On Thu, Aug 23, 2012 at 6:38 PM, Krishantha Samaraweera < > krishan...@

[Dev] G-Reg graceful server restart fails.

2012-08-23 Thread Krishantha Samaraweera
Hi Senaka, Any possibility to get this issue fixed - https://wso2.org/jira/browse/REGISTRY-1266 This is a blocker for current integration tests execution. Thanks, Krishantha. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/de

Re: [Dev] Build error in automation api in clean repo

2012-08-19 Thread Krishantha Samaraweera
Removed qpid-client dependency from clarity-api, will use andes client in future. Thanks, Krishantha. On Fri, Aug 17, 2012 at 10:49 PM, Janaka Ranabahu wrote: > Hi Again, > > Seems this jar is not in our nexus. Please refer [1]. > > Thanks, > Janaka > > [1] > http://maven.wso2.org/nexus/content

Re: [Dev] Why Does Automation Bundles pack log4.properties multiple times?

2012-08-19 Thread Krishantha Samaraweera
Hi Senaka, G-Reg integration tests use two test cores, one is Clarity-farmework core and other one is integration.core. Clarity core has only one log4j property file and integration.core has another file. Having two dependencies may have caused this confusion. I have removed Clarity-core dependenc

Re: [Dev] Error in building kernel - r138299

2012-08-17 Thread Krishantha Samaraweera
Removing .m2/repository/org/wso2/carbon/carbon-kernel-features solve the problem for me. Thanks, Krishantha. On Fri, Aug 17, 2012 at 11:36 AM, Kasun Weranga wrote: > > > On Thu, Aug 16, 2012 at 10:37 PM, Janaka Ranabahu wrote: > >> Hi Pradeep, >> >> I see the same error on Bamboo build "WSO2 C

Re: [Dev] Error in building kernel - r138299

2012-08-15 Thread Krishantha Samaraweera
I'm getting the same error while building kernel. Thanks, Krishantha. On Thu, Aug 16, 2012 at 1:08 AM, Janaka Ranabahu wrote: > Hi All, > > Getting the following error. Any thoughts? > > [INFO] Apache Axis2 - Root ... SUCCESS [6.594s] > [INFO] axis2.wso2

<    1   2   3   4   5   6   7   >