Uploaded image for project: 'ZZZ-WSO2 Application Server '
  1. ZZZ-WSO2 Application Server
  2. WSAS-1982

Intergration Test Failure in CleanRegistryCommandTestCase

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Invalid
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.0
    • Component/s: None
    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      No

      Description

      INFO [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Jacoco coverage dump file path : /home/jenkins/jenworker/workspace/product-as/modules/integration/tests-integration/tests/target/jacoco/jacoco1434731728769.exec
      INFO [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Jacoco class file path : /home/jenkins/jenworker/workspace/product-as/modules/integration/tests-integration/tests/target/carbontmp1434731725886/wso2as-5.3.0-SNAPSHOT/repository/components/plugins
      INFO [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Jacoco coverage HTML report path : /home/jenkins/jenworker/workspace/product-as/modules/integration/tests-integration/tests/target/jacoco/coverage/index.html
      Tests run: 203, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2,973.241 sec <<< FAILURE! - in TestSuite
      testCleanResource(org.wso2.appserver.integration.tests.carbontools.CleanRegistryCommandTestCase) Time elapsed: 137.945 sec <<< FAILURE!
      java.lang.AssertionError: Resource not deleted successfully expected:<false> but was:<true>
      at org.testng.Assert.fail(Assert.java:89)
      at org.testng.Assert.failNotEquals(Assert.java:489)
      at org.testng.Assert.assertFalse(Assert.java:58)
      at org.wso2.appserver.integration.tests.carbontools.CleanRegistryCommandTestCase.testCleanResource(CleanRegistryCommandTestCase.java:126)

      serverShutDown(org.wso2.appserver.integration.tests.carbontools.CleanRegistryCommandTestCase) Time elapsed: 138.758 sec <<< FAILURE!
      org.wso2.appserver.integration.common.exception.CarbonToolsIntegrationTestException: Error while shutdown the server
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:579)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
      at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
      at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:630)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
      at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
      at org.wso2.carbon.server.admin.stub.ServerAdminStub.shutdown(ServerAdminStub.java:605)
      at org.wso2.carbon.integration.common.admin.client.ServerAdminClient.shutdown(ServerAdminClient.java:61)
      at org.wso2.appserver.integration.common.utils.CarbonCommandToolsUtil.serverShutdown(CarbonCommandToolsUtil.java:134)
      at org.wso2.appserver.integration.tests.carbontools.CleanRegistryCommandTestCase.serverShutDown(CleanRegistryCommandTestCase.java:140)

      Results :

      Failed tests:
      CleanRegistryCommandTestCase.serverShutDown:140 ยป CarbonToolsIntegrationTest E...
      CleanRegistryCommandTestCase.testCleanResource:126 Resource not deleted successfully expected:<false> but was:<true>

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

      https://wso2.org/jenkins/job/product-as/590/consoleFull

        Attachments

          Activity

            People

            • Assignee:
              iqbal@wso2.com Irham Iqbal
              Reporter:
              niranjan@wso2.com Niranjan Karunanandham
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: