Hi,

I am getting the following test failure when building the 4.1.2
patch-release. Surefire report attached. Can we look into this please?

WSO2 BAM Integration .............................. SUCCESS [0.156s]
[INFO] WSO2 BAM - Integration Test ....................... FAILURE
[1:00.952s]
[INFO] WSO2 Carbon - Patch releases - products - Aggregator Module  SKIPPED
[INFO] WSO2 Platform Automated Suite - Parent project .... SKIPPED
[INFO] WSO2 Platform Automated Suite - Artifact Repository  SKIPPED
[INFO] WSO2 Platform Automated Suite - Executor .......... SKIPPED
[INFO] WSO2 Platform Automated Suite - Platform scenarios  SKIPPED
[INFO] WSO2 Platform Automated Suite - Distribution ...... SKIPPED
[INFO] WSO2 Carbon - Patch releases - Platform Automated Test Suite  SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8:02.153s
[INFO] Finished at: Thu May 30 20:55:46 PDT 2013
[INFO] Final Memory: 156M/321M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
project org.wso2.bam.integration.tests: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/wso2/4.1.0/temp/platform/4.1.0/products/bam/2.3.0/modules/integration/org.wso2.bam.integration.tests/target/surefire-reports
for the individual test results.
[ERROR] -> [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 :org.wso2.bam.integration.tests

Thanks,
NuwanD.

-- 
Nuwan Dias

Senior Software Engineer - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
<?xml version="1.0" encoding="UTF-8"?>
<testng-results skipped="0" failed="2" total="4" passed="2">
  <reporter-output>
  </reporter-output>
  <suite name="Command line suite" duration-ms="23129" started-at="2013-05-30T20:55:16Z" finished-at="2013-05-30T20:55:39Z">
    <groups>
      <group name="wso2.bam">
        <method signature="org.wso2.bam.integration.tests.hive.BAMJDBCHandlerTestCase.publishData()" name="publishData" class="org.wso2.bam.integration.tests.hive.BAMJDBCHandlerTestCase"/>
        <method signature="org.wso2.bam.integration.tests.reciever.BAMReceiverVariableFieldsTestCase.publishConcurrentEvents()" name="publishConcurrentEvents" class="org.wso2.bam.integration.tests.reciever.BAMReceiverVariableFieldsTestCase"/>
        <method signature="org.wso2.bam.integration.tests.reciever.RESTAPITestCase.dataTypeValueComparison()" name="dataTypeValueComparison" class="org.wso2.bam.integration.tests.reciever.RESTAPITestCase"/>
        <method signature="org.wso2.bam.integration.tests.reciever.RESTAPITestCase.publishRESTStreamDefnsAndEvents()" name="publishRESTStreamDefnsAndEvents" class="org.wso2.bam.integration.tests.reciever.RESTAPITestCase"/>
      </group>
    </groups>
    <test name="Command line test" duration-ms="23129" started-at="2013-05-30T20:55:16Z" finished-at="2013-05-30T20:55:39Z">
      <class name="org.wso2.bam.integration.tests.hive.BAMJDBCHandlerTestCase">
        <test-method status="FAIL" signature="publishData()" name="publishData" duration-ms="153" started-at="2013-05-30T20:55:16Z" finished-at="2013-05-30T20:55:16Z">
          <exception class="junit.framework.AssertionFailedError">
            <message>
              <![CDATA[Can't get data publisher: Cannot borrow client for TCP,173.164.178.33:7611,TCP,173.164.178.33:7711]]>
            </message>
            <full-stacktrace>
              <![CDATA[junit.framework.AssertionFailedError: Can't get data publisher: Cannot borrow client for TCP,173.164.178.33:7611,TCP,173.164.178.33:7711
	at junit.framework.Assert.fail(Assert.java:47)
	at org.wso2.bam.integration.tests.hive.BAMJDBCHandlerTestCase.publishData(BAMJDBCHandlerTestCase.java:102)
	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
	at org.testng.TestRunner.privateRun(TestRunner.java:757)
	at org.testng.TestRunner.run(TestRunner.java:608)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
	at org.testng.TestNG.run(TestNG.java:999)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:76)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:161)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:101)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
	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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
]]>
            </full-stacktrace>
          </exception>
        </test-method>
      </class>
      <class name="org.wso2.bam.integration.tests.reciever.BAMReceiverVariableFieldsTestCase">
        <test-method status="FAIL" signature="publishConcurrentEvents()" name="publishConcurrentEvents" duration-ms="41" started-at="2013-05-30T20:55:16Z" finished-at="2013-05-30T20:55:16Z">
          <exception class="org.wso2.carbon.databridge.agent.thrift.exception.AgentException">
            <message>
              <![CDATA[Cannot borrow client for TCP,173.164.178.33:7611,TCP,173.164.178.33:7711]]>
            </message>
            <full-stacktrace>
              <![CDATA[org.wso2.carbon.databridge.agent.thrift.exception.AgentException: Cannot borrow client for TCP,173.164.178.33:7611,TCP,173.164.178.33:7711
	at org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:58)
	at org.wso2.carbon.databridge.agent.thrift.DataPublisher.start(DataPublisher.java:263)
	at org.wso2.carbon.databridge.agent.thrift.DataPublisher.<init>(DataPublisher.java:156)
	at org.wso2.carbon.databridge.agent.thrift.DataPublisher.<init>(DataPublisher.java:88)
	at org.wso2.bam.integration.tests.reciever.BAMReceiverVariableFieldsTestCase$BAMDataPublisher.<init>(BAMReceiverVariableFieldsTestCase.java:158)
	at org.wso2.bam.integration.tests.reciever.BAMReceiverVariableFieldsTestCase$BAMDataPublisher.<init>(BAMReceiverVariableFieldsTestCase.java:142)
	at org.wso2.bam.integration.tests.reciever.BAMReceiverVariableFieldsTestCase.publishConcurrentEvents(BAMReceiverVariableFieldsTestCase.java:81)
	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
	at org.testng.TestRunner.privateRun(TestRunner.java:757)
	at org.testng.TestRunner.run(TestRunner.java:608)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
	at org.testng.TestNG.run(TestNG.java:999)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:76)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:161)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:101)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
	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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: org.apache.thrift.transport.TTransportException: Could not connect to 173.164.178.33 on port 7711
	at org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:212)
	at org.apache.thrift.transport.TSSLTransportFactory.getClientSocket(TSSLTransportFactory.java:166)
	at org.wso2.carbon.databridge.agent.thrift.internal.pool.client.secure.SecureClientPoolFactory.makeObject(SecureClientPoolFactory.java:90)
	at org.wso2.carbon.databridge.agent.thrift.internal.pool.client.secure.SecureClientPoolFactory.makeObject(SecureClientPoolFactory.java:48)
	at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1153)
	at org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:50)
	... 41 more
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:371)
	at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
	at org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:208)
	... 46 more
]]>
            </full-stacktrace>
          </exception>
        </test-method>
      </class>
      <class name="org.wso2.bam.integration.tests.BAMTestServerManager">
        <test-method status="PASS" signature="startServer()" name="startServer" is-config="true" duration-ms="27011" started-at="2013-05-30T20:54:49Z" finished-at="2013-05-30T20:55:16Z">
        </test-method>
        <test-method status="PASS" signature="stopServer()" name="stopServer" is-config="true" duration-ms="5906" started-at="2013-05-30T20:55:39Z" finished-at="2013-05-30T20:55:45Z">
        </test-method>
      </class>
      <class name="org.wso2.bam.integration.tests.reciever.RESTAPITestCase">
        <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="44" started-at="2013-05-30T20:55:16Z" finished-at="2013-05-30T20:55:16Z">
        </test-method>
        <test-method status="PASS" signature="dataTypeValueComparison()" name="dataTypeValueComparison" duration-ms="20301" started-at="2013-05-30T20:55:16Z" finished-at="2013-05-30T20:55:37Z">
        </test-method>
        <test-method status="PASS" signature="publishRESTStreamDefnsAndEvents()" name="publishRESTStreamDefnsAndEvents" duration-ms="2581" started-at="2013-05-30T20:55:37Z" finished-at="2013-05-30T20:55:39Z">
        </test-method>
        <test-method status="PASS" signature="shutdown()" name="shutdown" is-config="true" duration-ms="1" started-at="2013-05-30T20:55:39Z" finished-at="2013-05-30T20:55:39Z">
        </test-method>
      </class>
    </test>
  </suite>
</testng-results>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to