Committed the change. Please take a svn up at 4.0.0/distribution/integration/4.0.4/tests
Thanks, Dileepa On Tue, Nov 6, 2012 at 8:10 PM, Dileepa Jayakody <[email protected]> wrote: > Yes The path should not be hard coded instead defined like; > > <carbon.zip>${basedir}/../../../kernel/${project.version}/target/wso2carbon-core-${project.version}.zip</carbon.zip> > > where project.version is 4.0.4 > > > On Tue, Nov 6, 2012 at 8:02 PM, Sumedha Rubasinghe <[email protected]>wrote: > >> But this path looks wrong.. It looks for 4.0.4 distro inside 4.0.3 folder >> path. >> >> >> On Tue, Nov 6, 2012 at 7:38 PM, Krishantha Samaraweera < >> [email protected]> wrote: >> >>> 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, Sanjeewa Malalgoda >>> <[email protected]>wrote: >>> >>>> Hi, >>>> Please fix following test failure (due to wrong version). >>>> >>>> Thanks. >>>> >>>> >>>> >>>> /.m2/repository/org/wso2/carbon/org.wso2.carbon.integration.core/4.0.4/org.wso2.carbon.integration.core-4.0.4-tests.jar >>>> [INFO] >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Building WSO2 Carbon - Integration Testing Framework 4.0.4 >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] >>>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] Deleting >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/target >>>> [INFO] >>>> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] Verifying module descriptor ... >>>> [INFO] Pom descriptor modification detected. >>>> [INFO] Deleting >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/target >>>> [INFO] >>>> [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] Deleting >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/target >>>> [INFO] >>>> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>>> [INFO] Copying 2 resources >>>> [INFO] >>>> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] Compiling 13 source files to >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/target/classes >>>> [INFO] >>>> [INFO] --- maven-resources-plugin:2.4.3:testResources >>>> (default-testResources) @ org.wso2.carbon.integration.framework --- >>>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>>> [INFO] skip non existing resourceDirectory >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/src/test/resources >>>> [INFO] >>>> [INFO] --- maven-compiler-plugin:2.3.1:testCompile >>>> (default-testCompile) @ org.wso2.carbon.integration.framework --- >>>> [INFO] No sources to compile >>>> [INFO] >>>> [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] No tests to run. >>>> [INFO] Surefire report directory: >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/target/surefire-reports >>>> There are no tests to run. >>>> [INFO] >>>> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] Building jar: >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/target/org.wso2.carbon.integration.framework-4.0.4.jar >>>> [INFO] >>>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ >>>> org.wso2.carbon.integration.framework --- >>>> [INFO] Installing >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/target/org.wso2.carbon.integration.framework-4.0.4.jar >>>> to >>>> /var/home/lakmali/.m2/repository/org/wso2/carbon/org.wso2.carbon.integration.framework/4.0.4/org.wso2.carbon.integration.framework-4.0.4.jar >>>> [INFO] Installing >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/framework/pom.xml >>>> to >>>> /var/home/lakmali/.m2/repository/org/wso2/carbon/org.wso2.carbon.integration.framework/4.0.4/org.wso2.carbon.integration.framework-4.0.4.pom >>>> [INFO] >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Building WSO2 Carbon - Integration Tests 4.0.4 >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] >>>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] Deleting >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target >>>> [INFO] >>>> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] Verifying module descriptor ... >>>> [INFO] Pom descriptor modification detected. >>>> [INFO] Deleting >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target >>>> [INFO] >>>> [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] Deleting >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target >>>> [INFO] >>>> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>>> [INFO] skip non existing resourceDirectory >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/src/main/resources >>>> [INFO] >>>> [INFO] --- maven-antrun-plugin:1.3:run >>>> (org.wso2.carbon.integration.tests-include-sources) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] Executing tasks >>>> [copy] Copying 2 files to >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target/test-classes >>>> [INFO] Executed tasks >>>> [INFO] >>>> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] No sources to compile >>>> [INFO] >>>> [INFO] --- maven-dependency-plugin:2.1:copy-dependencies (default) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] Copying emma-2.1.5320.jar to >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target/emma/emma-2.1.5320.jar >>>> [INFO] Copying org.wso2.carbon.integration.framework-4.0.3.jar to >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target/emma/org.wso2.carbon.integration.framework-4.0.3.jar >>>> [INFO] >>>> [INFO] --- maven-dependency-plugin:2.1:copy-dependencies >>>> (copy-secVerifier) @ org.wso2.carbon.integration.tests --- >>>> [INFO] Copying SecVerifier-4.0.2.aar to >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target/security-verifier/SecVerifier.aar >>>> [INFO] >>>> [INFO] --- maven-resources-plugin:2.4.3:testResources >>>> (default-testResources) @ org.wso2.carbon.integration.tests --- >>>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>>> [INFO] Copying 2 resources >>>> [INFO] >>>> [INFO] --- maven-compiler-plugin:2.3.1:testCompile >>>> (default-testCompile) @ org.wso2.carbon.integration.tests --- >>>> [INFO] Compiling 9 source files to >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target/test-classes >>>> [INFO] >>>> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ >>>> org.wso2.carbon.integration.tests --- >>>> [INFO] Surefire report directory: >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target/surefire-reports >>>> >>>> ------------------------------------------------------- >>>> T E S T S >>>> ------------------------------------------------------- >>>> Running TestSuite >>>> Configuring TestNG with: >>>> org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@19908ca1 >>>> [2012-11-06 03:15:30,799] ERROR >>>> {org.wso2.carbon.integration.framework.utils.ArchiveManipulatorUtil} - >>>> Error on archive extraction >>>> java.io.FileNotFoundException: >>>> /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 >>>> (No such file or directory) >>>> at java.io.FileInputStream.open(Native Method) >>>> at java.io.FileInputStream.<init>(FileInputStream.java:106) >>>> at java.io.FileInputStream.<init>(FileInputStream.java:66) >>>> at >>>> org.wso2.carbon.integration.framework.utils.ArchiveManipulatorUtil.extractFile(ArchiveManipulatorUtil.java:43) >>>> at >>>> org.wso2.carbon.integration.framework.utils.ServerUtils.setUpCarbonHome(ServerUtils.java:140) >>>> at >>>> org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:77) >>>> at >>>> org.wso2.carbon.integration.tests.CarbonTestServerManager.startServer(CarbonTestServerManager.java:48) >>>> 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) >>>> at >>>> org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46) >>>> at >>>> org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37) >>>> at >>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >>>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>>> at java.lang.Thread.run(Thread.java:662) >>>> Tests run: 29, Failures: 1, Errors: 0, Skipped: 28, Time elapsed: 0.852 >>>> sec <<< FAILURE! >>>> >>>> Results : >>>> >>>> Failed tests: >>>> startServer(org.wso2.carbon.integration.tests.CarbonTestServerManager): >>>> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException: >>>> java.io.IOException: Error on archive extraction >>>> >>>> Tests run: 29, Failures: 1, Errors: 0, Skipped: 28 >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Reactor Summary: >>>> [INFO] >>>> [INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS >>>> [0.267s] >>>> [INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module >>>> SUCCESS [0.045s] >>>> [INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module >>>> SUCCESS [0.009s] >>>> [INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS >>>> [19.928s] >>>> [INFO] WSO2 Carbon - Patch releases - core - Aggregator Module SUCCESS >>>> [0.007s] >>>> [INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS >>>> [6.305s] >>>> [INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS >>>> [7.644s] >>>> [INFO] WSO2 Carbon - Patch releases - features - Aggregator Module >>>> SUCCESS [0.006s] >>>> [INFO] WSO2 Carbon Core - Distribution ................... SUCCESS >>>> [56.039s] >>>> [INFO] WSO2 Carbon - Integration ......................... SUCCESS >>>> [0.019s] >>>> [INFO] WSO2 Carbon - Security Verification Service ....... SUCCESS >>>> [1.662s] >>>> [INFO] WSO2 Carbon - Integration Core .................... SUCCESS >>>> [3.111s] >>>> [INFO] WSO2 Carbon - Integration Testing Framework ....... SUCCESS >>>> [2.230s] >>>> [INFO] WSO2 Carbon - Integration Tests ................... FAILURE >>>> [3.205s] >>>> [INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module >>>> SKIPPED >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 1:41.719s >>>> [INFO] Finished at: Tue Nov 06 03:15:31 PST 2012 >>>> [INFO] Final Memory: 99M/969M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on >>>> project org.wso2.carbon.integration.tests: There are test failures. >>>> [ERROR] >>>> [ERROR] Please refer to >>>> /var/home/lakmali/branch/kernel/4.0.0/distribution/integration/4.0.4/tests/target/surefire-reports >>>> for the individual test results. >>>> [ERROR] -> [Help 1] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>>> [ERROR] >>>> [ERROR] After correcting the problems, you can resume the build with >>>> the command >>>> [ERROR] mvn <goals> -rf :org.wso2.carbon.integration.tests >>>> >>>> >>>> -- >>>> *Sanjeewa Malalgoda* >>>> WSO2 Inc. >>>> Mobile : +14084122175 | +94713068779 >>>> >>>> <http://sanjeewamalalgoda.blogspot.com/>blog >>>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/> >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> /sumedha >> m: +94 773017743 >> b : bit.ly/sumedha >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Dileepa Jayakody, > Software Engineer, WSO2 Inc. > Lean . Enterprise . Middleware > > Mobile : +94777-857616 > > -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
