build failure in IS, User Admin Test Module ............................
FAILURE [46.956s].




---------- Forwarded message ----------
From: WSO2 Jenkins Builder <[email protected]>
Date: Tue, Dec 13, 2011 at 3:35 AM
Subject: [Carbon-build] Build failed in Jenkins: carbon-trunk #11
To: [email protected]


See <http://jenkins.wso2.com/job/carbon-trunk/11/changes>

Changes:

[azeez] Introduced a TestRunner. This will ensure that the server is
started only once during integration tests.

[amila] fixing compilation issues with brs

[azeez] Added a sleep as a temporary hack for build failing on Mac. The
requests from tests are reaching the server before the server has properly
started up.

[amila] fixing compilation issues

------------------------------------------
[...truncated 124042 lines...]
       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:210)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
       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:225)
       at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Transport error: 404 Error: Not Found
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
       at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308)
       at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
       at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277)
       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
       at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
       at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
       at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
       at
org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
       at
org.wso2.carbon.integration.core.ServerLogin.login(ServerLogin.java:51)
       at
org.wso2.carbon.integration.core.TestTemplate.login(TestTemplate.java:89)
       at
org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:36)
       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:210)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
       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:225)
       at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Running User Admin Tests...
[2011-12-12 14:02:14,060]  INFO
{org.wso2.carbon.integration.core.AuthenticateStub} -  AuthenticateStub :
Stub created with session null
[2011-12-12 14:02:14,075]  INFO
{org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
url[https://localhost:9443/services/UserAdmin]
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
       at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308)
       at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
       at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277)
       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
       at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
       at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
       at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
       at
org.wso2.carbon.user.mgt.stub.UserAdminStub.addUser(UserAdminStub.java:1298)
       at UserAdminTest.addUser(UserAdminTest.java:128)
       at UserAdminTest.runSuccessCase(UserAdminTest.java:60)
       at
org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:44)
       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:210)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
       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:225)
       at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
[2011-12-12 14:02:14,075]  INFO
{org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
url[https://localhost:9443/services/UserAdmin]
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
       at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308)
       at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
       at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277)
       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
       at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
       at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
       at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
       at
org.wso2.carbon.user.mgt.stub.UserAdminStub.addUser(UserAdminStub.java:1298)
       at UserAdminTest.addUser(UserAdminTest.java:128)
       at UserAdminTest.runSuccessCase(UserAdminTest.java:60)
       at
org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:44)
       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:210)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
       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:225)
       at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
[2011-12-12 14:02:14,076] ERROR {UserAdminTest} -  Error in running
integration tests over user admin service...
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
       at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:308)
       at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
       at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:450)
       at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:277)
       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
       at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
       at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
       at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
       at
org.wso2.carbon.user.mgt.stub.UserAdminStub.addUser(UserAdminStub.java:1298)
       at UserAdminTest.addUser(UserAdminTest.java:128)
       at UserAdminTest.runSuccessCase(UserAdminTest.java:60)
       at
org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:44)
       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:210)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
       at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
       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:225)
       at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 43.557 sec
<<< FAILURE!

Results :
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

Shutting down server...
Saving Code Coverage Details...
Completed Saving Code Coverage Details.
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Identity Server .............................. SUCCESS [5.575s]
[INFO] WSO2 Identity Server Styles Parent ................ SUCCESS [0.085s]
[INFO] Identity Server: UI styles ........................ SUCCESS [8.025s]
[INFO] WSO2 Identity Server Features Parent .............. SUCCESS [0.021s]
[INFO] WSO2 IS - Features Aggregator Module .............. SUCCESS [0.021s]
[INFO] WSO2 IS - Style Features .......................... SUCCESS [2.256s]
[INFO] WSO2 IS - Utils Features .......................... SUCCESS [1.163s]
[INFO] WSO2 Cloud Identity: UI styles .................... SUCCESS [1.943s]
[INFO] WSO2 Stratos - Cloud Identity Features Aggregator Module  SUCCESS
[0.013s]
[INFO] WSO2 Stratos - Cloud Identity Style Features ...... SUCCESS [0.187s]
[INFO] WSO2 Stratos - Cloud Identity Utils Features ...... SUCCESS [0.994s]
[INFO] WSO2 Cloud Identity - Login User Interface ........ SUCCESS [2.348s]
[INFO] WSO2 Cloud Identity - Tenant Configuration User Interface  SUCCESS
[1.252s]
[INFO] WSO2 Carbon - Cloud Identity UI Feature ........... SUCCESS [0.182s]
[INFO] WSO2 Cloud Identity - SAML2 SSO Management Aggregator Component
 SUCCESS [0.114s]
[INFO] WSO2 Cloud Identity - SAML2 SSO Management Component  SUCCESS
[4.103s]
[INFO] WSO2 Stratos - Stratos SSO Management Feature Aggregator Module
 SUCCESS [0.012s]
[INFO] WSO2 Stratos - Stratos SSO Management Server Feature  SUCCESS
[0.189s]
[INFO] WSO2 Cloud Identity - SAML2 SSO Management FE Component  SUCCESS
[3.764s]
[INFO] WSO2 Stratos - Stratos SSO Management UI Feature .. SUCCESS [0.292s]
[INFO] WSO2 Stratos - Stratos SSO Management Feature ..... SUCCESS [0.368s]
[INFO] WSO2 Identity Server P2 Profile Generation Parent . SUCCESS [0.043s]
[INFO] WSO2 IS - IS Profile Generation ................... SUCCESS
[1:46.948s]
[INFO] WSO2 Stratos - Cloud Identity Profile Generation .. SUCCESS
[1:01.520s]
[INFO] WSO2 Identity Server Distribution Parent .......... SUCCESS [0.022s]
[INFO] Identity Server ................................... SUCCESS
[1:26.360s]
[INFO] WSO2 Cloud Identity - Distribution ................ SUCCESS
[1:11.217s]
[INFO] Identity Server Integration Tests ................. SUCCESS [0.071s]
[INFO] User Admin Test Module ............................ FAILURE [46.956s]
[INFO] WSO2 Identity Server Samples Parent ............... SKIPPED
[INFO] Identity Server : Samples ......................... SKIPPED
[INFO] Samples/Remote User Management .................... SKIPPED
[INFO] Identity Server : Samples ......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6:51.217s
[INFO] Finished at: Mon Dec 12 14:02:15 PST 2011
[INFO] Final Memory: 110M/1556M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.2:test (default-test) on
project user-admin-test: There are test failures. -> [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 :user-admin-test
Build step 'Invoke top-level Maven targets' marked build as failure

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



-- 
Pradeep Fernando
Software Engineer
WSO2 Inc; http://wso2.com/

blog: http://pradeepfernando.blogspot.com/
m: +94776603662
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to