Workaround -
    1.  Build service-stubs/org.wso2.carbon.stub (Because of dependency
missing issue)
    2.  Build  carbon core without test
    3.  Build carbon_core/integration with test enable.

Thank you,
Chamara



On Wed, Mar 30, 2011 at 11:11 AM, Isuru Suriarachchi <is...@wso2.com> wrote:

> I'll have a look into this..
>
> Thanks,
> ~Isuru
>
>
> On Wed, Mar 30, 2011 at 10:57 AM, Thilini Ishaka <thil...@wso2.com> wrote:
>
>> I also get the same error and need to fix this (carbon core test enabled
>> build) asap as the esb coverage results are still in progress.
>>
>> Thanks
>>
>>
>> On Wed, Mar 30, 2011 at 10:52 AM, Chamara Silva <cham...@wso2.com> wrote:
>>
>>> There are test failure in carbon core persistence manager unit test.
>>>
>>> Regards,
>>> Chamara
>>>
>>>  ------------------------------------------------------------------------
>>> [INFO] Building WSO2 Carbon - Kernel
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] [clean:clean {execution: default-clean}]
>>> [INFO] Deleting file set:
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target
>>> (included: [**], excluded: [])
>>> [WARNING] POM for 'bouncycastle:bcprov-jdk15:pom:132:compile' is invalid.
>>>
>>> Its dependencies (if any) will NOT be available to the current build.
>>> [INFO] snapshot org.wso2.carbon:org.wso2.carbon.context:3.2.0-SNAPSHOT:
>>> checking for updates from wso2-nexus
>>> [INFO] [incremental-build:incremental-build {execution: default}]
>>> [INFO] Verifying module descriptor ...
>>> [INFO] Pom descriptor modification detected.
>>> [INFO] Deleting
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target
>>> [INFO] [resources:resources {execution: default-resources}]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 1 resource
>>> [INFO] [compiler:compile {execution: default-compile}]
>>> [INFO] Compiling 106 source files to
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/classes
>>> [INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
>>> [INFO] Generating 10 MetaType Descriptors to
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
>>> [INFO] Writing abstract service descriptor
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
>>> with 5 entries.
>>> [INFO] Generating 5 Service Component Descriptors to
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
>>> [INFO] [antrun:run {execution: create_aar}]
>>> [INFO] Executing tasks
>>>     [mkdir] Created dir:
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/version/META-INF
>>>      [copy] Copying 1 file to
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/version
>>>      [copy] Copying 2 files to
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/version/META-INF
>>>       [jar] Building jar:
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/Version.aar
>>>    [delete] Deleting directory
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/version
>>> [INFO] Executed tasks
>>> [INFO] [resources:testResources {execution: default-testResources}]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 0 resource
>>> [INFO] Copying 2 resources
>>> [INFO] Copying 3 resources
>>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>>> [INFO] Compiling 6 source files to
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/test-classes
>>> [INFO] [surefire:test {execution: default-test}]
>>> [INFO] Surefire report directory:
>>> /home/chamara/wso2/framework-migration/carbon_source/carbon/core/org.wso2.carbon.core/target/surefire-reports
>>>
>>> -------------------------------------------------------
>>>  T E S T S
>>> -------------------------------------------------------
>>> Running org.wso2.carbon.core.test.persistence.PersistenceManagerTest
>>> log4j:WARN No appenders could be found for logger
>>> (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
>>> log4j:WARN Please initialize the log4j system properly.
>>> Tests run: 13, Failures: 3, Errors: 2, Skipped: 0, Time elapsed: 3.314
>>> sec <<< FAILURE!
>>> Running org.wso2.carbon.core.test.persistence.PersistenceUtilsTest
>>> log4j:WARN No appenders could be found for logger
>>> (org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
>>> log4j:WARN Please initialize the log4j system properly.
>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.115 sec
>>> Running org.wso2.carbon.core.test.config.CarbonAxisConfiguratorTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
>>> Running org.wso2.carbon.core.test.persistence.ParameterUtilTest
>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
>>>
>>> Results :
>>>
>>> Failed tests:
>>>
>>> Tests in error:
>>>
>>> Tests run: 21, Failures: 3, Errors: 2, Skipped: 0
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] There are test failures.
>>>
>>>
>>> --
>>> Suminda Chamara Silva
>>> WSO2 Inc.
>>> Mobile: +94 718 302858
>>> blog: http://chamaras.blogspot.com
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Thilini Ishaka
>> Software Engineer
>> WSO2 Inc
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Isuru Suriarachchi
> Technical Lead & Product Manager, WSO2 Application Server
> WSO2 Inc. http://wso2.com
> email : is...@wso2.com
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Suminda Chamara Silva
WSO2 Inc.
Mobile: +94 718 302858
blog: http://chamaras.blogspot.com
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to