SuccessConsole Output

Skipping 4,481 KB.. Full Log
rbon.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.146-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.146-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.146-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 0a0269badd84
[INFO] DOCKER> [postgres:9.6] "sp-postgres": Waiting for mapped ports [32899] 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:32899]' 32546 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: 9ff03676-9094-401f-97de-d276430d32e8 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/86d41a17-fdf1-4540-be7e-4b76ff705776
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/86d41a17-fdf1-4540-be7e-4b76ff705776/wso2/default
[2017-11-16 10:53:17,001]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-16 10:53:19,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 10:53:19,813]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 10:53:19,826]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 10:53:19,836]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:53:19,846]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 10:53:19,851]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 10:53:19,860]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 10:53:19,881]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 10:53:19,888]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 10:53:19,904]  WARN {com.zaxxer.hikari.util.DriverDataSource} - Registered driver with driverClassName=org.postgresql.Driver was not found, trying direct instantiation.
[2017-11-16 10:53:20,158]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:53:20,394]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 10:53:20,514]  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 10:53:20,521]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 10:53:20,524]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 10:53:20,526]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 10:53:20,533]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 10:53:20,707]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:53:20,708]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:53:20,709]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:53:20,710]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:53:20,722]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:53:20,725]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:53:20,765]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:53:20,772]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:53:20,773]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:53:20,775]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:53:20,778]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 10:53:21,308]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 10:53:21,318] 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$217/943657309.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/320518688.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 10:53:21,348]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:53:21,355]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:53:21,362]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:53:21,369]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:53:21,379]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:53:21,386]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]35ebfd95
[2017-11-16 10:53:21,393]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:53:21,399]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]338d68
[2017-11-16 10:53:21,411]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 10:53:21,430]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 19:f6:78:65:74:b9:4d:8c
[2017-11-16 10:53:21,477]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 10:53:21,477]  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 10:53:21,478]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 10:53:21,479]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.032 sec
[2017-11-16 18:53:25,624]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type postgresql
[2017-11-16 18:53:25,631]  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 18:53:25,662]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:53:25,664]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:53:25,664]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:53:25,666]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:53:25,668]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:53:25,669]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:53:25,677]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:53:25,679]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:53:25,688]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829605683, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:53:26,191]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829606191, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:53:26,692]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829606691, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:53:27,192]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829607192, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:53:27,693]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829607693, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:53:28,193]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-16 18:54:29,240]  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 18:54:29,291]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 18:55:29,292]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-16 18:55:29,293]  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 18:55:29,296]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:55:29,297]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:55:29,298]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:55:29,299]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:55:29,879]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1510829720514_SiddhiAppPersistence revision
[2017-11-16 18:55:29,879]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829729879, data=[WSO2, 300], isExpired=false}]
[2017-11-16 18:55:30,380]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829730380, data=[WSO2, 300], isExpired=false}]
[2017-11-16 18:55:30,880]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829730880, data=[WSO2, 280], isExpired=false}]
[2017-11-16 18:55:31,381]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829731381, data=[WSO2, 280], isExpired=false}]
[2017-11-16 18:55:31,881]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829731881, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-16 18:55:32,433]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-16 18:56:32,543]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 18:56:32,556]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 18:56:32,576]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 18:56:32,582]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 18:56:32,608]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 18:56:32,619]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:56:32,620]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 18:56:32,630]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 18:56:32,635]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 18:56:32,640]  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.75 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 0a0269badd84 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: 04:10 min
[INFO] Finished at: 2017-11-16T10:56:34+00:00
[INFO] Final Memory: 88M/1210M
[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.146-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: 04109e65a04857889e31df7056eb09fb01b8f62c at timestamp: 1510829804364
[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.146-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.146-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.146-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: ca2edcb3-0f43-4cdb-a0fc-d9c07c2818f3 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/803746bb-c114-48ba-a0a5-779052908ac0
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/803746bb-c114-48ba-a0a5-779052908ac0/wso2/default
[2017-11-16 10:56:57,465]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-16 10:56:59,884]  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 10:56:59,926]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 10:56:59,937]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 10:56:59,948]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:56:59,959]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 10:56:59,964]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 10:56:59,974]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 10:56:59,996]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 10:57:00,030]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 10:57:00,333]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:57:00,439]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 10:57:00,558]  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 10:57:00,566]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 10:57:00,568]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 10:57:00,571]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 10:57:00,579]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 10:57:00,809]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:57:00,812]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:57:00,814]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:57:00,817]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:57:00,838]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:57:00,850]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:57:00,894]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:57:00,896]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:57:00,897]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 10:57:00,898]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 10:57:00,902]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 10:57:00,951]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 10:57:00,959] 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/925320593.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$154/252419441.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 10:57:00,988]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:57:00,995]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:57:01,001]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:57:01,009]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:57:01,019]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:57:01,026]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]6240f6c6
[2017-11-16 10:57:01,031]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 10:57:01,038]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]b39d1f
[2017-11-16 10:57:01,048]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 10:57:01,063]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 7f:21:e3:b4:eb:68:55:9e
[2017-11-16 10:57:01,109]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 10:57:01,110]  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 10:57:01,112]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 10:57:01,113]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 4.329 sec
[2017-11-16 18:57:05,358]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type h2
[2017-11-16 18:57:05,367]  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 18:57:05,398]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:57:05,400]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:57:05,401]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:57:05,402]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:57:05,404]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:57:05,406]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:57:05,415]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:57:05,417]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:57:05,428]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829825421, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:57:05,932]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829825932, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:57:06,433]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829826433, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:57:06,933]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829826933, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:57:07,434]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829827434, data=[WSO2, 500], isExpired=false}]
[2017-11-16 18:57:07,934]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-16 18:58:08,935]  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 18:58:08,941]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 18:59:08,941]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-16 18:59:08,943]  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 18:59:08,945]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:59:08,946]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:59:08,947]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 18:59:08,948]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 18:59:08,951]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1510829940559_SiddhiAppPersistence revision
[2017-11-16 18:59:08,951]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829948951, data=[WSO2, 300], isExpired=false}]
[2017-11-16 18:59:09,451]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829949451, data=[WSO2, 300], isExpired=false}]
[2017-11-16 18:59:09,952]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829949952, data=[WSO2, 280], isExpired=false}]
[2017-11-16 18:59:10,452]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829950452, data=[WSO2, 280], isExpired=false}]
[2017-11-16 18:59:10,953]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510829950953, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-16 18:59:11,460]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-16 19:00:11,482]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 19:00:11,492]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 19:00:11,499]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 19:00:11,504]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 19:00:11,520]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 19:00:11,527]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 19:00:11,527]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 19:00:11,534]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 19:00:11,539]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 19:00:11,544]  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.252 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:31 min
[INFO] Finished at: 2017-11-16T11:00:13+00:00
[INFO] Final Memory: 79M/1305M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Running Test on File System)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[carbon-analytics-pipeline] Running shell script
+ mvn clean install -f carbon-analytics/components/osgi-tests/pom.xml -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building WSO2 Carbon Analytics - OSGi Tests 2.0.146-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ carbon-analytics-osgi-tests ---
[INFO] Deleting /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ carbon-analytics-osgi-tests ---
[INFO] Executing: /bin/sh -c cd '/home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests
[INFO] Storing buildNumber: 04109e65a04857889e31df7056eb09fb01b8f62c at timestamp: 1510830023046
[INFO] Storing buildScmBranch: master
[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-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.146-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.146-SNAPSHOT.zip to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target with includes "" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:2.10:copy-dependencies (copy-jacoco-dependencies) @ carbon-analytics-osgi-tests ---
[INFO] Copying org.jacoco.ant-0.7.5.201505241946.jar to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/org.jacoco.ant.jar
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ carbon-analytics-osgi-tests ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ carbon-analytics-osgi-tests ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 10 source files to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ carbon-analytics-osgi-tests ---
[INFO] Surefire report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/slf4j/slf4j-simple/1.7.12/slf4j-simple-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/slf4j/slf4j-log4j12/1.7.12/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/wso2/orbit/com/github/azakordonets/fabricator_2.10/2.1.4.wso2v1/fabricator_2.10-2.1.4.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.10.0/pax-logging-api-1.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
[main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System (Version: 4.6.0) created.
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testFileSystemPersistence
[main] INFO org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient - Waiting for remote bundle context.. on 21000 name: f60fce9c-5972-466f-bd55-5e42cbc9259b 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/d1b33027-34c3-4a6d-9083-5d8d9f82be79
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/d1b33027-34c3-4a6d-9083-5d8d9f82be79/wso2/default
osgi> [2017-11-16 11:00:36,704]  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 11:00:36,762]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 11:00:36,801]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 11:00:36,814]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:36,827]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 11:00:36,830]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 11:00:36,840]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 11:00:36,882]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 11:00:37,117]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:00:37,243]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 11:00:37,283]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Periodic state persistence started with an interval of 1 using org.wso2.carbon.stream.processor.core.persistence.FileSystemPersistenceStore
[2017-11-16 11:00:37,291]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 11:00:37,294]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 11:00:37,296]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 11:00:37,308]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 11:00:37,589]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:37,591]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:37,592]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:37,593]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:37,611]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:37,613]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:37,671]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:37,672]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:37,673]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:37,675]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:37,677]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 11:00:37,681]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 11:00:37,691] 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$183/263487068.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$144/294092608.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 11:00:37,722]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:00:37,730]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:00:37,737]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:00:37,745]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:00:37,753]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:00:37,758]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]6bbb2d77
[2017-11-16 11:00:37,763]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:00:37,769]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]46714e
[2017-11-16 11:00:37,779]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 11:00:37,802]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 7d:41:16:58:a3:8c:64:d9
[2017-11-16 11:00:37,893]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 11:00:37,894]  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 11:00:37,895]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 11:00:37,896]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.437 sec
[2017-11-16 11:00:41,746]  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 11:00:41,775]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:41,777]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:41,778]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:41,780]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:41,785]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:41,786]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:41,796]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:00:41,797]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:00:41,805]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830041800, data=[WSO2, 500], isExpired=false}]
[2017-11-16 11:00:42,308]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830042308, data=[WSO2, 500], isExpired=false}]
[2017-11-16 11:00:42,809]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830042809, data=[WSO2, 500], isExpired=false}]
[2017-11-16 11:00:43,310]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830043309, data=[WSO2, 500], isExpired=false}]
[2017-11-16 11:00:43,810]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830043810, data=[WSO2, 500], isExpired=false}]
[2017-11-16 11:00:44,316]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-16 11:01:44,320]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 11:02:44,320]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Shutting Down SiddhiApp
[2017-11-16 11:02:44,322]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Creating New SiddhiApp with Same Name
[2017-11-16 11:02:44,322]  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 11:02:44,325]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:02:44,326]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:02:44,327]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:02:44,328]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:02:44,333]  INFO {org.wso2.carbon.stream.processor.core.persistence.FileSystemPersistenceStore} - State loaded for SiddhiAppPersistence revision 1510830157284_SiddhiAppPersistence from the file system.
[2017-11-16 11:02:44,335]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830164335, data=[WSO2, 300], isExpired=false}]
[2017-11-16 11:02:44,835]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830164835, data=[WSO2, 300], isExpired=false}]
[2017-11-16 11:02:45,336]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830165336, data=[WSO2, 280], isExpired=false}]
[2017-11-16 11:02:45,837]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830165836, data=[WSO2, 280], isExpired=false}]
[2017-11-16 11:02:46,338]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510830166337, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testFileSystemPeriodicPersistence
[2017-11-16 11:02:47,840]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPDeployment
[2017-11-16 11:03:49,858]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 11:03:49,866]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 11:03:49,884]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 11:03:49,890]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 11:03:49,906]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 11:03:49,912]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:49,912]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 11:03:49,920]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 11:03:49,924]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 11:03:49,930]  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.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: c270fed0-03e5-4a3b-8a96-e7a4f9d953d7 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/f1c49de2-f926-4512-9baf-b183a0fff6c0
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/f1c49de2-f926-4512-9baf-b183a0fff6c0/wso2/default
osgi> [2017-11-16 11:03:55,260]  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 11:03:55,308]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 11:03:55,345]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 11:03:55,358]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:55,374]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 11:03:55,379]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 11:03:55,392]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 11:03:55,427]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 11:03:55,431]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 11:03:55,719]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:03:55,767]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-16 11:03:55,827]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-16 11:03:55,913]  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 11:03:55,926]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-16 11:03:55,934]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 11:03:56,080]  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 11:03:56,095]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 11:03:56,099]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 11:03:56,102]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 11:03:56,114]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 11:03:56,369]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,371]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,372]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,373]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,389]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,391]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,443]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,444]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,445]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,447]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,450]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 11:03:56,490]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 11:03:56,498] 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$213/814861068.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$144/2032960593.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 11:03:56,518]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:03:56,523]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:03:56,528]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:03:56,534]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:03:56,543]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:03:56,550]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]21bb5a23
[2017-11-16 11:03:56,556]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:03:56,563]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]785a66
[2017-11-16 11:03:56,577]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 11:03:56,606]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 7e:5a:6a:5b:61:1d:b5:a7
[2017-11-16 11:03:56,677]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 11:03:56,677]  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 11:03:56,678]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 11:03:56,680]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.252 sec
[2017-11-16 11:03:56,682]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App through REST API
[2017-11-16 11:03:56,865]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,867]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,867]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,868]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,871]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,872]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,873]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:03:56,874]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:03:56,876]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp1 saved in the filesystem
[2017-11-16 11:04:01,521]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:01,523]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:01,524]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:01,526]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:01,526]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp1
[2017-11-16 11:04:01,529]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App SiddhiApp1 deployed successfully
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidDuplicateSiddhiAPPDeployment
[2017-11-16 11:04:06,920]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App whih is already existing in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInValidSiddhiAPPDeployment
[2017-11-16 11:04:06,934]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying invalid Siddhi App through REST API
[2017-11-16 11:04:06,943] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Exception occurred when validating Siddhi App org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:335)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.validateAndSave(StreamProcessorService.java:301)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsPost(SiddhiAppsApiServiceImpl.java:64)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsPost(SiddhiAppsApi.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$247/445316956.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 8. Position: 0 and @ Line: 8. Position: 0. Syntax error in SiddhiQL, no viable alternative at input '<EOF>'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:308)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:145)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5837)
	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)
	... 15 more

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

[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidNonExistSiddhiAPPUpdate
[2017-11-16 11:04:06,966]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App which does not exists through REST API
[2017-11-16 11:04:06,980]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:06,981]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:06,981]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:06,982]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:06,983]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:06,984]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:06,984]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:06,985]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:06,986]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-16 11:04:11,539]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:11,540]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:11,541]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:11,541]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:11,542]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-16 11:04:11,542]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App SiddhiApp3 deployed successfully
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidAlreadyExistSiddhiAPPUpdate
[2017-11-16 11:04:16,990]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App whih is already existing in server through REST API
[2017-11-16 11:04:17,003]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:17,005]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:17,005]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:17,007]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:17,007]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-16 11:04:21,546]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File SiddhiApp3 undeployed successfully.
[2017-11-16 11:04:21,552]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:21,552]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:21,553]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:21,554]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:21,554]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-16 11:04:21,555]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App SiddhiApp3 deployed successfully
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInValidSiddhiAPPUpdate
[2017-11-16 11:04:27,011]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying invalid Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPUpdateWithInvalidContentType
[2017-11-16 11:04:27,020]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying Siddhi App with invalid content type through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPRetrieval
[2017-11-16 11:04:27,024]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving active Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInactiveSiddhiAPPRetrieval
[2017-11-16 11:04:27,064]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving inactive Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPRetrievalWithDifferntContentType
[2017-11-16 11:04:27,068]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving active Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testAllSiddhiAPPRetrieval
[2017-11-16 11:04:27,073]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving all Siddhi App names through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPRetrieval
[2017-11-16 11:04:27,080]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving non exist Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testAllSiddhiAPPRetrievalWithContentType
[2017-11-16 11:04:27,087]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving all Siddhi App names through REST API (different content type)
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPStatusRetrieval
[2017-11-16 11:04:27,094]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi App which not exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPStatusRetrieval
[2017-11-16 11:04:27,099]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi App which exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInactiveSiddhiAPPStatusRetrieval
[2017-11-16 11:04:27,104]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi inactive App which exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testiddhiAPPStatusRetrievalWithDifferentContentType
[2017-11-16 11:04:27,108]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving the status of a Siddhi App which exists in server through REST API with different content type
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPBackup
[2017-11-16 11:04:27,113]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistsSiddhiAPPBackup
[2017-11-16 11:04:29,122]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that does not exist in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPBackupTake2
[2017-11-16 11:04:29,126]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot again for a Siddhi App that exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPBackupWithInvalidMethod
[2017-11-16 11:04:31,131]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that exists in server through REST API by invoking with invalid method
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPRestoreToLastRevision
[2017-11-16 11:04:31,135]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Restoring the snapshot (last revision) of a Siddhi App that exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPRestoreToLastRevision
[2017-11-16 11:04:31,142]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Restoring the snapshot (last revision) of a Siddhi App that does not exist in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPRestoreToNonExistRevision
[2017-11-16 11:04:31,146]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Restoring the snapshot revison that does not exist of a Siddhi App through REST API
[2017-11-16 11:04:31,150] ERROR {org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl} - Exception occurred when restoring the state for Siddhi App : SiddhiApp1 java.lang.NullPointerException
	at org.wso2.siddhi.core.util.snapshot.SnapshotService.restore(SnapshotService.java:128)
	at org.wso2.siddhi.core.util.persistence.PersistenceService.restoreRevision(PersistenceService.java:69)
	at org.wso2.siddhi.core.SiddhiAppRuntime.restoreRevision(SiddhiAppRuntime.java:478)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsAppNameRestorePost(SiddhiAppsApiServiceImpl.java:267)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsAppNameRestorePost(SiddhiAppsApi.java:194)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$247/445316956.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPBackupWithInvalidContentType
[2017-11-16 11:04:31,154]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Taking snapshot of a Siddhi App that exists in server through REST API by invoking with invalid method
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testNonExistSiddhiAPPDeletion
[2017-11-16 11:04:31,159]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting Siddhi App which not exists in server through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPDeletion
[2017-11-16 11:04:31,164]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting valid Siddhi App which exists in server through REST API
[2017-11-16 11:04:31,166]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - SiddhiApp1 is deleted from the file system
[2017-11-16 11:04:31,558]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File SiddhiApp1 undeployed successfully.
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testValidSiddhiAPPDeletionWithoutAppName
[2017-11-16 11:04:37,171]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting Siddhi App which without providing the app name in the url through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testInactiveSiddhiAPPDeletion
[2017-11-16 11:04:37,178]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting inactive Siddhi App which exists in server through REST API
[2017-11-16 11:04:37,179]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - TestInvalidSiddhiApp is deleted from the file system
[2017-11-16 11:04:41,559]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File TestInvalidSiddhiApp undeployed successfully.
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPRetrievalAfterDeletion
[2017-11-16 11:04:43,183]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Retrieving all Siddhi App names through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testMetrics
[2017-11-16 11:04:43,205]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 11:04:43,218]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 11:04:43,237]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 11:04:43,242]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 11:04:43,255]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 11:04:43,259]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 11:04:43,262]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:43,263]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 11:04:43,268]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 11:04:43,271]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 11:04:43,275]  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: 152bb1a6-dd65-4d9f-852e-8664a1ae094e 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/e0e9f003-2fc4-4524-8850-dc343fa026a4
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/e0e9f003-2fc4-4524-8850-dc343fa026a4/wso2/default
osgi> [2017-11-16 11:04:49,003]  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 11:04:49,070]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 11:04:49,123]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 11:04:49,138]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:49,158]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 11:04:49,166]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 11:04:49,219]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 11:04:49,240]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 11:04:49,300]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 11:04:49,598]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:49,699]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-16 11:04:49,758]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-16 11:04:49,839]  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 11:04:49,847]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-16 11:04:49,853]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 11:04:49,982]  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 11:04:49,993]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 11:04:49,998]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 11:04:50,001]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 11:04:50,013]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 11:04:50,370]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,372]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,373]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,376]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,399]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,402]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,489]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,491]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,492]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,495]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,498]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 11:04:50,548]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 11:04:50,556] 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$213/319683793.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$144/1943946114.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 11:04:50,590]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:50,600]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:50,608]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:50,618]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:50,629]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:50,639]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]3f916151
[2017-11-16 11:04:50,646]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:50,653]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]2c387b
[2017-11-16 11:04:50,676]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 11:04:50,706]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 00:e9:d4:61:d6:28:9d:35
[2017-11-16 11:04:50,799]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 11:04:50,800]  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 11:04:50,801]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 11:04:50,802]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 6.091 sec
[2017-11-16 11:04:50,872]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,875]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,876]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,877]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,878]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,880]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,885]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,886]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,887]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,888]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,889]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,890]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,891]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,892]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,894]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,895]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,895]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,897]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,897]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,898]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,917]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,918]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,918]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,919]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,920]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,921]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,921]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,922]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,922]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,923]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,924]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,925]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,925]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,926]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:50,926]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:50,927]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testMetricsCoreBundle
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testEnableMetric
[2017-11-16 11:04:50,953]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 11:04:50,969]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 11:04:50,987]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 11:04:50,993]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 11:04:51,010]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 11:04:51,014]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 11:04:51,017]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:51,018]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 11:04:51,026]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 11:04:51,030]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 11:04:51,036]  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: 8e4fef1c-f691-4dda-86de-6fdc02557023 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/193a4b69-4262-4a5b-9a43-673331f86d83
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/193a4b69-4262-4a5b-9a43-673331f86d83/wso2/default
osgi> [2017-11-16 11:04:57,173]  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 11:04:57,224]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 11:04:57,270]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 11:04:57,285]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:57,299]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 11:04:57,304]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 11:04:57,318]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 11:04:57,371]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 11:04:57,375]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 11:04:57,726]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: org.wso2.msf4j.swa[email protected]
[2017-11-16 11:04:57,772]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-16 11:04:57,873]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-16 11:04:57,942]  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 11:04:57,959]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-16 11:04:57,968]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 11:04:58,147]  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 11:04:58,161]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 11:04:58,165]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 11:04:58,169]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 11:04:58,183]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 11:04:58,577]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:58,580]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:58,581]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:58,583]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:58,601]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:58,603]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:58,667]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:58,670]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:58,671]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:04:58,673]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 11:04:58,677]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 11:04:58,730]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 11:04:58,740] 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/1324890927.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/583517319.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 11:04:58,775]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:58,782]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:58,788]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:58,798]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:58,808]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:58,815]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]409807c4
[2017-11-16 11:04:58,822]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 11:04:58,829]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]f26b8f
[2017-11-16 11:04:58,844]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 11:04:58,873]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: fc:63:bb:92:96:2b:64:cf
[2017-11-16 11:04:58,968]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 11:04:58,969]  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 11:04:58,972]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 11:04:58,973]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 6.433 sec
[2017-11-16 11:04:58,975]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Deploying valid Siddhi App through REST API
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testGetRealTimeStatistics
[2017-11-16 11:05:09,271]  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 11:05:09,285]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Retrieving active Siddhi App through REST API
[2017-11-16 11:05:09,334]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 11:05:09,348]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 11:05:09,366]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 11:05:09,373]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 11:05:09,389]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 11:05:09,394]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 11:05:09,397]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 11:05:09,398]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 11:05:09,405]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 11:05:09,410]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 11:05:09,414]  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: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 279.107 sec - in TestSuite

Results :

Tests run: 40, 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.146-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.146-SNAPSHOT.jar to /root/.m2/repository/org/wso2/carbon/analytics/carbon-analytics-osgi-tests/2.0.146-SNAPSHOT/carbon-analytics-osgi-tests-2.0.146-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.146-SNAPSHOT/carbon-analytics-osgi-tests-2.0.146-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:50 min
[INFO] Finished at: 2017-11-16T11:05:11+00:00
[INFO] Final Memory: 118M/1242M
[INFO] ------------------------------------------------------------------------
[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
Finished: SUCCESS