[Builder] Build failed in Jenkins: siddhi » siddhi-map-text #762

cbuilder at wso2.org cbuilder at wso2.org
Wed Jul 14 14:18:57 PDT 2021


See <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/762/display/redirect>

Changes:


------------------------------------------
[...truncated 1.34 MB...]
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Error while processing 'symbol:"IFS",
price:50.6,
volume:200', for the input Mapping 'text' for the stream 'FooStream'.
io.siddhi.core.exception.MappingFailedException
	at io.siddhi.extension.map.text.sourcemapper.TextSourceMapper.mapAndProcess(TextSourceMapper.java:277)
	at io.siddhi.core.stream.input.source.SourceMapper.onEvent(SourceMapper.java:200)
	at io.siddhi.core.stream.input.source.SourceMapper.onEvent(SourceMapper.java:144)
	at io.siddhi.extension.map.text.sourcemapper.util.TestTrpInMemorySource$1.onMessage(TestTrpInMemorySource.java:79)
	at io.siddhi.core.util.transport.InMemoryBroker$MessageBroker.broadcast(InMemoryBroker.java:110)
	at io.siddhi.core.util.transport.InMemoryBroker$MessageBroker.publish(InMemoryBroker.java:118)
	at io.siddhi.core.util.transport.InMemoryBroker.publish(InMemoryBroker.java:41)
	at io.siddhi.extension.map.text.sourcemapper.TextDefaultSourceMapperTestCase.testTextSourceMapperSingleEventForEventGroup(TextDefaultSourceMapperTestCase.java:695)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
[Event{timestamp=1626297342076, data=[IFS, 50.6, 200], isExpired=false}]
test text custom map with file io
test text default map with file io
Creating test for publishing events with TEXT mapping.
e013d94b-01e4-4973-998a-be15bc8d5e6c:@sink( type = "http", publisher.url = "http://localhost:8005/abc", method = "{{method}}", headers = "{{headers}}", @map( type = "text", mustache.enabled = "true", @payload( "{{{message}}}")))define stream BarStream (message string, method string, headers string) has successfully connected to http://localhost:8005/abc
Event Arrived: WSO2,55.6,100

Server connector for url http://localhost:8005/abc disconnected.
[nioEventLoopGroup-16-1] ERROR org.wso2.transport.http.netty.contractimpl.sender.states.RequestCompleted - Remote host closed the connection before initiating inbound response
Creating test for publishing events with TEXT mapping.
4290e542-8e19-46af-8886-afd987c47671:@sink( type = "http", publisher.url = "http://localhost:8005/abc", method = "{{method}}", headers = "{{headers}}", @map( type = "text", mustache.enabled = "true", event.grouping.enabled = "true", @payload( "{{{message}}}")))define stream BarStream (message string, method string, headers string) has successfully connected to http://localhost:8005/abc
Event Arrived: WSO2
~~~~~~~~~~
WSO2
~~~~~~~~~~
WSO2
~~~~~~~~~~
WSO2
~~~~~~~~~~
WSO2

Server connector for url http://localhost:8005/abc disconnected.
[nioEventLoopGroup-19-1] ERROR org.wso2.transport.http.netty.contractimpl.sender.states.RequestCompleted - Remote host closed the connection before initiating inbound response
Test custom text mapping.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test for custom delimiter.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test for default delimiter
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test for event group with single event.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test with custom new lie charater.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test with custom new.line.character.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test extra delimiter.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test custom mapping without payload.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test custom for wrong mapping.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
test text default map with file io
test text default map with file io
test text default map with file io
Test for single event when event grouping enabled.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
TestSiddhiApp : BarStream : Event{timestamp=1626297350040, data=[WSO2, 55.6, 10], isExpired=false}
TestSiddhiApp : BarStream : Event{timestamp=1626297350040, data=[IBM, 75.6, 10], isExpired=false}
Creating test for publishing events with TEXT mapping.
fa5711f3-ff34-4b8e-b89a-d4bab910641a:@sink( type = "http", publisher.url = "http://localhost:8005/abc", method = "{{method}}", headers = "{{headers}}", @map( type = "text"))define stream BarStream (message string, method string, headers string) has successfully connected to http://localhost:8005/abc
Event Arrived: message:"WSO2,55.6,100",
method:"POST",
headers:"'Name:John','Age:23'"

Server connector for url http://localhost:8005/abc disconnected.
[nioEventLoopGroup-22-1] ERROR org.wso2.transport.http.netty.contractimpl.sender.states.RequestCompleted - Remote host closed the connection before initiating inbound response
Test without event grouping attribute.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test without event grouping attribute.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test for custom event delimiter.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test for default event delimiter.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test for default event delimiter and http.
TestSiddhiApp:@sink( type = "http", publisher.url = "http://localhost:8005/abc", method = "{{method}}", headers = "{{headers}}", @map( type = "text", event.grouping.enabled = "true"))define stream BarStream (message string, method string, headers string) has successfully connected to http://localhost:8005/abc
Event Arrived: message:"WSO2",
method:"POST",
headers:"'place:office'"
~~~~~~~~~~
message:"WSO2",
method:"POST",
headers:"'place:office'"
~~~~~~~~~~
message:"WSO2",
method:"POST",
headers:"'place:office'"
~~~~~~~~~~
message:"WSO2",
method:"POST",
headers:"'place:office'"
~~~~~~~~~~
message:"WSO2",
method:"POST",
headers:"'place:office'"

Server connector for url http://localhost:8005/abc disconnected.
[nioEventLoopGroup-25-1] ERROR org.wso2.transport.http.netty.contractimpl.sender.states.RequestCompleted - Remote host closed the connection before initiating inbound response
Test for single event when event grouping enabled.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test for new.line.charater
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Test default text mapping.
Dropping extension 'class io.siddhi.core.stream.output.sink.InMemorySink' as 'class io.siddhi.core.stream.output.sink.InMemorySink' is loaded with the same namespace and name 'sink:inMemory'
Tests run: 62, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.003 sec - in TestSuite

Results :

Tests run: 62, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:bundle (default-bundle) @ siddhi-map-text ---
[WARNING] Include-Resource: overriding META-INF/NOTICE=target/maven-shared-archive-resources/META-INF/NOTICE,META-INF/LICENSE=target/maven-shared-archive-resources/META-INF/LICENSE,META-INF/DEPENDENCIES=target/maven-shared-archive-resources/META-INF/DEPENDENCIES with META-INF=target/classes/META-INF (add {maven-resources} if you want to include the maven resources)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.9:report (jacoco-site) @ siddhi-map-text ---
[INFO] Loading execution data file <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/component/target/coverage-reports/jacoco.exec>
[INFO] Analyzed bundle 'Siddhi Extension - Text Mapper' with 2 classes
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ siddhi-map-text ---
[INFO] Installing <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/component/target/siddhi-map-text-2.1.1-SNAPSHOT.jar> to <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/.repository/io/siddhi/extension/map/text/siddhi-map-text/2.1.1-SNAPSHOT/siddhi-map-text-2.1.1-SNAPSHOT.jar>
[INFO] Installing <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/component/pom.xml> to <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/.repository/io/siddhi/extension/map/text/siddhi-map-text/2.1.1-SNAPSHOT/siddhi-map-text-2.1.1-SNAPSHOT.pom>
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:install (default-install) @ siddhi-map-text ---
[INFO] Local OBR update disabled (enable with -DobrRepository)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Siddhi Text Map Extensions 2.1.1-SNAPSHOT .......... SUCCESS [  7.252 s]
[INFO] Siddhi Extension - Text Mapper 2.1.1-SNAPSHOT ...... SUCCESS [ 38.528 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55.240 s
[INFO] Finished at: 2021-07-14T21:15:58Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/component/pom.xml> to io.siddhi.extension.map.text/siddhi-map-text/2.1.1-SNAPSHOT/siddhi-map-text-2.1.1-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/component/target/siddhi-map-text-2.1.1-SNAPSHOT.jar> to io.siddhi.extension.map.text/siddhi-map-text/2.1.1-SNAPSHOT/siddhi-map-text-2.1.1-SNAPSHOT.jar
[JENKINS] Archiving <https://wso2.org/jenkins/job/siddhi/job/siddhi-map-text/ws/pom.xml> to io.siddhi.extension.map.text/siddhi-map-text-parent/2.1.1-SNAPSHOT/siddhi-map-text-parent-2.1.1-SNAPSHOT.pom
No mail will be sent out, as 'siddhi ? siddhi-map-text ? Siddhi Text Map Extensions #762' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'siddhi ? siddhi-map-text ? Siddhi Extension - Text Mapper #762' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Preparing TestLink client API.
channel stopped
Using TestLink URL: https://testlink.wso2.com/lib/api/xmlrpc/v1/xmlrpc.php

FATAL: Error verifying developer key: Failed to read server's response: testlink.wso2.com
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: Failed to read server's response: testlink.wso2.com
	at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:64)
	at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.<init>(TestLinkAPI.java:149)
	at hudson.plugins.testlink.TestLinkBuilder.getTestLinkSite(TestLinkBuilder.java:331)
	at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:206)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:946)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:896)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
	at hudson.model.Run.execute(Run.java:1818)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: testlink.wso2.com
	at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:161)
	at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
	at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
	at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
	at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
	at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
	at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
	at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:83)
	at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:61)
	... 12 more
Caused by: java.net.UnknownHostException: testlink.wso2.com
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)
	at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.writeRequest(XmlRpcSunHttpTransport.java:104)
	at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)
	... 20 more
ERROR: Error communicating with TestLink. Check your TestLink configuration.


More information about the Builder mailing list