Re: [Dev] Carbon-core cannot be built with Tests on

2012-05-22 Thread Afkham Azeez
Can you retry carbon kernel build after an update? There were issues
related to security fixes.

On Tue, May 22, 2012 at 10:04 AM, Nuwan Bandara nu...@wso2.com wrote:

 no ACK ?


 On Tue, May 22, 2012 at 8:28 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi,

 FYI,


 essor.run(NioEndpoint.java:1620)
 [2012-05-22 08:26:57,032]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 [2012-05-22 08:26:57,032]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 [2012-05-22 08:26:57,032]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.Thread.run(Thread.java:662)
 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27, Time elapsed: 84.548
 sec  FAILURE!

 Results :

 Failed tests:
   startServer(org.wso2.carbon.integration.tests.CarbonTestServerManager):
 org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
 java.lang.RuntimeException: Could not login to Carbon server within
 6ms. portOffset=0

 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27

 [2012-05-22 08:26:59,209]  INFO
 {org.wso2.carbon.integration.framework.utils.ServerUtils} -  Shutting down
 server...
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Carbon Core - Distribution ... SUCCESS
 [35.742s]
 [INFO] WSO2 Carbon - Integration . SUCCESS
 [0.338s]
 [INFO] WSO2 Carbon - Security Verification Service ... SUCCESS
 [5.338s]
 [INFO] WSO2 Carbon - Integration Core  SUCCESS
 [6.361s]
 [INFO] WSO2 Carbon - Integration Testing Framework ... SUCCESS
 [2.187s]
 [INFO] WSO2 Carbon - Integration Tests ... FAILURE
 [1:26.542s]
 [INFO] WSO2 Carbon - Product Parent .. SKIPPED
 [INFO] WSO2 Carbon - UI styles ... SKIPPED
 [INFO] WSO2 Carbon - Style Feature ... SKIPPED
 [INFO] WSO2 Carbon - Profile Generation .. SKIPPED
 [INFO] WSO2 Carbon - Distribution  SKIPPED
 [INFO] Distribution-Aggregate  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:17.933s
 [INFO] Finished at: Tue May 22 08:26:59 IST 2012
 [INFO] Final Memory: 85M/1176M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on
 project org.wso2.carbon.integration.tests: There are test failures.
 [ERROR]
 [ERROR] Please refer to
 /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
 goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test
 (default-test) on project org.wso2.carbon.integration.tests: There are test
 failures.

 Please refer to
 /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports
 for the individual test results.
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
  at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
  at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
  at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
  at
 

[Dev] Carbon-core cannot be built with Tests on

2012-05-21 Thread Nuwan Bandara
Hi,

FYI,


essor.run(NioEndpoint.java:1620)
[2012-05-22 08:26:57,032]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[2012-05-22 08:26:57,032]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[2012-05-22 08:26:57,032]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.lang.Thread.run(Thread.java:662)
Tests run: 28, Failures: 1, Errors: 0, Skipped: 27, Time elapsed: 84.548
sec  FAILURE!

Results :

Failed tests:
  startServer(org.wso2.carbon.integration.tests.CarbonTestServerManager):
org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
java.lang.RuntimeException: Could not login to Carbon server within
6ms. portOffset=0

Tests run: 28, Failures: 1, Errors: 0, Skipped: 27

[2012-05-22 08:26:59,209]  INFO
{org.wso2.carbon.integration.framework.utils.ServerUtils} -  Shutting down
server...
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Carbon Core - Distribution ... SUCCESS [35.742s]
[INFO] WSO2 Carbon - Integration . SUCCESS [0.338s]
[INFO] WSO2 Carbon - Security Verification Service ... SUCCESS [5.338s]
[INFO] WSO2 Carbon - Integration Core  SUCCESS [6.361s]
[INFO] WSO2 Carbon - Integration Testing Framework ... SUCCESS [2.187s]
[INFO] WSO2 Carbon - Integration Tests ... FAILURE
[1:26.542s]
[INFO] WSO2 Carbon - Product Parent .. SKIPPED
[INFO] WSO2 Carbon - UI styles ... SKIPPED
[INFO] WSO2 Carbon - Style Feature ... SKIPPED
[INFO] WSO2 Carbon - Profile Generation .. SKIPPED
[INFO] WSO2 Carbon - Distribution  SKIPPED
[INFO] Distribution-Aggregate  SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2:17.933s
[INFO] Finished at: Tue May 22 08:26:59 IST 2012
[INFO] Final Memory: 85M/1176M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on
project org.wso2.carbon.integration.tests: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports
for the individual test results.
[ERROR] - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test
(default-test) on project org.wso2.carbon.integration.tests: There are test
failures.

Please refer to
/home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports
for the individual test results.
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.

Please refer to
/home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports
for the individual test results.
 at

Re: [Dev] Carbon-core cannot be built with Tests on

2012-05-21 Thread Nuwan Bandara
no ACK ?

On Tue, May 22, 2012 at 8:28 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi,

 FYI,


 essor.run(NioEndpoint.java:1620)
 [2012-05-22 08:26:57,032]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 [2012-05-22 08:26:57,032]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 [2012-05-22 08:26:57,032]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.Thread.run(Thread.java:662)
 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27, Time elapsed: 84.548
 sec  FAILURE!

 Results :

 Failed tests:
   startServer(org.wso2.carbon.integration.tests.CarbonTestServerManager):
 org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
 java.lang.RuntimeException: Could not login to Carbon server within
 6ms. portOffset=0

 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27

 [2012-05-22 08:26:59,209]  INFO
 {org.wso2.carbon.integration.framework.utils.ServerUtils} -  Shutting down
 server...
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Carbon Core - Distribution ... SUCCESS
 [35.742s]
 [INFO] WSO2 Carbon - Integration . SUCCESS [0.338s]
 [INFO] WSO2 Carbon - Security Verification Service ... SUCCESS [5.338s]
 [INFO] WSO2 Carbon - Integration Core  SUCCESS [6.361s]
 [INFO] WSO2 Carbon - Integration Testing Framework ... SUCCESS [2.187s]
 [INFO] WSO2 Carbon - Integration Tests ... FAILURE
 [1:26.542s]
 [INFO] WSO2 Carbon - Product Parent .. SKIPPED
 [INFO] WSO2 Carbon - UI styles ... SKIPPED
 [INFO] WSO2 Carbon - Style Feature ... SKIPPED
 [INFO] WSO2 Carbon - Profile Generation .. SKIPPED
 [INFO] WSO2 Carbon - Distribution  SKIPPED
 [INFO] Distribution-Aggregate  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:17.933s
 [INFO] Finished at: Tue May 22 08:26:59 IST 2012
 [INFO] Final Memory: 85M/1176M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on
 project org.wso2.carbon.integration.tests: There are test failures.
 [ERROR]
 [ERROR] Please refer to
 /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
 goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test
 (default-test) on project org.wso2.carbon.integration.tests: There are test
 failures.

 Please refer to
 /home/nuwanbando/wso2/carbon-dev/carbon/kernel/trunk/distribution/integration/tests/target/surefire-reports
 for the individual test results.
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
  at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
  at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
  at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
  at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 Caused by: org.apache.maven.plugin.MojoFailureException: There