Please check the attached the file the error log.

Thanks,
Sameera

-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
[INFO] ------------------------------------------------------------------------
[INFO] Building WSO2 Carbon - Event core Module
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/stratos/trunk-carbon/components/event/org.wso2.carbon.event.core/target
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile]
Compiling 47 source files to 
/home/stratos/trunk-carbon/components/event/org.wso2.carbon.event.core/target/classes
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Generating 2 MetaType Descriptors to 
/home/stratos/trunk-carbon/components/event/org.wso2.carbon.event.core/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
[INFO] Writing abstract service descriptor 
/home/stratos/trunk-carbon/components/event/org.wso2.carbon.event.core/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
 with 1 entries.
[INFO] Generating 1 Service Component Descriptors to 
/home/stratos/trunk-carbon/components/event/org.wso2.carbon.event.core/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:testCompile]
Compiling 3 source files to 
/home/stratos/trunk-carbon/components/event/org.wso2.carbon.event.core/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/home/stratos/trunk-carbon/components/event/org.wso2.carbon.event.core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running 
org.wso2.carbon.event.core.internal.delivary.jms.TestQpidJMSDelivaryManagerFactory
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.54 sec <<< 
FAILURE!
Running 
org.wso2.carbon.event.core.internal.delivary.jms.TestQpidJMSDelivaryManager
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.018 sec <<< 
FAILURE!
Running org.wso2.carbon.event.core.internal.builder.TestEventBrokerBuilder
org.wso2.carbon.event.core.exception.EBConfigurationException: 
event-broker.xmlcannot be found in the path : 
/home/amila/projects/carbon/components/event/org.wso2.carbon.event.core/src/test/resources/event-broker.xml
        at 
org.wso2.carbon.event.core.internal.builder.EventBrokerBuilder.loadConfigXML(EventBrokerBuilder.java:88)
        at 
org.wso2.carbon.event.core.internal.builder.EventBrokerBuilder.createEventBroker(EventBrokerBuilder.java:40)
        at 
org.wso2.carbon.event.core.internal.builder.TestEventBrokerBuilder.testBrokerBuilder(TestEventBrokerBuilder.java:43)
        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 junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        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.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
Caused by: java.io.FileNotFoundException: 
/home/amila/projects/carbon/components/event/org.wso2.carbon.event.core/src/test/resources/event-broker.xml
 (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at 
org.wso2.carbon.event.core.internal.builder.EventBrokerBuilder.loadConfigXML(EventBrokerBuilder.java:80)
        ... 28 more
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec

Results :

Tests in error: 
  
testQpidJMSDelivaryManagerFactory(org.wso2.carbon.event.core.internal.delivary.jms.TestQpidJMSDelivaryManagerFactory)
  
testQpidJMSDelivaryManager(org.wso2.carbon.event.core.internal.delivary.jms.TestQpidJMSDelivaryManager)

Tests run: 3, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 11 seconds
[INFO] Finished at: Mon Feb 28 16:01:05 UTC 2011
[INFO] Final Memory: 176M/1132M
[INFO] ------------------------------------------------------------------------

_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to