FailedConsole Output

Skipping 4,292 KB.. Full Log
ationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 06:06:08,212]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 06:06:08,447]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,448]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,449]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,451]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,467]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,468]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,522]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,524]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,524]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,526]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,529]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 06:06:08,569]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 06:06:08,578] 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:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$214/1723618861.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$145/320612595.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:335)
	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:5738)
	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:322)
	... 17 more

[2017-11-16 06:06:08,605]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:08,612]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:08,619]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:08,627]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:08,637]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:08,645]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]421eddd0
[2017-11-16 06:06:08,652]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]5ca2c3
[2017-11-16 06:06:08,656]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:08,667]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 06:06:08,689]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: dd:a4:4e:83:d6:04:7f:fd
[2017-11-16 06:06:08,761]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 06:06:08,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-16 06:06:08,762]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 06:06:08,763]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 4.981 sec
[2017-11-16 06:06:08,867]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,870]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,871]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,873]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,874]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,876]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,880]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,881]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,882]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,884]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,885]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,887]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,887]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,889]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,890]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,892]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,893]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,894]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,895]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,896]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,910]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,911]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,911]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,913]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,913]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,914]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,915]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,916]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,916]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,917]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,918]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,919]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,919]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,920]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:08,921]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,922]  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 testGetRealTimeStatistics
[2017-11-16 06:06:08,943]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 06:06:08,956]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 06:06:08,971]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 06:06:08,975]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 06:06:08,985]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 06:06:08,989]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 06:06:08,993]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:08,993]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 06:06:08,999]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 06:06:09,002]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 06:06:09,006]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file 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: c87f78cf-1dde-4799-8c9a-d50efb44db27 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/606521dd-909a-4170-9dc7-108ac1370a77
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/606521dd-909a-4170-9dc7-108ac1370a77/wso2/default
osgi> [2017-11-16 06:06:14,185]  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-16 06:06:14,228]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 06:06:14,255]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 06:06:14,264]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:14,275]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 06:06:14,279]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 06:06:14,288]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 06:06:14,322]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 06:06:14,329]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 06:06:14,331]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 06:06:14,643]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-16 06:06:14,675]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:14,696]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-16 06:06:14,819]  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-16 06:06:14,828]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-16 06:06:14,835]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 06:06:14,965]  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-16 06:06:14,976]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 06:06:14,980]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 06:06:14,984]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 06:06:15,302]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:15,304]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:15,305]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:15,308]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:15,327]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:15,329]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:15,380]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:15,381]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:15,382]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:15,383]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:15,386]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 06:06:15,426]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 06:06:15,438] 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:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$214/297122137.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$145/1788446238.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:335)
	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:5738)
	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:322)
	... 17 more

[2017-11-16 06:06:15,466]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:15,474]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:15,481]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:15,490]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:15,500]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:15,508]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]1c2678fb
[2017-11-16 06:06:15,514]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]61fdb
[2017-11-16 06:06:15,521]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:15,536]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 06:06:15,559]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 8e:31:e5:db:ec:0e:ce:83
[2017-11-16 06:06:15,635]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 06:06:15,635]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-16 06:06:15,636]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 06:06:15,638]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.212 sec
[2017-11-16 06:06:15,640]  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-16 06:06:15,857]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Retrieving active Siddhi App through REST API
[2017-11-16 06:06:15,898]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 06:06:15,912]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 06:06:15,926]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 06:06:15,930]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 06:06:15,941]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 06:06:15,945]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 06:06:15,947]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:15,947]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 06:06:15,952]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 06:06:15,955]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 06:06:15,959]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file 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.
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 272.758 sec - in TestSuite

Results :

Tests run: 39, 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.145-SNAPSHOT.jar
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ carbon-analytics-osgi-tests ---
[INFO] Executing tasks

main:
[jacoco:merge] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:merge] Writing merged execution data to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 82 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.145-SNAPSHOT.jar to /root/.m2/repository/org/wso2/carbon/analytics/carbon-analytics-osgi-tests/2.0.145-SNAPSHOT/carbon-analytics-osgi-tests-2.0.145-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.145-SNAPSHOT/carbon-analytics-osgi-tests-2.0.145-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:47 min
[INFO] Finished at: 2017-11-16T06:06:17+00:00
[INFO] Final Memory: 119M/1307M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Running Test on MySQL database)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[carbon-analytics-pipeline] Running shell script
+ mvn verify -P local-mysql -f carbon-analytics/components/osgi-tests/pom.xml -Ddocker.removeVolumes=true -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building WSO2 Carbon Analytics - OSGi Tests 2.0.145-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-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: 08bd73f19f3225ccae428dd5ac887d140680f367 at timestamp: 1510812381622
[INFO] Storing buildScmBranch: master
[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.145-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.145-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] org.jacoco:org.jacoco.ant:jar:0.7.5.201505241946 already exists in destination.
[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] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ carbon-analytics-osgi-tests ---
[INFO] Tests are skipped.
[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.145-SNAPSHOT.jar
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:start (start-docker-for-mysql) @ carbon-analytics-osgi-tests ---
[INFO] DOCKER> [mysql:5.7] "sp-mysql": Start container a84516c61084
[INFO] DOCKER> [mysql:5.7] "sp-mysql": Waiting for mapped ports [32871] on host 203.94.95.155
[INFO] DOCKER> [mysql:5.7] "sp-mysql": Waited on log out 'mysqld: ready for connections' and on tcp port '[/203.94.95.155:32871]' 5441 ms
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:prepare-agent (jacoco-initialize) @ carbon-analytics-osgi-tests ---
[INFO] jcoverage.command set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=/home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test-for-mysql) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-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/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 testDBSystemPersistence
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: 03729475-6deb-4b9b-9d9d-8be0a435b453 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/c96e332b-6013-421b-b58c-c0617f6926d7
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/c96e332b-6013-421b-b58c-c0617f6926d7/wso2/default
[2017-11-16 6:06:39,299]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-16 06:06:41,353]  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-16 06:06:41,391]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 06:06:41,397]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 06:06:41,403]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:41,411]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 06:06:41,415]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 06:06:41,421]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 06:06:41,441]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 06:06:41,442]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 06:06:41,445]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 06:06:41,466]  WARN {com.zaxxer.hikari.util.DriverDataSource} - Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
[2017-11-16 06:06:41,635]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:42,253]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 06:06:42,328]  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-16 06:06:42,333]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 06:06:42,335]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 06:06:42,336]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 06:06:42,471]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:42,472]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:42,473]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:42,475]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:42,485]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:42,487]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:42,515]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:42,516]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:42,517]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:42,518]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:42,520]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 06:06:43,780]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 06:06:43,788] 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:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$218/1713395800.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$157/1089882979.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:335)
	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:5738)
	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:322)
	... 17 more

[2017-11-16 06:06:43,807]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:43,814]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:43,822]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:43,830]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:43,839]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:43,846]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]10767e63
[2017-11-16 06:06:43,853]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]ad8187
[2017-11-16 06:06:43,859]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:06:43,869]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 06:06:43,883]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 49:60:31:4d:71:54:0e:12
[2017-11-16 06:06:43,921]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 06:06:43,921]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-16 06:06:43,922]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 06:06:43,923]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.074 sec
[2017-11-16 06:06:47,786]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type mysql
[2017-11-16 06:06:47,791]  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-16 06:06:47,802]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:47,803]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:47,804]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:47,805]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:47,806]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:47,807]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:47,813]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:06:47,814]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:06:47,820]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812407816, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:06:48,322]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812408321, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:06:48,822]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812408822, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:06:49,323]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812409322, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:06:49,823]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812409823, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:06:50,324]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-16 06:07:51,375]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - SiddhiAppPersistence Revisions Found
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-16 06:07:51,430]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 06:08:51,431]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-16 06:08:51,432]  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-16 06:08:51,435]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:08:51,436]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:08:51,437]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:08:51,438]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:08:51,805]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1510812522328_SiddhiAppPersistence revision
[2017-11-16 06:08:51,805]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812531805, data=[WSO2, 300], isExpired=false}]
[2017-11-16 06:08:52,306]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812532306, data=[WSO2, 300], isExpired=false}]
[2017-11-16 06:08:52,806]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812532806, data=[WSO2, 280], isExpired=false}]
[2017-11-16 06:08:53,307]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812533307, data=[WSO2, 280], isExpired=false}]
[2017-11-16 06:08:53,808]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812533807, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-16 06:08:54,364]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-16 06:09:54,505]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 06:09:54,552]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 06:09:54,578]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 06:09:54,584]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 06:09:54,608]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 06:09:54,625]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:09:54,625]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 06:09:54,633]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 06:09:54,638]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 06:09:54,645]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file 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: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 200.11 sec - in TestSuite

Results :

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:stop (stop-docker-for-mysql) @ carbon-analytics-osgi-tests ---
[INFO] DOCKER> [mysql:5.7] "sp-mysql": Stop and removed container a84516c61084 after 0 ms
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:remove (stop-docker-for-mysql) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/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:merge] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:merge] Writing merged execution data to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 82 classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify-for-mysql) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:37 min
[INFO] Finished at: 2017-11-16T06:09:57+00:00
[INFO] Final Memory: 81M/896M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Running Test on H2 database)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[carbon-analytics-pipeline] Running shell script
+ mvn verify -P local-h2 -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.145-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-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: 08bd73f19f3225ccae428dd5ac887d140680f367 at timestamp: 1510812607098
[INFO] Storing buildScmBranch: master
[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.145-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.145-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] org.jacoco:org.jacoco.ant:jar:0.7.5.201505241946 already exists in destination.
[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] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ carbon-analytics-osgi-tests ---
[INFO] Tests are skipped.
[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.145-SNAPSHOT.jar
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:prepare-agent (jacoco-initialize) @ carbon-analytics-osgi-tests ---
[INFO] jcoverage.command set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=/home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test-for-h2) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-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/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 testDBSystemPersistence
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: 7f53484a-3d09-4eb2-89a6-e85450e3493e 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/d5d37a2f-87e1-40c9-b10c-e28aacbca654
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/d5d37a2f-87e1-40c9-b10c-e28aacbca654/wso2/default
[2017-11-16 6:10:21,587]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-16 06:10:23,773]  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-16 06:10:23,815]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 06:10:23,832]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 06:10:23,843]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:23,856]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 06:10:23,862]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 06:10:23,872]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 06:10:23,887]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 06:10:23,912]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 06:10:23,917]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 06:10:24,159]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:10:24,248]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 06:10:24,346]  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-16 06:10:24,353]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 06:10:24,355]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 06:10:24,357]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 06:10:24,538]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:24,540]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:24,541]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:24,543]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:24,555]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:24,557]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:24,599]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:24,601]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:24,601]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:24,603]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:24,606]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 06:10:24,635]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 06:10:24,640] 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:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$218/2104891745.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$150/629409390.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:335)
	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:5738)
	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:322)
	... 17 more

[2017-11-16 06:10:24,658]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:10:24,662]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:10:24,666]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:10:24,672]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:10:24,682]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:10:24,690]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]3b5f516d
[2017-11-16 06:10:24,698]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]3fd63c
[2017-11-16 06:10:24,704]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:10:24,713]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 06:10:24,732]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: e5:fd:33:de:eb:c2:f2:4d
[2017-11-16 06:10:24,784]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 06:10:24,784]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-16 06:10:24,785]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 06:10:24,786]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 3.685 sec
[2017-11-16 06:10:29,184]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type h2
[2017-11-16 06:10:29,193]  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-16 06:10:29,210]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:29,211]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:29,212]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:29,213]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:29,214]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:29,215]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:29,224]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:10:29,226]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:10:29,239]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812629231, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:10:29,743]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812629743, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:10:30,244]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812630243, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:10:30,744]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812630744, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:10:31,245]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812631245, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:10:31,745]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-16 06:11:32,746]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - SiddhiAppPersistence Revisions Found
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-16 06:11:32,750]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 06:12:32,751]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-16 06:12:32,752]  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-16 06:12:32,756]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:12:32,757]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:12:32,758]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:12:32,760]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:12:32,764]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1510812744346_SiddhiAppPersistence revision
[2017-11-16 06:12:32,764]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812752764, data=[WSO2, 300], isExpired=false}]
[2017-11-16 06:12:33,265]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812753264, data=[WSO2, 300], isExpired=false}]
[2017-11-16 06:12:33,765]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812753765, data=[WSO2, 280], isExpired=false}]
[2017-11-16 06:12:34,265]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812754265, data=[WSO2, 280], isExpired=false}]
[2017-11-16 06:12:34,766]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812754766, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-16 06:12:35,275]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-16 06:13:35,298]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 06:13:35,309]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 06:13:35,322]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 06:13:35,328]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 06:13:35,343]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 06:13:35,350]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:13:35,350]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 06:13:35,355]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 06:13:35,359]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 06:13:35,362]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file 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: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 199.078 sec - in TestSuite

Results :

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/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:merge] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:merge] Writing merged execution data to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 82 classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify-for-h2) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:33 min
[INFO] Finished at: 2017-11-16T06:13:37+00:00
[INFO] Final Memory: 73M/1007M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Running Test on PostgreSQL database)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[carbon-analytics-pipeline] Running shell script
+ mvn verify -P local-postgres -f carbon-analytics/components/osgi-tests/pom.xml -Ddocker.removeVolumes=true -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building WSO2 Carbon Analytics - OSGi Tests 2.0.145-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-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: 08bd73f19f3225ccae428dd5ac887d140680f367 at timestamp: 1510812827869
[INFO] Storing buildScmBranch: master
[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.145-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.145-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] org.jacoco:org.jacoco.ant:jar:0.7.5.201505241946 already exists in destination.
[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] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ carbon-analytics-osgi-tests ---
[INFO] Tests are skipped.
[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.145-SNAPSHOT.jar
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:start (start-docker-for-postgres) @ carbon-analytics-osgi-tests ---
[INFO] DOCKER> [postgres:9.6] "sp-postgres": Start container a6578b787a7c
[INFO] DOCKER> [postgres:9.6] "sp-postgres": Waiting for mapped ports [32876] on host 203.94.95.155
[ERROR] DOCKER> Cannot process chunk response: java.net.SocketException: Socket closed
[INFO] DOCKER> [postgres:9.6] "sp-postgres": Waited on log out 'postgres: ready for connections' and on tcp port '[/203.94.95.155:32876]' 5448 ms
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:prepare-agent (jacoco-initialize) @ carbon-analytics-osgi-tests ---
[INFO] jcoverage.command set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=/home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test-for-postgres) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-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/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 testDBSystemPersistence
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: dd09177c-7408-41eb-bef4-643d98db5701 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/12fc51be-9d76-4495-9c72-d13320b82a98
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/12fc51be-9d76-4495-9c72-d13320b82a98/wso2/default
[2017-11-16 6:14:07,547]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-16 06:14:10,578]  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-16 06:14:10,620]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 06:14:10,633]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 06:14:10,640]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:10,647]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 06:14:10,654]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 06:14:10,661]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 06:14:10,690]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 06:14:10,691]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 06:14:10,695]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 06:14:10,699]  WARN {com.zaxxer.hikari.util.DriverDataSource} - Registered driver with driverClassName=org.postgresql.Driver was not found, trying direct instantiation.
[2017-11-16 06:14:10,982]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:14:11,197]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 06:14:11,304]  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-16 06:14:11,312]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 06:14:11,315]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 06:14:11,317]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 06:14:11,464]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:11,466]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:11,467]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:11,468]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:11,478]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:11,480]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:11,514]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:11,516]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:11,517]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:11,520]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:11,523]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 06:14:12,529]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 06:14:12,538] 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:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$218/1287771624.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/361540669.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:335)
	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:5738)
	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:322)
	... 17 more

[2017-11-16 06:14:12,589]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:14:12,596]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:14:12,612]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:14:12,620]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:14:12,656]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:14:12,672]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]3c24c696
[2017-11-16 06:14:12,696]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]8082
[2017-11-16 06:14:12,703]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:14:12,732]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 06:14:12,751]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 0b:b1:9d:fa:c4:b4:69:92
[2017-11-16 06:14:12,847]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 06:14:12,847]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-16 06:14:12,848]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 06:14:12,855]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.759 sec
[2017-11-16 06:14:16,396]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type postgresql
[2017-11-16 06:14:16,404]  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-16 06:14:16,455]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:16,457]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:16,458]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:16,459]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:16,466]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:16,468]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:16,481]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:14:16,484]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:14:16,500]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812856495, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:14:17,004]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812857003, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:14:17,504]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812857504, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:14:18,005]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812858005, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:14:18,505]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812858505, data=[WSO2, 500], isExpired=false}]
[2017-11-16 06:14:19,006]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-16 06:15:20,046]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - SiddhiAppPersistence Revisions Found
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-16 06:15:20,089]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 06:16:20,089]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-16 06:16:20,091]  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-16 06:16:20,100]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:16:20,102]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:16:20,104]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:16:20,105]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:16:20,587]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1510812971304_SiddhiAppPersistence revision
[2017-11-16 06:16:20,588]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812980588, data=[WSO2, 300], isExpired=false}]
[2017-11-16 06:16:21,088]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812981088, data=[WSO2, 300], isExpired=false}]
[2017-11-16 06:16:21,589]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812981588, data=[WSO2, 280], isExpired=false}]
[2017-11-16 06:16:22,089]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812982089, data=[WSO2, 280], isExpired=false}]
[2017-11-16 06:16:22,590]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510812982589, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-16 06:16:23,133]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-16 06:17:23,234]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 06:17:23,248]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 06:17:23,264]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 06:17:23,268]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 06:17:23,278]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 06:17:23,284]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:17:23,284]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 06:17:23,290]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 06:17:23,293]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 06:17:23,298]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file 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: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 200.882 sec - in TestSuite

Results :

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:stop (stop-docker-for-postgres) @ carbon-analytics-osgi-tests ---
[INFO] DOCKER> [postgres:9.6] "sp-postgres": Stop and removed container a6578b787a7c after 0 ms
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:remove (stop-docker-for-postgres) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/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:merge] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:merge] Writing merged execution data to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 82 classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify-for-postgres) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:41 min
[INFO] Finished at: 2017-11-16T06:17:25+00:00
[INFO] Final Memory: 81M/905M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Running Test on Oracle database)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[carbon-analytics-pipeline] Running shell script
+ mvn verify -P local-oracle -f carbon-analytics/components/osgi-tests/pom.xml -Ddocker.removeVolumes=true -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building WSO2 Carbon Analytics - OSGi Tests 2.0.145-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-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: 08bd73f19f3225ccae428dd5ac887d140680f367 at timestamp: 1510813057888
[INFO] Storing buildScmBranch: master
[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.145-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.145-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] org.jacoco:org.jacoco.ant:jar:0.7.5.201505241946 already exists in destination.
[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] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ carbon-analytics-osgi-tests ---
[INFO] Tests are skipped.
[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.145-SNAPSHOT.jar
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:start (start-docker-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] DOCKER> [dockerhub.private.wso2.com/sajithd-oracle-database:11.2.0.2-xe] "sp-oracle": Start container c1492f42f42e
[INFO] DOCKER> [dockerhub.private.wso2.com/sajithd-oracle-database:11.2.0.2-xe] "sp-oracle": Waited on log out 'DATABASE IS READY TO USE!' 82040 ms
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:prepare-agent (jacoco-initialize) @ carbon-analytics-osgi-tests ---
[INFO] jcoverage.command set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=/home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-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/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 testDBSystemPersistence
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: ccf05993-32dd-489a-90aa-e7550d881f81 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/923c438e-5db9-4167-9e94-6f39ae81a568
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/923c438e-5db9-4167-9e94-6f39ae81a568/wso2/default
[2017-11-16 6:19:14,016]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-16 06:19:17,291]  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-16 06:19:17,387]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 06:19:17,428]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 06:19:17,468]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 06:19:17,492]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 06:19:17,503]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 06:19:17,527]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 06:19:17,570]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 06:19:17,614]  WARN {com.zaxxer.hikari.util.DriverDataSource} - Registered driver with driverClassName=oracle.jdbc.driver.OracleDriver was not found, trying direct instantiation.
[2017-11-16 06:19:17,653]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 06:19:17,663]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 06:19:18,101]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 06:19:18,661]  INFO {com.zaxxer.hikari.pool.HikariPool} - HikariPool-0 - is closing down.
[2017-11-16 06:19:18,662] ERROR {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Runtime Exception occurred while calling onAllRequiredCapabilitiesAvailable of component carbon-datasource-service com.zaxxer.hikari.pool.PoolInitializationException: Exception during pool initialization: ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found

	at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:581)
	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:152)
	at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:73)
	at org.wso2.carbon.datasource.rdbms.hikari.HikariRDBMSDataSource.getDataSource(HikariRDBMSDataSource.java:56)
	at org.wso2.carbon.datasource.rdbms.hikari.HikariDataSourceReader.createDataSource(HikariDataSourceReader.java:74)
	at org.wso2.carbon.datasource.core.DataSourceBuilder.buildDataSourceObject(DataSourceBuilder.java:79)
	at org.wso2.carbon.datasource.core.DataSourceBuilder.buildDataSourceObject(DataSourceBuilder.java:60)
	at org.wso2.carbon.datasource.core.DataSourceBuilder.buildCarbonDataSource(DataSourceBuilder.java:44)
	at org.wso2.carbon.datasource.core.DataSourceManager.initDataSources(DataSourceManager.java:153)
	at org.wso2.carbon.datasource.core.internal.DataSourceListenerComponent.onAllRequiredCapabilitiesAvailable(DataSourceListenerComponent.java:125)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$156/361540669.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: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found

	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:392)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:385)
	at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:938)
	at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:476)
	at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)
	at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
	at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:412)
	at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:821)
	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:596)
	at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:711)
	at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:385)
	at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:558)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101)
	at com.zaxxer.hikari.pool.HikariPool.addConnection(HikariPool.java:496)
	at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:565)
	... 16 more

[main] ERROR org.ops4j.pax.exam.testng.listener.PaxExam - Exception
java.lang.RuntimeException: org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.wso2.carbon.datasource.core.api.DataSourceService
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl$1.invoke(RemoteBundleContextClientImpl.java:105)
	at com.sun.proxy.$Proxy8.call(Unknown Source)
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.call(RemoteBundleContextClientImpl.java:268)
	at org.ops4j.pax.exam.container.remote.RBCRemoteTarget.call(RBCRemoteTarget.java:60)
	at org.wso2.carbon.container.CarbonTestContainer.call(CarbonTestContainer.java:395)
	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.invoke(EagerSingleStagedReactor.java:109)
	at org.ops4j.pax.exam.testng.listener.PaxExam.runByDriver(PaxExam.java:458)
	at org.ops4j.pax.exam.testng.listener.PaxExam.run(PaxExam.java:308)
	at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:652)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	at org.testng.TestRunner.privateRun(TestRunner.java:771)
	at org.testng.TestRunner.run(TestRunner.java:621)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
	at org.testng.TestNG.run(TestNG.java:1032)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.wso2.carbon.datasource.core.api.DataSourceService
	at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:199)
	at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:136)
	at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectField(ServiceInjector.java:89)
	at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectDeclaredFields(ServiceInjector.java:69)
	at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectFields(ServiceInjector.java:61)
	at org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.injectContextAndInvoke(ProbeInvokerImpl.java:121)
	at org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.findAndInvoke(ProbeInvokerImpl.java:85)
	at org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.call(ProbeInvokerImpl.java:73)
	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.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
	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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$241(TCPTransport.java:683)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$38/1599787830.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	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)
[2017-11-16 06:19:27,658]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 06:19:27,661]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 06:19:27,669]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 06:19:27,676]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 06:19:27,676]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 06:19:27,681]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 06:19:27,682]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 06:19:27,685]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file 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: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 18.979 sec <<< FAILURE! - in TestSuite
testDBSystemPersistence(org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT)  Time elapsed: 16.912 sec  <<< FAILURE!
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.wso2.carbon.datasource.core.api.DataSourceService
	at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:199)
	at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:136)
	at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectField(ServiceInjector.java:89)
	at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectDeclaredFields(ServiceInjector.java:69)
	at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectFields(ServiceInjector.java:61)
	at org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.injectContextAndInvoke(ProbeInvokerImpl.java:121)
	at org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.findAndInvoke(ProbeInvokerImpl.java:85)
	at org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.call(ProbeInvokerImpl.java:73)
	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.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
	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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$241(TCPTransport.java:683)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$38/1599787830.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	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)


Results :

Failed tests: 
  DBPersistenceStoreTestIT.testDBSystemPersistence ? ServiceLookup gave up waiti...

Tests run: 3, Failures: 1, Errors: 0, Skipped: 2

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:stop (stop-docker-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] DOCKER> [dockerhub.private.wso2.com/sajithd-oracle-database:11.2.0.2-xe] "sp-oracle": Stop and removed container c1492f42f42e after 0 ms
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:remove (stop-docker-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/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:merge] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:merge] Writing merged execution data to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 82 classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:56 min
[INFO] Finished at: 2017-11-16T06:19:30+00:00
[INFO] Final Memory: 85M/1059M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify (verify-for-oracle) on project carbon-analytics-osgi-tests: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify (verify-for-oracle) on project carbon-analytics-osgi-tests: There are test failures.

Please refer to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
	at org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:195)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] step
An attempt to send an e-mail to empty list of recipients, ignored.
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
[BFA] Scanning build for known causes...
.......[BFA] No failure causes found
[BFA] Done. 7s
ERROR: script returned exit code 1
Finished: FAILURE