SuccessConsole Output

Skipping 3,805 KB.. Full Log
SGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-23 13:43:18,522]  WARN {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Adding a required OSGi service capability to component, but specified startup component is not available, component-name: carbon-transport-mgt and capability-name: org.wso2.carbon.deployment.engine.DeploymentService.
[2017-11-23 13:43:18,571]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-23 13:43:18,572]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClientServiceComponent is activated...
[2017-11-23 13:43:18,615]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-23 13:43:18,628]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:18,643]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-23 13:43:18,647]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-23 13:43:18,664]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-23 13:43:18,689]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-23 13:43:18,706]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-23 13:43:19,093]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:43:19,247]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-23 13:43:19,359]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Periodic state persistence started with an interval of 1 using org.wso2.carbon.stream.processor.core.persistence.DBPersistenceStore
[2017-11-23 13:43:19,369]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-23 13:43:19,372]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-23 13:43:19,375]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-23 13:43:19,390]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-23 13:43:19,591] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:169)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$221/955366364.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$151/75458012.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 17 more

[2017-11-23 13:43:19,677]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:19,680]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:19,681]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:19,683]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:19,695]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:19,697]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:19,706]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:19,708]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:19,712]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:19,714]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:19,791]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:19,794]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:19,795]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:19,797]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:19,801]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-23 13:43:19,857]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-23 13:43:19,886]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:43:19,894]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:43:19,900]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:43:19,911]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:43:19,922]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:43:19,930]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]10bf1f74
[2017-11-23 13:43:19,937]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:43:19,945]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]ab270e
[2017-11-23 13:43:19,958]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-23 13:43:19,981]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: bc:9d:96:91:ce:3e:3a:af
[2017-11-23 13:43:20,056]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-23 13:43:20,057]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-23 13:43:20,058]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-23 13:43:20,060]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.420 sec
[2017-11-23 13:43:24,113]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type h2
[2017-11-23 13:43:24,122]  INFO {org.wso2.carbon.analytics.test.osgi.util.SiddhiAppUtil} - @App:name('SiddhiAppPersistence')define stream FooStream (symbol string, volume long); @source(type='inMemory', topic='symbol', @map(type='passThrough'))Define stream BarStream (symbol string, max long);from FooStream#window.length(5) select symbol, max(volume) as max group by symbol insert into BarStream ;
[2017-11-23 13:43:24,149]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:24,151]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:24,152]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:24,154]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:24,155]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:24,157]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:24,158]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:24,160]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:24,161]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:24,163]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:24,174]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:24,175]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:24,176]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:43:24,178]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:43:24,196]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444604185, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:43:24,702]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444604702, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:43:25,203]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444605203, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:43:25,704]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444605703, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:43:26,204]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444606204, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:43:26,705]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-23 13:44:27,706]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - SiddhiAppPersistence Revisions Found
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-23 13:44:27,710]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-23 13:45:27,711]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Shutting Down SiddhiApp
[2017-11-23 13:45:27,713]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Creating New SiddhiApp with Same Name
[2017-11-23 13:45:27,713]  INFO {org.wso2.carbon.analytics.test.osgi.util.SiddhiAppUtil} - @App:name('SiddhiAppPersistence')define stream FooStream (symbol string, volume long); @source(type='inMemory', topic='symbol', @map(type='passThrough'))Define stream BarStream (symbol string, max long);from FooStream#window.length(5) select symbol, max(volume) as max group by symbol insert into BarStream ;
[2017-11-23 13:45:27,718]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:45:27,719]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:45:27,720]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:45:27,720]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:45:27,724]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444727724, data=[WSO2, 300], isExpired=false}]
[2017-11-23 13:45:28,225]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444728225, data=[WSO2, 300], isExpired=false}]
[2017-11-23 13:45:28,726]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444728725, data=[WSO2, 280], isExpired=false}]
[2017-11-23 13:45:29,226]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444729226, data=[WSO2, 280], isExpired=false}]
[2017-11-23 13:45:29,727]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444729727, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-23 13:45:30,230]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-23 13:46:30,269]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-23 13:46:30,284]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-23 13:46:30,304]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-23 13:46:30,310]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-23 13:46:30,328]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-23 13:46:30,335]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:30,335]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-23 13:46:30,344]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-23 13:46:30,349]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-23 13:46:30,353]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file component is deactivated
[2017-11-23 13:46:30,362]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClient Component is deactivated...
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.UrlProvisionOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.BootDelegationOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.wso2.carbon.container.options.CopyFileOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.wso2.carbon.container.options.CopyOSGiLibBundleOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 477.511 sec - in TestSuite

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ carbon-analytics-osgi-tests ---
[INFO] Building jar: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/carbon-analytics-osgi-tests-2.0.158-SNAPSHOT.jar
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.9:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[INFO] Analyzed bundle 'WSO2 Carbon Analytics - OSGi Tests' with 0 classes
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ carbon-analytics-osgi-tests ---
[INFO] Executing tasks

main:
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 83 classes
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:07 min
[INFO] Finished at: 2017-11-23T13:46:32+00:00
[INFO] Final Memory: 68M/901M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "local-h2" could not be activated because it does not exist.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Running Test on File System)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[carbon-analytics-pipeline] Running shell script
+ mvn clean install -f carbon-analytics/components/osgi-tests/pom.xml -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building WSO2 Carbon Analytics - OSGi Tests 2.0.158-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ carbon-analytics-osgi-tests ---
[INFO] Deleting /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ carbon-analytics-osgi-tests ---
[INFO] Executing: /bin/sh -c cd '/home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests
[INFO] Storing buildNumber: 18ba0a58a80ed6eefc673040e3e9a1a9a41cc44a at timestamp: 1511444801885
[INFO] Storing buildScmBranch: master
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (jacoco-initialize) @ carbon-analytics-osgi-tests ---
[INFO] jcoverage.command set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec,excludes=**/api/**:**/model/**
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ carbon-analytics-osgi-tests ---
[WARNING] While downloading org.apache.commons:commons-io:1.3.2
  This artifact has been relocated to commons-io:commons-io:1.3.2.
  https://issues.sonatype.org/browse/MVNCENTRAL-244


[INFO] 
[INFO] --- maven-paxexam-plugin:1.2.4:generate-depends-file (generate-config) @ carbon-analytics-osgi-tests ---
[INFO] Created: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/classes/META-INF/maven/dependencies.properties
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ carbon-analytics-osgi-tests ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ carbon-analytics-osgi-tests ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.3:check (analyze-compile) > :findbugs @ carbon-analytics-osgi-tests >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.3:findbugs (findbugs) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.3:check (analyze-compile) < :findbugs @ carbon-analytics-osgi-tests <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.3:check (analyze-compile) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.10:unpack (unpack-distribution) @ carbon-analytics-osgi-tests ---
[INFO] Configured Artifact: org.wso2.carbon.analytics:org.wso2.carbon.analytics.test.distribution:?:zip
[INFO] Unpacking /root/.m2/repository/org/wso2/carbon/analytics/org.wso2.carbon.analytics.test.distribution/2.0.158-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.158-SNAPSHOT.zip to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target with includes "" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:2.10:copy-dependencies (copy-jacoco-dependencies) @ carbon-analytics-osgi-tests ---
[INFO] Copying org.jacoco.ant-0.7.5.201505241946.jar to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/org.jacoco.ant.jar
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ carbon-analytics-osgi-tests ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ carbon-analytics-osgi-tests ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 10 source files to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ carbon-analytics-osgi-tests ---
[INFO] Surefire report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/slf4j/slf4j-simple/1.7.12/slf4j-simple-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/slf4j/slf4j-log4j12/1.7.12/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/wso2/orbit/com/github/azakordonets/fabricator_2.10/2.1.4.wso2v1/fabricator_2.10-2.1.4.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.10.0/pax-logging-api-1.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
[main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System (Version: 4.6.0) created.
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testFileSystemPersistence
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: bad120ed-e02a-46c6-9293-5a60ba6a24e3 timout: [ RelativeTimeout value = 180000 ]
JAVA_HOME environment variable is set to /build/software/java/jdk1.8.0_45
CARBON_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/014431ed-2865-44ab-994b-b597de26f6ed
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/014431ed-2865-44ab-994b-b597de26f6ed/wso2/default
osgi> [2017-11-23 13:46:55,952]  WARN {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Adding a required OSGi service capability to component, but specified startup component is not available, component-name: carbon-transport-mgt and capability-name: org.wso2.carbon.deployment.engine.DeploymentService.
[2017-11-23 13:46:56,002]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-23 13:46:56,004]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClientServiceComponent is activated...
[2017-11-23 13:46:56,059]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-23 13:46:56,075]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:56,089]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-23 13:46:56,093]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-23 13:46:56,106]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-23 13:46:56,149]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-23 13:46:56,441]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:46:56,587]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-23 13:46:56,629]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Periodic state persistence started with an interval of 1 using org.wso2.carbon.stream.processor.core.persistence.FileSystemPersistenceStore
[2017-11-23 13:46:56,637]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-23 13:46:56,640]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-23 13:46:56,642]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-23 13:46:56,653]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-23 13:46:56,874] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:169)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$186/125593164.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$146/1975036416.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 17 more

[2017-11-23 13:46:56,989]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:56,990]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:56,991]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:56,994]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:57,005]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:57,007]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:57,016]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:57,018]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:57,021]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:57,024]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:57,106]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:57,109]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:57,110]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:46:57,112]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:46:57,116]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-23 13:46:57,120]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-23 13:46:57,148]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:46:57,156]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:46:57,164]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:46:57,176]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:46:57,187]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:46:57,195]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]2d901353
[2017-11-23 13:46:57,201]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:46:57,209]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]3a2793
[2017-11-23 13:46:57,242]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-23 13:46:57,273]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 56:47:9b:9a:a8:53:ba:e1
[2017-11-23 13:46:57,350]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-23 13:46:57,350]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-23 13:46:57,351]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-23 13:46:57,352]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.667 sec
[2017-11-23 13:47:01,141]  INFO {org.wso2.carbon.analytics.test.osgi.util.SiddhiAppUtil} - @App:name('SiddhiAppPersistence')define stream FooStream (symbol string, volume long); @source(type='inMemory', topic='symbol', @map(type='passThrough'))Define stream BarStream (symbol string, max long);from FooStream#window.length(5) select symbol, max(volume) as max group by symbol insert into BarStream ;
[2017-11-23 13:47:01,167]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:47:01,169]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:47:01,169]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:47:01,170]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:47:01,171]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:47:01,172]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:47:01,175]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:47:01,176]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:47:01,177]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:47:01,179]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:47:01,195]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:47:01,197]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:47:01,197]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:47:01,199]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:47:01,213]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444821204, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:47:01,717]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444821716, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:47:02,218]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444822217, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:47:02,718]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444822718, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:47:03,219]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444823219, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:47:03,726]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-23 13:48:03,731]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-23 13:49:03,731]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Shutting Down SiddhiApp
[2017-11-23 13:49:03,733]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Creating New SiddhiApp with Same Name
[2017-11-23 13:49:03,733]  INFO {org.wso2.carbon.analytics.test.osgi.util.SiddhiAppUtil} - @App:name('SiddhiAppPersistence')define stream FooStream (symbol string, volume long); @source(type='inMemory', topic='symbol', @map(type='passThrough'))Define stream BarStream (symbol string, max long);from FooStream#window.length(5) select symbol, max(volume) as max group by symbol insert into BarStream ;
[2017-11-23 13:49:03,738]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:49:03,738]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:49:03,740]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:49:03,740]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:49:03,746]  INFO {org.wso2.carbon.stream.processor.core.persistence.FileSystemPersistenceStore} - State loaded for SiddhiAppPersistence revision 1511444936630_SiddhiAppPersistence from the file system.
[2017-11-23 13:49:03,748]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444943748, data=[WSO2, 300], isExpired=false}]
[2017-11-23 13:49:04,248]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444944248, data=[WSO2, 300], isExpired=false}]
[2017-11-23 13:49:04,749]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444944749, data=[WSO2, 280], isExpired=false}]
[2017-11-23 13:49:05,250]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444945249, data=[WSO2, 280], isExpired=false}]
[2017-11-23 13:49:05,750]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511444945750, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testFileSystemPeriodicPersistence
[2017-11-23 13:49:07,254]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPDeployment
[2017-11-23 13:50:09,276]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-23 13:50:09,286]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-23 13:50:09,305]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-23 13:50:09,311]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-23 13:50:09,322]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-23 13:50:09,328]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:09,328]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-23 13:50:09,334]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-23 13:50:09,337]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-23 13:50:09,341]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file component is deactivated
[2017-11-23 13:50:09,350]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClient Component is deactivated...
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.UrlProvisionOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.BootDelegationOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.wso2.carbon.container.options.CopyFileOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: 8fbe7b70-8e92-4ff4-88aa-63ff5cbf13b1 timout: [ RelativeTimeout value = 180000 ]
JAVA_HOME environment variable is set to /build/software/java/jdk1.8.0_45
CARBON_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/2e32cfff-d8cb-470b-9478-b25d33815ca7
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/2e32cfff-d8cb-470b-9478-b25d33815ca7/wso2/default
osgi> [2017-11-23 13:50:15,045]  WARN {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Adding a required OSGi service capability to component, but specified startup component is not available, component-name: carbon-transport-mgt and capability-name: org.wso2.carbon.deployment.engine.DeploymentService.
[2017-11-23 13:50:15,108]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-23 13:50:15,108]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClientServiceComponent is activated...
[2017-11-23 13:50:15,151]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-23 13:50:15,165]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:15,181]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-23 13:50:15,187]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-23 13:50:15,199]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-23 13:50:15,243]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-23 13:50:15,243]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-23 13:50:15,544]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:50:15,679]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-23 13:50:15,728]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-23 13:50:15,757]  INFO {org.wso2.carbon.metrics.jdbc.core.config.model.JdbcReporterConfig} - Creating JDBC reporter for Metrics with source 'wso2-sp', data source 'java:comp/env/jdbc/WSO2MetricsDB' and 30 seconds polling period
[2017-11-23 13:50:15,768]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-23 13:50:15,777]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-23 13:50:15,935]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Periodic state persistence started with an interval of 1 using org.wso2.carbon.stream.processor.core.persistence.DBPersistenceStore
[2017-11-23 13:50:15,948]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-23 13:50:15,951]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-23 13:50:15,953]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-23 13:50:15,963]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-23 13:50:16,171] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:169)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$217/1620626942.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$147/1020197298.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 17 more

[2017-11-23 13:50:16,252]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,253]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,254]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,255]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,264]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,266]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,273]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,275]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,277]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,279]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,353]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,354]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,355]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,356]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,359]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-23 13:50:16,400]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-23 13:50:16,429]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:50:16,436]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:50:16,444]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:50:16,455]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:50:16,466]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:50:16,473]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]2c5d408c
[2017-11-23 13:50:16,479]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:50:16,486]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]4c8c67
[2017-11-23 13:50:16,501]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-23 13:50:16,525]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 41:f8:2e:f0:2e:98:19:30
[2017-11-23 13:50:16,597]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-23 13:50:16,597]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-23 13:50:16,598]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-23 13:50:16,600]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.798 sec
[2017-11-23 13:50:16,602]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App through REST API
[2017-11-23 13:50:16,801]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,803]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,803]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,805]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,806]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,807]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,807]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,808]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,809]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,810]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,811]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,812]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,813]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:16,814]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:16,816]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp1 saved in the filesystem
[2017-11-23 13:50:21,417]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:21,418]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:21,419]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:21,420]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:21,420]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp1
[2017-11-23 13:50:21,422]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App SiddhiApp1 deployed successfully
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidDuplicateSiddhiAPPDeployment
[2017-11-23 13:50:26,860]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App whih is already existing in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInValidSiddhiAPPDeployment
[2017-11-23 13:50:26,875]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying invalid Siddhi App through REST API
[2017-11-23 13:50:26,886] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Exception occurred when validating Siddhi App org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.validateAndSave(StreamProcessorService.java:322)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsPost(SiddhiAppsApiServiceImpl.java:64)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsPost(SiddhiAppsApi.java:75)
	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:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$251/344346610.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 8. Position: 0 and @ Line: 8. Position: 0. Syntax error in SiddhiQL, no viable alternative at input '<EOF>'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:308)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:145)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5805)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 15 more

[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPDeploymentWithInvalidContentType
[2017-11-23 13:50:26,895]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying Siddhi App with invalid content type through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPDeploymentWithNoBody
[2017-11-23 13:50:26,901]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying Siddhi App without request body through REST API
[2017-11-23 13:50:26,904] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Exception occurred when validating Siddhi App org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.validateAndSave(StreamProcessorService.java:322)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsPost(SiddhiAppsApiServiceImpl.java:64)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsPost(SiddhiAppsApi.java:75)
	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:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$251/344346610.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 1. Position: 0 and @ Line: 1. Position: 0. Syntax error in SiddhiQL, no viable alternative at input '<EOF>'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:308)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:145)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:469)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 15 more

[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidNonExistSiddhiAPPUpdate
[2017-11-23 13:50:26,909]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App which does not exists through REST API
[2017-11-23 13:50:26,923]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:26,925]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:26,925]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:26,926]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:26,927]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:26,928]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:26,929]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:26,929]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:26,930]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:26,931]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:26,931]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:26,932]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:26,933]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:26,934]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:26,934]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-23 13:50:31,431]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:31,432]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:31,432]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:31,433]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:31,433]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-23 13:50:31,434]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App SiddhiApp3 deployed successfully
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidAlreadyExistSiddhiAPPUpdate
[2017-11-23 13:50:36,938]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App whih is already existing in server through REST API
[2017-11-23 13:50:36,948]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:36,949]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:36,949]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:36,950]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:36,950]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-23 13:50:41,438]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File SiddhiApp3 undeployed successfully.
[2017-11-23 13:50:41,443]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:41,444]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:41,444]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:50:41,445]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:50:41,445]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-23 13:50:41,445]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App SiddhiApp3 deployed successfully
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInValidSiddhiAPPUpdate
[2017-11-23 13:50:46,954]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying invalid Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPUpdateWithInvalidContentType
[2017-11-23 13:50:46,964]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying Siddhi App with invalid content type through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPRetrieval
[2017-11-23 13:50:46,968]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving active Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInactiveSiddhiAPPRetrieval
[2017-11-23 13:50:47,007]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving inactive Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPRetrievalWithDifferntContentType
[2017-11-23 13:50:47,011]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving active Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testAllSiddhiAPPRetrieval
[2017-11-23 13:50:47,014]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving all Siddhi App names through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPRetrieval
[2017-11-23 13:50:47,021]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving non exist Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testAllSiddhiAPPRetrievalWithContentType
[2017-11-23 13:50:47,026]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving all Siddhi App names through REST API (different content type)
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPStatusRetrieval
[2017-11-23 13:50:47,031]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi App which not exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPStatusRetrieval
[2017-11-23 13:50:47,035]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi App which exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInactiveSiddhiAPPStatusRetrieval
[2017-11-23 13:50:47,039]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi inactive App which exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testiddhiAPPStatusRetrievalWithDifferentContentType
[2017-11-23 13:50:47,042]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi App which exists in server through REST API with different content type
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPBackup
[2017-11-23 13:50:47,046]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistsSiddhiAPPBackup
[2017-11-23 13:50:49,055]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that does not exist in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPBackupTake2
[2017-11-23 13:50:49,060]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot again for a Siddhi App that exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPBackupWithInvalidMethod
[2017-11-23 13:50:51,065]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that exists in server through REST API by invoking with invalid method
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPRestoreToLastRevision
[2017-11-23 13:50:51,069]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Restoring the snapshot (last revision) of a Siddhi App that exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPRestoreToLastRevision
[2017-11-23 13:50:51,077]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Restoring the snapshot (last revision) of a Siddhi App that does not exist in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPRestoreToNonExistRevision
[2017-11-23 13:50:51,081]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Restoring the snapshot revison that does not exist of a Siddhi App through REST API
[2017-11-23 13:50:51,084] ERROR {org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl} - Exception occurred when restoring the state for Siddhi App : SiddhiApp1 org.wso2.siddhi.core.exception.CannotRestoreSiddhiAppStateException: Restoring of Siddhi app SiddhiApp1 not completed properly because content of Siddhi app has changed since last state persistence. Clean persistence store for a fresh deployment.
	at org.wso2.siddhi.core.util.snapshot.SnapshotService.restore(SnapshotService.java:133)
	at org.wso2.siddhi.core.util.persistence.PersistenceService.restoreRevision(PersistenceService.java:70)
	at org.wso2.siddhi.core.SiddhiAppRuntime.restoreRevision(SiddhiAppRuntime.java:478)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsAppNameRestorePost(SiddhiAppsApiServiceImpl.java:267)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsAppNameRestorePost(SiddhiAppsApi.java:197)
	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:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$251/344346610.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.wso2.siddhi.core.util.snapshot.SnapshotService.restore(SnapshotService.java:129)
	... 16 more

[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPBackupWithInvalidContentType
[2017-11-23 13:50:51,087]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that exists in server through REST API by invoking with invalid method
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPDeletion
[2017-11-23 13:50:51,093]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting Siddhi App which not exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPDeletion
[2017-11-23 13:50:51,096]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting valid Siddhi App which exists in server through REST API
[2017-11-23 13:50:51,098]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - SiddhiApp1 is deleted from the file system
[2017-11-23 13:50:51,449]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File SiddhiApp1 undeployed successfully.
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPDeletionWithoutAppName
[2017-11-23 13:50:57,102]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting Siddhi App which without providing the app name in the url through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInactiveSiddhiAPPDeletion
[2017-11-23 13:50:57,108]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting inactive Siddhi App which exists in server through REST API
[2017-11-23 13:50:57,110]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - TestInvalidSiddhiApp is deleted from the file system
[2017-11-23 13:51:01,450]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File TestInvalidSiddhiApp undeployed successfully.
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPRetrievalAfterDeletion
[2017-11-23 13:51:03,113]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving all Siddhi App names through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testMetrics
[2017-11-23 13:51:03,136]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-23 13:51:03,148]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-23 13:51:03,164]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-23 13:51:03,169]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-23 13:51:03,335]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-23 13:51:03,339]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-23 13:51:03,342]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:03,343]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-23 13:51:03,349]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-23 13:51:03,353]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-23 13:51:03,356]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file component is deactivated
[2017-11-23 13:51:03,367]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClient Component is deactivated...
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.UrlProvisionOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.BootDelegationOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: cb203828-f151-44cb-923c-ef4f6636a4b3 timout: [ RelativeTimeout value = 180000 ]
JAVA_HOME environment variable is set to /build/software/java/jdk1.8.0_45
CARBON_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/a1936e6a-e86e-42fa-ae86-a4d54092ae8a
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/a1936e6a-e86e-42fa-ae86-a4d54092ae8a/wso2/default
osgi> [2017-11-23 13:51:08,369]  WARN {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Adding a required OSGi service capability to component, but specified startup component is not available, component-name: carbon-transport-mgt and capability-name: org.wso2.carbon.deployment.engine.DeploymentService.
[2017-11-23 13:51:08,414]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-23 13:51:08,414]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClientServiceComponent is activated...
[2017-11-23 13:51:08,452]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-23 13:51:08,465]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:08,481]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-23 13:51:08,487]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-23 13:51:08,498]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-23 13:51:08,524]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-23 13:51:08,532]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-23 13:51:08,842]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-23 13:51:08,848]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:08,889]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-23 13:51:08,993]  INFO {org.wso2.carbon.metrics.jdbc.core.config.model.JdbcReporterConfig} - Creating JDBC reporter for Metrics with source 'wso2-sp', data source 'java:comp/env/jdbc/WSO2MetricsDB' and 30 seconds polling period
[2017-11-23 13:51:09,002]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-23 13:51:09,009]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-23 13:51:09,142]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Periodic state persistence started with an interval of 1 using org.wso2.carbon.stream.processor.core.persistence.DBPersistenceStore
[2017-11-23 13:51:09,152]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-23 13:51:09,157]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-23 13:51:09,160]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-23 13:51:09,170]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-23 13:51:09,363] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:169)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$217/1985947410.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$147/1752322549.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 17 more

[2017-11-23 13:51:09,443]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,444]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,445]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,446]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,455]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,457]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,464]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,465]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,468]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,470]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,545]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,546]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,547]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,548]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,551]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-23 13:51:09,592]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-23 13:51:09,612]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:09,618]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:09,623]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:09,630]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:09,637]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:09,642]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]2cc945ec
[2017-11-23 13:51:09,646]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:09,651]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]95c21
[2017-11-23 13:51:09,662]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-23 13:51:09,688]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 47:7c:79:59:8b:1f:d2:6a
[2017-11-23 13:51:09,761]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-23 13:51:09,761]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-23 13:51:09,762]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-23 13:51:09,763]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 4.941 sec
[2017-11-23 13:51:09,881]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,883]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,884]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,886]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,887]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,888]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,893]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,894]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,895]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,897]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,898]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,899]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,900]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,901]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,902]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,903]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,904]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,906]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,906]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,907]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,908]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,909]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,923]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,924]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,924]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,925]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,926]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,926]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,927]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,928]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,928]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,929]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,929]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,930]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,931]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,931]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:09,932]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:09,932]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testMetricsCoreBundle
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testEnableMetric
[2017-11-23 13:51:09,954]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-23 13:51:09,969]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-23 13:51:09,992]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-23 13:51:09,998]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-23 13:51:10,015]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-23 13:51:10,020]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-23 13:51:10,025]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:10,026]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-23 13:51:10,031]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-23 13:51:10,034]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-23 13:51:10,039]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file component is deactivated
[2017-11-23 13:51:10,048]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClient Component is deactivated...
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.UrlProvisionOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.BootDelegationOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: 992d1f36-e9e1-4591-b057-6faba5b7a0cb timout: [ RelativeTimeout value = 180000 ]
JAVA_HOME environment variable is set to /build/software/java/jdk1.8.0_45
CARBON_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/be742834-17a4-44f6-977e-a288a8707672
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/be742834-17a4-44f6-977e-a288a8707672/wso2/default
osgi> [2017-11-23 13:51:15,363]  WARN {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Adding a required OSGi service capability to component, but specified startup component is not available, component-name: carbon-transport-mgt and capability-name: org.wso2.carbon.deployment.engine.DeploymentService.
[2017-11-23 13:51:15,409]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-23 13:51:15,410]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClientServiceComponent is activated...
[2017-11-23 13:51:15,438]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-23 13:51:15,448]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:15,463]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-23 13:51:15,469]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-23 13:51:15,482]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-23 13:51:15,511]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-23 13:51:15,524]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-23 13:51:15,854]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:15,906]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-23 13:51:15,962]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-23 13:51:16,054]  INFO {org.wso2.carbon.metrics.jdbc.core.config.model.JdbcReporterConfig} - Creating JDBC reporter for Metrics with source 'wso2-sp', data source 'java:comp/env/jdbc/WSO2MetricsDB' and 30 seconds polling period
[2017-11-23 13:51:16,063]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-23 13:51:16,083]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-23 13:51:16,197]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Periodic state persistence started with an interval of 1 using org.wso2.carbon.stream.processor.core.persistence.DBPersistenceStore
[2017-11-23 13:51:16,206]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-23 13:51:16,209]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-23 13:51:16,211]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-23 13:51:16,226]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-23 13:51:16,450] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:169)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$217/1699055042.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$147/1698724740.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 17 more

[2017-11-23 13:51:16,532]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:16,534]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:16,535]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:16,536]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:16,545]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:16,547]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:16,554]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:16,556]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:16,559]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:16,560]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:16,635]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:16,637]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:16,638]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:16,639]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:16,642]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-23 13:51:16,687]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-23 13:51:16,706]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:16,711]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:16,715]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:16,723]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:16,730]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:16,735]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]5b38159f
[2017-11-23 13:51:16,740]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:16,744]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]ddc62f
[2017-11-23 13:51:16,756]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-23 13:51:16,778]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: ad:45:c9:a9:e8:ba:a4:0f
[2017-11-23 13:51:16,852]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-23 13:51:16,853]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-23 13:51:16,854]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-23 13:51:16,856]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.278 sec
[2017-11-23 13:51:16,858]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Deploying valid Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testGetRealTimeStatistics
[2017-11-23 13:51:27,089]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Retrieving active Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSystemDetails
[2017-11-23 13:51:27,108]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Retrieving active Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testDBSystemPersistence
[2017-11-23 13:51:27,132]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-23 13:51:27,147]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-23 13:51:27,168]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-23 13:51:27,174]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-23 13:51:27,192]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-23 13:51:27,197]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-23 13:51:27,200]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:27,201]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-23 13:51:27,209]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-23 13:51:27,215]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-23 13:51:27,221]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file component is deactivated
[2017-11-23 13:51:27,232]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClient Component is deactivated...
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.UrlProvisionOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.BootDelegationOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: a9efbc7a-9567-4e1b-a473-88ddaba7cf4f timout: [ RelativeTimeout value = 180000 ]
JAVA_HOME environment variable is set to /build/software/java/jdk1.8.0_45
CARBON_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/69a868f1-5137-4289-b9d2-5fa4e1c10767
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/69a868f1-5137-4289-b9d2-5fa4e1c10767/wso2/default
[2017-11-23 13:51:30,313]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-23 13:51:33,819]  WARN {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Adding a required OSGi service capability to component, but specified startup component is not available, component-name: carbon-transport-mgt and capability-name: org.wso2.carbon.deployment.engine.DeploymentService.
[2017-11-23 13:51:33,876]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-23 13:51:33,877]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClientServiceComponent is activated...
[2017-11-23 13:51:33,910]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-23 13:51:33,923]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:33,938]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-23 13:51:33,943]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-23 13:51:33,958]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-23 13:51:33,991]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-23 13:51:34,000]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-23 13:51:34,380]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:34,547]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-23 13:51:34,675]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Periodic state persistence started with an interval of 1 using org.wso2.carbon.stream.processor.core.persistence.DBPersistenceStore
[2017-11-23 13:51:34,684]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-23 13:51:34,687]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-23 13:51:34,689]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-23 13:51:34,699]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-23 13:51:34,939] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:169)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$219/964001618.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$149/947344095.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:356)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:343)
	... 17 more

[2017-11-23 13:51:35,020]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:35,021]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:35,022]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:35,024]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:35,032]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:35,034]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:35,041]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:35,043]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:35,046]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:35,047]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:35,121]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:35,123]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:35,123]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:35,124]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:35,127]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-23 13:51:35,176]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-23 13:51:35,195]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:35,200]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:35,205]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:35,213]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:35,220]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:35,226]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]24e9d3b
[2017-11-23 13:51:35,231]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-23 13:51:35,237]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]506e09
[2017-11-23 13:51:35,248]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-23 13:51:35,270]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 73:a0:85:28:b1:2a:14:fa
[2017-11-23 13:51:35,341]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-23 13:51:35,341]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-23 13:51:35,342]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-23 13:51:35,344]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.621 sec
[2017-11-23 13:51:39,403]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type h2
[2017-11-23 13:51:39,411]  INFO {org.wso2.carbon.analytics.test.osgi.util.SiddhiAppUtil} - @App:name('SiddhiAppPersistence')define stream FooStream (symbol string, volume long); @source(type='inMemory', topic='symbol', @map(type='passThrough'))Define stream BarStream (symbol string, max long);from FooStream#window.length(5) select symbol, max(volume) as max group by symbol insert into BarStream ;
[2017-11-23 13:51:39,431]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:39,432]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:39,433]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:39,434]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:39,435]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:39,436]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:39,436]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:39,437]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:39,438]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:39,439]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:39,449]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:39,450]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:39,451]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:51:39,452]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:51:39,462]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445099456, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:51:39,965]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445099964, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:51:40,465]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445100465, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:51:40,966]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445100966, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:51:41,467]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445101466, data=[WSO2, 500], isExpired=false}]
[2017-11-23 13:51:41,967]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-23 13:52:42,969]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - SiddhiAppPersistence Revisions Found
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-23 13:52:42,972]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-23 13:53:42,973]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Shutting Down SiddhiApp
[2017-11-23 13:53:42,975]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Creating New SiddhiApp with Same Name
[2017-11-23 13:53:42,975]  INFO {org.wso2.carbon.analytics.test.osgi.util.SiddhiAppUtil} - @App:name('SiddhiAppPersistence')define stream FooStream (symbol string, volume long); @source(type='inMemory', topic='symbol', @map(type='passThrough'))Define stream BarStream (symbol string, max long);from FooStream#window.length(5) select symbol, max(volume) as max group by symbol insert into BarStream ;
[2017-11-23 13:53:42,979]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:53:42,980]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:53:42,981]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:53:42,981]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-23 13:53:42,985]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445222985, data=[WSO2, 300], isExpired=false}]
[2017-11-23 13:53:43,486]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445223485, data=[WSO2, 300], isExpired=false}]
[2017-11-23 13:53:43,986]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445223986, data=[WSO2, 280], isExpired=false}]
[2017-11-23 13:53:44,487]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445224487, data=[WSO2, 280], isExpired=false}]
[2017-11-23 13:53:44,988]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511445224988, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-23 13:53:45,491]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-23 13:54:45,534]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-23 13:54:45,548]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-23 13:54:45,566]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-23 13:54:45,571]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-23 13:54:45,584]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-23 13:54:45,589]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-23 13:54:45,590]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-23 13:54:45,596]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-23 13:54:45,601]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-23 13:54:45,607]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file component is deactivated
[2017-11-23 13:54:45,616]  INFO {org.wso2.carbon.analytics.idp.client.core.internal.IdPClientServiceComponent} - IdPClient Component is deactivated...
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.UrlProvisionOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.BootDelegationOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.wso2.carbon.container.options.CopyFileOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.wso2.carbon.container.options.CopyOSGiLibBundleOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 477.086 sec - in TestSuite

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ carbon-analytics-osgi-tests ---
[INFO] Building jar: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/carbon-analytics-osgi-tests-2.0.158-SNAPSHOT.jar
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.9:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[INFO] Analyzed bundle 'WSO2 Carbon Analytics - OSGi Tests' with 0 classes
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ carbon-analytics-osgi-tests ---
[INFO] Executing tasks

main:
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 83 classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ carbon-analytics-osgi-tests ---
[INFO] Installing /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/carbon-analytics-osgi-tests-2.0.158-SNAPSHOT.jar to /root/.m2/repository/org/wso2/carbon/analytics/carbon-analytics-osgi-tests/2.0.158-SNAPSHOT/carbon-analytics-osgi-tests-2.0.158-SNAPSHOT.jar
[INFO] Installing /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/pom.xml to /root/.m2/repository/org/wso2/carbon/analytics/carbon-analytics-osgi-tests/2.0.158-SNAPSHOT/carbon-analytics-osgi-tests-2.0.158-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:07 min
[INFO] Finished at: 2017-11-23T13:54:47+00:00
[INFO] Final Memory: 104M/1016M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] step
[JaCoCo plugin] Collecting JaCoCo coverage data...
[JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured
[JaCoCo plugin] Number of found exec files for pattern **/**.exec: 16
[JaCoCo plugin] Saving matched execfiles:  /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.web/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.das.jobmanager.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.database.query.manager/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.editor.log.appender/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.event.simulator.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.editor.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.metrics.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.store.api.rest/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.sp.distributed.resource.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.web/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.common/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.core/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.statistics/target/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[JaCoCo plugin] Saving matched class directories for class-pattern: **/classes:  /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.web/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.das.jobmanager.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.database.query.manager/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.editor.log.appender/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.event.simulator.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.editor.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.metrics.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.store.api.rest/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.sp.distributed.resource.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.web/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.common/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.statistics/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/classes
[JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java:  /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.das.jobmanager.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.database.query.manager/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.editor.log.appender/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.event.simulator.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.editor.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.metrics.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.store.api.rest/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.sp.distributed.resource.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.common/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.statistics/src/main/java
[JaCoCo plugin] Loading inclusions files..
[JaCoCo plugin] inclusions: []
[JaCoCo plugin] exclusions: [**/api/**, **/model/**]
[JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=0, minMethod=0, maxMethod=0, minLine=0, maxLine=0, minBranch=0, maxBranch=0, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0]
[JaCoCo plugin] Publishing the results..
[JaCoCo plugin] Loading packages..
[JaCoCo plugin] Done.
[JaCoCo plugin] Overall coverage: class: 36, method: 25, line: 19, branch: 15, instruction: 17
[Pipeline] step
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS