I just build Carbon core. I got test failure in the core.services module in
Carbon core.

[INFO]
------------------------------------------------------------------------
[INFO] Building WSO2 Carbon - Services 4.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
org.wso2.carbon.core.services ---
[INFO] Deleting
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target
[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
org.wso2.carbon.core.services ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
org.wso2.carbon.core.services ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
org.wso2.carbon.core.services ---
[INFO] Compiling 29 source files to
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target/classes
[INFO]
[INFO] --- maven-scr-plugin:1.7.4:scr (generate-scr-scrdescriptor) @
org.wso2.carbon.core.services ---
[WARNING] Class
org.wso2.carbon.core.services.internal.CarbonServicesServiceComponent is
using deprecated javadoc tags  at
file:/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/src/main/java/org/wso2/carbon/core/services/internal/CarbonServicesServiceComponent.java:36
[WARNING] It is highly recommended to fix these problems, as future
versions might not support these features anymore.
[INFO] Generating 2 MetaType Descriptors to
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
[INFO] Writing abstract service descriptor
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
with 1 entries.
[INFO] Generating 1 Service Component Descriptors to
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ org.wso2.carbon.core.services ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/../../distribution/kernel/carbon-home/lib/core/WEB-INF/classes
[INFO] Copying 0 resource
[INFO] skip non existing resourceDirectory
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
org.wso2.carbon.core.services ---
[INFO] Compiling 3 source files to
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @
org.wso2.carbon.core.services ---
[INFO] Surefire report directory:
/Users/sameera/Work/wso2/checkouts/carbon/kernel/trunk/core/org.wso2.carbon.core.services/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.wso2.carbon.core.services.authentication.AuthenticationUtilTest
log4j:WARN No appenders could be found for logger
(org.apache.axis2.context.AbstractContext).
log4j:WARN Please initialize the log4j system properly.
Tests run: 7, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.224 sec
<<< FAILURE!
Running
org.wso2.carbon.core.services.authentication.BasicAccessAuthenticatorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec

Results :

Failed tests:
testOriginatingIPRemoteAddressNegative(org.wso2.carbon.core.services.authentication.AuthenticationUtilTest):
Not a valid originating IP, should fail

testXIPRemoteAddressNegative(org.wso2.carbon.core.services.authentication.AuthenticationUtilTest):
Not a valid originating IP, should fail

testForwardedForRemoteAddressNegative(org.wso2.carbon.core.services.authentication.AuthenticationUtilTest):
Not a valid originating IP, should fail

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


On Wed, May 23, 2012 at 10:57 AM, Dimuthu Leelarathne <dimut...@wso2.com>wrote:

> Hi all,
>
> I ran core with integration tests and all passed.
>
> thanks,
> dimuthu
>
>
> On Wed, May 23, 2012 at 1:57 PM, Pradeep Fernando <prad...@wso2.com>wrote:
>
>> Hi,
>>
>> I don't think the above issue is related to newly introduced web.xml.
>> carbon core distribution starts fine for me (didnt run the
>> integration)
>>
>> --Pradeep
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
>
> --
> Dimuthu Leelarathne
> Technical Lead
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
>
>
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sameera Jayasoma
Technical Lead

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to