[Builder] Build failed in Jenkins: siddhi » siddhi-io-prometheus » Siddhi IO Prometheus Extension Parent #2

cbuilder at wso2.org cbuilder at wso2.org
Thu Dec 13 23:12:05 PST 2018


See <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-prometheus/org.wso2.extension.siddhi.io.prometheus$siddhi-io-prometheus-parent/2/display/redirect?page=changes>

Changes:

[154010J] source code initial commit

[154010J] fixes in documentation

[154010J] changes in testcases

[154010J] add test cases without docker

[154010J] fixes in pom.xml

[154010J] fixes in optional parameters

[154010J] fix in pom.xml

[154010J] add system parameters

[154010J] delete changed api doc and add autogenerated one

[154010J] changes in README.md

[154010J] add jacoco plugin

[154010J] fixes in error messages and jacoco plugin

[154010J] remove unnecessary files

------------------------------------------
[...truncated 461.87 KB...]
[INFO] ----------------------------------------------------------------------------------
[INFO] ----------------------------------------------------------------------------------
[INFO] Prometheus Sink test with unsupported values for quantiles
[INFO] ----------------------------------------------------------------------------------
[INFO] ----------------------------------------------------------------------------------
[INFO] Prometheus Sink test with user defined metric name in unsupported format
[INFO] ----------------------------------------------------------------------------------
[INFO] ----------------------------------------------------------------------------------
[INFO] Prometheus Sink test without value attribute configuration or 'value' attribute in stream definition
[INFO] ----------------------------------------------------------------------------------
[INFO] == Prometheus connection tests completed ==
[INFO] == Prometheus connection tests started ==
[INFO] ----------------------------------------------------------------------------------
[INFO] Test to verify Prometheus sink with custom configuration.
[INFO] ----------------------------------------------------------------------------------
[INFO] TestStream has successfully connected at http://localhost:9096
[INFO] Connection refused
[INFO] ----------------------------------------------------------------------------------
[INFO] Test to verify Prometheus sink with multiple sink definitions in server mode.
[INFO] ----------------------------------------------------------------------------------
[INFO] TestStream2 has successfully connected at http://localhost:9080
[INFO] TestStream1 has successfully connected at http://localhost:9080
[INFO] Connection refused
[INFO] ----------------------------------------------------------------------------------
[INFO] Prometheus Sink test with mandatory fields
[INFO] ----------------------------------------------------------------------------------
[INFO] SinkMapTestStream has successfully connected at http://localhost:9080
[INFO] Connection refused
[INFO] ----------------------------------------------------------------------------------
[INFO] Test to verify recovering of the Siddhi node on a failure 
[INFO] ----------------------------------------------------------------------------------
[INFO] SinkTestStream has successfully connected at http://localhost:9080
[INFO] Finished publishing 5 events to the stream.
[INFO] Restarting the external Siddhi App to mimic a node failure and a restart
[INFO] SinkTestStream has successfully connected at http://localhost:9080
[INFO] ----------------------------------------------------------------------------------
[INFO] Prometheus Sink test with pushgateway mode
[INFO] ----------------------------------------------------------------------------------
[INFO] Unable to establish connection for Prometheus sink associated with stream 'TestStream' at http://localhost:9091
[INFO] org.wso2.siddhi.core.exception.ConnectionUnavailableException: java.net.ConnectException: Connection refused
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSink.publish(PrometheusSink.java:447)
[INFO] 	at org.wso2.siddhi.core.stream.output.sink.Sink.publish(Sink.java:135)
[INFO] 	at org.wso2.extension.siddhi.map.keyvalue.sinkmapper.KeyValueSinkMapper.mapAndSend(KeyValueSinkMapper.java:130)
[INFO] 	at org.wso2.siddhi.core.stream.output.sink.SinkMapper.mapAndSend(SinkMapper.java:165)
[INFO] 	at org.wso2.siddhi.core.stream.output.sink.SinkCallback.receive(SinkCallback.java:54)
[INFO] 	at org.wso2.siddhi.core.stream.output.StreamCallback.receive(StreamCallback.java:72)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction.sendEvent(StreamJunction.java:156)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction$Publisher.send(StreamJunction.java:375)
[INFO] 	at org.wso2.siddhi.core.query.output.callback.InsertIntoStreamCallback.send(InsertIntoStreamCallback.java:56)
[INFO] 	at org.wso2.siddhi.core.query.output.ratelimit.OutputRateLimiter.sendToCallBacks(OutputRateLimiter.java:88)
[INFO] 	at org.wso2.siddhi.core.query.output.ratelimit.PassThroughOutputRateLimiter.process(PassThroughOutputRateLimiter.java:46)
[INFO] 	at org.wso2.siddhi.core.query.selector.QuerySelector.process(QuerySelector.java:98)
[INFO] 	at org.wso2.siddhi.core.query.input.ProcessStreamReceiver.processAndClear(ProcessStreamReceiver.java:186)
[INFO] 	at org.wso2.siddhi.core.query.input.ProcessStreamReceiver.process(ProcessStreamReceiver.java:96)
[INFO] 	at org.wso2.siddhi.core.query.input.ProcessStreamReceiver.receive(ProcessStreamReceiver.java:182)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction.sendData(StreamJunction.java:252)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction.access$200(StreamJunction.java:57)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction$Publisher.send(StreamJunction.java:395)
[INFO] 	at org.wso2.siddhi.core.stream.input.InputDistributor.send(InputDistributor.java:49)
[INFO] 	at org.wso2.siddhi.core.stream.input.InputEntryValve.send(InputEntryValve.java:62)
[INFO] 	at org.wso2.siddhi.core.stream.input.InputHandler.send(InputHandler.java:49)
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest.prometheusSinkTestPushgatewayMode(PrometheusSinkTest.java:331)
[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:497)
[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:281)
[INFO] 	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
[INFO] 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
[INFO] Caused by: java.net.ConnectException: Connection refused
[INFO] 	at java.net.PlainSocketImpl.socketConnect(Native Method)
[INFO] 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
[INFO] 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[INFO] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[INFO] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[INFO] 	at java.net.Socket.connect(Socket.java:589)
[INFO] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
[INFO] 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
[INFO] 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
[INFO] 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
[INFO] 	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
[INFO] 	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)
[INFO] 	at io.prometheus.client.exporter.PushGateway.doRequest(PushGateway.java:292)
[INFO] 	at io.prometheus.client.exporter.PushGateway.push(PushGateway.java:134)
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSink.publish(PrometheusSink.java:437)
[INFO] 	... 49 more
[INFO] Unable to establish connection for Prometheus sink associated with stream 'TestStream' at http://localhost:9091
[INFO] org.wso2.siddhi.core.exception.ConnectionUnavailableException: java.net.ConnectException: Connection refused
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSink.publish(PrometheusSink.java:447)
[INFO] 	at org.wso2.siddhi.core.stream.output.sink.Sink.publish(Sink.java:135)
[INFO] 	at org.wso2.extension.siddhi.map.keyvalue.sinkmapper.KeyValueSinkMapper.mapAndSend(KeyValueSinkMapper.java:130)
[INFO] 	at org.wso2.siddhi.core.stream.output.sink.SinkMapper.mapAndSend(SinkMapper.java:165)
[INFO] 	at org.wso2.siddhi.core.stream.output.sink.SinkCallback.receive(SinkCallback.java:54)
[INFO] 	at org.wso2.siddhi.core.stream.output.StreamCallback.receive(StreamCallback.java:72)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction.sendEvent(StreamJunction.java:156)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction$Publisher.send(StreamJunction.java:375)
[INFO] 	at org.wso2.siddhi.core.query.output.callback.InsertIntoStreamCallback.send(InsertIntoStreamCallback.java:56)
[INFO] 	at org.wso2.siddhi.core.query.output.ratelimit.OutputRateLimiter.sendToCallBacks(OutputRateLimiter.java:88)
[INFO] 	at org.wso2.siddhi.core.query.output.ratelimit.PassThroughOutputRateLimiter.process(PassThroughOutputRateLimiter.java:46)
[INFO] 	at org.wso2.siddhi.core.query.selector.QuerySelector.process(QuerySelector.java:98)
[INFO] 	at org.wso2.siddhi.core.query.input.ProcessStreamReceiver.processAndClear(ProcessStreamReceiver.java:186)
[INFO] 	at org.wso2.siddhi.core.query.input.ProcessStreamReceiver.process(ProcessStreamReceiver.java:96)
[INFO] 	at org.wso2.siddhi.core.query.input.ProcessStreamReceiver.receive(ProcessStreamReceiver.java:182)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction.sendData(StreamJunction.java:252)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction.access$200(StreamJunction.java:57)
[INFO] 	at org.wso2.siddhi.core.stream.StreamJunction$Publisher.send(StreamJunction.java:395)
[INFO] 	at org.wso2.siddhi.core.stream.input.InputDistributor.send(InputDistributor.java:49)
[INFO] 	at org.wso2.siddhi.core.stream.input.InputEntryValve.send(InputEntryValve.java:62)
[INFO] 	at org.wso2.siddhi.core.stream.input.InputHandler.send(InputHandler.java:49)
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest.prometheusSinkTestPushgatewayMode(PrometheusSinkTest.java:332)
[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:497)
[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:281)
[INFO] 	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
[INFO] 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
[INFO] Caused by: java.net.ConnectException: Connection refused
[INFO] 	at java.net.PlainSocketImpl.socketConnect(Native Method)
[INFO] 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
[INFO] 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[INFO] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[INFO] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[INFO] 	at java.net.Socket.connect(Socket.java:589)
[INFO] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
[INFO] 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
[INFO] 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
[INFO] 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
[INFO] 	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
[INFO] 	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
[INFO] 	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932)
[INFO] 	at io.prometheus.client.exporter.PushGateway.doRequest(PushGateway.java:292)
[INFO] 	at io.prometheus.client.exporter.PushGateway.push(PushGateway.java:134)
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSink.publish(PrometheusSink.java:437)
[INFO] 	... 49 more
[INFO] Connection refused
[INFO] ----------------------------------------------------------------------------------
[INFO] Prometheus Sink test with server mode
[INFO] ----------------------------------------------------------------------------------
[INFO] TestStream has successfully connected at http://localhost:9080
[INFO] Connection refused
[INFO] == Prometheus connection tests completed ==
[INFO] Tests run: 18, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 6.803 sec <<< FAILURE! - in TestSuite
[INFO] prometheusConfigurationTest(org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest)  Time elapsed: 1.167 sec  <<< FAILURE!
[INFO] java.lang.AssertionError: Events does not match
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest.prometheusConfigurationTest(PrometheusSinkTest.java:489)
[INFO] 
[INFO] prometheusConnectionTestMultipleSink(org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest)  Time elapsed: 1.039 sec  <<< FAILURE!
[INFO] java.lang.AssertionError: Events does not match
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest.prometheusConnectionTestMultipleSink(PrometheusSinkTest.java:412)
[INFO] 
[INFO] prometheusSinkTest(org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest)  Time elapsed: 1.012 sec  <<< FAILURE!
[INFO] java.lang.AssertionError: Events does not match
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest.prometheusSinkTest(PrometheusSinkTest.java:209)
[INFO] 
[INFO] prometheusSinkTestPushgatewayMode(org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest)  Time elapsed: 1.014 sec  <<< FAILURE!
[INFO] java.lang.AssertionError: Events does not match
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest.prometheusSinkTestPushgatewayMode(PrometheusSinkTest.java:342)
[INFO] 
[INFO] prometheusSinkTestServerMode(org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest)  Time elapsed: 1.006 sec  <<< FAILURE!
[INFO] java.lang.AssertionError: Events does not match
[INFO] 	at org.wso2.extension.siddhi.io.prometheus.sink.PrometheusSinkTest.prometheusSinkTestServerMode(PrometheusSinkTest.java:275)
[INFO] 
[INFO] 
[INFO] Results :
[INFO] 
[INFO] Failed tests: 
[INFO]   PrometheusSinkTest.prometheusConfigurationTest:489 Events does not match
[INFO]   PrometheusSinkTest.prometheusConnectionTestMultipleSink:412 Events does not match
[INFO]   PrometheusSinkTest.prometheusSinkTest:209 Events does not match
[INFO]   PrometheusSinkTest.prometheusSinkTestPushgatewayMode:342 Events does not match
[INFO]   PrometheusSinkTest.prometheusSinkTestServerMode:275 Events does not match
[INFO] 
[INFO] Tests run: 18, Failures: 5, Errors: 0, Skipped: 0
[INFO] 
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO] 
[INFO] [INFO] Siddhi IO Prometheus Extension Parent ............. SUCCESS [17.083s]
[INFO] [INFO] Siddhi Extension - Prometheus Transport ........... FAILURE [16.370s]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 34.018s
[INFO] [INFO] Finished at: Fri Dec 14 07:11:50 UTC 2018
[INFO] [INFO] Final Memory: 48M/488M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project siddhi-io-prometheus: There are test failures.
[INFO] [ERROR] 
[INFO] [ERROR] Please refer to <https://wso2.org/jenkins/job/siddhi/job/siddhi-io-prometheus/org.wso2.extension.siddhi.io.prometheus$siddhi-io-prometheus-parent/ws/component/target/surefire-reports> for the individual test results.
[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-prometheus


More information about the Builder mailing list