[Builder] Build failed in Jenkins: siddhi » siddhi-io-http #272
cbuilder at wso2.org
cbuilder at wso2.org
Fri Jan 25 05:27:37 PST 2019
See <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/272/display/redirect>
------------------------------------------
[...truncated 910.04 KB...]
[INFO] [Thread-6] INFO org.wso2.extension.siddhi.io.http.sink.util.HttpServerListener - Event Arrived: <events><event><symbol>WSO2</symbol><price>55.645</price><volume>100</volume></event></events>
[INFO]
[INFO] [main] INFO org.wso2.extension.siddhi.io.http.sink.HttpSink - 0274e4a2-8493-431a-92b7-5a76e739b198:@sink( type = 'http', publisher.url = 'http://localhost:8005/abc', method = '{{method}}', headers = '{{headers}}', @map( type = 'xml', @payload( '{{message}}')))define stream BarStream (message string, method string, headers string) has successfully connected to http://localhost:8005/abc
[INFO] [main] ERROR org.wso2.extension.siddhi.io.http.sink.util.HttpServerListenerHandler - Error in creating test server.
[INFO] java.net.BindException: Address already in use
[INFO] at sun.nio.ch.Net.bind0(Native Method)
[INFO] at sun.nio.ch.Net.bind(Net.java:433)
[INFO] at sun.nio.ch.Net.bind(Net.java:425)
[INFO] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
[INFO] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
[INFO] at sun.net.httpserver.ServerImpl.<init>(ServerImpl.java:100)
[INFO] at sun.net.httpserver.HttpServerImpl.<init>(HttpServerImpl.java:50)
[INFO] at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:35)
[INFO] at com.sun.net.httpserver.HttpServer.create(HttpServer.java:130)
[INFO] at org.wso2.extension.siddhi.io.http.sink.util.HttpServerListenerHandler.run(HttpServerListenerHandler.java:44)
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpSinkTestCase.testHTTPContentTypeNotIncluded(HttpSinkTestCase.java:92)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
[INFO] at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
[INFO] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
[INFO] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
[INFO] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
[INFO] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
[INFO] at org.testng.TestRunner.privateRun(TestRunner.java:744)
[INFO] at org.testng.TestRunner.run(TestRunner.java:602)
[INFO] at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
[INFO] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
[INFO] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
[INFO] at org.testng.SuiteRunner.run(SuiteRunner.java:289)
[INFO] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
[INFO] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
[INFO] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
[INFO] at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
[INFO] at org.testng.TestNG.runSuites(TestNG.java:1144)
[INFO] at org.testng.TestNG.run(TestNG.java:1115)
[INFO] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
[INFO] at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
[INFO] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] [main] INFO org.wso2.extension.siddhi.io.http.sink.HttpsSinkTestCase - Carbon Home Absolute path set to: <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/component/src/test>
[INFO] [main] INFO org.wso2.extension.siddhi.io.http.sink.HttpsSinkTestCase - Test case for HTTPS output publisher.
[INFO] [Thread-6] INFO org.wso2.extension.siddhi.io.http.sink.util.HttpServerListener - Event Arrived: <events><event><symbol>WSO2</symbol><price>55.645</price><volume>100</volume></event></events>
[INFO]
[INFO] [main] INFO org.wso2.extension.siddhi.io.http.sink.HttpSink - f798686a-e935-4493-afca-8c8b93503bd3:@sink( type = 'http', publisher.url = 'https://localhost:8009/abc', method = '{{method}}', headers = '{{headers}}', @map( type = 'xml', @payload( '{{message}}')))define stream BarStream (message string, method string, headers string) has successfully connected to https://localhost:8009/abc
[INFO] [main] INFO org.wso2.extension.siddhi.io.http.sink.HttpSinkCustomConfigurationTestCase - Creating test for publishing events with XML mapping.
[INFO] [main] INFO org.wso2.extension.siddhi.io.http.sink.HttpSink - a4d5d6a4-22a9-4d2a-8db9-ec78068be043:@sink( type = 'http', publisher.url = 'http://localhost:8005/abc', method = '{{method}}', headers = '{{headers}}', socket.idle.timeout = '150000', ssl.protocol = 'TLS', chunk.disabled = 'false', follow.redirect = 'false', max.redirect.count = '5', parameters = ''ciphers : TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256','sslEnabledProtocols : TLSv1.1'', client.pool.configurations = ''client.connection.pool.count:1','sender.thread.count:20'', client.bootstrap.configurations = ''client.bootstrap.nodelay:true','client.bootstrap.recievebuffersize:1048576'', @map( type = 'xml', @payload( '{{message}}')))define stream BarStream (message string, method string, headers string) has successfully connected to http://localhost:8005/abc
[INFO] [main] ERROR org.wso2.extension.siddhi.io.http.sink.util.HttpServerListenerHandler - Error in creating test server.
[INFO] java.net.BindException: Address already in use
[INFO] at sun.nio.ch.Net.bind0(Native Method)
[INFO] at sun.nio.ch.Net.bind(Net.java:433)
[INFO] at sun.nio.ch.Net.bind(Net.java:425)
[INFO] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
[INFO] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
[INFO] at sun.net.httpserver.ServerImpl.<init>(ServerImpl.java:100)
[INFO] at sun.net.httpserver.HttpServerImpl.<init>(HttpServerImpl.java:50)
[INFO] at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:35)
[INFO] at com.sun.net.httpserver.HttpServer.create(HttpServer.java:130)
[INFO] at org.wso2.extension.siddhi.io.http.sink.util.HttpServerListenerHandler.run(HttpServerListenerHandler.java:44)
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpSinkCustomConfigurationTestCase.testHTTPCustomConfig(HttpSinkCustomConfigurationTestCase.java:70)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
[INFO] at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
[INFO] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
[INFO] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
[INFO] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
[INFO] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
[INFO] at org.testng.TestRunner.privateRun(TestRunner.java:744)
[INFO] at org.testng.TestRunner.run(TestRunner.java:602)
[INFO] at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
[INFO] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
[INFO] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
[INFO] at org.testng.SuiteRunner.run(SuiteRunner.java:289)
[INFO] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
[INFO] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
[INFO] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
[INFO] at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
[INFO] at org.testng.TestNG.runSuites(TestNG.java:1144)
[INFO] at org.testng.TestNG.run(TestNG.java:1115)
[INFO] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
[INFO] at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
[INFO] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
[INFO] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] [Thread-6] INFO org.wso2.extension.siddhi.io.http.sink.util.HttpServerListener - Event Arrived: <events><event><symbol>WSO2</symbol><price>55.645</price><volume>100</volume></event></events>
[INFO]
[INFO] [Thread-9] INFO org.wso2.extension.siddhi.io.http.sink.util.HttpServerListener - Event Arrived: <events><event><symbol>WSO2</symbol><price>55.645</price><volume>100</volume></event></events>
[INFO]
[INFO] [ERROR] Tests run: 45, Failures: 7, Errors: 0, Skipped: 13, Time elapsed: 192.83 s <<< FAILURE! - in TestSuite
[INFO] [ERROR] testHTTPTextAuthFalse(org.wso2.extension.siddhi.io.http.sink.HttpAuthTestCase) Time elapsed: 0.18 s <<< FAILURE!
[INFO] java.lang.NullPointerException
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpAuthTestCase.testHTTPTextAuthFalse(HttpAuthTestCase.java:72)
[INFO]
[INFO] [ERROR] testHTTPTextMappingXML(org.wso2.extension.siddhi.io.http.sink.HttpSinkMappingTestCase) Time elapsed: 0.014 s <<< FAILURE!
[INFO] java.lang.NullPointerException
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpSinkMappingTestCase.testHTTPTextMappingXML(HttpSinkMappingTestCase.java:69)
[INFO]
[INFO] [ERROR] testHTTPTestGetMethod(org.wso2.extension.siddhi.io.http.sink.HttpSinkMethodTypeTestCase) Time elapsed: 0.013 s <<< FAILURE!
[INFO] java.lang.NullPointerException
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpSinkMethodTypeTestCase.testHTTPTestGetMethod(HttpSinkMethodTypeTestCase.java:85)
[INFO]
[INFO] [ERROR] testHTTPMultipleEvents(org.wso2.extension.siddhi.io.http.sink.HttpMultipleEventSinkTestCase) Time elapsed: 0.046 s <<< FAILURE!
[INFO] java.lang.NullPointerException
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpMultipleEventSinkTestCase.testHTTPMultipleEvents(HttpMultipleEventSinkTestCase.java:100)
[INFO]
[INFO] [ERROR] testHTTPContentTypeNotIncluded(org.wso2.extension.siddhi.io.http.sink.HttpSinkTestCase) Time elapsed: 0.009 s <<< FAILURE!
[INFO] java.lang.NullPointerException
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpSinkTestCase.testHTTPContentTypeNotIncluded(HttpSinkTestCase.java:93)
[INFO]
[INFO] [ERROR] testHTTPSPublisher(org.wso2.extension.siddhi.io.http.sink.HttpsSinkTestCase) Time elapsed: 0.011 s <<< FAILURE!
[INFO] java.lang.NullPointerException
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpsSinkTestCase.testHTTPSPublisher(HttpsSinkTestCase.java:99)
[INFO]
[INFO] [ERROR] testHTTPCustomConfig(org.wso2.extension.siddhi.io.http.sink.HttpSinkCustomConfigurationTestCase) Time elapsed: 0.048 s <<< FAILURE!
[INFO] java.lang.NullPointerException
[INFO] at org.wso2.extension.siddhi.io.http.sink.HttpSinkCustomConfigurationTestCase.testHTTPCustomConfig(HttpSinkCustomConfigurationTestCase.java:78)
[INFO]
[INFO] [INFO]
[INFO] [INFO] Results:
[INFO] [INFO]
[INFO] [ERROR] Failures:
[INFO] [ERROR] HttpAuthTestCase.testHTTPTextAuthFalse:72 ? NullPointer
[INFO] [ERROR] HttpMultipleEventSinkTestCase.testHTTPMultipleEvents:100 ? NullPointer
[INFO] [ERROR] HttpSinkCustomConfigurationTestCase.testHTTPCustomConfig:78 ? NullPointer
[INFO] [ERROR] HttpSinkMappingTestCase.testHTTPTextMappingXML:69 ? NullPointer
[INFO] [ERROR] HttpSinkMethodTypeTestCase.testHTTPTestGetMethod:85 ? NullPointer
[INFO] [ERROR] HttpSinkTestCase.testHTTPContentTypeNotIncluded:93 ? NullPointer
[INFO] [ERROR] HttpsSinkTestCase.testHTTPSPublisher:99 ? NullPointer
[INFO] [INFO]
[INFO] [ERROR] Tests run: 45, Failures: 7, Errors: 0, Skipped: 13
[INFO] [INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] WSO2 Siddhi IO Extension - HTTP IO Aggregator Pom . SUCCESS [10.933s]
[INFO] [INFO] siddhi-io-http .................................... FAILURE [4:19.809s]
[INFO] [INFO] WSO2 HTTP IO - Tests .............................. SKIPPED
[INFO] [INFO] WSO2 HTTP IO - Test Distribution .................. SKIPPED
[INFO] [INFO] WSO2 Siddhi IO HTTP - OSGi Tests .................. SKIPPED
[INFO] [INFO] WSO2 Siddhi IO HTTP - Test Coverage ............... SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 4:31.551s
[INFO] [INFO] Finished at: Fri Jan 25 13:26:53 UTC 2019
[INFO] [INFO] Final Memory: 62M/448M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project siddhi-io-http: There are test failures.
[INFO] [ERROR]
[INFO] [ERROR] Please refer to <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/component/target/surefire-reports> for the individual test results.
[INFO] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[INFO] [ERROR] -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR] mvn <goals> -rf :siddhi-io-http
[BFA] Scanning build for known causes...
[BFA] Found failure cause(s):
[BFA] There are test failures
[BFA] Connection reset from category ConnectionIssue
[BFA] Done. 2s
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Siddhi IO Extension - HTTP IO Aggregator Pom . FAILURE [4:37.591s]
[INFO] siddhi-io-http .................................... SKIPPED
[INFO] WSO2 HTTP IO - Tests .............................. SKIPPED
[INFO] WSO2 HTTP IO - Test Distribution .................. SKIPPED
[INFO] WSO2 Siddhi IO HTTP - OSGi Tests .................. SKIPPED
[INFO] WSO2 Siddhi IO HTTP - Test Coverage ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:49.386s
[INFO] Finished at: Fri Jan 25 13:27:00 UTC 2019
[INFO] Final Memory: 24M/284M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project siddhi-io-http-parent: Maven execution failed, exit code: '1' -> [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/MojoExecutionException
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/tests/distribution/pom.xml> to org.wso2.extension.siddhi.io.http/org.wso2.extension.io.http.test.distribution/1.0.44-SNAPSHOT/org.wso2.extension.io.http.test.distribution-1.0.44-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/coverage-report/pom.xml> to org.wso2.extension.siddhi.io.http/org.wso2.extension.siddhi.io.http.coverge.test/1.0.44-SNAPSHOT/org.wso2.extension.siddhi.io.http.coverge.test-1.0.44-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/pom.xml> to org.wso2.extension.siddhi.io.http/siddhi-io-http-parent/1.0.44-SNAPSHOT/siddhi-io-http-parent-1.0.44-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/tests/osgi-tests/pom.xml> to org.wso2.extension.siddhi.io.http/siddhi-io-http-osgi-tests/1.0.44-SNAPSHOT/siddhi-io-http-osgi-tests-1.0.44-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/component/pom.xml> to org.wso2.extension.siddhi.io.http/siddhi-io-http/1.0.44-SNAPSHOT/siddhi-io-http-1.0.44-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-http/ws/tests/pom.xml> to org.wso2.extension.siddhi.io.http/siddhi-io-http-tests/1.0.44-SNAPSHOT/siddhi-io-http-tests-1.0.44-SNAPSHOT.pom
Sending e-mails to: builder at wso2.org
Preparing TestLink client API.
Using TestLink URL: https://testlink.wso2.com/lib/api/xmlrpc/v1/xmlrpc.php
channel stopped
Found 31 automated test cases in TestLink.
Sorting automated test cases by TestLink test plan execution order.
Executing single Build Steps.
Executing iterative Build Steps.
Looking for the test results of TestLink test cases.
Looking for test results in TestNG methods by its name.
Found 31 test result(s).
There are failed tests, setting the build result as UNSTABLE.
Build step 'Invoke TestLink' changed build result to FAILURE
> git rev-parse HEAD^{commit} # timeout=10
> git rev-parse HEAD^{commit} # timeout=10
------------------------------------------------------------------------
[WSO2 Maven Release] [WSO2 Maven Release] Build Result: FAILURE
[WSO2 Maven Release] Dropping Git Tag: v1.0.44. Reason: FAILURE build.
[WSO2 Maven Release] Deleting release tag from remote.
> git --version # timeout=10
using GIT_ASKPASS to set credentials
> git push https://github.com/wso2-extensions/siddhi-io-http.git :refs/tags/v1.0.44
[WSO2 Maven Release] Dropped git tag - v1.0.44
FATAL: [M2Release] Could not find nexus stage repository for project.
[BFA] Scanning build for known causes...
[BFA] Found failure cause(s):
[BFA] There are test failures
[BFA] Perform Maven execution failed from category Release-Failure
[BFA] Unable to find nexus stage repo from category Release-Failure
[BFA] Connection reset from category ConnectionIssue
[BFA] Done. 3s
Not sending mail to unregistered user thushaamal93 at gmail.com
More information about the Builder
mailing list