SuccessConsole Output

Skipping 3,706 KB.. Full Log
ion [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:08,898]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:08,969]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:08,985]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,042]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,086]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,144]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,159]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,218]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,262]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,306]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,363]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,393]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,450]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,467]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,538]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection ora[email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,567]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,625]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,640]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,713]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,726]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,800]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,813]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,888]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,913]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:09,975]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:10,000]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:10,050]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:10,074]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:10,150]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:10,175]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:10,238]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:10,262]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:17,081]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-16 15:48:17,082]  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 15:48:17,085]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:48:17,086]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:48:17,087]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:48:17,088]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:48:17,190]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:17,278]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:17,846]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1510847288092_SiddhiAppPersistence revision
[2017-11-16 15:48:17,846]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847297846, data=[WSO2, 300], isExpired=false}]
[2017-11-16 15:48:18,347]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847298346, data=[WSO2, 300], isExpired=false}]
[2017-11-16 15:48:18,847]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847298847, data=[WSO2, 280], isExpired=false}]
[2017-11-16 15:48:19,348]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847299348, data=[WSO2, 280], isExpired=false}]
[2017-11-16 15:48:19,849]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847299848, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-16 15:48:20,431]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:48:20,810]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-16 15:49:08,194]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,194]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,268]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,268]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,368]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,368]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,466]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,469]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,542]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,553]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,643]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,653]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,716]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,740]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,817]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,827]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,899]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,905]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:08,992]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,001]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,079]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,087]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,153]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,160]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,247]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,253]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection oracle.jdbc.driver.T4CC[email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,334]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,340]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,426]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,435]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,521]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,527]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,600]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,608]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,700]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,708]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,774]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,794]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,847]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,868]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,948]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:09,969]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:10,022]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:10,056]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:10,122]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:10,156]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:10,197]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:10,243]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-16 15:49:20,905]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 15:49:20,917]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 15:49:20,930]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 15:49:20,936]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 15:49:20,953]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 15:49:20,960]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:20,961]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 15:49:20,969]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 15:49:20,974]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 15:49:20,980]  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.969 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-oracle) @ carbon-analytics-osgi-tests ---
[INFO] DOCKER> [dockerhub.private.wso2.com/sajithd-oracle-database:11.2.0.2-xe] "sp-oracle": Stop and removed container 955a03b324d6 after 0 ms
[INFO] 
[INFO] --- docker-maven-plugin:0.20.0:remove (stop-docker-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.8:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[INFO] Analyzed bundle 'WSO2 Carbon Analytics - OSGi Tests' with 0 classes
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ carbon-analytics-osgi-tests ---
[INFO] Executing tasks

main:
[jacoco:merge] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:merge] Writing merged execution data to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 82 classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:00 min
[INFO] Finished at: 2017-11-16T15:49:23+00:00
[INFO] Final Memory: 83M/1000M
[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.148-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: fe29bdcfa0bb09954374911faa6b821a61f643ec at timestamp: 1510847368226
[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.148-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.148-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.148-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: 087ea60b-0c17-4597-bfa0-3591c60d01e4 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/b3d4828e-8502-4c18-b776-440681f6aa94
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/b3d4828e-8502-4c18-b776-440681f6aa94/wso2/default
[2017-11-16 15:49:40,198]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-16 15:49:42,694]  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 15:49:42,736]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 15:49:42,750]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 15:49:42,760]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:42,768]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 15:49:42,772]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 15:49:42,788]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 15:49:42,812]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 15:49:42,818]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 15:49:43,100]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:49:43,195]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 15:49:43,301]  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 15:49:43,308]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 15:49:43,311]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 15:49:43,314]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 15:49:43,323]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 15:49:43,489]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:43,490]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:43,491]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:43,493]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:43,503]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:43,504]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:43,532]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:43,534]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:43,534]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:43,536]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:43,538]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 15:49:43,567]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 15:49:43,572] 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/575555346.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/288403308.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 15:49:43,592]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:49:43,597]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:49:43,601]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:49:43,606]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:49:43,613]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:49:43,618]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]255b7dcb
[2017-11-16 15:49:43,622]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:49:43,626]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]857e5c
[2017-11-16 15:49:43,633]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 15:49:43,646]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 38:0b:9d:e0:ff:80:f0:70
[2017-11-16 15:49:43,697]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 15:49:43,697]  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 15:49:43,698]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 15:49:43,699]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 4.002 sec
[2017-11-16 15:49:48,133]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type h2
[2017-11-16 15:49:48,146]  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 15:49:48,164]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:48,166]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:48,166]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:48,168]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:48,169]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:48,171]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:48,179]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:49:48,180]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:49:48,192]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847388186, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:49:48,696]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847388696, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:49:49,197]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847389197, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:49:49,698]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847389697, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:49:50,198]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847390198, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:49:50,699]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-16 15:50:51,700]  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 15:50:51,704]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 15:51:51,705]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-16 15:51:51,706]  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 15:51:51,709]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:51:51,710]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:51:51,710]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:51:51,711]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:51:51,714]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1510847503301_SiddhiAppPersistence revision
[2017-11-16 15:51:51,714]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847511714, data=[WSO2, 300], isExpired=false}]
[2017-11-16 15:51:52,215]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847512215, data=[WSO2, 300], isExpired=false}]
[2017-11-16 15:51:52,715]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847512715, data=[WSO2, 280], isExpired=false}]
[2017-11-16 15:51:53,216]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847513216, data=[WSO2, 280], isExpired=false}]
[2017-11-16 15:51:53,716]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847513716, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-16 15:51:54,224]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-16 15:52:54,247]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 15:52:54,261]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 15:52:54,273]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 15:52:54,279]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 15:52:54,296]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 15:52:54,303]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:52:54,304]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 15:52:54,312]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 15:52:54,318]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 15:52:54,324]  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: 198.841 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:30 min
[INFO] Finished at: 2017-11-16T15:52:55+00:00
[INFO] Final Memory: 77M/1165M
[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.148-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: fe29bdcfa0bb09954374911faa6b821a61f643ec at timestamp: 1510847586279
[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.148-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.148-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: a0f3b269-6d10-4bb3-a1eb-faf87897e748 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/3015eef6-6f79-48ef-adc1-7058eb61cd7c
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/3015eef6-6f79-48ef-adc1-7058eb61cd7c/wso2/default
osgi> [2017-11-16 15:53:20,877]  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 15:53:20,943]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 15:53:21,001]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 15:53:21,021]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:21,040]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 15:53:21,046]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 15:53:21,063]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 15:53:21,124]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 15:53:21,461]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:53:21,599]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 15:53:21,642]  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 15:53:21,652]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 15:53:21,656]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 15:53:21,660]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 15:53:21,672]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 15:53:21,998]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:22,000]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:22,001]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:22,003]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:22,026]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:22,029]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:22,112]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:22,114]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:22,115]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:22,117]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:22,121]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 15:53:22,125]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 15:53:22,136] 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/339614248.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/1739297672.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 15:53:22,180]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:53:22,188]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:53:22,196]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:53:22,206]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:53:22,217]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:53:22,224]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]1750f49f
[2017-11-16 15:53:22,230]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:53:22,238]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]368221
[2017-11-16 15:53:22,254]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 15:53:22,298]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 76:cf:73:ca:60:2f:96:0b
[2017-11-16 15:53:22,391]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 15:53:22,391]  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 15:53:22,392]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 15:53:22,393]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 6.070 sec
[2017-11-16 15:53:25,978]  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 15:53:26,006]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:26,008]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:26,009]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:26,010]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:26,014]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:26,015]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:26,029]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:53:26,031]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:53:26,045]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847606036, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:53:26,548]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847606548, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:53:27,049]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847607049, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:53:27,550]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847607550, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:53:28,050]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847608050, data=[WSO2, 500], isExpired=false}]
[2017-11-16 15:53:28,558]  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 15:54:28,562]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-16 15:55:28,563]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Shutting Down SiddhiApp
[2017-11-16 15:55:28,565]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Creating New SiddhiApp with Same Name
[2017-11-16 15:55:28,565]  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 15:55:28,569]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:55:28,570]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:55:28,571]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:55:28,572]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:55:28,579]  INFO {org.wso2.carbon.stream.processor.core.persistence.FileSystemPersistenceStore} - State loaded for SiddhiAppPersistence revision 1510847721643_SiddhiAppPersistence from the file system.
[2017-11-16 15:55:28,581]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847728581, data=[WSO2, 300], isExpired=false}]
[2017-11-16 15:55:29,082]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847729081, data=[WSO2, 300], isExpired=false}]
[2017-11-16 15:55:29,582]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847729582, data=[WSO2, 280], isExpired=false}]
[2017-11-16 15:55:30,083]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847730083, data=[WSO2, 280], isExpired=false}]
[2017-11-16 15:55:30,584]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1510847730583, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testFileSystemPeriodicPersistence
[2017-11-16 15:55:32,086]  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 15:56:34,110]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 15:56:34,119]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 15:56:34,138]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 15:56:34,144]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 15:56:34,155]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 15:56:34,161]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:34,161]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 15:56:34,166]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 15:56:34,169]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 15:56:34,173]  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: 65165f07-dd1b-4511-afc2-c61992b4c0ba 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/0f3446f1-ae1e-4d27-9774-ee796dd6c2dc
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/0f3446f1-ae1e-4d27-9774-ee796dd6c2dc/wso2/default
osgi> [2017-11-16 15:56:39,834]  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 15:56:39,889]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 15:56:39,922]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 15:56:39,932]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:39,945]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 15:56:39,950]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 15:56:39,963]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 15:56:39,986]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 15:56:40,011]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 15:56:40,365]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:56:40,409]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-16 15:56:40,490]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-16 15:56:40,566]  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 15:56:40,575]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-16 15:56:40,581]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 15:56:40,698]  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 15:56:40,708]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 15:56:40,728]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 15:56:40,732]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 15:56:40,745]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 15:56:41,075]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,077]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,078]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,080]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,098]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,101]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,159]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,161]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,162]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,164]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,168]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 15:56:41,221]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 15:56:41,232] 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/1028739462.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/975095988.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 15:56:41,253]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:56:41,258]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:56:41,263]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:56:41,269]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:56:41,277]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:56:41,283]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]21a73b7b
[2017-11-16 15:56:41,286]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:56:41,291]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]24f737
[2017-11-16 15:56:41,301]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 15:56:41,331]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 58:1e:e6:ff:82:d0:d1:e6
[2017-11-16 15:56:41,410]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 15:56:41,410]  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 15:56:41,411]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 15:56:41,412]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.778 sec
[2017-11-16 15:56:41,414]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App through REST API
[2017-11-16 15:56:41,654]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,656]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,656]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,658]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,660]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,661]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,662]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:41,663]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:41,665]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp1 saved in the filesystem
[2017-11-16 15:56:46,252]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:46,254]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:46,254]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:46,255]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:46,256]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp1
[2017-11-16 15:56:46,259]  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 15:56:51,720]  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 15:56:51,735]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying invalid Siddhi App through REST API
[2017-11-16 15:56:51,744] 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$248/571549393.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 15:56:51,752]  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 15:56:51,756]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying Siddhi App without request body through REST API
[2017-11-16 15:56:51,759] 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$248/571549393.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 15:56:51,763]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App which does not exists through REST API
[2017-11-16 15:56:51,784]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:51,786]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:51,786]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:51,787]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:51,788]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:51,789]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:51,790]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:51,790]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:51,791]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-16 15:56:56,274]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:56,275]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:56,276]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:56:56,277]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:56:56,278]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-16 15:56:56,278]  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 15:57:01,795]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App whih is already existing in server through REST API
[2017-11-16 15:57:01,811]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:01,812]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:01,812]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:01,813]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:01,813]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-16 15:57:06,283]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File SiddhiApp3 undeployed successfully.
[2017-11-16 15:57:06,294]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:06,295]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:06,295]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:06,296]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:06,296]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-16 15:57:06,297]  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 15:57:11,817]  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 15:57:11,827]  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 15:57:11,831]  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 15:57:11,879]  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 15:57:11,886]  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 15:57:11,891]  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 15:57:11,899]  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 15:57:11,904]  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 15:57:11,910]  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 15:57:11,915]  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 15:57:11,922]  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 15:57:11,928]  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 15:57:11,933]  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 15:57:13,945]  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 15:57:13,949]  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 15:57:15,955]  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 15:57:15,959]  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 15:57:15,967]  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 15:57:15,970]  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 15:57:15,976] 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$248/571549393.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 15:57:15,980]  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 15:57:15,983]  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 15:57:15,987]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting valid Siddhi App which exists in server through REST API
[2017-11-16 15:57:15,989]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - SiddhiApp1 is deleted from the file system
[2017-11-16 15:57:16,301]  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 15:57:21,994]  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 15:57:22,001]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting inactive Siddhi App which exists in server through REST API
[2017-11-16 15:57:22,003]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - TestInvalidSiddhiApp is deleted from the file system
[2017-11-16 15:57:26,303]  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 15:57:28,008]  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 15:57:28,035]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 15:57:28,049]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 15:57:28,069]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 15:57:28,075]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 15:57:28,092]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 15:57:28,097]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 15:57:28,100]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:28,101]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 15:57:28,109]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 15:57:28,114]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 15:57:28,119]  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: c2feb476-3c46-4a52-bc8d-a95849fae88d 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/6021adcb-d1bd-4eed-bc38-0615416eab30
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/6021adcb-d1bd-4eed-bc38-0615416eab30/wso2/default
osgi> [2017-11-16 15:57:33,925]  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 15:57:33,982]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 15:57:34,022]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 15:57:34,033]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:34,044]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 15:57:34,047]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 15:57:34,057]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 15:57:34,091]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 15:57:34,104]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 15:57:34,364]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:34,445]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-16 15:57:34,513]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-16 15:57:34,552]  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 15:57:34,564]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-16 15:57:34,571]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 15:57:34,699]  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 15:57:34,708]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 15:57:34,711]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 15:57:34,713]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 15:57:34,721]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 15:57:34,998]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,001]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,002]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,005]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,023]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,025]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,076]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,078]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,078]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,080]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,082]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 15:57:35,122]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 15:57:35,131] 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/1438234475.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/1075645004.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 15:57:35,155]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:35,163]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:35,169]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:35,178]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:35,187]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:35,195]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]44929715
[2017-11-16 15:57:35,200]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:35,208]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]03bb4b
[2017-11-16 15:57:35,220]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 15:57:35,241]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: e5:71:84:a3:03:71:13:72
[2017-11-16 15:57:35,308]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 15:57:35,309]  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 15:57:35,310]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 15:57:35,311]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.708 sec
[2017-11-16 15:57:35,393]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,395]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,396]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,397]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,398]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,400]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,404]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,405]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,406]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,407]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,408]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,410]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,410]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,412]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,413]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,414]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,415]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,416]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,416]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,418]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,436]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,438]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,438]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,439]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,440]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,441]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,441]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,442]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,443]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,444]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,444]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,445]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,445]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,446]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:35,446]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,447]  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 15:57:35,467]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 15:57:35,479]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 15:57:35,497]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 15:57:35,504]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 15:57:35,520]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 15:57:35,525]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 15:57:35,528]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:35,529]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 15:57:35,537]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 15:57:35,541]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 15:57:35,547]  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: 871b3a24-3e62-4da8-a583-fcc084915edb 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/356dfcfc-3045-4edd-8655-74d1b31c1253
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/356dfcfc-3045-4edd-8655-74d1b31c1253/wso2/default
osgi> [2017-11-16 15:57:40,910]  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 15:57:40,959]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-16 15:57:41,007]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-16 15:57:41,018]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:41,033]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-16 15:57:41,038]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-16 15:57:41,051]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-16 15:57:41,084]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-16 15:57:41,090]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-16 15:57:41,420]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-16 15:57:41,420]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:41,474]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-16 15:57:41,590]  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 15:57:41,602]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-16 15:57:41,609]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-16 15:57:41,731]  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 15:57:41,740]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-16 15:57:41,743]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-16 15:57:41,745]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-16 15:57:41,753]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-16 15:57:42,024]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:42,026]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:42,026]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:42,028]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:42,044]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:42,046]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:42,097]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:42,098]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:42,099]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:42,100]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-16 15:57:42,103]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-16 15:57:42,147]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-16 15:57:42,160] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$214/297122137.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$145/1788446238.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:335)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5738)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:322)
	... 17 more

[2017-11-16 15:57:42,188]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:42,195]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:42,203]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:42,212]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:42,221]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:42,227]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]1c2678fb
[2017-11-16 15:57:42,232]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-16 15:57:42,237]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]7a1910
[2017-11-16 15:57:42,246]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-16 15:57:42,268]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 7c:5a:d2:26:12:b9:73:b2
[2017-11-16 15:57:42,341]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-16 15:57:42,341]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-16 15:57:42,342]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-16 15:57:42,344]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.246 sec
[2017-11-16 15:57:42,347]  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 15:57:52,558]  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 15:57:52,574]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Retrieving active Siddhi App through REST API
[2017-11-16 15:57:52,610]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-16 15:57:52,625]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-16 15:57:52,640]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-16 15:57:52,644]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-16 15:57:52,656]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-16 15:57:52,660]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-16 15:57:52,663]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-16 15:57:52,663]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-16 15:57:52,669]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-16 15:57:52,672]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-16 15:57:52,676]  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: 278.68 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.148-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.148-SNAPSHOT.jar to /root/.m2/repository/org/wso2/carbon/analytics/carbon-analytics-osgi-tests/2.0.148-SNAPSHOT/carbon-analytics-osgi-tests-2.0.148-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.148-SNAPSHOT/carbon-analytics-osgi-tests-2.0.148-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:51 min
[INFO] Finished at: 2017-11-16T15:57:54+00:00
[INFO] Final Memory: 115M/1126M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] step
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS