Re: [Dev] AS integration test failures in 5.3.0-SNAPSHOT

2014-05-09 Thread Kasun Gajasinghe
Hi Krishantha,

Please find my comments in-line.


On Mon, May 5, 2014 at 11:23 AM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Krishantha,

 Our immediate plan is to address these issues. I'm currently working on
 WSAS-1712.

 Thanks,
 KasunG


 On Mon, May 5, 2014 at 11:21 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 There are around 10 test failures in the Jenkins build [1] and I got the
 same failure while building locally.

 I've raised JIRAs for each failure, most failures are due to 
 [WSAS-1712https://wso2.org/jira/browse/WSAS-1712
 ].

 https://wso2.org/jira/browse/WSAS-1712 - ClassNotFoundException:
 com.sun.el.ExpressionFactoryImpl when invoke webapps


Fixed.


  https://wso2.org/jira/browse/WSAS-1707 - HTTP 500 error when loged in as
 tenant


Fixed.


  https://wso2.org/jira/browse/WSAS-1705 - addressing mar module invalid
 error thrown when engaging the module in client side



This might be due to having several addressing mar files under [1]. It
seems these are getting copied during each integration test run.

[1]

$ ls
product-as/modules/integration/tests-integration/src/test/resources/client/modules/addressing*
src/test/resources/client/modules/addressing-1.6.1-wso2v11-20140408.185831-149.mar
src/test/resources/client/modules/addressing-1.6.1-wso2v11-20140428.185817-191.mar
src/test/resources/client/modules/addressing-1.6.1-wso2v11-20140505.215341-208.mar
src/test/resources/client/modules/addressing-1.6.1-wso2v11-SNAPSHOT.mar



  https://wso2.org/jira/browse/WSAS-1711 - Xfer module get deployed each
 time user is authenticated


I have removed this module, but it's unlikely that this module caused the
slow down of integration tests. As I see, waiting time of around 90 seconds
causes this slow down. One question, does the TAF do some kind of polling
while it waits for 90 seconds to check artifact deployment?


  https://wso2.org/jira/browse/WSAS-1709 - AS server start-up fails
 intermittently when running with JDK 1.6


I'm yet to find the cause for this issue. Will update the thread once it's
done.

Thanks,
KasunG



 [1]http://54.84.136.218:8080/jenkins/job/product-as/85/testReport/

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS integration test failures in 5.3.0-SNAPSHOT

2014-05-09 Thread Krishantha Samaraweera
Thanks Kasun!.. please check my comments inline.

On Fri, May 9, 2014 at 11:28 AM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Krishantha,

 Please find my comments in-line.


 On Mon, May 5, 2014 at 11:23 AM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Krishantha,

 Our immediate plan is to address these issues. I'm currently working on
 WSAS-1712.

 Thanks,
 KasunG


 On Mon, May 5, 2014 at 11:21 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 There are around 10 test failures in the Jenkins build [1] and I got the
 same failure while building locally.

 I've raised JIRAs for each failure, most failures are due to 
 [WSAS-1712https://wso2.org/jira/browse/WSAS-1712
 ].

 https://wso2.org/jira/browse/WSAS-1712 - ClassNotFoundException:
 com.sun.el.ExpressionFactoryImpl when invoke webapps


 Fixed.


  https://wso2.org/jira/browse/WSAS-1707 - HTTP 500 error when loged in
 as tenant


 Fixed.


  https://wso2.org/jira/browse/WSAS-1705 - addressing mar module invalid
 error thrown when engaging the module in client side



 This might be due to having several addressing mar files under [1]. It
 seems these are getting copied during each integration test run.

 [1]

 $ ls
 product-as/modules/integration/tests-integration/src/test/resources/client/modules/addressing*

 src/test/resources/client/modules/addressing-1.6.1-wso2v11-20140408.185831-149.mar

 src/test/resources/client/modules/addressing-1.6.1-wso2v11-20140428.185817-191.mar

 src/test/resources/client/modules/addressing-1.6.1-wso2v11-20140505.215341-208.mar
 src/test/resources/client/modules/addressing-1.6.1-wso2v11-SNAPSHOT.mar


We use maven unpack plugin to copy mar files to test resource location. So
these mar files copied from AS pack at .m2 repo. This problem should go
away once the pack with correct mar version available in .m2.





  https://wso2.org/jira/browse/WSAS-1711 - Xfer module get deployed each
 time user is authenticated


 I have removed this module, but it's unlikely that this module caused the
 slow down of integration tests. As I see, waiting time of around 90 seconds
 causes this slow down. One question, does the TAF do some kind of polling
 while it waits for 90 seconds to check artifact deployment?


Yes TAF does polling in every 500 ms to check whether the artifact is
deployed and wait function will return just after artifact deployed.



  https://wso2.org/jira/browse/WSAS-1709 - AS server start-up fails
 intermittently when running with JDK 1.6


 I'm yet to find the cause for this issue. Will update the thread once it's
 done.

 Thanks,
 KasunG



 [1]http://54.84.136.218:8080/jenkins/job/product-as/85/testReport/

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
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] AS integration test failures in 5.3.0-SNAPSHOT

2014-05-04 Thread Krishantha Samaraweera
Hi all,

There are around 10 test failures in the Jenkins build [1] and I got the
same failure while building locally.

I've raised JIRAs for each failure, most failures are due to
[WSAS-1712https://wso2.org/jira/browse/WSAS-1712
].

https://wso2.org/jira/browse/WSAS-1712 - ClassNotFoundException:
com.sun.el.ExpressionFactoryImpl when invoke webapps

https://wso2.org/jira/browse/WSAS-1707 - HTTP 500 error when loged in as
tenant

https://wso2.org/jira/browse/WSAS-1705 - addressing mar module invalid
error thrown when engaging the module in client side

https://wso2.org/jira/browse/WSAS-1711 - Xfer module get deployed each time
user is authenticated
https://wso2.org/jira/browse/WSAS-1709 - AS server start-up fails
intermittently when running with JDK 1.6

[1]http://54.84.136.218:8080/jenkins/job/product-as/85/testReport/

Thanks,
Krishantha.

-- 
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


Re: [Dev] AS integration test failures in 5.3.0-SNAPSHOT

2014-05-04 Thread Kasun Gajasinghe
Hi Krishantha,

Our immediate plan is to address these issues. I'm currently working on
WSAS-1712.

Thanks,
KasunG


On Mon, May 5, 2014 at 11:21 AM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi all,

 There are around 10 test failures in the Jenkins build [1] and I got the
 same failure while building locally.

 I've raised JIRAs for each failure, most failures are due to 
 [WSAS-1712https://wso2.org/jira/browse/WSAS-1712
 ].

 https://wso2.org/jira/browse/WSAS-1712 - ClassNotFoundException:
 com.sun.el.ExpressionFactoryImpl when invoke webapps

 https://wso2.org/jira/browse/WSAS-1707 - HTTP 500 error when loged in as
 tenant

 https://wso2.org/jira/browse/WSAS-1705 - addressing mar module invalid
 error thrown when engaging the module in client side

 https://wso2.org/jira/browse/WSAS-1711 - Xfer module get deployed each
 time user is authenticated
 https://wso2.org/jira/browse/WSAS-1709 - AS server start-up fails
 intermittently when running with JDK 1.6

 [1]http://54.84.136.218:8080/jenkins/job/product-as/85/testReport/

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev